Lighthouse ApexRemote Operating Manual
6-6 248083447-1 Rev 1
Alarm and
Threshold
Registers
Alarm Enable Registers
The Alarm Enable input registers (43xxx series) shown in Table 6-5 are
read/write. All enable data items are 4 bytes long and are stored across
2 registers. Byte and word ordering is big-endian. Thus, data items are
formed by placing the high bytes in front of the low bytes. For
example:
<High Bytes><Low Bytes> = <4 Byte Data Item>
The 43xxx register series is used to determine which particle data
channels are set to ALARM ENABLE.
These registers run in parallel with the data registers (30xxx series).
For example, data register 30010’s enable alarm register would be
43010. Data register 30016’s enable alarm register would be 43016.
Note:
Alarm Enable
currently only works for
Particle Channels.
Enabling the Alarm for a particle channel requires the channel be
enabled, as well, setting the bit in the low word of that channel. The
user can enable any or all active particle channels at a time and can set
a different alarm threshold for each.
Particle data registers for the Alarm Enable setting start at 43009 for
the high word and 43010 for the low word for channel 1. See Table 6-6.
Table 6-5 Alarm Enable/Disable Bits
Bit Description
0 Channel Enable (0=disable, 1=enable), works
in conjunction with Alarm Enable.
1 Alarm Enable (0=disable; 1=enable), requires
channel enable, as well.
2RESERVED
Table 6-6 Alarm Enable Registers
Register Data Type Description
43009 unsigned int Alarm Enable for Particle Channel 1 [high]
(smallest particle size starts here)
43010 unsigned int Alarm Enable for Particle Channel 1 [low]
43011 unsigned int Alarm Enable for Particle Channel 2 [high]
43012 unsigned int Alarm Enable for Particle Channel 2 [low]