Factory Floor (live PLC outputs)
Sensor low
Sensor high
Weld active
Paint active
Engine install active
Fault / E-stop
The simulator runs a 100 ms scan loop. Each scan: (1) reads inputs (Start, Stop,
E-stop, photoelectric eyes); (2) executes the SFC transitions; (3) writes outputs
(conveyor motor, station tools, alarm). The chassis you see on the floor are
driven by output bits, never by direct animation — when Y_Belt
is high, the chassis advance. When Y_Weld is high, the weld lamp
pulses. Toggle E-stop and you'll see the program enter S_FAULT,
latch Y_Alarm, and drop every other output — the same fail-safe
pattern Bolton describes in Ch. 13–14.