Operating Instructions - CPG2500
51
Precision Pressure Indicator
CPG2500
7.5 Mensor Command Set
This Mensor command set is the default on the CPG2500. For queries (ending with a ?), the Data column
represents the response of the CPG2500. All response strings begin with a space character or an “E”
representing 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 identified.
For all commands (no ?), the data column represents the required parameters to be sent to the CPG2500
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.6 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.9 lists all of the CPG2500 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.7 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.9. For commands that take boolean data the follow-
ing 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.
When a valid query is received, the CPG2500 will return {data} terminated by CR and LF. Floating point
data is returned in the current engineering units in exponential format.
Summary of Contents for CPG2500
Page 14: ...14 Operating Instructions CPG2500 Precision Pressure Indicator CPG2500 NOTES ...
Page 47: ...Operating Instructions CPG2500 47 Precision Pressure Indicator CPG2500 NOTES ...
Page 61: ...Operating Instructions CPG2500 61 Precision Pressure Indicator CPG2500 NOTES ...
Page 67: ...Operating Instructions CPG2500 67 Precision Pressure Indicator CPG2500 NOTES ...
Page 69: ...Operating Instructions CPG2500 69 Precision Pressure Indicator CPG2500 NOTES ...
Page 85: ...Operating Instructions CPG2500 85 Precision Pressure Indicator CPG2500 NOTES ...