4-1-30 Block Programming Instructions
Instruction
BLOCK PROGRAM BEGIN
BLOCK PROGRAM END
BLOCK PROGRAM PAUSE
BLOCK PROGRAM
RESTART
CONDITIONAL BLOCK EXIT (Execution con-
CONDITIONAL BLOCK EXIT EXIT (bit
CONDITIONAL BLOCK EXIT
(NOT)
Branching
Branching (NOT)
Branching
Branching
ONE CYCLE AND WAIT
ONE CYCLE AND WAIT
(NOT)
HUNDRED-MS TIMER WAIT
TEN-MS TIMER WAIT
COUNTER WAIT
Loop Control
CS/CJ/NSJ Series Instructions Reference Manual (W474)
4. Instruction Execution Times and Number of Steps
Mnemonic
Length
(steps)
BPRG
2
BEND
1
BPPS
2
BPRS
2
1
dition) EXIT
2
address)
EXIT NOT (bit
2
address)
IF (execution
1
condition)
IF (bit address)
2
IF NOT (bit
2
address)
ELSE
1
IEND
1
WAIT (execu-
1
tion condition)
WAIT (bit
2
address)
WAIT NOT (bit
2
address)
TIMW
3
TIMWX
3
TMHW
3
TMHWX
3
CNTW
4
CNTWX
4
LOOP
1
ON execution time ( s)
CJ2H
CJ2M CPU@@
CPU6@(-EIP)
7.8
14.1
8.8
13.4
5.4
8.4
3.6
4.8
8.6
13.2
2.0
2.6
9.8
14.8
3.6
4.2
3.6
4.3
8.9
14.9
1.9
2.4
3.8
6.4
3.2
4.0
5.1
8.0
5.1
8.2
3.2
4.1
3.5
5.7
5.3
7.3
5.3
8.5
2.0
2.4
10.0
15.9
1.4
1.9
9.2
13.5
2.6
3.7
9.2
13.5
2.8
3.7
15.6
22.9
16.0
23.2
15.1
21.7
16.0
23.2
15.7
22.6
17.5
24.9
15.2
22.1
16.4
23.4
13.7
20.5
13.4
19.8
13.1
19.5
13.5
19.7
4.6
9.1
Conditions
---
---
---
---
Block exited (input
condition ON)
Block not exited
(input condition
OFF)
Block exited (bit ON)
Block not exited (bit
OFF)
Block exited (bit
OFF)
Block not exited (bit
ON)
4
IF true (input condi-
tion ON)
IF false (input condi-
tion OFF)
IF true (bit ON)
IF false (bit OFF)
IF true (bit OFF)
IF false (bit ON)
IF true
IF false
IF true
IF false
Do not wait (input
condition ON)
Wait (input condi-
tion OFF)
Do not wait (bit ON)
Wait (bit OFF)
Do not wait (bit
OFF)
Wait (bit ON)
Default setting
Normal execution
Default setting
Normal execution
Default setting
Normal execution
Default setting
Normal execution
Default setting
Normal execution
Default setting
Normal execution
---
1145
Need help?
Do you have a question about the CJ - REFERENCE MANUAL 02-2010 and is the answer not in the manual?