Interrupts
Section 4-6
90
For a complete overview of all External Interrupt Task numbers to be assigned to
the Outputs, refer to section Appendix B
Appendix B "Assigning External Interrupt
Since there are 256 External Interrupt Tasks available (numbered 0 to 255) the
Offset can be maximum 192. With an Offset of 192 the last Output (31) will be
assigned the last available External Interrupt Task 255 (=192+2x31+1).
Example
An Offset of 10 (m+1 = 0010
(BCD)
), with all 32 Outputs enabled to generate inter-
rupts (m+2 and m+3 = FFFF
H
), means that the rising edge of the corresponding
bit of Output 0 in the Unit Output Pattern is assigned to External Interrupt Task
Number 10 and the falling edge to External Interrupt Task 11. The rising edge of
Output 1 to External Interrupt Task Number 12 and the falling edge to External
Interrupt Task Number 13 and so on. For Output 31 the two External Interrupt
Tasks 72 and 73 are assigned. Now you have External Interrupt Tasks 10 to 73
available. In every Task you should write an appropriate (ladder) program which is
to be executed at the Outputs’ corresponding rising or falling edge.
General Setting:
m+1
Interrupt Task Offset (Outputs):
Set between 000 - 192
(BCD)
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0