![Omron CJ1G-CPU series Programming Manual Download Page 199](http://html1.mh-extra.com/html/omron/cj1g-cpu-series/cj1g-cpu-series_programming-manual_742489199.webp)
178
Interrupt Tasks
Section 4-3
offending interrupt task number will be stored in A426 (Interrupt Task Error,
Task Number). The CPU Unit however will continue to operate.
Executing IORF for a
Special I/O Unit
If an IORF(097) instruction has to be executed from an interrupt task for a
Special I/O Unit, be sure to turn OFF cyclic refresh for the Special I/O Unit
(using the unit number) in the PLC Setup.
A interrupt task error will occur if you try to refresh a Special I/O Unit with an
IORF(097) instruction from an interrupt task while that UNIT is also being
refreshed by cyclic I/O refresh or by I/O refresh instructions (IORF(097) or
immediate refresh instructions (!)). If Interrupt Task Error Detection is turned
ON in the PLC Setup when an interrupt task error occurs, A40213 (Interrupt
Task Error Flag) will turn ON and the unit number of the Special I/O Unit for
which I/O refreshing has been duplicated will be stored in A426 (Interrupt
Task Error, Task Number). The CPU Unit will continue running.
Note The leftmost bits of A426 (Interrupt Task Error, Task Number) can be used to
determine which of the above interrupt task errors occurred. (Bit 15: 10 ms or
higher execution error if 0, multiple refresh error if 1)
PLC Setup Settings
C200H Special I/O Unit
or
Master SYSMAC
BUS Remote I/O Unit
Interrupt task
10 ms or
longer
Up to 10 ms
SYSMAC BUS
Remote I/O
Interrupt task
Incorrect Use
Correct Use
Address
Name
Description
Settings
Default
setting
Bit 14 at +128
Interrupt Task Error
Detection
Specifies whether or not to detect interrupt
task errors. The Interrupt Task Error Flag
(A40213) will be function when detection is
enabled.
0: Detection
enabled,
1: Detection
disabled
0
Special I/O Unit
I/O refresh
Interrupt task
Do not executed
IORF(097) in an interrupt
task if cyclic refreshing is
enabled for Special I/O
Units in the PC Setup.
Disable cyclic refresh-
ing for Special I/O
Units in the PC Setup
before executing the
IORF(097) instruction
in an interrupt task.
Incorrect Use
Correct Use
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...