Annex
92 © 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.10 Set LMS output
The message sets the outputs on the LMS, if the output is configured to SOPAS command
in SOPAS ET.
PROJECT TREE, LMS…, PARAMETER, NETWORK/INTERFACES/IOS, DIGITAL OUTPUTS.
Important If the status of several outputs is to be set, then the message must be sent separately for
each output.
Request
Message structure: sMN mDOSetOutput Status output
Answer
Message structure: sAN mDOSetOutput ErrorCode
Example
Request: <STX>sMN{SPC}mDOSetOutput{SPC}0{SPC}1<ETX>
Answer: <STX>sAN{SPC}mDOSetOutput{SPC}1<ETX>
Message part Description Variable type Length
(byte)
Value range
Type of command Request (SOPAS method by name) string 3 sMN
Command Set output string 12 mDOSetOutput
Output Output number uint_8 1 0 output 1
1 output 2
2 output 3
3 output 4
4 output 5
5 output 6
Status State of the output uint_8 1 0 inactive
1 active
Message syntax XXI: Request “Set LMS output”
Message part Description Variable type Length
(byte)
Value range
Type of command Answer (SOPAS answer) string 3 sAN
Command Set output string 12 mDOSetOutput
ErrorCode The command has been accepted
if the error code 1 is returned.
bool_1 1 0 error
1 no error
Message syntax XXII: Answer to the “Set LMS output” request