62
Operating Instructions - CPC3050
High-Speed Pressure Controller
CPC3050
7.5 Mensor Command Set
This Mensor command set is the default on the CPC3050. For queries (ending with a ?), the Data column
represents the response of the CPC3050. All response strings begin with a space character or an “E” rep-
resenting that there is an error in the error queue. Response strings are terminated with a programmable
set of termination characters set in the remote settings application. The error queue holds the last 10
errors identified.
For all commands (no ?), the data column represents the required parameters to be sent to the CPC3050
following the string in the command column. For any command that requires multiple parameters to be
sent, the parameters must be separated by commas.
7.5.1 Command and Query Format
Commands must be sent in ASCII format and terminated with either a carriage return (<cr>), linefeed
(<lf>), or both. Commands are not case sensitive. Each query returns a response. If an error is detected
the response will include an error flag.
Command or Query field:
Unless otherwise specified, commands are typically converted to queries
by appending a question mark to the command. Table 7.5.4 lists all of the CPC3050 command or query
keywords.
Data field:
The data field is either in ASCII {string} or numeric {value} form. In the case of multiple data
fields, commas are required to separate the fields. Queries do not have a data field. String (text) or value
(numeric) data are acceptable in any of the following formats:
Examples of {string} data: ON, OFF, mBar, inHg
Examples of {value} data: 1, 1.0, -5.678, 25.68324e-5
7.5.2
Command Set Definitions
In this manual, a data entry made up of alpha characters is defined as a string, as opposed to data
containing only numbers, such as “Enter 1 for ON or 0 for OFF” where 1 and 0 are defined as values.
Command:
Any command or query listed in Table 7.5.4. For commands that take boolean data the fol-
lowing strings are acceptable:
0 1
False True
No Yes
Off
On
Separator:
Space (SP).
Data:
ASCII representations of numbers, {value}, or alpha characters, {string}, data as defined above.
When sending code a literal variable replaces the brackets and the enclosed character(s) shown in the
following examples.
Termination:
Linefeed (LF) or carriage return (CR) is used to signal the end of a command statement.
For IEEE-488.2 operation “EOI” is an acceptable alternative.
Always send commands in one of the following formats:
1. [Command] [Termination];
2. [Command] [Separator] [Data] [Termination];
3. Queries are special instructions in the form: [Command?] [Termination] where the question mark, “?”,
immediately precedes the terminator.