Annex
80 © SICK AG · Division Auto Ident · Germany · Subject to change without notice 8013796/UL20/2010-09-27
Operating Instructions
Laser Measurement Systems of the LMS500 Product Family
Chapter 10
10.2.4 Read scan data
The measured value output is started using this message. It is a prerequisite for this action
that the LMS is in the “Measurement” status. For this purpose the measurement mode
must be started, there are two ways you can undertake this action:
•
start via SOPAS ET
PROJECT TREE,
LMS…, P
ARAMETER,
B
ASIC PARAMETERS,
area M
EASUREMENT.
• start via message (see section 10.2.1 “Start measurement” on page 77)
Single or continuous measured value output
There are two ways of requesting measured value output (see section 3.7.3 “Measured
value output” on page 27):
• Exactly one measured value message can be requested using the sRN LMDscandata
message — the last scan measured is transferred.
• 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 message.
Request method 1: single measured value output
Message structure: sRN LMDscandata
Request method 2: continuous measured value output
Message structure: sEN LMDscandata MeasurementStartStop
Message structure: sRA/sSN LMDscandata VersionNumber DeviceNumber
SerialNumber DeviceStatus MessageCounter ScanCounter
PowerUpDuration TransmissionDuration InputStatus OutputStatus
ReservedByteA ScanningFrequency MeasurementFrequency
NumberEncoders [EncoderPosition EncoderSpeed]
NumberChannels16Bit [MeasuredDataContent ScalingFactor
ScalingOffset StartingAngle AngularStepWidth NumberData
[Data_1 Data_n]] NumberChannels8Bit [MeasuredDataContent
ScalingFactor ScalingOffset StartingAngle AngularStepWidth
[NumberData Data_1 Data_n] Position [XPosition YPosition
ZPosition XRotation YRotation ZRotation RotationType] Name
Message part Description Variable type Length
(byte)
Value range
Type of command Request (SOPAS read by name) string 3 sRN
Command Data request string 11 LMDscandata
Message syntax VII: Request “Read scan data”
Message part Description Variable type Length
(byte)
Value range
Type of command Request (SOPAS event by name) string 3 sEN
Command Data request string 11 LMDscandata
MeasurementStartStop Enum8 1 0 stop of the measured
value output
1 start of the measured
value output
Message syntax VIII: Request “Read scan data”