Page 10 / 23
4. Protocols
4.1 Protocol format
HOST -> LASER
Byte
1
2
3
4
5
6~N
N+1
N+2
STX
SYS ID
HOST ID
CMD
SIZE
DATA
Checksum
ETX
Description
1) STX: 05h
2) SYS ID: 00h
3) HOST ID: 00h
4)SIZE: DATA SIZE
5)Checksum: 0xFF-SUM(SYS ID to DATA)
6)ETX: 06h
HOST <- LASER
Byte
1
2
3
4
5
6~N
N+1
N+2
STX
HOST ID
SYS ID
CMD
SIZE
DATA
Checksum
ETX
Description
1) STX: 05h
2) SYS ID: 00h
3) HOST ID: 00h
4)SIZE: DATA SIZE
5)Checksum: 0xFF-SUM(HOST ID to DATA)
6)ETX: 06h