![background image](http://html1.mh-extra.com/html/astral-pool/57434/57434_manual_2990428015.webp)
15
8.1.2.
CHECKING CURRENT STATE
The state in which the Lumiplus is currently set is available through
Status
Input Register 0x00. This
register has a different meaning for the Low byte and for the High byte.
The less significant bit is used to show if an error has occurred and is set to 1 whenever an error exist.
Detailed information of the error/errors detected can be requested to the Alarms Input register at
0x01. Only the watchdog alarm has been implemented, which means that if an error exist, surely is a
watchdog error (watchdog has been triggered). Further to the raising of an error the Lumiplus report
an unrecoverable error that needs to power off-power on to reset, or set the alarm to 0.
Until the alarms have been reset, the Lumiplus will not accept any change, and only will response
information (read only).
The High Byte is used to show the current state of the Lumiplus.
The codes for the different states implemented in the high byte are shown in the following table:
0x00 Start.
0x01 Watchdog.
0x02 Request Color.
0x03 Request Sequence.
Mind the unidirectionality described in chapter 7.1 General Description.
Coding Examples (High byte first):
0x0002 2
Start State. ON, No error.
0x0101 257
Watchdog State, Alarm. Light OFF. Reset needed. (This casuistic is possible
when the watchdog predefined color/sequence is configured to turn OFF the lights).
0x0103 259
Watchdog State, Alarm. Light ON. Reset needed. (This casuistic is possible
when the watchdog predefined color/sequence is a color or sequence).
Example:
To know in which State is the Lumiplus, the transmit message must be:
30 04 00 00 00 01 35 EB
Where:
30 is the slave address.
04 is the function used. Read input registers.
00 00 is the address of the first input register to be read.
00 01 is the number of input registers to be read, 1 in this case.
35 EB is the CRC
The response is 30 04 02 00 02 45 35, that indicates Start Mode, without alarm, and light ON.
Where:
Summary of Contents for 57434
Page 3: ...3 ...