ST_LON_SNVT_alarm
Used by: SNVT_alarm
TYPE ST_LON_SNVT_alarm :
STRUCT
arrLocation : ARRAY[0..5] OF BYTE;
uiObject_Id : UINT;
eAlarm_type : E_LON_alarm_type_t;
ePriorty_level : E_LON_priority_level_t;
uiIndex_To_SNVT : WORD;
arrValue : ARRAY[0..3] OF BYTE;
uiYear : UINT;
uiMonth : UINT;
uiDay : UINT;
uiHour : UINT;
uiMinute : UINT;
uiSecond : UINT;
uiMilliseconds : UINT;
arrAlarm_limit : ARRAY[0..3] OF BYTE;
END_STRUCT
END_TYPE
arrLocation: Location (array of 6 bytes). Location code for the node
uiObject_Id: Object ID (object index). ID of object within node
eAlarm_type: Alarm type (alarm type names) (see E_LON_alarm_type_t).
ePriorty_level: Priority level (priority level names) (see E_LON_priority_level_t).
uiIndex_To_SNVT: Index of NV (index of NV causing alarm).
arrValue: Value (array of 4 bytes). The type of this field is dependent on the NV causing the alarm condition.
uiYear: Year (years). Zero (0) means year not specified.
uiMonth: Month (months). Zero (0) means month not specified.
uiDay: Day (days). Zero (0) means day not specified.
uiHour: Hour (hours). This field uses a 24-hour value.
uiMinute: Minute (minutes).
uiSecond: Second (seconds).
uiMilliseconds: Millisecond (milliseconds).
arrAlarm_limit: Alarm limit (array of 4 bytes). The type of this field is dependent on the NV causing the alarm condition.
Requirements
Development Environment | TwinCAT 3 PLC library to be integrated |
---|---|
TwinCAT from v3.1.4020.14 | Tc2_LON from 3.3.4.0 |