Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 1257

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Block Programming Instructions
Using an Execution Condition for 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 instruc-
tion after LEND(810).
Execution condition
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 The status of the operand bit would
be reversed for 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.
Execution
Execution
condition
condition
ON
OFF
Loop repeated
Operand
bit ON
LEND R (LEND NOT B)
Section 3-32
Execution
Execution
condition
condition
OFF
OFF
Operand
Operand
Operand
bit OFF
bit OFF
bit OFF
Loop repeated
1217

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents