
35
3
.
The communication instructions
1
_
RD: read floating data
2
_
RE: read the appointment data by start address and bytes (the large byte can not over 28
bytes)
3
_
RR: read all of data (8-word, 12-byte), totally 28 bytes.
4
.
Introduce the instructions( the ID is 1)
1
_
RD (read the floating data): PC send: 40,30,31,51,44,CRCH,CRCL,0D (8 bytes)
40: start byte
30 31: the ID of instrument (the hexadecimal: 0
~
3FH, ASCII
:
30 30
~
33 46
)
51 44: instruction of R, D
CRCH,CRCL: CRC
0D : the end byte
the response by instrument is “40
,
30
,
31
,
52
,
44
,
30
,
30,V1LH,V1LL,V1HH,V1HL,3X,V2LH,V2LL,V2HH,V2HL,3X,3X,3X,3X,
3X,CRCH,CRCL,0D”
40 : the start byte
30 31 :the ID of instrument
52 44 30 30 : the fixed data
V1LH,V1LL
,
V1HH,V1HL: pH/ORP value
3X: the position of decimal (32:pH mode,2 decimal; 30:ORP/mV mode, no
decimal)
V2LH
,
V2LL
,
V2HH
,
V2HL : temperature value
3X : the status of relay 1 , 30 :open ;31:close
3X : the status of relay 2 , 30 :open ;31 :close
3X : the status of relay 3, 30 :open; 31:close
3X : ERR status, 30 : correct; 31:error
3X : parameter modify, 30: no modify; 31:modify
CRCH,CRCL : CRC
0D : the end byte
Total : 24 bytes
Содержание PHCN-961
Страница 11: ...11 2 3 APPEARANCE PHCN 961 panel installation...