SERIES AP440 ACROPACK
USER
’S MANUAL
Acromag, Inc. Tel: 248-295-0310
- 36 - http://www.acromag.com
- 36 -
www.acromag.com
Event Sense Status Register for port 0 input points at the port 0 address in
this bank.
Note that writing a 1 to a bit position enables the event sense detector,
while writing a 0 clears the event sensed without enabling further event
sensing.
8. (OPTIONAL) Write 01H to the Interrupt Enable Register address location
to enable interrupt request.
When a change-of-state is detected, an interrupt will be generated (if the
event sense detection circuitry has been enabled and Interrupt Enable bit
0=1). To enable further interrupts to occur for an event that has already
occurred for an I/O point, the Event Sense Status Register must be written
with a 1 to reenable event sensing for subsequent events (but only after first
writing 0 to the corresponding bit position to clear the event sense flip/flop).
Note that the state of the inputs (on/off) can be determined by reading the
corresponding port address while in bank 0 of the Enhanced Mode.
However, the event sense status can only be determined by reading the
corresponding port address while in bank 1 of the Enhanced Mode.
Remember, the event sense status is a flag that is raised when a specific
positive or negative transition has occurred for a given input point, while the
state refers to its current level.