
37
The instrument response : 40,30,31,52,52,D1_D2,………,D55_D56,CRCH,CRCL,0D(64
bytes)
40 : the start byte
30 31:ID
52 52 : the fix data
D1_D56_the parameter of sending (8 double byte,12 byte, total 28 bytes)
CRCH_CRCL: CRC
0D: the end byte
4
.
Notice for programming the communication program
If the instrument receives the data with the start byte is 40 and the count of sequence data
over 16 bytes and did not find the 0D then the data is invalid. The instrument will not respond.
If the sequence data is not between 00H to 0FH, the sequence data is invalid. The instrument
will not respond. But the other errors, ex: the wrong instruction, the wrong address, the wrong
parameter counts, the wrong CRC and so on, the instrument will respond the wrong information.
All parameters, please see the following table, some parameters are include decimal.
para
TST1
TST2
SP1U
SP2U
CUR
L
CUR
H
POFS
HOR
AAA
FUN
C
decima
1
1
0/2
0/2
0/2
0/2
0/2
0
0
0
para
R3OP
TOFS
SEC
SP1D
SP1T
SP2D
SP2T
NB
BT
CON
decima
0
1
0
0/2
0
0/2
0
0
0
0
The PC display the reading values should be include the decimal.
TOFS is the correct value of temperature, the setting range is 0
~
200, the display range is
–100
~
100, so the PC should be subtract 100 and display with sign.
1) FUNC is the display mode of instrument : 0=mV; 1=ORP; 2=pH
2) R30P is the mode of relay 3: 0
=
NOR
:
1
=
SP1
;
2
=
SP2
;
3
=
ALL
;
4
=
CAL
;
5
~
CLE
°
3) AAA is the reserve parameters
4) CONF is a byte parameter, the define is following,
Bit 7 : temperature compensation : 1=automation 2=manual
Bit 6: current output, 1
=
4_20mA
;
0
=
0
~
20mA
;
Bit 5: SP1
,
1
=
HI
;
0
=
LO
;
Bit 4: SP2
,
1
=
HI
;
0=LO
;
Bit 3 : control mode , 1
=
PLC
;
0
=
Lit
;
Bit 2 : electrode selection , 1
=
ANTI
;
0
=
GLAS
;
Bit 1: buffer, 1
=
NST
;
0
=
USA;
Bit 0 :reserve
Содержание PHCN-961
Страница 11: ...11 2 3 APPEARANCE PHCN 961 panel installation...