User Manual

HERMOS AG
Gartenstraße 19 • 95490 Mistelgau
Phone: +49 9279 991 - 0
E-mail: rfid@hermos.com
LFM 4x Reader Rev1.4
back to the table of contents
63
www.hermos.com
Customer manual
LFM 4x Reader
RFID
10.4.18 Q Querying the status of the inputs and outputs
The Q command can be used to query the current status of all outputs. The status of the
outputs is queried in a message. In the current version, the value of the data element Head-ID
always has the value „1“ for the outputs.
Host
Device
CMD
Reader-ID
Head-ID
Q
1 Byte
1 Byte
Device
Host
CMD
Reader-ID
Head-ID
Output
Index
Output
State LED1
Output
State LED2
q
1 Byte
1 Byte
1 Byte
1 Byte
1 Bytes
Example: Status LEDs Port 1
>> Q11
<< q1121 LED1 (2 = flash), LED2 (1 = on)
The status of all 4 (The number of sensor states may vary between 4 and 6, depending on the
custo- mer mode.) input sensors can be queried via head ID „0“.
In this case, the answer contains the 4 (The number of sensor states may vary between 4 and
6, depending on the Factoryparameterset.) sensor states instead of the 2 output states.
Example: Status of all 4 sensors
>> Q10
<< q100000