beautypg.com

3 receiving (unit --> host), 4 examples, 5 number formats – INFICON VGC403 Three-Channel Measurement and Control Unit User Manual

Page 33: 6 continuous transmission of measurements, Receiving (unit --> host), Examples, Number formats, Continuous transmission of measurements. 33

background image

tinb07e1-e 2011-07 Vacuum Gauge Controller

33

S: Mnemonic [parameters][]

R: or

6.2.3

Receiving (Unit --> Host)

The Host may request data from the unit. To this end the
Host first sends a message which describes what kind of
data is requested. The Vacuum Gauge Controller then
stores the requested data in the output buffer of the inter-
face.

Afterwards the Host sends the control character
to the unit. This prompts the unit to send to contents of
the output buffer to the Host.

In a symbolic representation this process can be illus-
trated as follows:

S: Mnemonic [parameters][]

R:

S:

R: Data

If the Vacuum Gauge Controller receives a message
which cannot be interpreted (syntax error) it stores the
respective error status in the output buffer. See
Chapter 6.3.9 ERR, 36.

6.2.4

Examples

Inquiring the sensor identification

S: TID[]

R:

S:

R: PSG,CDG,noSen

Inquiring the sensor status

S: HVC[]

R:

S:

R: 0,0,0

Inquiring parameters of the switching function 1

S: SP1[]

R:

S:

R: 0,2.0000E-01,5.0000E+00

Inquiring parameters of the switching function 2

S: SP2,0,9E-1,2.2E0[]

R:

S:

R: 0,9.0000E-01,2.2000E+00

Setting the filter

S: FIL,1,2,1[]

R:

S:

R: 1,2,1

Behavior in case of a syntax error

S: FOL,1,2,1[]

R:

S:

R: 0001

6.2.5

Number formats

The following data is always stored in the exponential for-
mat in the Vacuum Gauge Controller:

• Pressure values
• Offset values
• Threshold values

Output
The above data is always output in the exponential for-
mat. A five-digit mantissa and a two-digit exponent are
used. Both parts of the number may contain a sign.

Symbolic representation: ±a.aaaaE±aa
Example: 1.2500E-01

In the case of logarithmic sensors (PSG, PCG, PEG,
MPG, BPG, BCG, HPG) the last two digits of the man-
tissa are always zero. Linear sensors (CDG) use all digits
of the mantissa.

Input
The above data may be input either in the exponential for-
mat or in the fixed point format. The input data is automat-
ically converted to the exponential format by the unit.

Example: 1.25E-1 and 0.125 are both valid input data.

6.2.6

Continuous transmission of
measurements

After the unit has been switched on, it starts to continu-
ously send measurements to the serial interface. By
default one set of measurements is sent every second.

The continuous measurement transmission stops when
the Host sends a character to the serial interface. The
transmission can be resumed with the COM command.
See Chapter 6.3.4 COM, 35.

This manual is related to the following products: