Tecfluid MX4B User Manual
Page 12
![background image](https://www.manualsdir.com/files/807349/content/doc012.png)
12
Example 4. Writing totalizer units.
Master requests slave number 0x01 (MX4B converter) to write the corresponding code to
totalizer units. The value to write is 0x03 (liters).
Slave ID: 0x01
Function: 0x06 (Write Single register)
Initial address: 0x3006
Data to write: 3 = 0x0003
The slave responds after more than 3.5 characters, indicating its identification, the
requested function code, the register address, written data and the CRC.
Example 5. Read flow rate units
Master requests slave number 0x01 (MX4B converter) to read the corresponding code to
flow rate units.
Slave ID: 0x01
Function: 0x03 (Read Holding registers)
Initial address: 0x3007
Number of registers to read: 1
01
06
30
06
00
03 26 CA
01
06
30
06
00
03
26 CA
01
03
30
07
00
01 3A CB
Register address
Units code
Slave ID (MX4B)
CRC
Function
Register address
Units code
Slave ID (MX4B)
CRC
Function
Register address
N. of registers to read
Slave ID (MX4B)
CRC
Function