Modbus
New in version 4.4.
NetXMS can collect data via Modbus-TCP protocol. Data collection is performed by NetXMS server or by NetXMS agents operating in proxy mode.
To enable agent operation as Modbus proxy, add EnableModbusProxy=yes
to
agent configuration file and restart the agent.
Metric for Modbus data collection items has special format denoting type of Modbus unit id, register type, register address and the way how obtained data should be interpreted:
[[unit-id:]register-type:]register-address[|conversion]
Metric component |
Description |
---|---|
unit-id |
Modbus unit ID. Optional, if used, should be specified without [ ]. To
use it, |
register-type |
Type of Modbus register. Optional, if not specified,
|
register-address |
Address of Modbus register. Can be provided as decimal number or
hexadecimal number prefixed by |
conversion |
Conversion of Modbus data. Optional, if not specified,
|
Modbus metric examples
0x2A
input:8
10|int16
input:55|float