Remote Programming
111
CTC100 Programmable Temperature Controller
This section presents several sample macros to illustrate the capabilities of the CTC100. The
macros are shown on multiple lines for clarity and can only be run as shown if they are input with
a USB memory stick, as follows:
1. Enter the macro into a text editor such as Notepad. Save the macro as an ASCII text file
with
USB memory
stick or hard drive.
2. Plug the USB stick or drive into the CTC100.
3. Press the CTC100
highlighted as long as the macro is running. Touch the highlighted button to stop the macro.
If the sample macros are sent to the CTC100 via the RS-232, GPIB, USB device, or Ethernet
port, each macro must be formatted as a single line with the comments removed, otherwise each
line will be treated as a separate macro, and the lines will all run at the same time instead of
sequentially.
Temperature profiles
The following macro ramps the temperature controlled by channel Out 1 to 100°C at a rate of
1°C/second. Once the ramp is complete, the system pauses for 1 minute at 100°C and then ramps
the temperature down to 80°C. After another 1 minute pause, the system is allowed to cool back
to room temperature by changing the feedback setpoint to 0 degrees (without ramping):
Out1.PID.ramp = 1 ' set the ramp rate to 1 degree/s
Out1.PID.setpoint = 100 ' start a ramp to 100 degrees
waitForRamp ' wait for the ramp to finish
pause 1 min ' wait for 1 minute
Out1.PID.setpoint = 80
waitForRamp
pause 1 min
Out1.PID.ramp = 0 ' disable ramping
Out1.PID.setpoint = 0
The equals signs are optional and are shown for clarity. If this macro is entered from the
,
must be included:
channel.Out1.PID.ramp 1
channel.Out1.PID.setpoint 100
program.waitForRamp
program.pause 1 min
channel.Out1.PID.setpoint 80
program.waitForRamp
program.pause 1 min
channel.Out1.PID.ramp 0
channel.Out1.PID.setpoint 0
This is the easiest way to run a temperature profile, but
feedback loops are ramping at the same time. The problem is that
waitForRamp
actually waits for
all setpoint ramps to end, whether or not they were started by the macro.
A more elaborate version eliminates this issue by comparing the current value of the ramp
(
Out1.PID.rampT
) with the endpoint of the ramp (
Out1.PID.setpoint
):
Содержание CTC100
Страница 1: ...Version 2 1 May 14 2019 User Manual CTC100 Cryogenic Temperature Controller...
Страница 6: ......
Страница 8: ......
Страница 12: ......
Страница 25: ...Operation 13 CTC100 Programmable Temperature Controller...
Страница 85: ...Operation 73 CTC100 Programmable Temperature Controller To disable cascade cont select it...
Страница 128: ......
Страница 129: ...Remote Programming 117 CTC100 Programmable Temperature Controller...
Страница 130: ......
Страница 142: ......
Страница 150: ......
Страница 176: ......