22
6.8 External serial port command sending
External serial port command sending format is as follows (black character fixed,
"parameters" in red characters means the string command to be send , "length" is the
length of the string command, "packet length" is equal to "length" plus 12 then converted
to hexadecimal)
synchrono
us head
(
2BYTE
)
packet
length
(
2BYTE
)
Packet
count
(
2BYTE
)
ways
(
1BYT
E
)
command
(
2BYTE
)
length
(
2BYTE
)
parameters
(
n BYTE
)
CRC
(1BYTE)
0x55 0x55
n+12
0x00 0x00
0x02
0x07 0x01
n
string
command
to be send
0x00
Command uses the hexadecimal calculation, such as to send a string command
"abcd123", the specific sending way is as follows:
synchrono
us head
(
2BYTE
)
packet
length
(
2BYTE
)
Packet
count
(
2BYTE
)
ways
(
1BYT
E
)
command
(
2BYTE
)
length
(
2BYTE
)
parameters
(
n BYTE
)
CRC
(1BYTE)
55 55
00 13
00 00
02
07 01
00 07
61 62 63 64
32 33 34
00
Tip: MIXL software can monitor the card intelligently ,the key marked with green
squares in the interface means the corresponding input and output signal
connected to card ,if use, click "CANCEL" to remove all the options, click the "ALL"
select all output ports, click on the "RETURN" to withdraw the chosen