modbus-display-user-guide
modbus-display-user-guide
All the data shared by a device communicating by Modbus RTU protocol are mapped in tables wherein to each data is associated a determined
address.
Each data could be of two types:
- "REGISTER", data of 2 bytes size (word of 16 bits) that can be associated to analogue input or output, variables, set-point, etc ...
- "COIL", data of 1 single bit that can be associated to digital input or output or to a logic state.
A register could contain the image (mirror) of more coils; in example the 16 digital inputs of a device could be read or written as bit (singularly)
addressing the coil related to each input or can be read or written as a single word addressing the associated register wherein each bit corresponds to
a coil.
In the Modbus protocol, registers and coils are divided as per the following groups of addresses:
0xxxx and 1 xxxx = Coils (bit)
3xxxx and 4xxxx = Registers (word)
When addressing the registers when functions of reading and / or writing of registers and coils are used, use the tables shown below, adding 1 if the
device is polled by external unit.
The module's internal registers can be accessed via direct Modbus RTU command.
REGISTERS TABLE
Register Description Access
0 Status R/W
1 Firmware Version RO
2 RO
3 Name R/W
4 R/W
5 Port 1 Set (RS485 Master) R/W
6 Address R/W
7 Port 1 Timeout R/W
8 Function Kevs RO
9 Actual PaQe RO
10 Svstem Flaas R/W
11 Disolav Ootions RO
12 WatchDoa Time R/W
13 --Reserved-- RO
14 --Reserved-- RO
15 Reset Timers RO
16 COM Errors R/W
17 Gateway Mask [L-H] R/W
18 Port 0 Set !RS485 Slavel R/W
19 Port 2 Set (RS232 Slave) R/W
20 Timers Enable R/W
21+34 --Reserved-- RO
35+926 General Purpose (RAM) R/W
927+959 --Reserved-- RO
(*) 960+1019 Retentive Registers (EEPROM) R/W
NOTES:
The registers and coils marked in the 'Access' column with the words RO are read-only registers (Read Only).
The registers and coils marked in the 'Access' column with the words R/W are read and write registers (Read I Write).
(*) Pay attention to the use of retentive registers in EEPROM (960-1019) as they can not be written continuously.
Functions 01, 02 and 15 support reading and writing up to a maximum of 32 consecutive coils.
Functions 01, 02 and 15 support reading and writing up to a maximum of 32 consecutive coils.
The maximum number of registers that can be read through Modbus functions 03 and 04 (see "Supported modbus functions codes") are: 64
The maximum number of registers that can be written by Modbus function 16 (see "Supported modbus functions codes") are: 64
pag 1/6