327
Interrupt Functions
Section 6-1
When CIO 0.05 goes from OFF to ON 200 times, processing of the cyclic task
that is currently being executed will be interrupted and processing of interrupt
task 141 will start. When the interrupt task processing is completed, process-
ing 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-4
Scheduled Interrupts
This function executes an interrupt task at a fixed time interval measured by
the CPU Unit’s built-in timer. Interrupt task 2 is allocated to scheduled inter-
rupt.
Procedure
PLC Setup
Click the
Timings
Tab and set the input function to
Scheduled Interrupt Inter-
val
(the scheduled interrupt timer’s units). The timing units can be set to 10
ms, 1 ms, or 0.1 ms. The scheduled interrupt timer SV is calculated by multi-
plying this interval setting by the timer SV set with MSKS(690).
W0.00
0
0.05
Counter SV (in A533)
= 200 (00C8 hex)
Counting enabled.
Counter PV (in A537)
Interrupt task 141
executed.
Set the PLC Setup.
• Use the CX-Programmer to set the scheduled
interrupt timer units in the PLC Setup.
↓
Write the ladder program.
• Write the program allocated to interrupt task
2 (scheduled interrupt task).
• Use MSKS(690) to specify the timer SV.
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...