17
Transmitting message: 30 10 00 21 00 01 02 00 01 38 B0
Where:
30 is the slave address.
10 is the function used. Write multiple registers.
00 21 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 data send.
38 B0 is the CRC
8.1.5.
REQUEST OFF
To turn OFF the lights of Lumiplus through MODBUS, the simplest way is setting to 1 the coil 0x211.
Example:
Transmitting message 30 0F 02 11 00 01 01 01 D0 6E
Where:
30 is the slave address.
0F is the function used. Write multiple coils.
02 11 is the address of the first coil to 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 to set the request, and then turn OFF the lights.
D0 6E is the CRC.
Also, is possible to make a Request OFF by setting the Holding Register 0x21 to 0x02
8.1.6.
CHANGING COLOR
To change the color of the Lumiplus through Modbus, is necessary to complete two steps, these
steps, where not necessary in the Watchdog and Start Predefined Color/Sequence.
1.
It is necessary to choose the predefined color.
2.
It is necessary to make a Request Update Predefined Color.
Choosing the predefined color:
The way to choose the color is using the Requests Holding Register (0x25).
There is 12 predefined colors to choose. From 0x1 to 0xC (from 1 to 12) according to the table above.
Содержание 57434
Страница 3: ...3 ...