![Omron CJ1G-CPUxx Instructions Manual Download Page 1030](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_7424911030.webp)
1009
Block Programming Instructions
Section 3-32
Using a Bit Operand for LEND(810) or LEND(810) NOT
Both LEND(810) and LEND(810) NOT can be programmed with an operand
bit. If the operand bit is OFF for LEND(810) (or ON for LEND(810) NOT), exe-
cution 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.
Note
1.
Execution inside a loop does not refresh I/O data. If I/O data must be re-
freshed during the loop, use IORF(184).
2.
The maximum cycle time can be exceeded if loops are repeated too long.
Design the program so that the maximum cycle time is not exceeded.
Flags
Execution condition
Execution
condition
ON
Execution
condition
OFF
Execution
condition
OFF
Execution
condition
OFF
Loop repeated
Operand
bit ON
Operand
bit OFF
Operand
bit OFF
Operand
bit OFF
Loop repeated
Note The status of the operand bit would
be reversed for LEND(810) NOT.
LEND R (LEND NOT B)
Name
Label
Operation
Error Flag
ER
ON if a Loop Control Instruction is not in a block program.
OFF in all other cases.
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...