Example: Load communication address is 1, control load is remote control
Table 4.8.7 Table 1 to know the remote control PC1 address is 0x0500, a 2-word floating-point number
Send request: 0x01 0x05 0x05 0x00 0xFF 0x00 0x8C 0xF6
Get the normal reply 0x01 0x05 0x05 0x00 0xFF 0x00 0x8C 0xF6
3 Read register:
Example: Load communication address is 1, read the current voltage value U
Table 4.8.7 Table 2 shows the current voltage value U register address 0x0B00
Send request: 0x01 0x03 0x0B 0x00 0x00 0x02 0xC6 0x2F
Get the normal reply 0x01 0x03 0x04 0x41 0x20 0x00 0x2A 0x6E 0x1A
One 0x41 0x20 0x00 0x2A is read back the voltage value, said the floating-point 10V.
4 Write register: