8017035/ZMO9/2017-06-08 • © SICK AG • Subject to change without notice.
119
Serial Communication
8.5
Setting Acquisition and Change Commands
This section explains the communication commands related
to various settings.
8.5.1
Communication Command Examples
Setting acquisition command
• When acquiring the current camera mode
Sent command
Command
02
00
20
1C
03
3C
Description
STX
Length
Command
ETX
Sum
Received command
You can see that the camera mode is 0000 = “Hi-res” mode
Command
02
01
20
01
00
00
03
3A
Description
STX
Length
Command
Camera mode
ETX
Sum
Send setting command
• When changing the shutter time to 5000 μs (5 ms)
Sent command (Change setting)
Enter 5000/5 = 1000 as a hexadecimal value for the shutter speed.
Command
02
01
20
0e
03
E8
03
C4
Description
STX
Length
Command
Shutter speed
ETX
Sum
Received command
When the setting is changed correctly, the sent command is returned as-is.
Command
02
00
20
0e
03
2F
Description
STX
Length
Command
ETX
Sum
Sent command (Writing settings to EEPROM)
Command
02
01
00
05
00
00
03
04
Description
STX
Length
Command
Bank number
ETX
Sum