Télécharger Imprimer la page

SICK LMS4000 Notice D'instruction page 72

Masquer les pouces Voir aussi pour LMS4000:

Publicité

12
ANNEXE
12.3.1.2.4
Command basics
12.3.1.2.5
Log in: Required user level
72
N O T I C E D ' I N S T R U C T I O N | LMS4000
Flex Array
A FlexArray is a repetition of a type with a variable length. The maximum
length of the array is defined with each FlexArray. The current length of the
FlexArray is transferred as a UInt preceeding the Array itself. The types can
be of a BasicType, a Struct or an Array again (n- dimensional).
SOPAS communication is a index based communication and can be identified with
telegram beginning of: sRI, sWI, sMI, sAI, sEI, sSI. Since the parallel usage of one port
might be confusing, the usage of separate ports is adviced.
Every response telegram starts with a separat framed string:
<STX>sSI 2 1<ETX><STX>"Answer"<ETX>
Description
Value ASCII
Start of text
<STX>
End of text
<ETX>
Read
sRN
Write
sWN
Method
sMN
Event
sEN
Answer
sRA
sWA
sAN
sEA
sSN
Space
{SPC}
If values are divided into two parts (e.g. measurement data), they are documented
according to LSB 0 (e.g. 00 07), output however is according to MSB (e.g. 07 00).
NOTE
Every write command (sWN) has a read (sRN) counter part even if it may not be
described in the Telegram Listing. You can verify the current parameters this way, e.g.
read the current IP address via
page
136.
Task
Change sensor parameters
Requests or queries
(e.g. for measurement data or device state)
Manage passwords
In general, every sWN command for changing paramters requires to log in to the device
first
see « Log in [sMN SetAccessMode]  », page
parameter valid for this user level can be changed. All changes become active only after
having logged off again from the device via the sMN Run command
[sMN Run] », page
86.
In this document, a required, specific user level is indicated in the telegram structure
head line.
Value Hex
02
03
73 52 4E
73 57 4E
73 4D 4E
73 45 4E
73 52 41
73 57 41
73 41 4E
73 45 41
73 53 4E
20
see « Read IP address [sRN EIIpAddr] »,
sRN EIIpAddr
Authorized Client
None
Service
75. When being logged in, any desired
Value Binary
02 02 02 02 + given length
Calculated checksum
20
Required user level
see « Set to run
8027168/1MNR/2024-10-25 | SICK
Subject to change without notice

Publicité

loading