8017035/ZMO9/2017-06-08 • © SICK AG • Subject to change without notice.
117
Serial Communication
Function
Set or
acquire
Send
or
reply
Length Command
(hex)
Data string
Parameter
Acquire sto-
rage data
Acquire Send
3
0002
aaaaaaaabb11
aaaaaaaa: Address
bb: Length of the read data (in units
of words)
11: Fixed value
cccc...: Data
Reply 3 to FF
aaaaaaaacccc.....
8.4.2
How to Acquire Storage Data
Follow the procedure below to acquire storage data.
Acquiring the storage address
Storage data is saved in internal memory, so, to acquire the data, you first
have to acquire the address at which the data is saved.
Send (address acquisition command)
02
00
C0
0D
03
CD
STX
Length
Acquisition com-
mand
ETX
Sum
Reply
02
04
C0
0D
00
90
00
00
01 00
00 00
03
C1
STX
Length
Acquisition com-
mand
Measured value address
Profile address
ETX
Sum
The measured value is stored at address 00900000, while the profile is stored at address 01000000.
Acquiring number of storage data item
Use this command to check the number of stored data items.
Send
02
00
C0
10
03
D0
STX
Length
Acquisition com-
mand
ETX
Sum
Reply
02
01
C0
10
03
E8
03
38
STX
Length
Acquisition com-
mand
Number of
data items
ETX
Sum
0x03E8 (hexadecimal) = 1000 (decimal), so it indicates that there are 1000 storage items of measured values
and profiles (cumulative).