Table 13: Telegram structure: sRN LMDscandata
Telegram part
Description
Variable type
Length (byte)
Value range
Command type
Request (SOPAS
read by name)
string
3
sRN
Command
Request data
string
11
LMDscandata
Table 14: Example:
sRN LMDscandata
Telegram type
Command
ASCII
<STX>sRN{SPC}LMDscandata<ETX>
HEX
02 73 52 4E 20 4C 4D 44 73 63 61 6E 64 61 74 61 03
Binary
02 02 02 02 00 00 00 0F 73 52 4E 20 4C 4D 44 73 63
61 6E 64 61 74 61 05
Request for continuous output of measured values:
Table 15: Telegram structure:
sEN LMDscandata
measurement start/stop
Telegram part
Description
Variable type
Length (byte)
Value range
Command type
Request (SOPAS
event by name)
string
3
sEN
Command
Request data
string
11
LMDscandata
StartStop measure‐
ment
Enum8
1
0: Stop output of
measured values
1: Start output of
measured values
Table 16: Example:
sEN LMDscandata
Telegram type
Command
ASCII
<STX>sEN{SPC}LMDscandata{SPC}1<ETX>
HEX
02 73 45 4E 20 4C 4D 44 73 63 61 6E 64 61 74 61 20
31 03
Binary
02 02 02 02 00 00 00 11 73 45 4E 20 4C 4D 44 73 63
61 6E 64 61 74 61 20 01 33
Note:
For the content of the response telegram for the measured value request, see the
telegram listing (no. 8014631) under Send Data Permanently in Chapter 4. The tele‐
gram consists of one part with information on the configuration of the device and the
time stamp, one part with measured data, and a status part with information on the
device status and the statuses of the inputs/outputs.
After starting the measurement mode, the device needs some time to reach
status 1 (“ready”). You should therefore query the status of the device using the
sRN SCdevicestate
telegram.
Then request measured data via telegram at the data interface from which you want
to receive measured data. This can be achieved in two ways:
•
The request of exactly one measured value with the
sRN LMDscandata
telegram –
the last measured scan is transmitted.
•
Continuous request of measured data with the
sEN LMDscandata 1
telegram –
measured data is transmitted until the output of measured values is stopped with
the
sEN LMDscandata 0
telegram.
Activating the output of the measured values in SOPAS on a test basis:
1.
Start the terminal emulator:
Tools
menu >
Terminal
.
2.
In the dialog window in the
Connections
menu, select the
Create new connection
function.
12
ANNEX
54
O P E R A T I N G I N S T R U C T I O N S | LMS1104C-111031S01
8023051/1AZG/2021-05-10 | SICK
Subject to change without notice