120
CS/CJ/NSJ Series Instructions Reference Manual (W474)
2. Summary of Instructions
LEND
LEND
810
LEND (810) LEND(810) or LEND(810) NOT specifies the end of the loop. When
LEND(810) or LEND(810) NOT is reached, program execution will loop
back to the next previous LOOP(809) until the operand bit for
LEND(810) or LEND(810) NOT turns ON or OFF (respectively) or until
the execution condition for LEND(810) turns ON.
Block program
Required
1080
LEND
LEND
810
LEND (810)
B
B: Bit operand
Block program
Required
1080
LEND NOT
LEND NOT
810
LEND(810) NOT
B: Bit operand
LEND(810) or LEND(810) NOT specifies the end of the loop. When
LEND(810) or LEND(810) NOT is reached, program execution will loop
back to the next previous LOOP(809) until the operand bit for
LEND(810) or LEND(810) NOT turns ON or OFF (respectively) or until
the execution condition for LEND(810) turns ON.
Block program
Required
1080
Instruction
Mnemonic
Code
Symbol/Operand Function Location
Execution
condition
Page
Loop repeated
If the operand bit is OFF for LEND(810) (or ON for LEND(810) NOT),
execution of the loop is repeated starting with the next instruction after
LOOP(809). If the operand bit is ON for LEND(810) (or OFF for
LEND(810) NOT), the loop is ended and execution continues to the
next instruction after LEND(810) or LEND(810) NOT.
Operand
bit ON
Operand
bit OFF
Operand
bit OFF
Operand
bit OFF
Note The status of the operand bit would be
reversed for LEND(810) NOT.