172
Interrupt Tasks
Section 4-3
Example: The following examples shows executed scheduled interrupt task 2
every second.
Interrupt Numbers and Scheduled Interrupt Task Number
PLC Setup Settings
Power OFF Interrupt Task: Task 1
The power OFF interrupt task is disabled in the default PLC Setup at the start
of cyclic task execution.
The power OFF interrupt task can be enabled in the PLC Setup.
In the default PLC Setup, the power OFF interrupt task will be stopped after
10 ms. The power OFF interrupt task must be executed in less than 10 ms.
If a power OFF detection delay time is set in the PLC Setup, the power OFF
interrupt task will be stopped after 10 ms minus the power OFF detection
delay time setting in the PLC Setup. In this case, the power OFF interrupt task
must execute in less than 10 ms minus the power OFF detection delay time
set in the PLC Setup.
Cyclic task
Interrupt number 4 will be executed
at an interrupt interval of 0064 Hex.
Scheduled interrupt time unit in PLC
Setup = 10 ms (0.01 s)
Every second
Interrupt
Scheduled interrupt task 2
Cyclic task
&100
Interrupt No.
Scheduled interrupt task
4
2
5
3
Address
Name
Description
Settings
Default setting
Bits 0 to 3 of 195
Scheduled inter-
rupt time units
Sets time unit for scheduled inter-
rupts to execute interrupt tasks at
fixed intervals.
00 Hex: 10 ms
01 Hex: 1.0 ms
02 Hex: 0.1 ms
(CJ1M CPU Units
only)
00 Hex
Summary of Contents for CJ1G-CPU series
Page 3: ...iv...
Page 5: ...vi...
Page 21: ...xxii Conformance to EC Directives 6...
Page 169: ...148 Task Control Instructions Section 3 32...
Page 203: ...182 Programming Device Operations for Tasks Section 4 4...
Page 253: ...232 Using File Memory Section 5 3...
Page 337: ...316 Other Functions Section 6 11...
Page 347: ......
Page 369: ......
Page 373: ......
Page 379: ......
Page 381: ...360 Revision History...