Uploaded October 2026 | Updated November 2026, 1 day ago
PLC start stop jog in structured text, line by line: X1 start, the Y1 AND NOT C1 seal-in, X3 jog, X2 stop normally closed, and why C1 stops jog latching.
โก QUICK ANSWER
The whole circuit is two lines:
Y1 := (X1 OR (Y1 AND NOT C1) OR X3) AND X2;
C1 := X3;
X1 is start. Y1 AND NOT C1 is the seal-in - it keeps the motor running after you release start, but only while C1 is false. X3 is jog. All three feed into AND X2, and X2 is a normally closed stop button, so it reads TRUE at rest and the expression passes; press stop and it goes false and the output drops. The second line is the trick: C1 := X3 means pressing jog sets C1, which breaks the seal-in branch. So jog drives the output directly while it is held, and nothing latches it on when you let go - no one shot and no separate interlock rung needed. Same addresses, same behaviour and same I/O as the ladder version. Full guide on the blog.
๐ 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
โ Read a seal-in circuit as a single expression - Y1 AND NOT C1 is the branch that holds the output on after start is released
โ Understand why the stop button is ANDed in rather than inverted - X2 is a normally closed field device, so it reads TRUE at rest and FALSE when pressed
โ See how jog avoids latching - X3 feeds the output directly, and C1 := X3 breaks the seal-in branch at the same time
โ Write a complete start, stop and jog motor circuit in two lines, with no one shot and no extra interlock rung
โ Compare it against the ladder version using the same X, Y and C addresses in the same simulator
โ FREQUENTLY ASKED
Q: What is a seal-in circuit?
A: The branch that keeps an output on after the start button is released. Here it is Y1 AND NOT C1 - the output feeding back into its own condition, which is the text version of the holding contact you would wire around a start pushbutton in ladder.
Q: Why is the stop button ANDed instead of inverted?
A: Because a stop button is wired normally closed, so the input is TRUE when nothing is pressed. ANDing it means the circuit runs normally and drops out the moment the contact opens - including if a wire breaks, which is the whole point of wiring stop normally closed.
Q: Why does jog need C1 at all?
A: Without it, jog would feed the seal-in and the motor would stay running after you released the jog button. C1 := X3 breaks the seal-in branch while jog is pressed, so the output follows the button and releases cleanly.
๐ 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
โถ Why a stop button is wired normally closed: youtube.com/shorts/wCgr-ZzG_J0
โถ 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 #MotorControl #LearnPLC #Shorts
Regards,
Garry
ACC Automation
accautomation.ca
PLC start stop jog in structured text, line by line: X1 start, the Y1 AND NOT C1 seal-in, X3 jog, X2 stop normally closed, and why C1 stops jog latching.
โก QUICK ANSWER
The whole circuit is two lines:
Y1 := (X1 OR (Y1 AND NOT C1) OR X3) AND X2;
C1 := X3;
X1 is start. Y1 AND NOT C1 is the seal-in - it keeps the motor running after you release start, but only while C1 is false. X3 is jog. All three feed into AND X2, and X2 is a normally closed stop button, so it reads TRUE at rest and the expression passes; press stop and it goes false and the output drops. The second line is the trick: C1 := X3 means pressing jog sets C1, which breaks the seal-in branch. So jog drives the output directly while it is held, and nothing latches it on when you let go - no one shot and no separate interlock rung needed. Same addresses, same behaviour and same I/O as the ladder version. Full guide on the blog.
๐ 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
โ Read a seal-in circuit as a single expression - Y1 AND NOT C1 is the branch that holds the output on after start is released
โ Understand why the stop button is ANDed in rather than inverted - X2 is a normally closed field device, so it reads TRUE at rest and FALSE when pressed
โ See how jog avoids latching - X3 feeds the output directly, and C1 := X3 breaks the seal-in branch at the same time
โ Write a complete start, stop and jog motor circuit in two lines, with no one shot and no extra interlock rung
โ Compare it against the ladder version using the same X, Y and C addresses in the same simulator
โ FREQUENTLY ASKED
Q: What is a seal-in circuit?
A: The branch that keeps an output on after the start button is released. Here it is Y1 AND NOT C1 - the output feeding back into its own condition, which is the text version of the holding contact you would wire around a start pushbutton in ladder.
Q: Why is the stop button ANDed instead of inverted?
A: Because a stop button is wired normally closed, so the input is TRUE when nothing is pressed. ANDing it means the circuit runs normally and drops out the moment the contact opens - including if a wire breaks, which is the whole point of wiring stop normally closed.
Q: Why does jog need C1 at all?
A: Without it, jog would feed the seal-in and the motor would stay running after you released the jog button. C1 := X3 breaks the seal-in branch while jog is pressed, so the output follows the button and releases cleanly.
๐ 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
โถ Why a stop button is wired normally closed: youtube.com/shorts/wCgr-ZzG_J0
โถ 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 #MotorControl #LearnPLC #Shorts
Regards,
Garry
ACC Automation
accautomation.ca




