User manual
Instruction Set
Program Control 3-37
program control instructions continued...
Instruction Description
Next
NXT
The NXT instruction returns the processor to the corresponding FOR instruction, identified by the
label number specified in the FOR instruction. NXT must be programmed on an unconditional
rung that is the last rung to be repeated in a For-Next loop.
Break
BRK
When the input conditions go true, the BRK instruction aborts a For-Next loop.
Jump to Subroutine
JSR
If the input conditions are true, the processor starts running a subroutine Program File (90).
The processor uses the Input Parameters (N16:23, N16:24, 231) in the subroutine and passes
Return Parameters (N19:11, N19:12 back to the main program, where the processor
encountered the JSR instruction.
NEXT
Label Number 0
NXT
[BRK]
JUMP TO SUBROUTINE
Program File 90
Input par N16:23
Input par N16:24
Input par 231
Return par N19:11
Return par N19:12
JSR