Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 146

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
LOOP
---
LOOP
809
LEND
LEND (810)
LEND
810
LEND
LEND (810)
LEND
810
B: Bit operand
LEND NOT
LEND(810) NOT
LEND NOT
810
B: Bit operand
LOOP(809) designates the beginning of the loop program.
Execution condition
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.
If the operand bit is OFF for LEND(810) (or ON for LEND(810) NOT),
B
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.
Note
The status of the operand bit would be
reversed for LEND(810) NOT.
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.
Function
Execution
Execution
Execution
condition
condition
condition
ON
OFF
OFF
Loop repeated
Operand
Operand
Operand
bit ON
bit OFF
bit OFF
Loop repeated
Section 2-2
Location
Execution
condition
Block program
1216
Required
Execution
condition
OFF
Block program
1216
Required
Block program
1216
Required
Operand
bit OFF
Block program
1216
Required
Page
107

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents