beautypg.com

4 binary interface protocol, Communication parameters, Commands – INFICON LDS3000 Modular Leak Detector Interface description User Manual

Page 24: 4binary interface protocol, 1 communication parameters 4.2 commands

background image

24

Binary Interface Protocol

4

Binary Interface Protocol

4.1

Communication Parameters

4.2

Commands

On every command you have to acknowlede with a cmd number. In case of error
instead of a cmd number a error byte (

 230) is transfered.

Data format
Baudrate

19.200, 8 data bits, no parity, 1 stop bit

float

4 Bytes, IEEE754 (± 10

±38

), 3 Byte Mantissa,

1 Byte Exponent/Sign

unsigned long int [ulint]:

4 Bytes, integer without algebraic sign MSB …
LSB (0 … 4294967295)

unsigned short int [usint]: 2 Bytes, integer without algebraic sign MSB,

LSB (0 … 65535)

signed short int

2 Bytes, integer without algebraic sign MSB, LSB
(-32768 … 32767)

unsigned char [uchar]:

1 Byte, integer without algebraic sign (0 … 255)

unsigned char [uchar]:

1 Byte, character ASCII Code (0 … 255)

Nr

Name

Description

Parameter

Data

2

GetPv

Fore vacuum pressure

Byte 0: unit (0-mbar,
1-Pa, 2-atm, 3-Torr)

Pv [float]

5

GetDeviceID

Device type

LDS2000Plus: 31dec.

8

9

GetGasballast

SetGasballast

Gas ballast valve

Byte 0: 0-off, 1-on,
2- main fail safe -on

36

37

GetCalFac

SetCalFac

Calibration factor

Byte 0: 0-Vacuum;
1-Sniff

Factor [float]

40

41

GetMass

SetMass

Measure mass

[uchar, 2/3/4 for mass 2/3/4]

50

51

GetZero

SetZero

Zero (suppress background)

0-off

1-on

54

GetCal

Read calibration state

0-int.Cal; 1-ext.Cal

0-inactiv; 1-active; 2-wait for
calibrated leak close (only
at external calibrations)

55

SetCal

Start / Stop calibration

0-int.Cal; 1-ext.Cal

0-stop; 1-start; 2-finish (
TL close; only at external
calibrations)