Lake Shore Model 340 Temperature Controller User’s Manual
9-38 Remote Operation
MOUT? Query Control Loop Manual Output Values
Input: MOUT? <loop>
Returned: <manual output value>. Format: ±nnn.nn[term]
Remarks: Returns the control loop manual output value. <loop> specifies which loop to query.
PGM Add A Program Line
Input: PGM <program>, <command>, [<param1>], [<param2>],...
Returned: Nothing
Remarks: Adds a command to a program. The command appends to the end of the specified program.
Each command has a different number of parameters and parameter formats. The
parameters are detailed under each command (Paragraph 8.3). <command> specifies the
command. End commands are ignored. Valid entries are:
0 - End: no parameters
1 - NOP: no parameters
2 - Repeat: [<iterations>], [<infinite loop enable>]
3 - End Repeat: no parameters
4 - Wait: [<hours>], [<minutes>], [<seconds>]
5 - Call: [<program>]
6 - Ramp MOut Abs.: [<MOut value>], [<hours>], [<minutes>], [<seconds>], [<rate value>]
7 - Ramp MOut Rel.: [<deviation value>], [<hours>], [<minutes>], [<seconds>], [<rate>]
8 - Ramp SP Abs.: [<SP value>], [<hours>], [<minutes>], [<seconds>], [<rate>]
9 - Ramp SP Rel.: [<deviation value>], [<hours>], [<minutes>], [<seconds>], [<rate>]
10 - Parameters: [<control channel>], [<control mode>], [<P value>], [<I value>], [<D value>],
[<heater range>]
11 - Digital Output: [<bit weighting>]
12 - Relays: [<high enable>], [<low enable>]
13 - Settle: [<hours>], [<minutes>], [<seconds>], [<band>]
Example: PGM 1, 5, 2[term] - Appends a Call command that calls program 2 to the end of program 1.
PGM? Query A Program Line
Input: PGM? <program>, <line>
Returned: Variable. Format: variable
Remarks: Returns the command and parameters for the specified program and line number. See the
PGM command and Paragraph 8.3. Querying past the end of a program returns an End
command.
PGMDEL Erase A Program
Input: PGMDEL <program>
Returned: Nothing
Remarks: Erases a program. <program> specifies the program to erase. Valid entries: 1 - 10.
Example: PGMDEL 2[term] - Erases program 2.
PGMMEM? Query Number of Program Lines Remaining
Input: PGMMEM?
Returned: <lines>. Format: nnn[term]
Remarks: Returns the number of programs lines remaining in program memory.
PGMRUN Run a Program.
Input: PGMRUN <program>
Returned: Nothing
Remarks: Runs or terminates a program.
<program> Specifies the program to run. Valid entries: 0 = terminate current program, 1 - 10.
Example: PGMRUN 1[term] - Begins execution of program 1.