Control logic in ST and ladder
Start-up sequences, interlocks, pump and motor control, and alarm handling with TON and TOF timers.
02 · LIC-101 · PLC control
Designing and programming control logic to IEC 61131-3: Structured Text and ladder, PID loops, interlocks and state machines, backed by field work on instruments and loop checks.
A good PLC program is not judged by whether it runs, but by what it does when something breaks. I write control logic in Structured Text with structure: clear state machines, safety interlocks, timers that stop chattering, and names the next engineer can read. I also built the ST Lab, which runs IEC 61131-3 programs in the browser.
Start-up sequences, interlocks, pump and motor control, and alarm handling with TON and TOF timers.
Level, pressure, flow and temperature control, with tuning and integral anti-windup.
HART transmitter calibration, loop checks, and wiring 4-20 mA signals to PLC inputs correctly.
Readable, documented programs, and ST exported to SCL ready for TIA Portal.
A high-level textual language in IEC 61131-3 that resembles Pascal. It suits calculations, complex logic and state machines, is supported by most modern PLCs, and Siemens calls it SCL.
Ladder is great for simple discrete logic that maintenance technicians follow on screen. ST is better for maths, loops, arrays and state machines. Many projects use both.
The PLC reads all inputs, executes the program top to bottom, writes the outputs, and repeats every few milliseconds. Understanding it prevents classic bugs such as reading a value from the previous scan.
Yes. The ST Lab in the workshop runs your program against a virtual tank on a 50 ms scan and exports it to SCL.
Write a few lines about the site and what you need; your request reaches me immediately.