CONTROLS FOUNDRY
Oil & Gas Demo

Houston Refinery
Controls Modernization

See how Controls Foundry helps a real refinery document, analyze, and migrate orphaned PLC programs — from a 30-year-old SLC-500 tank farm to a ControlLogix compressor with undocumented surge logic.

Suction Pressure

62.3psi

Discharge Temp

287°F

Vibration X-Probe

1.8mils

Lube Oil Pressure

38.5psi

What's Running at This Plant

Three equipment systems, three different PLC platforms, zero documentation. A typical brownfield scenario.

C-101Centrifugal Compressor

ControlLogix 1756-L75

Main process gas compressor — 5 programs, 30+ rungs covering start/stop sequencing, surge protection, lube oil monitoring, and vibration trip logic.

Suction pressureDischarge pressureGuide vane positionSurge valve

T-401/402/403Tank Farm

SLC-500 1747-L551

Three atmospheric storage tanks with level control, overfill protection, and transfer sequencing. Original program from 1998, no documentation.

Tank levelTransfer valveHigh-level alarmPump interlock

F-201Flare System

PLC-5/40 1785-L40B

Emergency flare knockout drum and ignition sequencing. Safety-critical — must be documented before any migration work begins.

Drum levelPilot flameIgnition sequencePSV status

Live Preview

This is what Controls Foundry looks like when monitoring your equipment.

Signal Dashboard

PT-101C-101

Discharge Pressure

195PSI
0300
PT-102C-101

Suction Pressure

62.0PSI
0100
SURGE_MARGINC-101

Surge Margin

15.0PSI
050
TE-101C-101

Discharge Temperature

285deg F
0500
TE-301C-101

Drive End Bearing Temp

162deg F
0300
TE-302C-101

Non-Drive End Bearing Temp

155deg F
0300
VT-101XC-101

Vibration X-Probe

1.20mils pk-pk
05
VT-101YC-101

Vibration Y-Probe

0.90mils pk-pk
05

Annotated Ladder Logic

MainProgram:R00permissive
95%

Master start permissive gate. The operator presses the Start pushbutton, but the motor will only latch into "Start Requested" if the entire safety interlock chain is healthy, the E-stop is not pressed, lube oil pressure is above minimum, and the dry gas seal is pressurized. This is a standard 5-condition permissive pattern.

MainProgram:R01sequence
98%

Operator stop command. Pressing the Stop pushbutton unlatches the start request. This is a simple unlatch — the compressor will coast down through the normal shutdown sequence in the CompressorControl program.

MainProgram:R02protection
97%

Emergency stop handler. When the E-stop mushroom button is pressed, this rung immediately unlatches both the start request and the running flag, and sets the EStop_Active indicator. This bypasses the normal shutdown sequence — the motor contactor drops out on the next scan.

CompressorControl:R01control
94%

Load valve command. Opens the load valve after the 15-second stabilization period, but only if suction pressure is within acceptable range. If upstream supply drops (suction pressure too low), the load valve closes to unload the compressor and prevent surge from insufficient inlet flow.

and 11 more rungs annotated...

HMI Process View

C-101 WET GAS COMPRESSORControlLogix 1756-L75RUNNINGSUCTIONDISCHARGEGV-10152%M3,500 HPASV-1010%PT-10262.0 PSIPT-101195.0 PSITE-101285.0 degFVT-101X1.20 milsLUBE OIL SYSTEMRESERVOIRPFILTERBRGPT-20138.0 PSITE-201142.0 degF

How Controls Foundry Works

From unknown PLC program to documented, tested, migration-ready — in three steps.

STEP 01

Upload & Parse

Upload the refinery PLC programs and instantly see what is inside — routines, rungs, tags, I/O points. Works with L5X, RSS, and S7 exports.

Auto-detects Rockwell, Siemens, Mitsubishi, and Omron formats.

STEP 02

Document & Annotate

AI-annotated ladder logic with plain-English descriptions of every rung. Cross-reference explorer shows where every tag is used.

15 rungs pre-annotated with 92% average confidence.

STEP 03

Plan Migration

Map old I/O addresses to new hardware, extract behavioral test cases from recorded sessions, and build a phased cutover plan.

Full I/O trace, recording sessions, and verification dashboard.

© 2026 Controls Foundry. All rights reserved.

Built for controls engineers

Privacy Policy