How I Learned Structured Text in the ACC Simulator
Sep 7, 2026
Structured Text in the ACC PLC Simulator: click the ST button, use the same X, Y and C registers as ladder, and write IF, CASE, FOR and TON function blocks.
⚡ QUICK ANSWER
Structured Text is the IEC 61131-3 text language that reads like Pascal or C, and the ACC PLC Simulator now runs it as a first-class mode beside ladder — nothing to install, just click ST on the Lang toggle in the toolbar. The important part is the shared I/O model: ladder and ST read and write the same memory, so the same X, Y, C, AX and AY registers work in both modes, and every 3D scene, the Modbus bridge and the gamepad all connect unchanged. The default ST program proves it. Two rungs of start/stop/jog ladder become two lines:
Y1 := (X1 OR (Y1 AND NOT C1) OR X3) AND X2;
C1 := X3;
X1 is start, X3 is jog, X2 is the normally closed stop, and C1 blocks the seal-in while jogging. Same addresses, same behaviour, same scene.
📖 FULL WRITTEN TUTORIAL + CODE SAMPLES
https://accautomation.ca/acc-plc-simulator-how-to-use-structured-text-st-programming/
https://accautomation.ca/simulator/
⏱️ TIMESTAMPS
00:00 ACC PLC Simulator — How to Use Structured Text (ST) Programming
00:47 Why Learn Structured Text
01:19 Switching to ST Mode
01:46 The Shared I/O Model
02:15 Your First ST Program
03:05 Start Stop Jog in ST
03:54 Control Flow
Show More Show Less #Jobs & Education
#Factory Automation

