AlarmStorageRow (FB)ΒΆ
FUNCTION_BLOCK AlarmStorageRow
This function block contains the data, that will be written into the alarm storage.
- InOut:
Scope
Name
Type
Initial
Comment
Input
udiAlarmIDUDINTThe internal IDs of the alarm, the alarm class and the alarm group
udiAlarmClassIDUDINTudiAlarmGroupIDUDINTliTimestapLastThe several timestamps of the alarm
liTimestapActiveliTimestapInactiveliTimestapAcknowledgeiOffsetLastINT-1
The several offsets of the alarm
iOffsetActiveINT-1
iOffsetInactiveINT-1
iOffsetAcknowledgeINT-1
usiPriorityUSINTThe priority of the alarm class the alarm belongs to
eStateThe current state of the alarm
byTriggerValueTypeBYTEThe several values attached to the alarm. For each value we store the type class value as BYTE and an 8 byte value representing the value.
liTriggerValueValLINTpLatchVariablesPOINTER TO ARRAY [0..10] OF LatchVariable
Will be set by the code generation and contains the memory, where the latch variables can be stored (the size 0..10 is only for debug reasons)
usiCountLatchVariablesUSINTitfAlarmThe IAlarm instance, where the data of this structure comes from
idRowCAA.IDENTThe row ID of the alarm in the alarm storage, or the original row id for remote alarm
xIdRowValidBOOLsRemoteDeviceNameSTRINGIf the above row id is valid, used only in distributed alarm handling The name of the remote device in case of remote alarm
Methods:
Structure: