30
PTB150-MAN-V14.0
PTB 150-157 Instruction Manual
DATA WRITING:
FLOAT VARIABLES
For writing you use the command WVAR.
Examples 1) writing of the Set point to 132,5°C
If the unity of measure of the temperature is already °C it is enough to write the SET POINT (see the table of
the “VARIABILES” on the previous pages).
the command string is:
$1WVAR0_132,4<cr>
Each characters means:
$
beginning of message
1
instrument address
WVAR
writing command
0
number of the variable to read (see the table of the “VARIABILES” on the prev
ious pages)
_
space
132,4
numerical value of a data with the character
.
to separate the decimal part of the number
<cr>
end of message
At reception of the command, the answer of the instrument is:
*1<cr>
This string shows the recognition of the command.
If the unity of measure of the temperature is not °C You should write first the variable 10 UNITS to 0(see the
table of the “VARIABILES” on the previous pages).
INTEGER VARIABLES
We have just shown the procedure for the writing of a float data.
The variables 1, 4, 8, 10, 25, 26 have two or more states (for example, the resolution by tenth or hundredth
of °C) and to activate them it is necessary to assign to the variable number the number corresponding to that
one which should be set, according to the table indicated below:
1
Ramp
ON =
1
OFF =
0
4
Resolution
0.1°C =
0
0.01°C =
1
8
Sensor input selection
INT =
1
INT+EXT =
2
INT+REF =
3
INT+EXT+REF =
4
10
Units
°C =
0
°F =
1
K=
2
25
Ext. Sensor type
0
= Pt 100
1
= Tc N
2
= Tc K
3
= Tc J
4
= Tc R
5
= Tc S
6
= Pt 100 3 wires
7 = Tc E
26
Ref. Sensor type
as for the variable 25
Example 1: the variable 1 corresponds to the activation of the ramp. If you want to set it to ON in order to
activate the ramp, you should assign the value 0, otherwise the value 1.
the command string is:
$1WVAR1_0<cr>
Example 2: the variable 8 corresponds to the activation of the sensor reading which can be connected to the
bushes of the external inputs. If you want to read the thermocouple K connected to the Ref. input, you should
set the variable 26 to the number corresponding to the type of sensor which you want to read (2 for the
thermocouple K) and then set the variable 8 to 3.
the command strings are:
$1WVAR26_2<cr>
$1WVAR8_3<cr>
Do likewise for the other variables.