Remote Programming
85
CTC100 Programmable Temperature Controller
#x?
ned in the second macro.
The four basic arithmetic operations (+, -
), and bitwise
#x=2 #x+=8 #x-=1 #x*=2.6 #x/=7 #x^=2 #x&=2 #x|=2
Spaces are not allowed before the *, /, -, and ^ operators. The equals sign is optional and can be
replaced with a space.
The CTC100 has three virtual channels that behave like much like variables. However, while a
variable can only be used by the macro that defined it, the value of a virtual channel can be
accessed by any macro. The value of a virtual channel also persists after the macro ends. Also, the
value of a virtual channel is only updated when an ADC conversion occurs, but the value of a
variable is updated without any lag when an instruction changes its value. Finally, virtual channels
can be plotted on-screen and logged to USB, while variables cannot (except by assigning their
value to a virtual channel).
Once defined, a variable can be substituted for any numeric argument. For example, the macro:
#y=5 Out1=#y
When
#
variable
is used as an argument, a question mark can optionally be added after the
variable name to indicate that the variable is being queried:
#y=5 Out1=#y?
Variables can be used within conditional statements. The macro:
#x=0 while (#x<3) { #x+=1 Out1=#x pause 1 s }
and another second later to 3.
quations. For example, a statement of the form
gument can only contain a single
term.
#
instruction
A single-instruction query with no arguments, if preceded by a pound sign, can be substituted
for any numeric argument. The instruction cannot contain quotes, parentheses, or spaces. For
example:
Out1.PID.setpoint = #Out2.PID.setpoint
question mark to the arg
resulting instruction at run time.
#list?
Prints a comma-separated list of variables that have been defined within the macro.
Содержание 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: ......