EasyManuals Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1119 background imageLoading...
Page #1119 background image
1081
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Block Programming Instructions
3
LOOP/LEND/LEND NOT
Function
z Using an Execution Condition for LEND(810)
z Using a Bit Operand for LEND(810) or LEND(810) NOT
Precautions
Execution inside a loop does not refresh I/O data. If I/O data must be refreshed during the loop, use
IORF(184).
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.
• Loops cannot be nested within loops.
Incorrect:
LOOP(809)
LOOP(809)
:
:
LEND(810)
LEND(810)
LEND(810) can be programmed either
with or without an operand bit. If an
operand bit is not specified, an execution
must be created before LEND(810)
starting with LD. If the execution condition
is OFF, execution of the loop is repeated
starting with the next instruction after
LOOP(809). If the execution condition is
ON, the loop is ended and execution
continues to the next instruction after
LEND(810).
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), 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.
* The status of the operand bit would be reversed for LEND(810) NOT.
Execution
condition
ON
Execution
condition
OFF
Execution
condition
OFF
Execution
condition
ON
Loop repeated
Execution condition
LEND R (LEND NOT B)
Operand
bit ON
(OFF)*
Operand
bit OFF
(ON)*
Operand
bit OFF
(ON)*
Operand
bit ON
(OFF)*
Loop repeated

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals