Omron CJ2 CPU UNIT SOFTWARE User Manual page 555

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

Instruction
Mnemonic
Code
CONDI-
EXIT
806
TIONAL
BLOCK EXIT
CONDI-
EXIT
806
TIONAL
BLOCK EXIT
CONDI-
EXIT NOT
806
TIONAL
BLOCK EXIT
NOT
CONDI-
IF
802
TIONAL
BLOCK
BRANCHING
CONDI-
IF
802
TIONAL
BLOCK
BRANCHING
CJ2 CPU Unit Software User's Manual
Symbol/Operand
EXIT(806)
EXIT(806) without an operand bit exits the program if
the execution condition is ON.
B: Bit operand
Execution condition
EXIT(806)B
EXIT(806) without an operand bit exits the program if
the execution condition is ON.
B: Bit operand
EXIT NOT(806)
EXIT(806) without an operand bit exits the program if the execu-
tion condition is OFF.
B
B: Bit operand
IF (802)
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
IF (802)
If the operand bit is ON, the instructions between IF(802)
B
and ELSE(803) will be executed. If the operand bit is OFF,
the instructions between ELSE(803) and IEND(804) will be
executed.
B: Bit operand
IF R (IF NOT R)
Function
Execution
Execution
condition
condition
OFF
ON
"A" executed. "A" executed.
"B" executed.
Block ended.
Operand bit
Operand bit ON
OFF
(OFF for EXIT
(ON for
NOT)
EXIT NOT)
"A" executed.
"A" executed.
"B" executed.
Block ended.
Execution
condition ON?
"A" executed
"B" executed
(be-tween IF and
(after ELSE).
ELSE).
Operand bit
ON?
"A" executed
"B" executed
(between IF and
(after ELSE).
ELSE).
Appendices
Execution
Location
condition
Block pro-
Required
gram
Block pro-
Required
gram
Block pro-
Required
gram
Block pro-
Required
gram
Block pro-
Required
gram
A-71

Advertisement

Table of Contents
loading

Table of Contents