EasyManua.ls Logo

EIUK PTB 600 - Page 27

Default Icon
33 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PTB600-MAN-V10.4 PTB 600 Instruction Manual
27
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