Operating Instructions - CPC6050 73
Modular Pressure Controller
CPC6050
7.7 Mensor Command Set
This Mensor command set is the default on the CPC6050. For queries (ending with a ?), the Data column
represents the response of the CPC6050. All response strings begin with a space character or an “E” rep-
resenting that there is an error in the error queue. All response strings are terminated with a <CR> and a
<LF>. The error queue holds the last 10 errors identied.
For all commands (no ?), the data column represents the required parameters to be sent to the CPC6050
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.7.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 ag.
CommandorQueryeld: Unless otherwise specied, commands are typically converted to queries
by appending a question mark to the command. Table 7.7.4 lists all of the CPC6050 command or query
keywords.
Dataeld:The data eld is either in ASCII {string} or numeric {value} form. In the case of multiple data
elds, commas are required to separate the elds. Queries do not have a data eld. 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.7.2 CommandSetDenitions
In this manual a data entry made up of alpha characters is dened 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 dened as values.
Command: Any command or query listed in Table 7.7.4. For commands that take boolean data the fol-
lowing strings are acceptable:
0 1
False True
No Yes
O On
Separator: Space (SP).
Data: ASCII representations of numbers, {value}, or alpha characters, {string}, data as dened 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.
When a valid query is received, the CPC6050 will return {data} terminated by CR and LF. Floating point
data is returned in the current engineering units in exponential format.