1188
CS/CJ/NSJ Series Instructions Reference Manual (W474)
4. Instruction Execution Times and Number of Steps
4-2-18 Interrupt Control Instructions
4-2-19 High-speed Counter and Pulse Output Instructions (CJ1M-CPU21/
22/23 Only)
Instruction Mne-
monic
Length
(steps)
ON execution time (µs) Condi-
tions
CJ1H
CPU6@
H-R
CJ1H
CPU6@
H
CJ1G
CPU4@
H
CJ1M
CPU12/13/
22/23
CJ1M
CPU11/
21
CJ1G
CPU4@
SET INTERRUPT
MASK
MSKS 3 25.6 25.6 38.4 44.7 42.9 39.5 ---
READ INTERRUPT
MASK
MSKR 3 11.9 11.9 11.9 16.9 15.9 11.9 ---
CLEAR INTERRUPT CLI 3 27.4 27.4 41.3 42.7 44.5 41.3 ---
DISABLE INTER-
RUPTS
DI 1 15.0 15.0 16.8 30.3 28.5 16.8 ---
ENABLE INTER-
RUPTS
EI 1 19.5 19.5 21.8 37.7 34.4 21.8 ---
Instruction Mne-
monic
Length
(steps)
ON execution time (µs) Conditions
CJ1H
CPU6@
H-R
CJ1H
CPU6@
H
CJ1G
CPU4@
H
CJ1M
CPU12/13/
22/23
CJ1M
CPU11/
21
CJ1G
CPU4@
MODE CON-
TROL
INI 4 --- --- --- 77.00 80.4 --- Starting high-speed
counter comparison
--- --- --- 43.00 43.0 --- Stopping high-
speed counter com-
parison
--- --- --- 43.40 48.8 --- Changing pulse out-
put PV
--- --- --- 51.80 50.8 --- Changing high-
speed counter PV
--- --- --- 31.83 28.5 --- Changing PV of
counter in interrupt
input mode
--- --- --- 45.33 49.8 --- Stopping pulse out-
put
--- --- --- 36.73 30.5 --- Stopping PWM(891)
output
HIGH-SPEED
COUNTER PV
READ
PRV 4 --- --- --- 42.40 43.9 --- Reading pulse out-
put PV
--- --- --- 53.40 65.9 --- Reading high-speed
counter PV
--- --- --- 33.60 30.5 --- Reading PV of
counter in interrupt
input mode
--- --- --- 38.80 40.0 --- Reading pulse out-
put status
--- --- --- 39.30 66.9 --- Reading high-speed
counter status
--- --- --- 38.30 34.5 --- Reading PWM(891)
status
--- --- --- 117.73 145.7 --- Reading high-speed
counter range com-
parison results
--- --- --- 48.20 48.5 --- Reading frequency
of high-speed
counter 0
COUNTER
FREQUENCY
CONVERT
PRV2 4 --- --- --- 23.03 22.39 --- ---