EasyManua.ls Logo

HERMOS LFM 4x - Q - Querying the Status of the Inputs and Outputs

Default Icon
125 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LFM 4x Reader Rev1.4
back to the table of contents
63
www.hermos.com
Customer manual
LFM 4x Reader
RFID
WE GENERATE SOLUTIONS
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

Table of Contents