181-122018_THCD-101 Instruction Manual
Page 19 of 26
(b) Output current readings repeatedly – ‘rp’
The THCD-101 is also able to report the current readings repeatedly, at a given interval. This command starts
and stops this repeat activity by setting the parameter accordingly:
0 = Repeat off
1 = Repeat every 100ms
2 = Repeat every 500ms
3 = Repeat every second
4 = Repeat every minute
The timing commences from the point at which the ‘rp’ command is entered. NOTE: when 100ms repeated
output is used, the data will be taken every 100ms and buffered up, to be sent out every 500ms in blocks of 5
readings. This has proven to be a more robust output method. For consistency, the output from USB port also
works in the same way.
(c) Setpoint value – ‘spv’
This command is used to set the value of the command setpoint. The command takes the setpoint value as the
parameter.
The current value of the setpoint can be retrieved using the query ‘spv?’. Returned data is:
SP VALUE: <setpoint value>
(d) Setpoint mode – ‘spm’
This command sets the mode for the command setpoint. The command takes anidentifying mode integer
between 0 & 2, as a parameter:
0 = Auto mode
1 = Open mode
2 = Closed mode
The current mode of the setpoint can be retrieved by using the query ‘spm?’. The returned data is:
SP MODE: (<x>) <mode string>
… where … <x> = 0, 1, or 2 and <mode string> = AUTO, OPEN, or CLOSED respectively.
(e) Setpoint source – ‘sps’
The setpoint source can be an internally set value or a percentage of the secondary THCD-101 input (known as
slave input). This source is set using this command and as with the other setpoint commands, it takes just one
parameter which is as follows:
0 = Internal source
1 = Slave source
The current source of the setpoint can be retrieved by using the query ‘sps?’. The returned data is:
SP SOURCE: (<x>) <source id>
…where… <x> = 0 or 1 as above, <source id> = string identifier for <x> : INTERNAL or SLAVE.
(f) Setpoint initial value – ‘siv’
The setpoint value set with the ‘spv’ command (above) is not non-volatile. This command can be used to set an
initial setpoint value on system startup. It takes one parameter which is the initial setpoint value.
The current value of the setpoint can be retrieved using the query ‘siv?’. Returned data is:
SP INIT VAL: <initial setpoint value>
(g) Setpoint initial mode – ‘sim’
As with the value, the setpoint mode set using the ‘spm’ command (above) is a volatile setting. Again this
command provides a way of setting an initial startup mode for the setpoint on power up of the THCD-101. It
takes one parameter which is a number between 0 & 2, identifying the initial mode, as follows:
0 = Auto mode