User Manual

31
Response Format:
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Resp1
Resp2
Data1
Data2
ChkSum
Extended Response
0xFF
0x01
0x00
0x5D
Zoom %
MSB
Zoom %
LSB
--
5.1.5 Set Baud rate (0x67)
The command will change CaMate’s baud rate.
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Cmd1
Cmd2
Data1
Data2
ChkSum
Set LED control
mode
0xFF
0x01
0x00
0x67
0x00
Baud rate
--
Response Format:
Byte number
1
2
3
4
Byte Definition
Sync
Addr
Faults
ChkSum
General Response
0xFF
0x01
--
--
0x00 Baud rate: 1200 bps 0x04 Baud rate: 19200 bps
0x01 Baud rate: 2400 bps 0x05 Baud rate: 38400 bps
0x02 Baud rate: 4800 bps 0x06 Baud rate: 57600 bps
0x03 Baud rate: 9600 bps 0x07 Baud rate: 115200 bps
5.1.6 Query device type (0x6B)
This command returns CaMate’s model ID.
Command format:
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Cmd1
Cmd2
Data1
Data2
ChkSum
Query LED control
mode
0xFF
0x01
0x00
0x6B
0x00
0x00
--
Response Format:
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Resp1
Resp2
Data1
Data2
ChkSum
Extended Response
0xFF
0x01
Model ID
byte3
Model ID
byte2
Model ID
byte1
Model ID
byte0
--
5.1.7 Set/Read Configuration information (0x6D)
This command sets/returns CaMate’s LED control mode, DIO’s polarity, DO mode, device ID address, LED
status, LED indicator on/off control.