EasyManua.ls Logo

HERMOS LFM LP Reader - Querying Device Status and Parameters; Querying Inputs and Outputs

Default Icon
119 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...
Protocol description ASCII, SECS/HSMS
Customer manual
Version 1.2
LFM LP Reader 15.01.2019
Page 58 of 119
HERMOS AG
Gartenstrasse 19 Tel. +49(9279) 991-0
D-95490 Mistelgau Fax. +49(9279) 991-100
10.4.17 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
LEDA
q
1 Byte
1 Byte
1 Byte
1 Byte
1 Byte
Example: Status LEDs
>> Q01
<< q012000000001 external LED (2 = flash), green status LED (1 = on)
The status of the input sensor can be queried via head ID 0.
In this case, the answer contains the sensor state (0-1) instead of the 10 output states.
Example: Status of input sensor
>> Q00
<< q000