18
Example:
Transmitting message 30 10 00 25 00 01 02 00 01 39 34
Where:
30 is the slave address.
10 is the function used. Write multiple registers.
00 25 is the address of the first Holding Register to be set.
00 01 is the number of Holding Register to be set, 1 in this case.
02 is the number of bytes of data sent
00 01 is the color send (Red)
39 34 is the CRC
Request Update Predefined Color:
A way to request an Update Predefined Color is using the bit-address mode on the Requests Holding
Register 0x21. The simplest way is setting to 1 the coil 0x213.
Transmitting message: 30 0F 02 13 00 01 01 01 A9 AE
Where:
30 is the slave address.
0F is the function used. Write multiple coils.
02 13 is the address of the first Coil to be set.
00 01 is the number of Coils to be set, 1 in this case.
01 is the number of bytes of data sent
01 is the request Update
A9 AE is the CRC
Also, is possible to make a Request Update predefined Color by setting the Holding Register 0x21 to
0x08.
Summary of Contents for 57434
Page 3: ...3 ...