Read and write holding registers
Holding resisters are mainly used to configure the Modbus adapter communication. Configuration settings are read with function 03 (read holding registers) and written with function 06 (write single registers).
NOTE Restart the Modbus adapter after changing the configuration!
|
|
Register address |
Variable |
Range |
Bytes |
Format |
|---|---|---|---|---|---|
|
Config values |
0 |
Modbus default |
0 ... read 1 … write |
2 |
unsigned int |
|
1 |
Modbus device address |
1 to 247 |
|||
|
2 |
RS-485 baud rate |
1 … 1200 baud 2 … 2400 baud 3 … 4800 baud 4 … 9600 baud 5 … 19200 baud 6 … 38400 baud 7 … 57600 baud 8 … 115200 baud |
|||
|
3 |
RS-485 parity/ stop bits |
1 … no parity, 1 stop bit 2 … no parity, 2 stop bits 3 … even parity, 1 stop bit 4 … odd parity, 1 stop bit |
|||
|
101 |
Select medium |
1 ... no medium 2 ... NaCl 3 ... CaCl2 4 ... MgCl2 5 ... custom medium 6 ... external input |
|||
|
102 |
Activate mixing |
1 ... on 2 ... off |
|||
|
103 |
Set-point NaCl conc. [%] |
x.x |
|||
|
104 |
Set-point CaCl2 conc. [%] |
x.x |
|||
|
105 |
Set-point MgCl2 conc. [%] |
x.x |
|||
|
106 |
Set-point custom medium conc. [%] |
x.x |
Table 15 Holding registers
