HEIDENHAIN Alarm and Event Sources
HEIDENHAIN Alarm and Message handling produces alarm events. The
AlarmEventSourceInfo
object is used to handle these alarms and events.
The declaration is located in the device file.
Messages are not acknowledged by the HumanOS Plugin. Typically, this is done by the HEIDENHAIN system using the RESET button.
Alarm Source Addresses
The Heidenhain Control Driver supports CNC/NC/PLC Alarms. The Address for the alarms is following:
Address | Description | Data Type |
---|---|---|
Nc{x}.NcAlarmEvent:0 | System Alarm and operator message reader. | TAlarmEvent[] |
An Alarm contains following fields:
Field Name | Description | Data Type |
---|---|---|
SourceName | Can be unknown or:
| System.String |
AlarmType | Can be unknown or:
| System.String |
ConditionName | Alarm with its corresponding number | System.String |
Message | Message content | System.String |
Occurrence | Date and Time of the appearance | System.String |
By default, all errors with the following DNC ErrorClass will set the emergency state flag:
DNC_EC_EMERGENCY_STOP
DNC_EC_RESET
And all errors with the following DNC ErrorClass will set the alarm state flag:
DNC_EC_NONE
DNC_EC_FEEDHOLD
DNC_EC_PROGRAMHOLD
DNC_EC_PROGRAMABORT