Uploaded October 2026 | Updated November 2026, 4 days ago
Free structured text PLC simulator: write IEC 61131-3 ST in a browser beside ladder logic, run it against 3D scenes, and debug with the live variable watch panel.
โก QUICK ANSWER
Structured text is the IEC 61131-3 text based PLC language - it reads like Pascal or C, and the ACC PLC Simulator now runs it as a first class mode beside ladder logic, switched with one button in the toolbar. The two share the same memory: the same X, Y, C, AX and AY registers, the same 3D scenes, the same Modbus bridge and gamepad support. That shared model is what makes ST easy to pick up, because you can write a rung, switch mode, and see the same logic as text. The default program makes the case in one line - Y1 := (X1 OR (Y1 AND NOT C1) OR X3) AND X2; is a complete start, stop and jog seal-in circuit, with C1 := X3; as the jog interlock. That is five or six rungs of ladder in a single expression. Free, in a browser, nothing to install.
๐ FULL WRITTEN GUIDE
accautomation.ca/acc-plc-simulator-how-to-use-structured-text-st-programming
๐ฅ๏ธ OPEN THE SIMULATOR AND PRESS ST
accautomation.ca/simulator
โถ WATCH THE FULL VIDEO
youtu.be/B0UDgJnE3DQ
๐ WHAT YOU'LL LEARN
โ Switch between ladder and structured text with one button, on the same program memory - X, Y, C, AX and AY work identically in both
โ Write a complete seal-in circuit as a single assignment, then compare it against the ladder version rung for rung
โ Use the control flow that ladder does not have - IF, ELSIF, ELSE, CASE, FOR, WHILE and REPEAT
โ Use IEC function blocks that keep state across scans - TON, TOF, TP, CTU, CTD, R_TRIG and F_TRIG
โ Debug with the live variable watch panel, which shows every variable and function block instance updating each scan, with no debug code added
โ FREQUENTLY ASKED
Q: Do I have to declare the PLC addresses in structured text?
A: No - X, Y, C, AX and AY are pre-declared, so do not put them in a VAR block. Your own variables do need declaring in a VAR block before you use them.
Q: Can I use a WHILE loop to wait for something?
A: No. The whole program runs top to bottom every scan, so a loop that waits never lets the scan finish. Use TON, TOF and state variables for timing and sequencing instead - the simulator has a loop guard, but the habit is the thing that transfers to real hardware.
๐ The full guide, with every statement and function block: accautomation.ca/acc-plc-simulator-how-to-use-structured-text-st-programming
๐ MORE RESOURCES
โถ Try the free simulator: accautomation.ca/simulator
โถ How I learned structured text in the simulator: youtu.be/B0UDgJnE3DQ
โถ PLC Beginners Guide: accautomation.ca/programming/plc-beginners-guide
โถ Free eBooks: accautomation.ca (subscribe for download)
๐ RECOMMENDED HARDWARE
โถ Shop: automationdirect.com
โถ Parts Guide: accautomation.ca/purchase-find-parts
๐ฌ Questions? Drop a comment below.
๐ New tutorials every Monday โ Subscribe and hit the bell!
#PLC #LadderLogic #IndustrialAutomation #PLCProgramming #ACCAutomation #StructuredText #IEC61131 #PLCSimulator #LearnPLC #Shorts
Regards,
Garry
ACC Automation
accautomation.ca
Free structured text PLC simulator: write IEC 61131-3 ST in a browser beside ladder logic, run it against 3D scenes, and debug with the live variable watch panel.
โก QUICK ANSWER
Structured text is the IEC 61131-3 text based PLC language - it reads like Pascal or C, and the ACC PLC Simulator now runs it as a first class mode beside ladder logic, switched with one button in the toolbar. The two share the same memory: the same X, Y, C, AX and AY registers, the same 3D scenes, the same Modbus bridge and gamepad support. That shared model is what makes ST easy to pick up, because you can write a rung, switch mode, and see the same logic as text. The default program makes the case in one line - Y1 := (X1 OR (Y1 AND NOT C1) OR X3) AND X2; is a complete start, stop and jog seal-in circuit, with C1 := X3; as the jog interlock. That is five or six rungs of ladder in a single expression. Free, in a browser, nothing to install.
๐ FULL WRITTEN GUIDE
accautomation.ca/acc-plc-simulator-how-to-use-structured-text-st-programming
๐ฅ๏ธ OPEN THE SIMULATOR AND PRESS ST
accautomation.ca/simulator
โถ WATCH THE FULL VIDEO
youtu.be/B0UDgJnE3DQ
๐ WHAT YOU'LL LEARN
โ Switch between ladder and structured text with one button, on the same program memory - X, Y, C, AX and AY work identically in both
โ Write a complete seal-in circuit as a single assignment, then compare it against the ladder version rung for rung
โ Use the control flow that ladder does not have - IF, ELSIF, ELSE, CASE, FOR, WHILE and REPEAT
โ Use IEC function blocks that keep state across scans - TON, TOF, TP, CTU, CTD, R_TRIG and F_TRIG
โ Debug with the live variable watch panel, which shows every variable and function block instance updating each scan, with no debug code added
โ FREQUENTLY ASKED
Q: Do I have to declare the PLC addresses in structured text?
A: No - X, Y, C, AX and AY are pre-declared, so do not put them in a VAR block. Your own variables do need declaring in a VAR block before you use them.
Q: Can I use a WHILE loop to wait for something?
A: No. The whole program runs top to bottom every scan, so a loop that waits never lets the scan finish. Use TON, TOF and state variables for timing and sequencing instead - the simulator has a loop guard, but the habit is the thing that transfers to real hardware.
๐ The full guide, with every statement and function block: accautomation.ca/acc-plc-simulator-how-to-use-structured-text-st-programming
๐ MORE RESOURCES
โถ Try the free simulator: accautomation.ca/simulator
โถ How I learned structured text in the simulator: youtu.be/B0UDgJnE3DQ
โถ PLC Beginners Guide: accautomation.ca/programming/plc-beginners-guide
โถ Free eBooks: accautomation.ca (subscribe for download)
๐ RECOMMENDED HARDWARE
โถ Shop: automationdirect.com
โถ Parts Guide: accautomation.ca/purchase-find-parts
๐ฌ Questions? Drop a comment below.
๐ New tutorials every Monday โ Subscribe and hit the bell!
#PLC #LadderLogic #IndustrialAutomation #PLCProgramming #ACCAutomation #StructuredText #IEC61131 #PLCSimulator #LearnPLC #Shorts
Regards,
Garry
ACC Automation
accautomation.ca










