User manual

X K 3 1 9 0C 602
Annex E Data Format of Command-Response Mode of Communication Port (2)
Data format for communication of response mode:
Table E-1 Data Format of Communication
Field Start signal
Address
Command
NN
(optional)
******
(optional)
Check
sum
End signal
Length
(byte)
1 1 1~2 2 1~12 2 1
Indication
form
hexadecimal
system
ASCII
character
ASCII
character
ASCII
character
ASCII
character
ASCII
character
hexadecimal
system
Content 02H
A~Z
Note: 1
See table
D-2
Note: 2 Note 3 Note 4 03H
Note 1Address of instrument setting is 1~26, the address relative to communication is indicated by A~Z.
Note 2: 2 bytes - parameter codes to be written/read, refer to Note 2~Note 4, Note 8~ Note 11 of table E-2.
Note 3: The length and the format of different parameter value are different. When PC is transmitting
numeral character string of parameter, a space can be added to the two ends of it as separating character; numeral
character string may include decimal point.
Note 4: The hexadecimal value of XOR check sum from address field to the last byte of parameter 2
indicated by ASCII characters, with higher digits ahead.
It is recommended to use PC software matching to this instrument, which allows very
convenient and direct realization of all items of configuration operation.
Please refer to Table E-2 for meanings and communication formats of all orders for
communication command, among which address represents the address represented by character
A~Z; XH, XL are respectively 4 high bits and four low bits of hexadecimal digits for check sum
represented by A~F. In example column, 02H and 03H are respectively start signal and end signal
represented in hexadecimal system, the bits between them are ASCII character string, with the last
two bits being check sum.
XK3190-C602 communication (2) has eight groups of (non-byte) communication command
buffer areas; if all buffer areas are full, later commands may be lost, so continuous command
transmission speed of PC should not be too fast.
Table E-2 Communication Command of Order Mode
Command Meaning Format Example (Note 1)
A
Send by
PC
Handshake
02H Addr A XH XL 03H 02H AA00 03H