![17 to 42 Instructions in One Week: The Free PLC Sim Just Leveled Up
The free ACC PLC Simulator now has 42 ladder instructions, online editing, a drum sequencer, pointers and shift registers. Runs in your browser, no install.
โก QUICK ANSWER
PLC simulator online editing means changing a rung while the program keeps scanning, exactly as you would on a plant floor where stopping the line is not an option. Press run, click edit, and an amber bar appears while the scan continues. New rungs show green, changed rungs amber, deleted rungs stay as gray ghosts. Press accept and the edit is validated first, then swapped in between two scans with timers, counters and data carried over, and cancel puts everything back. Alongside it this release adds a drum sequencer with a per step time and event bit, 4000 data registers from D1 to D4000, indirect addressing with D[D2] pointers that show the resolved address live, shift registers, jumps, master control zones, edge contacts, retentive timers and system bits.
๐ FULL WALKTHROUGH + EXAMPLES
https://accautomation.ca/free-plc-simulator-update-online-editing-drum-sequencer/
โถ RUN IT NOW, FREE IN YOUR BROWSER
https://accautomation.ca/simulator/
โฑ๏ธ TIMESTAMPS
0:00 - Introduction
0:17 - Why the ACC PLC Simulator Is Free and Browser Based
0:33 - Online Editing While the Program Keeps Scanning
1:06 - Drum Sequencer Driving a Traffic Intersection
1:22 - Inside the Drum Step Table
1:35 - 4000 Data Registers and Math Instructions
1:54 - Indirect Addressing with D[D2] Pointers
2:24 - Shift Registers, Jumps and Master Control Zones
2:44 - Edge Contacts, Retentive Timers and System Bits
3:05 - Hover Help, F1 and Structured Text Snippets
3:27 - Try It: Load the Traffic Drum Example
๐ WHAT YOULL LEARN
โ
Edit a rung online while the program keeps scanning, then accept it between two scans
โ
Read the colour code: green for new rungs, amber for changed, gray ghosts for deleted
โ
Drive a whole traffic intersection from one drum sequencer and its step table
โ
Point one instruction at any register with D[D2] and watch the address resolve live
โ
Track parts down a conveyor with bit shift registers, and skip rungs with jump and label
โ
Use first scan bits, clock pulses, scan time and the real-time clock from system words
โ FREQUENTLY ASKED
Q: What happens to my timers and counters when I accept an online edit?
A: They are carried over. The edit is validated first, then swapped in between two scans, so running values and data survive the change.
Q: What does D[D2] actually mean?
A: It is indirect addressing. The instruction uses the register whose number is stored in D2, so changing D2 points the same instruction at a different register. The block shows the resolved address live.
Q: Do I need to install anything or create an account?
A: No. It runs in a browser, it is free, there is nothing to install and no account is needed.
Q: Can I see what a jump is skipping?
A: Yes. Skipped rungs are drawn dimmed, so you can see at a glance which blocks are not being solved, and master control zones show which outputs drop when the zone turns off.
๐ Full walkthrough and examples: https://accautomation.ca/free-plc-simulator-update-online-editing-drum-sequencer/
๐ MORE RESOURCES
โถ Free PLC Simulator: https://accautomation.ca/simulator/
โถ Series: https://accautomation.ca/series/
โถ PLC Beginners Guide: https://accautomation.ca/programming/plc-beginners-guide/
โถ Free eBooks: https://accautomation.ca (subscribe for download)
๐ RECOMMENDED HARDWARE
โถ Shop: https://www.automationdirect.com/
โถ Parts Guide: https://www.accautomation.ca/purchase-find-parts/
๐ฌ Which instruction should get its own tutorial first? Drop a comment below.
๐ New tutorials every Monday โ Subscribe and hit the bell!
#PLC #LadderLogic #IndustrialAutomation #PLCProgramming #ACCAutomation #PLCSimulator #LearnPLC #PLCTutorial #FreeTraining
Regards,
Garry
ACC Automation
http://www.accautomation.ca 17 to 42 Instructions in One Week: The Free PLC Sim Just Leveled Up](https://i.ytimg.com/vi/_PJaUYQenfE/mqdefault.jpg)


![PLC Conveyor Logic Flowchart โ Simple Sequence [Tutorial]! โ๏ธ
Learn to flowchart your conveyors sequence of operations before you write a single rung โ the essential planning step in the free ACC PLC Simulator.
โก QUICK ANSWER
Before writing ladder logic for the ACC Simulator conveyor, map the sequence of operations as a flowchart: operator presses Start โ motor runs Forward โ box travels left-to-right โ hits the right sensor โ direction Reverses โ box travels right-to-left โ hits the left sensor โ motor Stops, ready for the next cycle. A Stop button can interrupt and halt the motor at any point. Turning that sequence into rungs โ contacts, seal-ins, and the simulator scene to try it โ is covered step by step in the written guide.
๐ฎ TRY IT FREE + FULL STEP-BY-STEP (build it live in the ACC PLC Simulator)
https://accautomation.ca/plc-programming-tutorial-build-a-conveyor-system-acc-simulator/
โถ WATCH THE FULL CONVEYOR BUILD
https://youtu.be/himbbHHZ6HM
๐ WHAT YOULL LEARN
โ
Map a conveyors full sequence of operations before writing any ladder logic
โ
Define the Start โ Forward โ right sensor โ Reverse โ left sensor โ Stop cycle
โ
Plan a Stop button that can interrupt and halt the motor at any point
โ
Use a flowchart to catch logic gaps before they become bugs
โ
Set up the sequence ready to build in the free ACC PLC Simulator
โ FREQUENTLY ASKED
Q: Why flowchart before programming a PLC?
A: A flowchart maps the full sequence of operations so you catch missing steps and edge cases before writing ladder logic โ it makes the actual programming faster and cleaner.
Q: What happens if someone presses Stop mid-cycle?
A: The Stop button interrupts and immediately stops the motor at any point in the sequence. How thats wired into the rungs is in the full guide.
๐ Full rung-by-rung build + the simulator scene: https://accautomation.ca/plc-programming-tutorial-build-a-conveyor-system-acc-simulator/
๐ MORE RESOURCES
โถ More tutorials + free PLC Simulator: https://accautomation.ca
โถ PLC Beginners Guide: https://accautomation.ca/programming/plc-beginners-guide/
โถ Free eBooks: https://accautomation.ca (subscribe for download)
๐ RECOMMENDED HARDWARE (optional โ this builds in the free simulator)
โถ Shop: https://www.automationdirect.com/
โถ Parts Guide: https://www.accautomation.ca/purchase-find-parts/
๐ฌ Questions? Drop a comment below.
๐ New tutorials every Monday โ Subscribe and hit the bell!
#PLC #LadderLogic #IndustrialAutomation #PLCProgramming #ACCAutomation #PLCSimulator #ConveyorControl #MotorControl #PLCTutorial #LearnPLC
Regards,
Garry
ACC Automation
http://www.accautomation.ca PLC Conveyor Logic Flowchart โ Simple Sequence [Tutorial]! โ๏ธ](https://i.ytimg.com/vi/_qJfoLcKS48/mqdefault.jpg)


