Omron CJ2 CPU UNIT SOFTWARE User Manual page 556

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

Advertisement

Appendices
Instruction
Mnemonic
Code
CONDI-
IF NOT
802
TIONAL
BLOCK
BRANCH-
ING (NOT)
CONDI-
ELSE
803
TIONAL
BLOCK
BRANCH-
ING (ELSE)
CONDI-
IEND
804
TIONAL
BLOCK
BRANCH-
ING END
ONE CYCLE
WAIT
805
AND WAIT
ONE CYCLE
WAIT
805
AND WAIT
ONE CYCLE
WAIT NOT
805
AND WAIT
(NOT)
TIMER WAIT
TIMW
813
(BCD)
TIMWX
816
(Binary)
A-72
Symbol/Operand
IF (802) NOT
The instructions between IF(802) and ELSE(803) will be executed
and if the operand bit is ON, the instructions be ELSE(803) and
B
IEND(804) will be executed is the operand bit is OFF.
B: Bit operand
---
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.
WAIT(805)
If the execution condition is ON for WAIT(805), the rest of the
instruction in the block program will be skipped.
Execution
condition
WAIT(805)
If the operand bit is OFF (ON for WAIT NOT(805)), the rest of the
instructions in the block program will be skipped. In the next cycle,
B
none of the block program will be executed except for the execu-
tion condition for WAIT(805) or WAIT(805) NOT. When the execu-
B: Bit operand
tion condition goes ON (OFF for WAIT(805) NOT), the instruction
from WAIT(805) or WAIT(805) NOT to the end of the program will
be executed.
WAIT(805) NOT
If the operand bit is OFF (ON for WAIT NOT(805)), the rest of the
instructions in the block program will be skipped. In the next cycle,
B
none of the block program will be executed except for the execu-
tion condition for WAIT(805) or WAIT(805) NOT. When the execu-
B: Bit operand
tion condition goes ON (OFF for WAIT(805) NOT), the instruction
from WAIT(805) or WAIT(805) NOT to the end of the program will
be executed.
TIMW(813)
Delays execution of the block program until the specified time
N
has elapsed. Execution continues from the next instruction
after TIMW(813)/TIMWX(816) when the timer times out.
SV
SV: 0 to 999.9 s for BCD and 0 to 6,553.5 s for binary
N: Timer number
SV: Set value
TIMWX(816)
N
SV
N: Timer number
SV: Set value
BEND
Function
Execution
Execution
Execution
condition
condition
condition
OFF
OFF
ON
"A"
executed.
"C"
"C"
executed.
executed.
Wait
"A"
executed.
SV
preset.
Time elapsed.
C
CJ2 CPU Unit Software User's Manual
Execution
Location
condition
Block pro-
Required
gram
Block pro-
Required
gram
Block pro-
Required
gram
Block pro-
Required
gram
"B" executed.
"C" executed.
Block pro-
Required
gram
Block pro-
Required
gram
Block pro-
Required
gram
"B" executed.
"C" executed.

Advertisement

Table of Contents
loading

Table of Contents