10
5.2.3 Retrieving the pH signal
After a single or multipoint calibration the AD Converter module the pH value can be read out.
Retrieve pH value
Send the command bytes:
999!<CR>
Wait for the module to return the pH value, receive bytes: ABCDEFGHIJK
Data ABCDEFGHIJK
marks the byte position. Values in bytes are needed for decoding.
Byte position
A
B
C
D
E
F
G
H
I
J
K
Byte value
byte byte
byte
000
000
000
000
000
000
013
010
Decode received sequence if e.g.:
Byte position
A
B
C
D
E
F
G
H
I
J
K
Received bytes
001
023
027
000
00
000
000
000
000
013
010
Protocol:
A =
001
B =
023
C =
027
DEFGHIJK = n/a
A*4096 + B *64 + C = 1*4096 + 23*64 + 27 = 5595
pH value = 5.595
5.2.4 Retrieving the temperature signal
Retrieve temperature value
Send the command bytes:
777!<CR>
Wait for the module to return the pH value, receive bytes: ABCDEFG
Data ABCDEFG marks the byte position. Values in bytes are needed for decoding.
Byte position
A
B
C
D
E
F
G
Byte value
byte byte
000
000
255
013
010
Decode received sequence if e.g.:
Byte position
A
B
C
D
E
F
G
Received bytes
012
023
000
000
255
013
010
Protocol:
A =
012
B =
023
CDEFG = n/a
A*64 + B = 12*64 + 23 = 791
Temperature value = 79.1 °F
Summary of Contents for A120-001
Page 3: ...3 Specifications ...
Page 12: ...12 5 3 ASCII table ...