![Omron CJ1G-CPU series Programming Manual Download Page 164](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489164.webp)
143
Block Programming Instructions
Section 3-30
LOOP
LOOP
809
---
Block program
Required
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 condi-
tion for LEND(810) turns ON.
Block program
Required
LEND
LEND
810
Block program
Required
LEND NOT
LEND NOT
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 condi-
tion for LEND(810) turns ON.
Block program
Required
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Execution condition
Execution
condition
ON
Execution
condition
OFF
Execution
condition
OFF
Execution
condition
OFF
Loop repeated
LOOP(809) designates the beginning of the loop program.
LEND (810)
B
B: Bit operand
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.
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.
LEND(810) NOT
B: Bit operand
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...