It’s possible to use the interrupt Inputs on xx7 CPU’s as normal inputs?
FAQ #101061
Yes, it’s possible to use the interrupt inputs of the xx7 CPU’s as normal inputs.
The address of the interrupt inputs is PEB 65534 or 65535 depending of the used xx7 CPU.
The interrupt 0 is mapped to the bit 0, the interrupt 1 to the bit 1 of the PEB 65534 or PEB 65635 and so on.
There is no need to define any special behaviour to be able to read the interrupt inputs as normal inputs.
Overview PCD system / number of interrupts / base input address for interrupt
PCD system | number of interrupts | base input address |
PCD1.xx7 | 1 | PEB 65535 |
PCD2.1x7 | 2 | PEB 65535 |
PCD2.487 | 4 | PEB 65535 |
PCD2.M5xx7 | 6 | PEB 65534 |
PCD3.Mxxx7 | 2 | PEB 65535 |
Program example to read the interrupt inputs:
L PEB65535
T MB 10
// M 10.0 is interrupt 0
// M 10.1 is interrupt 1
Categories
PCD3 / _Firmware xx7
xx7 Series / Programming
xx7 Series / Hardware configuration
xx7 Series / CPU and operating system
Last update: 01.06.2015 01:11
First release: 31.10.2008 15:24
Views: 6716