Appendices
A-98
CJ2 CPU Unit Software User’s Manual
A-2-19 Interrupt Control Instructions
Instruction Mnemonic FUN No. Length (steps)
ON execution time (µs)
Conditions
CJ2H
CPU6@(-EIP)
CJ2M-
CPU@@
SET INTERRUPT
MASK
MSKS 690 3 10.6 22.1 ---
READ INTERRUPT
MASK
MSKR 692 3 9.6 14.8 ---
CLEAR INTERRUPT CLI 691 3 10.1 21.6 ---
DISABLE INTER-
RUPTS
DI 693 1 10.3 20.4 ---
ENABLE INTER-
RUPTS
EI 694 1 9.3 16.0 ---
A-2-20 High-speed Counter/Pulse Output Instructions
Instruction Mnemonic FUN No. Length (steps)
ON execution time (µs)
Conditions
CJ2H
CPU6@(-EIP)
CJ2M-
CPU@@
MODE CONTROL INI 880 4 --- 7.4 Starting high-
speed counter
comparison
4.0 Stopping high-
speed counter
comparison
9.9 Changing the
PV of the Pulse
Output
8.0 Changing high-
speed counter
PV
5.0 Changing PV
of interrupt
input in counter
mode
9.2 Stopping pulse
output
5.2 Stopping a
PWM output
48.2 Changing ori-
gin search/ori-
gin return
settings