PLC Ladder Lab

Bottle filler · S7-1200 addresses · IEC 61131-3

Program
Space play N step ←→ lesson

Machine

Running
CPU RUN I0.0 Q0.0 Q0.1 PLC · reads I, drives Q JUICE Q0.1Filling valve I0.0Sensor · tap me Q0.0Belt motor

Live ladder diagram

green = power flows · click a symbol
—| |— NO: passes if 1—|/|— NC: passes if 0( ) coil(S) latch 1(R) clear 0TON on-delay

What's happening

Think first

Click any ladder symbolIt explains what it is doing right now, with live values.

Rungs as Boolean logic

rule · live values

PLC scan cycle

read → solve top to bottom → write

Fill timer · TON

PT 3.0 s
0.0of 3.0 s
IN ← valve
Q → –
Idle→Timing→Done

Timer is added in "Fill 3 s"

I/O image

wire · program
TagDeviceWireProg

Wire = real terminal signal. Prog = memory copy the program uses. In Scan by scan they can differ until the next read/write.

Signal trend

last 15 s of machine time