EasyManua.ls Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 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
Loading...
1197
Block Programming Instructions Section 3-32
Description Operation without an Operand for IF(802)
If an operand bit is not specified, an execution must be created before IF(802)
starting with LD. If the execution condition is ON, the instructions between
IF(802) and ELSE(803) will be executed and if the execution condition is OFF,
the instructions between ELSE(803) and IEND(804) will be executed.
If the ELSE(803) instruction is omitted and the execution condition is ON, the
instructions between IF(802) and IEND(804) will be executed and if the execu-
tion condition is OFF, only the instructions after IEND(804) will be executed.
Operation with an Operand for IF(802) or IF NOT(802)
An operand bit, B, can be specified for IF(802) or IF NOT(802). If the operand
bit is ON, the instructions between IF(802) and ELSE(803) will be executed. If
the operand bit is OFF, the instructions between ELSE(803) and IEND(804)
will be executed. For IF NOT(802), the instructions between IF(802) and
ELSE(803) will be executed and if the operand bit is ON, the instructions be
ELSE(803) and IEND(804) will be executed is the operand bit is OFF.
If the ELSE(803) instruction is omitted and the operand bit is ON, the instruc-
tions between IF(802) and IEND(804) will be executed and if the operand bit
is OFF, only the instructions after IEND(804) will be executed. The same will
happen for the opposite status of the operand bit if IF NOT(802) is used.
"B" executed
(after ELSE).
Execution
condition ON?
"A" executed (be-
tween IF and ELSE).
Execution
condition
Execution
condition ON?
"A" executed (be-
tween IF and IEND).
Execution
condition
Operand bit
ON?
"B" executed
(after ELSE).
"A" executed (be-
tween IF and ELSE).

Table of Contents

Related product manuals