User manual
Instruction Set
Program Control 3-36
Program Control Instructions
Instruction Description
Master Control Reset
MCR
If the input conditions are true, the program scans the rungs between MCR instruction rungs
and processes the outputs normally. If the input conditions are false, all non-retentive outputs
between the MCR-instruction rungs are reset.
Jump
JMP
If the input conditions are true, the processor skips rungs by jumping to the rung identified by
the label (10).
Label
LBL
When the processor reads a JMP instruction that corresponds to label 10, the processor jumps
to the rung containing the label and starts executing. (Must be the first instruction on a rung.)
FOR Loop
FOR
The processor executes the rungs between the FOR and the NXT instruction repeatedly in one
program scan, until it reaches the terminal value (10) or until a BRK instruction aborts the
operation. Step size is how the loop is incremented.
(MCR)
10
(JMP)
10
[LBL]
FOR
Label Number 0
Index N7:0
Initial Value 0
Terminal Value 10
Step Size 1
FOR