Modbus map
The RTU-X works as a Modbus slave. The address map for the different register blocks is shown below: Coils, Inputs, Input Registers, and Holding Registers.
Addressing
The addresses in the table follow the standard Modbus convention (0xxxx for Coils, 1xxxx for Inputs, 3xxxx for Input Registers, and 4xxxx for Holding Registers). See also the Serial and Modbus section for the Slave ID and TCP port configuration.
| Address | Description | Length | Type | |
| Coils | ||||
00.001 | Digital outputs | 14 | bool[14] | |
| Inputs | ||||
10.001 | Digital inputs | 14 | bool[14] | |
| Input Registers | ||||
30.001 | Analog inputs | 8 | uint[3] | |
30.009 | Firmware version | 1 | uint | |
30.010 | Battery percentage | 1 | uint | |
30.011 | Battery status | 1 | uint | |
30.012 | Model (IP68 or DIN) | 1 | uint | |
30.013 | Module in expansion socket 1 | 1 | uint | |
30.014 | Module in expansion socket 2 | 1 | uint | |
30.015 | WiFi - status | 1 | uint | |
30.016 | WiFi - IP address | 2 | byte[4] | |
30.018 | WiFi - MAC address | 3 | byte[6] | |
30.021 | WiFi - signal | 1 | int | |
30.022 | Modem - status | 1 | uint | |
30.023 | Modem - IP address (IPv4 or IPv6) | 8 | byte[16] | |
30.031 | Modem - IMEI | 8 | char[16] | |
30.039 | Modem - IMSI | 8 | char[16] | |
30.047 | Modem - signal level | 1 | int | |
30.048 | Modem - model | 1 | uint | |
30.049 | Hour | 1 | uint | |
30.050 | Minutes | 1 | uint | |
30.051 | Seconds | 1 | uint | |
30.052 | Day of month | 1 | uint | |
30.053 | Month | 1 | uint | |
30.054 | Year | 1 | uint | |
30.055 | Day of week (0 = Sunday) | 1 | uint | |
30.056 | Unix time in seconds, UTC | 2 | ulong | |
30.058 | Unix time in seconds, local time | 2 | ulong | |
30.060 | User button status | 1 | bool | |
30.061 | Number of records stored in the log | 2 | ulong | |
30.063 | Number of records stored in the log that haven't been sent over MQTT yet | 2 | ulong | |
30.065 | Slaves status. Each bit represents the status of a slave (0 means ok and 1 error) | 2 | ulong | |
30.067 | Script execution status (0 means stopped and 1 means running) | 1 | bool | |
30.071 | MQTT connection status | 1 | uint | |
30.072 | Time synchronization performed via NTP | 1 | bool | |
30.073 | Internal sensor temperature in ºC | 2 | float | |
30.075 | GPS latitude | 2 | float | |
30.077 | GPS longitude | 2 | float | |
30.079 | GPS altitude | 2 | float | |
30.081 | GPS speed | 2 | float | |
30.083 | Energy Meter - voltage | 4 | float[2] | |
30.087 | Energy Meter - current | 4 | float[2] | |
30.091 | Energy Meter - active power | 4 | float[2] | |
30.095 | Energy Meter - reactive power | 4 | float[2] | |
30.099 | Energy Meter - apparent power | 4 | float[2] | |
30.103 | Energy Meter - power factor | 4 | float[2] | |
30.107 | Energy Meter - frequency | 4 | float[2] | |
30.111 | Energy Meter - active energy | 4 | float[2] | |
30.115 | Energy Meter - reactive energy | 4 | float[2] | |
| Holding Registers | ||||
40.001 | Date and time (Hours, Minutes, Seconds, Day, Month, Year) | 6 | uint[6] | |
40.007 | Clear log. Set to one to clear the log | 1 | bool | |
40.080 | Scanner - current wifi device count | 1 | uint | |
40.081 | Scanner - total wifi device count | 1 | uint | |
40.082 | Scanner - current bluetooth device count | 1 | uint | |
40.083 | Scanner - total bluetooth device count | 1 | uint | |
41.001 | Script variables. | 1000 | See variable map in the user interface | |
42.001 | Pulse count for digital input 0 | 2 | ulong | |
42.003 | Pulse count for digital input 1 | 2 | ulong | |