21
8.1.9.
SLEEP TIME
Lumiplus has a Sleep mode that can be configured. After the time configured, the Lumiplus will turn
all the lights OFF. The user can choose one of the 8 sleep times configured, and there is no possible to
choose a different time of these. If it is set to 0, no Sleep mode has been activated.
There is 8 predefined times to choose. From 0x1 to 0x8 (from 1 to 8):
0
No sleep mode.
1
5 minutes.
2
15 minutes.
3
30 minutes.
4
60 minutes.
5
90 minutes.
6
120 minutes.
7
240 minutes.
8
480 minutes.
Example, changing the time of sleep to 1 (5 minutes):
Transmitting message 30 10 00 28 00 01 02 00 01 38 29
Where:
30 is the slave address.
10 is the function used. Write multiple registers.
00 28 is the address of the first Holding Register to be set.
00 01 is the number of Holding Registers to be set, 1 in this case.
02 is the number of bytes of data sent.
00 01 is the time send (time 1, 5 minutes).
38 29 is the CRC.
8.1.10.
CHECKING LATCHED
ALARMS REGISTER
It is possible to check which alarm has been activated since last alimentation disconnection or since
last Alarm reset. Only the Watchdog alarm has been implemented. To check it, Holding Register 0x20
must be read, the bits 0 from 14 are not used, but can be read, and the bit15 is the Watchdog alarm..
The values in 1, indicates that the alarm has been activated.
If the alimentation fails, all the alarms will be at 0.
Example: reading latched alarms with holding registers when watchdog alarm has been activated
Received message: 30 03 02 80 00 A4 40
Where:
30 is the slave address.
03 is the function used. Read Holding Registers.
Содержание 57434
Страница 3: ...3 ...