OPC UA
PHANTOM® Gateway version 2 supports OPC UA. All processed sensor data is available through it. In a repeater network, subordinate gateways forward their OPC data to the Main gateway.
Enabling it
Section titled “Enabling it”Check the OPC UA box in the General tab of the Gateway Admin Console. The gateway then listens for TCP connections on port 4334.
Connect with any OPC UA client:
opc.tcp://192.168.1.2:4334/UA/PhantomGWReplace 192.168.1.2 with the gateway’s IP address. Use Security Mode
None and Security Policy None.
Address space
Section titled “Address space”The server is organised as a tree. Under the root there is an Objects folder, under which every sensor serial number appears. Under each serial number are the variables available for that sensor type.
Standard fields
Section titled “Standard fields”| Variable | Description |
|---|---|
type |
Sensor type |
battery |
Battery level in volts |
batteryType |
1 = 1/6D, 2 = AAA, 3 = CR2032, 4 = CR2477 |
temperature |
Sensor internal temperature in °C |
version |
Firmware version |
Computed metrics
Section titled “Computed metrics”The gateway calculates these for each full time waveform it receives, which is what makes OPC UA useful despite not carrying the waveform itself:
| Metric | Description |
|---|---|
ACF |
Acceleration crest factor |
APEAK |
Maximum acceleration amplitude in the time waveform |
ARMS |
RMS over the whole acceleration spectrum |
DCOFFSET |
The acceleration constant — i.e. gravity — included in the acceleration |
HIGHFREQ |
Acceleration measured from 5 kHz to 10 kHz |
MAX FREQ |
Peak frequency in Hz |
VRMS |
Velocity RMS measured from 10 Hz to 1 kHz |
VRMS is derived from an in-sensor calculation of the spectrum from 10 Hz to
1 kHz, which is hard-coded and cannot be changed. Its update interval is
set by the Sensor Update interval in the in-sensor settings, administered
from the Gateway Admin Console.
Coexistence
Section titled “Coexistence”The OPC UA server runs at the same time as any other protocol the gateway supports, including EI Analytic, EI Monitor, MQTT and Modbus.