58
MANUAL P/N 316005 REV: B
If extra characters are found in the message after it has been successfully interpreted, but before the
terminator, they will be ignored. All characters should be upper case. All messages to the 316 will receive a
reply, consisting of an ASCII string terminated with CRLF. Numbers will be returned in the format X.XXE±XX.
6.3.1 Command Syntax
DS
Definition:
Display pressure reading
Modifiers:
CG1 or CG2 or CG3 or 1 or 2 or 3
Response:
ASCII string representing the pressure for the selected gauge
Example:
From computer: DS CG1 CRLF
From 316: 1.20E-03CRLF
NOTES
1.
The
DS CG1
,
DS CG2
and
DS CG3
commands or
DS1
,
DS2
, and
DS3
commands, are used to
display the pressures from the A, B and C display lines, respectively, with either the Convectron,
Thermocouple, or Capacitance Manometer Gauge Module installed.
2.
If data is requested from a Convectron, Thermocouple, or Capacitance Manometer Gauge when
none is installed, the 316 will return
9.99E+09
.
PCS
Definition:
Display process control channel status.
Modifiers:
1
or
2
or
3
or
4
or
5
or
6
or
B
or none.
Response:
Depends on modifier:
Modifier =
single digit (1 through 6); response = single ASCII digit,
0
if the corresponding relay is
inactive,
1
if active.
Modifier =
B
response = a byte of data with bits 0 through 5 set/clear according to
whether the corresponding relay is active/inactive. Bit 6 will always be set to guarantee
that the returned byte will not appear as a terminator byte.
Modifier absent response will be a string of 6 ASCII 0's and 1's separated by commas
giving the status of all six channels.
Examples:
Assume that channels 1 - 3 are active, and 4 - 6 are inactive.
From computer:
PCS 1 CRLF
From 316:
1CRLF
From computer:
PCS B CRLF
From 316:
GCRLF
The ASCII "G" corresponds to the bit pattern 01000111 and represents the status of the
PC channels in bit 0 through 5.
From computer:
PCS CRLF
From 316:
1,1,1,0,0,0CRLF
Error Messages
If an error is found in the incoming message, the following messages will be returned in place of the normal
response:
OVERRUN ERROR - Returned if the incoming message overflows the 316's buffer. This can indicate a flaw
in the host software.
PARITY ERROR - Returned if the parity of a byte in the incoming message does not match that programmed
by the switches. This can indicate the presence of electrical noise on the transmission line.
SYNTAX ERROR - Returned if the message fails to parse as a valid 316 command. Could also result from
failure to assert DCD during transmission to the 316.