Operating Instructions
LMS500 Product Family
Product description
8013796/UL20/2010-09-27
© SICK AG · Division Auto Ident · Germany · Subject to change without notice
27
Chapter
3
3.7.3
Measured value output
For the measured value output, the LMS supplies measured values to one of the interfaces.
It is prerequisite for this data output that the LMS is in the measurement mode. There are
two ways you can start the measurement mode:
•
start via SOPAS ET
P
ROJECT
TREE
, LMS…, P
ARAMETER
, B
ASIC
PARAMETERS
, area M
EASUREMENT
.
•
section 10.2.1 “Start measurement” on page 77
Recommendation
After the measurement mode is started the LMS needs a little time to reach the status
“Ready for measurement”. You should therefore query the status of the LMS using the sRN
STlms message (see
section 10.2.3 “Query status” on page 79
).
Then request measured data by using a message on the interface from which you want to
receive measured data. There are two possible ways of doing this:
•
Exactly one measured value message can be requested using the
sRN LMDscandata
message — the last scan measured is transferred (see
section 10.2.4 “Read scan data”
•
Measured data can be continuously requested using the
sEN LMDscandata
message —
measured data are then transferred until the measured value output is stopped using
the
sEN LMDscandata
section 10.2.4 “Read scan data” on page 80
Example of single measured value output
Fig. 15:
Measured value message request
1. Start measurement
Request
<STX>sMN LMCstartmeas<ETX>
LMS answer
<STX>sAN LMCstartmeas 0<ETX>
2. Query measuring status
You must query the status until status 7 (that is ready to measure) is achieved in the
reply.
Request
<STX>sRN STlms<ETX>
LMS answer
<STX>sRA STlms
7
0 8 00:00:00 8 01.0 1.06 0 0 0<ETX>
Important
If the status is less than 7, you must send the request again.
Measured value message output
Measured value request
Содержание LMS500-20000 PRO Indoor
Страница 1: ... ...