Omron SYSMAC CS/CJ Series Programming Manual page 199

Table of Contents

Advertisement

Interrupt Tasks
C200H Special I/O Unit
Master SYSMAC
or
BUS Remote I/O Unit
SYSMAC BUS
Remote I/O
Executing IORF for a
Special I/O Unit
Special I/O Unit
I/O refresh
PLC Setup Settings
Address
Bit 14 at +128
Interrupt Task Error
Detection
178
offending interrupt task number will be stored in A426 (Interrupt Task Error,
Task Number). The CPU Unit however will continue to operate.
Incorrect Use
Interrupt task
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.
Interrupt task
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)
Name
Specifies whether or not to detect interrupt
task errors. The Interrupt Task Error Flag
(A40213) will be function when detection is
enabled.
Interrupt task
10 ms or
longer
Incorrect Use
Do not executed
IORF(097) in an interrupt
task if cyclic refreshing is
enabled for Special I/O
Units in the PC Setup.
Description
Section 4-3
Correct Use
Up to 10 ms
Correct Use
Disable cyclic refresh-
ing for Special I/O
Units in the PC Setup
before executing the
IORF(097) instruction
in an interrupt task.
Settings
Default
setting
0: Detection
0
enabled,
1: Detection
disabled

Advertisement

Table of Contents
loading

Table of Contents