Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual page 189

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

Advertisement

Block Programming Instructions
Instruction
Symbol/Operand
Mnemonic
Code
CONDITIONAL
IF (802)
BLOCK
BRANCHING
IF
802
CONDITIONAL
IF (802)
BLOCK
B
BRANCHING
IF
B: Bit operand
802
CONDITIONAL
IF (802) NOT
BLOCK
B
BRANCHING
(NOT)
B: Bit operand
IF NOT
802
CONDITIONAL
---
BLOCK
BRANCHING
(ELSE)
ELSE
803
CONDITIONAL
---
BLOCK
BRANCHING
END
IEND
804
FunctionS
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.
Execution
condition
"A" executed (be-
tween IF and ELSE).
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.
Operand bit
ON?
IF R (IF NOT R)
"A" executed
(between IF and
ELSE).
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
instructions between IF(802) and IEND(804) will be executed
If the operand bit is OFF, only the instructions after IEND(804) will be
executed.
Execution
condition ON?
"B" executed
(after ELSE).
"B" executed
(after ELSE).
Section 3-30
Location
Execution condition
Block program
Required
Block program
Required
Block program
Required
Block program
Required
Block program
Required
151

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - PROGRAMMING MANUAL 08-2008 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents