NUM FLEXIUM Alarm and Events
To get the alarms the FxLog COM Server is used.
Addresses
The NUM Flexium Control Driver supports CNC Alarms. The Address for the alarms is following:
Address | Description | Data Type |
---|---|---|
Cnc{c}.Nc{n}.NcAlarmEvent:0 | System Alarm and operator message reader. | TAlarmEvent[] |
Alarm Messages
Messages are not acknowledged by the HumanOS® IoT Platform. Typically, this is done by the NUM system using the RESET button.
The message standard fields are
Field Name | Description | DataType |
---|---|---|
ConditionName | Contains the alarm number given by the NUM control. Is built of $(error-nr)[$(extension)] e. g. 54[0] | System.String |
Message | Message content | System.String |
SourceName | Name of the alarm or message source, e.g. Cnc0/Nc0/RTSMessage | System.String |
Active | Flag if the alarm is still pending on the NUM side | System.Boolean |
A more detailed description of Alarm Messages can be found in the operation manual, chapter [AlarmEventPools].
Additional Message Properties
Alarm messages are enriched with additional properties coming from the NUM interface:
Property Name | Description | DataType |
---|---|---|
Message:ErrorNumber | Native alarm number from NUM control | System.String |
Message:Extension | Native extension number from NUM control | System.String |
Message:ErrorType | Error type, e. g. RTSMessage | System.String |
Message:ErrorIndex | Error index, that is NcChannel for CNCMessage types or drive address for driver errors | System.String |
Message:CncBlock | Number of the cnc block (valid for CNC messages) | System.String |
Message:CncLine | Line number (valid for CNC messages, only Flexium+) | System.String |
Message:Additional | Additional error information from NUM control | System.String |
Customer specific Message Properties
Custom specific messages can be added directly at the task of the device info model. They all must start with "Message:" and are automatically passed to all messages coming from the alarm task.
Example:
"AlarmEventPool": {
"Id": "{6F9BC0F1-0CF1-4537-AFBA-D411277BCAA4}",
"Name": "AlarmEventPool",
"Tasks": [
{
"Id": "{29D076CA-2123-4156-90C2-8D72AB480985}",
"Name": "Standard Messages",
"Address": "Cnc0.Nc0.NcAlarmEvent:0",
"Properties": [
{
"Name": "Message:mqtt:Topic",
"Value": "MachineState/ActAlarms"
}
]
}
]
},