<< Click to Display Table of Contents >>
Events or Alarms Tag |
B1 |
Slave's ID address |
B2 |
Function code linked to Read 32, defined on this Driver's properties dialog box |
B3 |
Not used |
B4 |
Not used |
Use the reading of a Block Tag to receive a list of Events or Alarms occurred in a device. Data, either from Events or from Alarms, is returned according to the following structure of Block Tag Elements:
•Element 1: Type of occurrence (0: Alarm or 1: Event)
•Data for Alarms (if Element 1 is equal to 0):
•Element 2: Limit
•Element 3: Rate of change limit
•Element 4: The register that triggered the alarm change
•Element 5: Current (alarmed) value of register
•Element 6: Alarm (1: Set or 0: Reset)
•Data for Events (if Element 1 is equal to 1):
•Element 2: Limit
•Element 3: Rate of change limit
•Element 4: The register that changed
•Element 5: Previous value of register
•Element 6: Current (new) value of register
•Element 7: Fixed value
•Element 8: Zero Scale
•Element 9: Operator entry work value
•Element 10: Boolean fixed bit
•Element 11: Fixed/Variable flag
•Element 12: Table entry change
•Element 13: System command change
NOTE |
Use a Block Tag's OnRead event to collect every returned Event or Alarm occurrence as a list. The Event or Alarm occurrence's timestamp is linked to a Block Tag's timestamp. |