9.2. Destination Device Command
This section explains the destination device command used in this project file.
9.2.1.
Command Format
The command format of the destination device is as follows:
Variable
Type
ST
G9SP_Send
Command_
BYTE[0]
BYTE[1]
BYTE[2]
BYTE[3]
BYTE[4]
BYTE[5]
BYTE[6]
BYTE[7]
Data
BYTE[8]
BYTE[9]
BYTE[10]
BYTE[11]
BYTE[12]
BYTE[13]
BYTE[14]
BYTE[15]
BYTE[16]
BYTE[17]
*The checksum is calculated based on ST and G9SP_SendCommand_BYTE[0] to [13].
Data
Code
Start code
#16#40
#16#00
#16#00
#16#0F
#16#4B
Fixed data
#16#03
#16#4D
#16#00
#16#01
#16#aa
Communications
#16#bb
receive data
#16#cc
#16#dd
#16#e0
Echo back
#16#00
#16#ff
Checksum
#16#gg
#16#2A
End code
#16#0D
9. Project File
Remarks
Fixed
Fixed
Fixed
Fixed
Fixed
Fixed
Fixed
Fixed
Fixed
Bits 00 to 07
Bits 08 to 15
Bits 16 to 23
Bits 24 to 31
Bit 7: Echo back
Fixed
Checksum (Leftmost)
Checksum (Rightmost)
Fixed
Fixed
29