Manual VIPA System 200V Chapter 5 238-2BC00 - Combination module
HB97E - SM-AIO - Rev. 12/32 5-37
Digital part - Counter - Alarm and diagnostic
The parameterization allows you to define the following trigger for a
process alarm:
• Status change of the HW gate
• Over- / Underflow
• Reaching a comparison value
• Loss of a counter pulse
You may globally activate a diagnostic alarm for all channels. A diagnostic
alarm occurs as soon as at processing a process alarm a process alarm is
initialized in OB40 for the same channel and the same event.
A process alarm causes the call of OB40. Within the OB40 you may search
the logical basic address of the module that threw the process alarm by
using the local word 6.
The local word 8 allows you to access the data that the module provides in
case of an alarm. The local word 8 has the following structure:
Byte Bit 7 ... Bit 0
8 Bit 0: Channel 1 Comparison value reached
Bit 1: Channel 1 Pulse lost
Bit 2: Channel 2 HW gate open
Bit 3: Channel 2 HW gate closed
Bit 4: Channel 2 Overflow
Bit 5: Channel 2 Comparison value reached
Bit 6: Channel 2 Pulse lost
Bit 7: reserved
9 Bit 0: Channel 0 HW gate open
Bit 1: Channel 0 HW gate closed
Bit 2: Channel 0 Overflow
Bit 3: Channel 0 Comparison value reached
Bit 4: Channel 0 Pulse lost
Bit 5: Channel 1 HW gate open
Bit 6: Channel 1 HW gate closed
Bit 7: Channel 1 Overflow
During a process alarm is processed by the PLC in OB40 a diagnostic alarm
can be released (if activated) by the same event at the same channel.
This interrupts the current process alarm execution in OB40 and branches to
OB82 for processing the diagnostic alarm (incoming). If during the diagnostic
alarm execution further events at other channels occur that may also
initialize a process res. diagnostic alarm, these are temporarily stored.
After finishing the current diagnostic alarm execution, the sum diagnostic
message "process alarm lost" informs the CPU that in the meantime other
process alarms has occurred.
Overview
Process alarm
Release
diagnostic
alarm