A small Node.js program that runs on your PC and connects this browser scene to a real Modbus TCP or Modbus RTU master such as a PLC, SCADA system, or Modbus Poll software.
Download the zip file and extract it to a folder on your PC.
Download acc-modbus-bridge.zipThe bridge requires Node.js. Download the LTS version from nodejs.org and run the installer.
install.batinstall.commandstart-modbus-bridge shortcut for youstart-modbus-bridge.bat (Windows) or
start-modbus-bridge.command (macOS)ws://127.0.0.1:8502CONNECT — the badge turns amber when linkedCoil 00001 → Y1 Motor Run LED (master writes)DI 10001 → X1 Start PB N.O. (master reads)DI 10002 → X2 Stop PB N.C. — 1=closed, 0=pressed (master reads)DI 10003 → X3 Jog PB N.O. (master reads)More tutorials at accautomation.ca · YouTube @ACCautomation
Start / Stop / Jog Motor Control
A floor-mounted NEMA 4 steel enclosure with three 30mm operator pushbuttons and a pilot light. This is the fundamental building block of every industrial control panel — the Start/Stop/Jog circuit is usually the first program a PLC technician writes on a real machine.
| Address | Dir | Description |
|---|---|---|
| X1 | IN | Start pushbutton — N.O. momentary |
| X2 | IN | Stop pushbutton — N.C. momentary |
| X3 | IN | Jog pushbutton — N.O. momentary |
| Y1 | OUT | Motor run pilot light / contactor |
Use these five steps to develop your ladder program for this scene. Run standalone mode first to observe correct behaviour, then build and test your program in the ACC PLC Simulator.
A motor must be controlled from a panel with three pushbuttons. Pressing Start runs the motor. Pressing Stop turns it off. Pressing and holding Jog runs the motor only while held — releasing stops it immediately. Stop must always override Start and Jog. The motor must not restart after a power failure.
X1=Start (N.O.), X2=Stop (N.C. — normally ON, goes OFF when pressed), X3=Jog (N.O. — ON only while held), Y1=Motor output. Note: Stop is wired N.C. for safety — a broken wire opens the stop circuit.
Motor starts when Start is pressed AND Stop is not pressed. Once running, the motor must continue after Start is released — this requires a seal-in contact (Y1 parallel with X1). Stop unlatches the seal-in. Jog runs without latching — a Jog condition must block the seal-in from engaging. Consider: what happens if Start and Jog are pressed at the same time?
Write your ladder in the ACC PLC Simulator. You will need at least two rungs: one for the Start/Stop seal-in, and one to handle Jog without latching. Think carefully about the interlock between Jog and the seal-in contact.
Connect this scene, press RUN, and verify: (1) Start latches motor ON; (2) Stop turns it off; (3) Jog runs only while held and does not latch; (4) Stop always wins over Start and Jog. Use STEP mode to trace individual scans.