User Manual

34
Light sensor: DO pin outputs the light sensor detection result.
LED state: DO pin outputs the LED on/off state.
Diagnostic: DO pin outputs the health condition of LED for maintenance purpose.
Command format: Get
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Cmd1
Cmd2
Data1
Data2
ChkSum
Query DO mode
0xFF
0x01
0x08
0x6D
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
0x00
0x00
0x00
DO mode
--
DO mode: (0) Light sensor state/ (1) LED state/ (2) Diagnostic
Command format: Set
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Cmd1
Cmd2
Data1
Data2
ChkSum
Set DO mode
0xFF
0x01
0x88
0x6D
0x00
DO mode
--
Response Format:
Byte number
1
2
3
4
Byte Definition
Sync
Addr
Faults
ChkSum
General Response
0xFF
0x01
--
--
5.7.1.5 LED on/off
When LED control mode is in direct mode, this command set CaMate to turn on or off.
Command format: Get
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Cmd1
Cmd2
Data1
Data2
ChkSum
Query LED on/off
status
0xFF
0x01
0x0A
0x6D
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
0x00
0x00
0x00
LED
on/off
--
LED on/off state: (0) off/ (1) on
Command format: Set
Byte number
1
2
3
4
5
6
7
Byte Definition
Sync
Addr
Cmd1
Cmd2
Data1
Data2
ChkSum
Set LED on/off
status
0xFF
0x01
0x8A
0x6D
0x00
LED
on/off
--