Remote Programming
112
CTC100 Programmable Temperature Controller
Out1.PID.ramp = 1
Out1.PID.setpoint = 100
while (Out1.PID.rampT!=Out1.PID.setpoint) { pause 1 s }
pause 1 min
Out1.PID.setpoint = 80
while (Out1.PID.rampT!=Out1.PID.setpoint) { pause 1 s }
pause 1 min
Out1.PID.ramp = 0
Out1.PID.setpoint = 0
A third option is to wait for the measured temperature to reach the endpoint of the ramp:
Out1.PID.ramp = 1
Out1.PID.setpoint = 100
while (In1 < 99.5 || In1 > 100.5) { pause 1 s }
pause 1 min
Out1.PID.setpoint = 80
while (In1 > 80) { pause 1 s }
pause 1 min
Out1.PID.ramp = 0
Out1.PID.setpoint = 0
The
pause 1 s
instructions are t strictly necessary, but reduce the load on the CPU.
C ontrol a feedback setpoint w ith an analog input
The following macro controls the setpoint of channel Out 1 based on the voltage at analog input
A. The macro converts the ±10V analog voltage to a temperature between 0 and 100 degrees;
another way to scale the analog voltage would be to use
The
contents of the macro are placed in an infinite-repeat block (square brackets followed by a negative
number). The
waitforSample
ensures that the block
often than necessary
(i.e., once per ADC sample).
[
waitforSample
if (Out1.PID.Mode==on) {
#x = #AIOA
#x+=10
#x*=5 '
note: spaces are not allowed before the ‘*’
Out1.PID.setpoint = #x
}
]-1
The setpoint is only updated when the feedback is turned on. Although not necessary, this
precaution keeps the macro from generating run-time errors when the setpoint is locked.
Show channels w ith tripped alarms on the Numeric screen
This macro turns selection group 1 into a display of channels with tripped alarms. Once per
channels are deselected. The macro is best used with the Numeric screen visible, but also works
with the Select or Plot screens.
[
if (group==1) { selectAlarmed }
pause 1 s
]-1
Summary of Contents for CTC100
Page 1: ...Version 2 1 May 14 2019 User Manual CTC100 Cryogenic Temperature Controller...
Page 6: ......
Page 8: ......
Page 12: ......
Page 25: ...Operation 13 CTC100 Programmable Temperature Controller...
Page 85: ...Operation 73 CTC100 Programmable Temperature Controller To disable cascade cont select it...
Page 128: ......
Page 129: ...Remote Programming 117 CTC100 Programmable Temperature Controller...
Page 130: ......
Page 142: ......
Page 150: ......
Page 176: ......