29
PTB150-MAN-V14.0
PTB 150-157 Instruction Manual
Each commands string are ASCII character succession.
First is $ character; the next must indicate the instrument address (default 1) and than is the command (4
characters).
Possibility:
RVAR
(data reading)
WVAR
(data writing)
The ultimate part of string is depending of a type command. The character (cr) concludes the sequence
DATA READING:
Example 1) reading of the Set Point (0 variable):
the command string is:
$1RVAR0_<cr>
Each characters means:
$
beginning of message
1
instrument address
RVAR
reading command
0
number of the variable to read (see the table of the “VARIABILES” on the previous page)
_
space
<cr>
end of message
the response string is:
*1_110,0
(110,0 is only for example)
The character <cr> concludes the message.
Command to read the temperature of an external probe (index 25):
Example 2) reading of the EXT sensor (105 variable):
the command string is:
$1RVAR105_<cr>
the response string is:
*1_123,4
(123,4 is only for example)
The character <cr> concludes the message.
The response does not include the measure unity, to read the unity read the variable 10:
the command string is:
$1RVAR10_<cr>
the response string is:
*1_0 for °C
the response string is:
*1_1 for °F