6-13
6 Interrupts
CJ2M CPU Unit Pulse I/O Module User’s Manual
6-2 Interrupt Inputs
6
6-2-6 Creating Ladder Programs
Related Parameters in the Auxiliary Area
Name Word Function Read/Write Refresh timing
Interrupt Counter
0 Counter SV
A532 This word is used for interrupt inputs in
Counter Mode. Set the count value at
which to start the interrupt task. When
an interrupt counter (0 to 7) counts the
specified number of rotations, the inter-
rupt task (140 to 147) will be started.
Read/Write • Retained when
power is turned
ON.
• Retained when
operation starts.
Interrupt Counter
1 Counter SV
A533
Interrupt Counter
2 Counter SV
A534
Interrupt Counter
3 Counter SV
A535
Interrupt Counter
4 Counter SV
A544
Interrupt Counter
5 Counter SV
A545
Interrupt Counter
6 Counter SV
A546
Interrupt Counter
7 Counter SV
A547
Interrupt Counter
0 Counter PV
A536 These words contain the interrupt
counter PVs for interrupt inputs operat-
ing in Counter Mode. When the counter
reaches the counter set value in Incre-
ment Mode, the PV is automatically
reset to 0. When the counter reaches 0
in Decrement Mode, the PV is automati-
cally reset to the counter SV.
Read/Write • Cleared when
power is turned
ON.
• Cleared when
operation starts.
• Refreshed every
cycle.
• Refreshed when
the interrupt task is
started.
• Refreshed when
INI(880) instruc-
tion is executed to
change the PV.
• Preset when
MSKS(690)
instruction is exe-
cuted to enable
interrupts.
Interrupt Counter
1 Counter PV
A537
Interrupt Counter
2 Counter PV
A538
Interrupt Counter
3 Counter PV
A539
Interrupt Counter
4 Counter PV
A548
Interrupt Counter
5 Counter PV
A549
Interrupt Counter
6 Counter PV
A550
Interrupt Counter
7 Counter PV
A551
Interrupt Input 0
Latched PV
A10144 and
A10145
When there is an interrupt input, the PV
of the pulse output or the PV of the
high-speed counter input is stored.
The PV immediately before the interrupt
task is started is read and saved.
Lower four digits: A10144, A10146,
A10148, A10150, A10152, A10154,
A10156, and A10158
Upper four digits: A10145, A10147,
A10149 A10151, A10153, A10155,
A10157, and A10159
Read • Cleared when
power is turned
ON.
• Refreshed when
the interrupt task is
started.
Interrupt Input 1
Latched PV
A10146 and
A10147
Interrupt Input 2
Latched PV
A10148 and
A10149
Interrupt Input 3
Latched PV
A10150 and
A10151
Interrupt Input 4
Latched PV
A10152 and
A10153
Interrupt Input 5
Latched PV
A10154 and
A10155
Interrupt Input 6
Latched PV
A10156 and
A10157
Interrupt Input 7
Latched PV
A10158 and
A10159