324
Interrupt Functions
Section 6-1
Operation
When execution condition W0.00 goes ON, MSKS(690) is executed to enable
CIO 0.04 as an up-differentiated input interrupt.
If CIO 0.04 goes from OFF to ON (up-differentiation), processing of the cyclic
task that is currently being executed will be interrupted and processing of
interrupt task 140 will start. When the interrupt task processing is completed,
processing of the interrupted ladder program will restart.
Restrictions
Inputs cannot be used for input interrupts when they are being used as gen-
eral-purpose (normal) inputs or quick-response inputs.
6-1-3
Input Interrupts (Counter Mode)
Overview
This function counts up-differentiated or down-differentiated input signals and
executes an interrupt task when the count reaches the set value.
• The counter-mode input interrupts use the same input terminals as the
direct-mode input interrupts. Refer to
6-1-2 Input Interrupts (Direct Mode)
for details.
• The counter input mode can be set to up or down (incrementing or decre-
menting) with MSKS(690).
• The counter-mode input interrupts start the same interrupt tasks (140 to
145) as the direct-mode input interrupts.
• The maximum input response frequency is 5 kHz total for all counter-
mode input interrupts.
Relationship of Input Bits,
Task Numbers, and
Counters
Note
*Input interrupts 4 and 5 are not supported by CPU Units with 14 I/O Points.
Procedure
W0.00
0.04
MSKS(690) executed
Cyclic task processing
Interrupt
task 140
processing
Processing
interrupted
Cyclic task
processing
Processing
interrupted
Interrupt
task 140
processing
Input bits
Function
Counter words
Input interrupt
number
Interrupt task
number
SV
(0000 to FFFF)
PV
0.04
Input interrupt 0
140
A532
A536
0.05
Input interrupt 1
141
A533
A537
0.06
Input interrupt 2
142
A534
A538
0.07
Input interrupt 3
143
A535
A539
0.08*
Input interrupt 4*
144
A544
A548
0.09*
Input interrupt 5*
145
A545
A549
Select the input interrupts (counter
mode).
• Determine the inputs to be used for input
interrupts and corresponding task numbers.
↓
Wire the inputs.
• Wire the inputs.
Summary of Contents for CP1L - 12-2007
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 428: ...395 Clock Section 6 9...
Page 429: ...396 Clock Section 6 9...
Page 523: ...488 Troubleshooting Unit Errors Section 9 4...
Page 531: ...496 Replacing User serviceable Parts Section 10 2...
Page 563: ...528 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...576 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...603 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...604 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...634 Index...
Page 671: ...636 Revision History...