X K 3 1 9 0-A22
APPENDIX I
Bidirectional communication method:
1. Command format: 02H Adr. Command Nor.V-H Nor.V-L 03H
initial character
communication address
command character
(Nor-Verify code),H is half higher byte
ASCII code,L is half lower byte ASCII code
terminate character
2. Calculation command character string
1) the communication address 1~24 of the indicator correspond with the capital letter A~Z of in
communication command sending, e.g.:01 is set as the communication address, then Adr.=A in communication
command
2) XOR verify code calculation method
(1)The data will get XOR character Nor.V through “ Adr.^ Command”
(2)Nor.V-H=XOR character Nor.V “ half higher byte” +30H
(3)Nor.V-L=XOR character Nor.V “ half lower byte” +30H
Command mode example:
e.g.: send the zero setting command “ 0(30H)” to the indicator, if the communication address is “ 1” ,
confirm sending the command character string.
The communication address is 1, then the sending communication address command character is “ A
(41H)” ;the XOR character is Nor.V=41H^30H=71H,则 Nor.V-H=7H+30H=37H,Nor.V-L=1H+30H
=31H at this time; so the final transmitting command character string is: 02H 41H 30H 37H 31H 03H
Zero setting command(30H) “ 0”
Tare command (0x54)“ T”
read Command: (0x52)or(0x72)“ R” or“ r”
3. data returning format
The data will be transmitted out in ASCII code when the instrument is in serial transmitting mode, 9 bytes
(include decimal point) for each data frame. Data transmitting is from lower byte to higher byte.0 is positive sign,
1 is negative sign, “ =” as list separator between each data frame, transmitting data content is same with the
displayed content on the screen.
(11)