![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030144.webp)
104
Instruction Functions
Section 2-2
CONDITIONAL
BLOCK
BRANCHING
IF
802
IF (802)
Block program
Required
1196
CONDITIONAL
BLOCK
BRANCHING
IF
802
IF (802)
B
B: Bit operand
Block program
Required
1196
CONDITIONAL
BLOCK
BRANCHING
(NOT)
IF NOT
802
IF (802) NOT
B
B: Bit operand
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.
Block program
Required
1196
CONDITIONAL
BLOCK
BRANCHING
(ELSE)
ELSE
803
---
If the ELSE(803) instruction is omitted and the operand bit is ON, the
instructions between IF(802) and IEND(804) will be executed
Block program
Required
1196
CONDITIONAL
BLOCK
BRANCHING
END
IEND
804
---
If the operand bit is OFF, only the instructions after IEND(804) will be
executed.
Block program
Required
1196
Instruction
Mnemonic
Code
Symbol/Operand
Function
Location
Execution
condition
Page
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
Execution
condition ON?
"A" executed (be-
tween IF and ELSE).
"B" executed
(after ELSE).
IF R (IF NOT R)
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?
"A" executed
(between IF and
ELSE).
"B" executed
(after ELSE).
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...