Download 0-PREFAC.CHP:Corel VENTURA

Transcript
PCS 400
REMOTE OPERATION
Command Reference
The following symbols will be used throughout this
section.
* =
$ =
#
<LF>
<CR>
•
.
/
:
;
X
Mode of operation as specified below:
M = MEASURE
C = CONTROL
Q = NOT AVAILABLE
V = VENT
S = STANDBY
Pressure units as specified below:
0 = in Hg
1 = mBar
2 = psi
3 = in H2O
4 = mm Hg
5 = kPa
6 = mTorr
7 = NOT AVAILABLE
8 = NOT AVAILABLE
9 = Current PCS 400 units (no change)
=
=
=
=
=
=
=
=
=
1 byte of variable data
Linefeed (ASCII 0A Hex)
Carriage return (ASCII 0D Hex)
Space (ASCII 20 Hex)
‘.’ (ASCII 2E Hex)
‘/’ (ASCII 2F Hex)
‘:’ (ASCII 3A Hex)
‘;’ (ASCII 3B Hex)
‘X’ (ASCII 58 Hex)
Changing the Mode of Operations
Long Format (11 bytes):
5 6 7 8 9 10 11
0 0 0 0 0 0 X
Bytes 3–10 are ignored. Only numeric characters
(‘.‘, ‘+’, ‘–’), are allowed.
Short Format (3 bytes):
123
M$X
The long and short formats place the PCS in the
MEASURE mode in the specified pressure units.
4-12
12
MX
The mini format places the PCS in the MEASURE
mode in the current pressure units.
Control
Long format (11 bytes):
1 2 3 4 5 6 7 8 9 10 11
C $ # # # # # # # # X
Byte 10 is ignored.
This command places the PCS in the CONTROL
mode in the pressure units specified at the pressure specified.
Example: To command 5.2 inHg on a 40 inHg
unit, all of the following pressure strings (bytes
3–9) would be acceptable:
5.20000
005.200
00005.2
+0005.2
000+5.2
••5.2••
Note that the decimal point requires 1 bytes out
of seven. Also note that spaces (ASCII 20 Hex)
are allowed.
Short Format (4 to 10 bytes):
Measure
1 2 3 4
M $ 0 0
Mini Format (2 bytes):
1 2 3 4 5 6 7 8 9 10
C $ # # # # # # # X
With this format only the significant digits of the
pressure string are required. To command 5.2
inHg as above only ‘5.2’ is required, making the
total command string 6 bytes long.
Mini format (2 bytes):
1 2
C X
This command places the PCS into the CONTROL mode in the current pressure units at the
equivalent pressure in the current units to the
last commanded control pressure.
www.mensor.com