10-1
CP2E CPU Unit Software User’s Manual(W614)
10
This section describes the interrupts that can be used with CP2E PLCs, including input
interrupts and scheduled interrupts.
10-1 Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
10-1-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-2
10-2 Input Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3
10-2-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-3
10-2-2 Flow of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-4
10-2-3 Application Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-8
10-3 Scheduled Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-10
10-3-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-10
10-3-2 Flow of Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-11
10-4 Precautions for Using Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13
10-4-1 Interrupt Task Priority and Order of Execution . . . . . . . . . . . . . . . . . . . . . . . 10-13
10-4-2 Related Auxiliary Area Words and Bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13
10-4-3 Duplicate Processing in each Task . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10-13
Interrupts