Loading local progress…
PLC Gym

A machine is always doing one thing

Getting the lesson ready…

A job is always in one state. Keep it as a number in one tag, and let the outputs follow it.

A machine is always doing one thing: the words you will learn

what a machine is doing right now: one thing out of a few, never two at once
state
a tag that holds a whole number, such as 0, 10 or 30
DINT
a few states, and the rules that move the job from one to the next
state machine
is equal to: it asks, and changes nothing
=