721
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Interrupt Control Instructions
3
MSKR
z Example for Scheduled Interrupts
When W0.00 goes from OFF to ON while the internal timer is operating for scheduled interrupt 1,
MSKR(692) reads the interrupt time interval setting and outputs the setting to D100.
Execution of MSKS
(Interrupt enabled, 24 ms)
Cyclic task
24 ms 24 ms
24 ms
@MSKR
5
D100
W0.00
N
D
Scheduled interrupt 1 (interrupt task 3)
24 ms 12 ms 12 ms
Execution of MSKR
(Reads 24.)
Execution of MSKS
(Interrupt enabled, 12 ms)
Execution of MSKR
(Reads 12.)