The OPC UA Information Model describes the organization of all information that can be polled via OPC UA. This information is necessary in order to correctly request and interpret outputs from the SMART Controller.
The SMART Information model files can be found in the directory
/usr/local/share/smart/opcua.
- smartModel.xml
-
The UA Model file describing the SMART schema and variables.
- smartModel.csv
- A reference CSV file containing the node IDs for accessing nodes and variables from an OPC UA Client.
- Smart.NodeSet2.xml
- The raw NodeSet2 XML file with node IDs.
Figure 1. OPC UA Information Model Overview
| Attribute Name | Description |
|---|---|
| Hostname | The hostname of the SMART Controller as configured in /etc/hostname |
| CpuUtilization | Current CPU Utilization: 0-100% |
| DiskUtilization | Current Disk Utilization: 0-100% |
| MemoryUtilization | Current Memory Utilization |
| UpSinceDate | The date and time when the SMART Controller last restarted: YYYY-MM-DD HH:MM:SS |
| UpTimeSeconds | The total number of seconds since the SMART Controller last restarted. |
| Method Name | Description | Input | Output |
|---|---|---|---|
| ReadModbusRegister | Return the value of any Modbus register | Modbus register number | Register value |
| ReadAllPassAlarms | Return the AlarmPresent values for all eight Pass Alarms | None | Array of eight booleans indicating whether each Pass Alarm is raised |
| ReadAllPulseAlarms | Return the AlarmPresent values for all eight Pulse Alarms | None | Array of eight booleans indicating whether each Pulse Alarm is raised |
| Attribute Name | Type | Values | Description |
|---|---|---|---|
| MACAddress | string | The mic serial number | |
| Prefix | string | The configured mic prefix | |
| Model | string | 1 | Currently always returns “1” |
| Version | string | 1.06 | Currently always returns “1.06” |
| Channels | string | 1 | Currently always returns “1” |
| Status | enum |
0 = Idle 1= sleeping 2 = streaming 3 = missing 4 = failed |
The current status of mic as given by the enumerated values |
| MicMissingAlarm | int |
0 = alarm not active 1 = alarm active |
Returns 1 if the Mic is missing |
| PrimaryMicCalibrationAlarm | int |
0 = alarm not active 1 = alarm active |
Returns 1 if the Mics primary calibration values has exceeded the configured threshold |
| BackupMicCalibrationAlarm | int |
0 = alarm not active 1 = alarm active |
Returns 1 if the Mics backup calibration values has exceeded the configured threshold |
| MicFailedAlarm | int |
0 = alarm not active 1 = alarm active |
Returns 1 if both the primary and backup calibrations have exceeded the configured thresholds |
Refer to /usr/local/share/smart/opcua/smartModel.xml for lists and descriptions of all Pass and Pulse alarm properties.