Serial Communication
114
© SICK AG • Subject to change without notice. • 8017035/ZMO9/2017-06-08
8.3
How to Acquire Profiles
This section explains how to use communication to acquire profile data.
8.3.1
Commands for Acquiring Profile Data
Use these commands to acquire profile data.
Function
Set or
acquire
Send
or
reply
Length
Command
(hex)
Data string
Parameter
Acquire the address
Acquire
Send
0
400B
–
aaaaaaaa: Address
Reply
2
aaaaaaaa
Acquire the profile
Acquire
Send
3
0002
aaaaaaaabbcd
aaaaaaaa: Address
bb: Length of the read data
(in units of words)
c: Data size
d: Increase amount
11: Fixed value
cccc...: Data
Reply
3 to FF
aaaaaaaacccc...
8.3.2
How to Acquire Profile Data
Follow the procedure below to acquire profile data.
Acquiring the profile address
Profile 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
40
0B
03
4B
STX
Length
Acquisition
command
ETX
Sum
Reply
02
02
40
0B
03
06
20
00
03
6C
STX
Length
Acquisition
command
Reply data
ETX
Sum
The profile data is stored at address 03062000.