Setting the Time to the First Scheduled Interrupt
W0.00
W0.01
Scheduled interrupt task 2
Cyclic task
1. Execution of CLI(691)
(Sets 24 ms to first task.)
CS/CJ/NSJ Series Instructions Reference Manual (W474)
1 When W0.00 goes from OFF to ON, CLI(691) sets the time to
@CLI
the first execution of scheduled interrupt 0 to 24 ms. (In this
N
4
case, the scheduled time interval units are set to 1 ms in the
PLC Setup.)
C
&24
2 When W0.01 goes from OFF to ON, CLI(691) sets the time to
the first execution of scheduled interrupt 0 to 12 ms, and
@MSKS
starts the internal timer. (In this case, the scheduled time
N
4
interval units are set to 1 ms in the PLC Setup.)
C
&12
2. Execution of CLI(691)
(Enables interrupt and sets 12 ms.)
24 ms
12 ms
12 ms
3. Instructions
3
715
Need help?
Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?
Questions and answers