Omron CS1G/H-CPUxxH Instructions Manual page 114

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Instruction Functions
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 (be
tween 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 2-2
Location
Page
Execution
condition
Block program
988
Required
Block program
988
Required
Block program
988
Required
Block program
988
Required
Block program
988
Required
93

Advertisement

Table of Contents
loading

Table of Contents