Serial Communication
118
© SICK AG • Subject to change without notice. • 8017035/ZMO9/2017-06-08
Acquiring measured value storage data
The measured value storage results are aligned starting from the address
that was acquired previously. (32 bytes per data item)
253 words (506 bytes) of data can be acquired at one time, so data acqui-
sition needs to be divided between multiple executions when the number
of measured value storages is 16 or greater.
Send
02
03
00
02
00
09
00
00
FD
11
03
CC
STX
Length
Acquisition com-
mand
Address
rlen
(Fixed
value)
ETX
Sum
Reply
02
FF
00
02 03
06
20
04
CC F9
10
35
CD 1D ...
...
...
03
06
STX
Length Acquisition
command
Number of data items Area 1
measured value
...
ETX
Sum
A breakdown of the acquired measured value data (32 bytes) is shown below.
• Data string: aaaabbbbccccddddeeeeffffgggggggg
• aaaa: Area 1 measured value
• bbbb: Area 2 measured value
• cccc: Area 3 measured value
• dddd: Area 4 measured value
• eeee: Calculation 1 measured value
• ffff: Calculation 2 measured value
• gggggggg: (not disclosed)
Tips: • Data needs to be rearranged as shown below when reading each meas-
ured value.
•
Example: 4-byte measured value (A1)(A2)(A3)(A4)
This measured value needs to be rearranged to (A3)(A4)(A1)(A2) for
reading.
• Example: When the data EB F4 FF FF is in Area 1
Measured value becomes 0x FFFFEBF4 = -5.305 (mm).
• If measurement is not possible or if there is no measured value, the
measured value becomes 7FFFFFFF.
Acquiring profile storage data
• The storage data format is the same as the general profile (see [8.3 How
to Acquire Profiles" on page 114]).
• The next profile address from a single profile is the address that is a
fixed value 0x800 (2048) away.
• This acquisition operation is repeated for profile storage acquisition.