I N T E R F A C E

D E S C R I P T I O N

jins85e1-e (1406)

Catalog-No.
540-001
540-002

from Software Version 2.11

T-Guard™
Leak Detection Sensor

General

3

1.1
1.2

Serial RS232 and Field Bus Interfaces
RS232 Interface Connecting Cable

3
4

2

RS232 ASCII Interface Protocol

5

2.1
2.2
2.3
2.3.1
2.4
2.4.1
2.4.2

Communication Parameters
Command Format
List of ASCII Commands
Error Messages
Examples of programming
Accumulation Mode
Carrier Gas Mode

5
5
6
17
17
18
20

3

Using Hyperterm for the ASCII Protocol

22

3.1
3.2

Communication Parameters
Settings for Hyperterm

22
22

4

RS232 Binary Interface Protocol

25

4.1
4.2
4.2.1
4.3

Communication Parameters
Binary Command Format
Command List Binary Mode
Error Messages Binary Mode

25
25
26
33

5

Profibus-DP Protocol

34

5.1
5.2
5.2.1
5.2.2
5.3
5.3.1
5.3.2
5.4
5.4.1
5.4.2

Preface
Process Data Mapping for Cyclic Data Transfer
Write Process Data (PLC-> Leak Detector)
Read Process Data (Leak Detector -> PLC)
Acyclic Data Transfer
Addressing Rules for Acyclic Access
Application Data Instances
Hardware Configuration
Assignment of the Profibus Address
Diagnosis with the T-Guard™ Info Menu

34
34
34
34
36
36
37
38
39
39

2

Table of Contents

jins85e1- IVZ.fm(1406)

1

Interface Description

Table of Contents

Interface Description

1

General1.1

Serial RS232 and Field Bus Interfaces
This Interface Description explains how to configure, operate and control T-Guard™
Leak Detection Sensor via serial RS232 or field bus (e.g. Profibus).
For using the field bus module nothing has to be changed in the T-Guard menu.
Field Bus is only available with units already having a field bus interface module.
It is not possible to add field bus to a non-field-bus T-Guard unit.
Other field buses like BACnet MSTP, CANopen, CC-Link, ControlNet, CompoNet,
DeviceNet, Modbus-RTU, BACnet/IP, EtherCAT, EtherNet/IP, Modbus-TCP,
Profinet IO and SERCOS III are available on request.
When using the RS232 interface, you can choose between three protocols under:
Main Menu  Settings  Interfaces  RS232 Protocol
Choices are: ASCII, Binary and Printer Auto.
The RS232 binary interface communication protocol is optimized for fast andsecure communication between T-Guard™ Leak Detection Sensor and a PC or
PLC.

•

The RS232 ASCII interface communication protocol is easy to implement andreadable by human beings. It is possible to “talk” to T-Guard™ Leak Detection
Sensor with a terminal program like Hyperterm (refer to Chapter 3).

•

The RS232 “Printer Auto” sends date, time, name of the parameter set, operationmode, leak rate, trigger 1 and trigger 2, if enabled, after every measurement.
For example: 20.09.2009 09:20:09 14 LITERS ACCUMULATION 2.00E5 mbarl/ TRIG1: 3.00E-04

jins85e1 1.fm

(1406)•

General3

1.2

RS232 Interface Connecting Cable

Pin
2
3
5

Name
RxD
TxD
GND

SignalReceive data (T-Guard™  PC)
Transmit data (PC  T-Guard™)
Reference Ground

Interface Description

The RS232 interface is wired as data communication equipment (DCE).
T-Guard™ Leak Detection Sensor provides a 9-pin sub-D socket for the connector.
The signals are assigned as follows:

The other pins are not being used.
The levels on the RS232 interface are defined as follows:
Level
Voltage Range
Logic State
Level Designation

Low (L)-3 V … -25 V
logical 1
MarkHigh (H)
3 V … 25 V
logical 0Space

Physical Assignment

jins85e1 1.fm

Fig. 1-1 Physical assignment of the RS232 cable to work aroundhardware handshake.

(1406)

You can use a standard RS232 cable (straight-through connecting cable, RxD and
TxD not crossed, no Null Modem Cable). The RS232 hardware handshake must be
switched off in your software program. If you cannot switch off the hardware
handshake, an RS232 cable wired as follows may be used:4

General2

RS232 ASCII Interface Protocol

Interface Description

The RS232 ASCII protocol is similar to the SCPI, a standard protocol widely used formeasurement equipment.

2.1

Communication Parameters
Data Format
baudrate
data bits
paritystop bits
flow control

2.2

19,200 or 9,600
8
none
1
none

Command Format
In ASCII mode any command starts with “ * “ (ASCII code 42 dec) and is finished with
CR+LF. There is no differentiation between upper and lower case. A blank is required
between the command and the parameter, no other blanks are allowed.
There is a short and an extended form of the command. Either the short or theextended command must be used, no other abbreviations are allowed. Commandwords have to be separated by a colon.
In chapter 2.3 „List of ASCII Commands” short and extended command are specified
by upper and lower case. Example: "* STATus" means that the extended commandversion is "* STATUS" and the short command version is "* STAT“.
A command can be composed of up to three words. Parameters have to be
separated by commas.
Each command is answered with „OK“ or „EXX“ (in case of an error). For a list of allerror message see section 2.3.1. The transmission can be cancelled with ESC(ASCII code 27dec), ^C (ASCII code 3 dec) or ^X (ASCII code 24 dec).
Some commands can be used as queries, some can be used to set parameters andsome can be used for both. A query is marked by a “ ? “ (ASCII code 63 dec) after
the command, for setting data the command has to be followed by the parameter.

(1406)

Parameters can be boolean or numerical:<b>

Boolean

0 / 1 or OFF / ON Or ENAble / DISAble<No>

Numeric representation format: integer, real (15.6) or exponential (4.5E-7)
Format: [space] [sign] [ddd] [.] [ddd] [e[sign]ddd] (d: digit)

NoticeAlways use a point as the decimal marker. If a comma is used during
numerical data entry, the conversion of the number is cancelled at thispoint and only the integer part of the number will be used.

jins85e1 2.fm

The following table lists all commands available in the ASCII mode.
NoticeAfter sending a command from the PC to the leak detector, the PC must
wait for the answer from the leak detector before sending a new command.
The PC should wait at least 1500 ms for the answer before retrying.

NoticeA blank is required between the command and the parameter, no otherblanks are allowed. Replace blanks in names by underscores.

RS232 ASCII Interface Protocol

5

6

2.3

List of ASCII Commands

RS232 ASCII Interface Protocol

Commandword1

Command Command
word2
word3

Parameter*CAL

Statement
only external calibration possible:START:LEAKrate<value>

:UNIT

Read
Set

ExampleResponse–
S*CAL:START

OK

leak rate of test leakR
S

*CAL:LEAK?
*CAL:LEAK 2.4E-5

1.20E-5
OKunit of test leak–
*CAL:UNIT?
*CAL:UNIT MBAR*L/S

mbar*l/s
OK

MBAR*L/S

R
S

PA*M3/SR/S *CAL:UNIT PA*M3/S

OK

SCCM

R/S *CAL:UNIT SCCMOKTORR*L/S

R/S *CAL:UNIT TORR*L/S

OK

:QUIT

acknowledge (confirm) after calibrationS*CAL:QUIT

OK

:ESC

escape after calibrationS*CAL:ESCOK:FACtorcalibration factor (values only available after afinished calibration)

–

:NEW

actual calibration factor(only available directly after a calibration)R*CAL:FAC:NEW?

0.576

:OLD

last calibration factor

R*CAL:FAC:OLD?

0.974

pressure at the Wise TechnologyTM Sensor–:PRESsure(A change in this pressure can indicate changesof the pump or of the hoses.):NEW

actual calibration

R*CAL:PRES:NEW?

271

:OLD

last calibration

R*CAL:PRES:OLD?

263

starts proof function

S:StartProof

jins85e1 2.fm

(1406)

Interface Description

jins85e1 2.fm

Command
word1
*CAL

*CLS

(1406)

Commandword2:STATusCommandword3

Interface Description

Parameter

Statement

Read/
Set

Examplestatus plain text–

T<20 MIN, CONFIRMR

CAL RUNNING, WAITRCAL FINISHED, CONFIRMRCAL FINISHEDRPROOF RUNNING, WAITR

PROOF RUNNINGR

PROOF FINISHED, CONFIRMR

AIR STABLE, CONFIRMRNO CAL RUNNINGR*CAL:STAT?

clear errors and warnings, E10 if there is none

S

*CLS

Response

NO CAL RUNNINGOK

RS232 ASCII Interface Protocol

7

8*CONFig:AccVol

RS232 ASCII Interface Protocol:CALAccess<b>

read or write parameter–accumulation volume in chosen unit
( 0.01.. 10000 liters and equivalent)

S
R*CONF:AV 1.2*CONF:AV?

OK
1.2

allow/disallow calibration ( on / off )S
R*CONF:CALA ON*CONF:CALA?

OKON:CALFac<value>calibration factor ( 0.1 .. 10 )S
R

*CONF:CALF 1.1*CONF:CALF?

OK
1.1:CarFlow<value>carrier gas flow in chosen unit
( *CONF:UNIT:FU? )SR*CONF:CF 1000
*CONF:CF?

OK
1000:CONTRAST

0 .. 99

R/S*CONF:CONTRAST 15

OK:CONTROL

control location(local = keyboard; RS232 = Interface)–

RS232, LOCAL/RS232; ALL

R/S*CONF:CONTROL RS232

OK

M is the source and N the destination
They can be d,0..3,11..35
d means default (not as destination)
0 is the actual parameter set
1..3 are internally stored
11..35 are stored on the optional I·StickS
S*CONF:CPSET 1,0*CONF:CPSET 33,1

OKOK<value>CopyParaSET

jins85e1 2.fm

M,N(1406)

Interface Description

jins85e1 2.fm

Commandword1*CONFig(1406)

Commandword2

Commandword3

Interface Description

Parameter:HEPERcent<value>:HOSElength<value>Statement

ExampleResponse

S
R*CONF:HEPER 25*CONF:HEPER?

OK
25

Length of measurement hose in cm

S
R*CONF:HOSE 60*CONF :HOSE?

OK
60

english, german, espanol, portuguese,katakana, italiano et francais–

ENGlish; DEUtsch; ESPanol, PORTuguese,
KATakana, ITAliano, FRAncais

S
R*CONF:LANG ENG*CONF:LANG?

OK
ENG

changing the operation mode resets the time
settings to automatic–

ACCUMULATE; CARGAS; CONTMODE

S
R*CONF:MODE CARGAS*CONF:MODE?

:NAME

name of the current parameter set(replace space by underscore)S
R*CONF:NAME 15_L
*CONF:NAME?

OK
15_L

:PLCINLINK

PLC input link for one pin–

pin number = 1 .. 6

R/Svalues for PLC input functions:

R/S

NOt_used

R/S*CONF:PLCINLINK:2 START*CONF:PLCINLINK:2?

OK
START

:LANGuage<value>:MODE<value>:<no.><value>Helium percentage 10 .. 100%

Read/
Set

RS232 ASCII Interface Protocol

9

START

INV_START

S
R

STOP

INV_STOP

R/S

START/STOP

INV_START/STOP

R/S

CAL

INV_CAL

R/S

CLEAR

INV_CLEAR

R/S

READY

INV_READY

R/S

STANDBY

INV_STANDBY

R/S

PROOF

INV_PROOF

R/S

PURGE

INV_PURGE

R/S

GROSS

INV_GROSSR/SOKCARGAS

10
RS232 ASCII Interface Protocol

Commandword1*CONFig

Commandword2

Commandword3

Parameter:PLCOUTLINK:<no.><value>Statement
PLC output link for one pin–

pin number = 8 .. 15

R/S

values for PLC output functions:

R/S

OPEN

S
R

CLOSE
TRIGGER_1
TRIGGER_2
READY
CYCLE_ACTIVE
STANDBYERRORWARNING
ERR_WARN
CAL_ACTIV
MEASUREGROSS

INV_TRIGGER_1
INV_TRIGGER_2
INV_READY
INV_CYCLE_ACTIVE
INV_STANDBY
INV_ERROR
INV_WARNING
INV_ERR_WARN
INV_CAL_ACTIV
INV_MEASURE
INV_GROSSCONTAMINATEDBACKGROUND

INV_CONTAMINATED
INV_BACKGROUNDGROSS_LEAK:PROOFleak<value>jins85e1 2.fm

(1406)

Read/
Set

INV_GROSS_LEAK

ExampleResponse*CONF:PLCOUTLINK:9 OPEN
*CONF:PLCOUTLINK:9?

OK
OPEN

R/S
R/S
R/S
R/S
R/S
R/S
R/S
R/S
R/S
R/S
R/S
R/S
R/S
R/S
R/S

read/set proof leak rate
(Proof leak rate will only be used to check if
current calibration is still valid. Test leak rate forcalibration can be changed with *CONF:TLR)

SR*CONF:PROOF 6E-6
*CONF:PROOF?

OK
6.00E-6

value = MBAR*L/S, PA*M3/S, SCCM, TORR*L/SSR*CONF:PROOF:MBAR*L/S 1.5E-5*CONF:PROOF:MBAR*L/S?

OK
1.50E-5

Interface Description

jins85e1 2.fm

Commandword1*CONFig(1406)

Commandword2

Commandword3

Interface Description

Parameter:RECorder:LINK1_2<para>:LINK3_4<para>:SCALE1_2<para>:SCALE3_4<para>:upperEXP1_2

Statement

Read/
Set

read/write proof leak–analog output 1:–

para = OFF, P1, MANT, EXP, LR_LIN,
LR_LOG, CUR_LIN, CUR_LOG

S
R

analog output 2:–

para = OFF, P1, MANT, EXP, LR_LIN,
LR_LOG, CUR_LIN, CUR_LOG

S
Rascent for logarithmic analog output 1..2:–

para = 0.5V/DEC, 1V/DEC, 2V/DEC,
2.5V/DEC, 3V/DEC, 5V/DEC, 10V/DEC

S
R

ascent for logarithmic analog output 3..4:–

para = 0.5V/DEC, 1V/DEC, 2V/DEC,
2.5V/DEC, 3V/DEC, 5V/DEC, 10V/DEC

ExampleResponse

OK
EXP*CONF:REC:LINK3_4 MANT*CONF:REC:LINK3_4?

OK
MANT

*CONF:REC:SCALE1_2 1V/DEC*CONF:REC:SCALE1_2?

OK
1V/DECSR*CONF:REC:SCALE3_4 2V/DEC*CONF:REC:SCALE3_4?

OK
2V/DEC-1 .. -5 = 10 -1 mbarl/s .. 10 -5 mbarl/s
respectively 10 -7 A .. 10 -11 A

SR*CONF:REC:EXP1_2 -4*CONF:REC:EXP1_2?

OK-4

max. value for analog output 3..4–

-1 .. -5 = 10 -1 mbarl/s .. 10 -5 mbarl/s
respectively 10 -7 A .. 10 -11 A

SR*CONF:REC:EXP3_4 -1*CONF:REC:EXP3_4?

OK-1

read/write upper pressure limit in mbar
(This value triggers Warning44, see Manual.)–*CONF:PRESSH 370*CONF:PRESSH?

OK
370*CONF:PRESSL 180*CONF:PRESSL?

OK
180

max. value for analog output 1..2
<value>

RS232 ASCII Interface Protocol*CONF:REC:LINK1_2 EXP*CONF:REC:LINK1_2?

:upperEXP3_4<value>:PRESSHigh<value>:PRESSLowS
R
read/write lower pressure limit in mbar
(This value triggers Warning43, see Manual.)<value>

–
S
R

11

12
Commandword1

Commandword2

Commandword3

Parameter

RS232 ASCII Interface Protocol

Statement

Read/
Set

setting for standby delay:(after this time of inactivity, T-Guard entersStandby Mode.)–<value>00:30=30 s; 01:00=1 min; 02:00=2 min;
05:00=5 min; 10:00=10 min;
30:00=39 min; 60:00=1 h; off

S
S
R

<b>

automatic setting of times(Changing the trigger re-enables automatictime setting.)–

b: enable = 1; disable = 0

SR

automatic purge in accumulation mode–b: enable = 1; disable = 0

SR

total measurement time
(When set manually, this disables automatictime setting,)–

value = 0 .. 300 sec

SR

purge time in accumulation mode–

value = 1.. 50 sec

SR

waiting time before automatic purge inaccumulation mode–

value = 0 .. 300 sec

S
R:STANDBYDel*CONFig

:TIME

:AUTo

:AUToPurge<b>:MEASure<value>:PURGE<value>:WaitPurge<value>jins85e1 2.fm

(1406)

ExampleResponse*CONF:STANDBYD OFF*CONF:STANDBYD 01:00*CONF:STANDBYD?

OK
OK
01:00

*CONF:TIME:AUT 1*CONF:TIME:AUT?

OK
ENABLED*CONF:TIME:AUTP 1*CONF:TIME:AUTP?

OK
ENABLED*CONF:TIME:MEAS 23.3
*CONF:TIME:MEAS?

OK
23.3

*CONF:TIME:PURGE 1*CONF:TIME:PURGE?

OK
1.0*CONF:TIME:WP 1*CONF:TIME:WP?

OK
1.0

Interface Description

jins85e1 2.fm

Commandword1*CONFig(1406)

Commandword2

Commandword3

Interface Description

Parameter:TLRateStatement

Read/
Set
S
R

*CONF:TLR 3.7E-4*CONF:TLR?

OK
3.70E-4*CONF:TLR:MBAR*L/S 3.5E-4*CONF:TLR:MBAR*L/S?

OK
3.50E-4*CONF:TRIG1:MBAR*L/S 5.5E-5*CONF:TRIG1:MBAR*L/S?

OK
5.50E-5<value>read / write test leak rate in mbar*l/s

SR:PA*M3/S<value>read / write test leak rate in Pa*m3/s

R/S

:SCCM

<value>read / write test leak rate in sccm

R/S

:TORR*L/S<value>read / write test leak rate in Torr*l/s

R/S

read / write trigger 1 in current unit
(Changing the trigger re-enables automatictime setting, if it was disabled.)–:MBAR*L/S<value>read / write trigger 1 in mbar*l/s

SR:PA*M3/S<value>read / write trigger 1 in Pa*m3/s

R/S

:SCCM

<value>read / write trigger 1 in sccm

R/S

:TORR*L/S<value>read / write trigger 1 in Torr*l/s

R/S

enable/disable trigger 2 with „ON“ or „OFF“S
R

read / write trigger 2 in current unit–

:TRIG2ON<b>:TRIGger2

Response

read / write test leak rate in current unit
(Test leak rate is used for calibration):MBAR*L/S:TRIGger1

Example

RS232 ASCII Interface Protocol:MBAR*L/S<value>read / write trigger 2 in mbar*l/s

SR:PA*M3/S<value>read / write trigger 2 in Pa*m3/s

R/S

:SCCM

<value>read / write trigger 2 in sccm

R/S

:TORR*L/S<value>read / write trigger 2 in Torr*l/s

R/S*CONF:TRIG2ON ON*CONF:TRIG2ON?

*CONF:TRIG2:MBAR*L/S 5.5E-5*CONF:TRIG2:MBAR*L/S?

OK
ON

OK
5.50E-513

14Commandword1
RS232 ASCII Interface Protocol*CONFig

Command
word2
:UNIT

Commandword3

Parameter:FlowUnit<unit>:LR<unit>:Pressure<unit>:TLUnit<unit>:VolUnitStatement

Read/
Set

unit of the carrier gas flow–

unit = sccm or l/s

SR

leak rate unit–

unit = SCCM; MBAR*L/S; PA*M3/S;
ATM*CC/S; TORR*L/SSRpressure unit–

unit = MBAR; PA; ATM; TORR

S
R

unit of the external test leak–

ExampleResponse*CONF:UNIT:FU sccm
*CONF:UNIT:FU?

OK
sccm

*CONF:UNIT:LR TORR*L/S*CONF:UNIT:LR?

OK
Torr*l/s*CONF:UNIT:P MBAR*CONF:INIT:P?

OK
mbar

*CONF:UNIT:VU CCM*CONF:UNIT:VU?

OK
CCM

unit = SCCM; MBAR*L/S; PA*M3/S;
ATM*CC/S; TORR*L/S
unit of the free accumulation volume–

unit = LITER; CUBICIN; CUBICFT; CCM

S
R

*END

interrupt or stop measurement and switch to
READY (same as *STOP)S*GROSS

switch to gross mode (onlywhen in CONTMODE)–b = on or off

S
R*GROSS ON*GROSS?

OK
ON

value = dd.mm.yyyy

R/S*HOUR:DATE?

03.02.2009:DEVICE

total operation time of T-GuardR*HOUR:DEVICE?

2039.1h:SINCE

time after switch on (12:23; hh:mm)

R*HOUR:SINCE?

00:40 hh:mm:TIME

read/write time (real clock time)–<unit>

<b>
*HOUR

:DATE

read / write date<value>jins85e1 2.fm

(1406)

Interface Description

jins85e1 2.fm

Commandword1(1406)

Commandword2

Commandword3

Interface Description

Parameter*IDN

Statement

Read
Set

Response

identification of the unit–

:DEVicename of the unit

R

*IDN:DEV?

T-Guard:VERsion

Software version

R*IDN:VER?

1.30.00:SERialserial number of the unit

R

*IDN:SER?

<11 digits>

serial number of the WISE Technology

R*IDN:WS?

<11 digits>

Purge the measurement line with valves in GROSS
configuration, may stop with Warning 45.

--:IMPulse

Purge for the adjusted timeS

*PURGE:IMP

OK:START

Start Purge

S*PURGE:START

OK

:STOP

Stop Purge

S*PURGE:STOPOK

TM Sensor:WiseSerial*PURGE*MEASure–:Pressure–:FOREline::FILTER:TEMPeratur:Electronic*READ
RS232 ASCII Interface Protocol<unit>*STANDBY:STOP*START

Examplepre-vacuum pressure (in actual unit)

R*MEAS:P:FORE?

268

filtered sensor current

R*MEAS:FILTER?

2.16E-10 A

temperature of the electronics inside the unit
(in °C)R*MEAS:TEMP:E

41.5

read leak rate in set unit
(if there is no valid value the result is 1.0, without
unit)

R

*READ?

2.50E-4 mbar*l/s

unit = sccm; mbar*l/s; Pa*m3/s; atm*cc/s; Torr*l/s(if there is no valid value the result is 1.0, without
unit. This is the case in Continuous Mode and after acancelled measurement.)

R
R*READ mbar*l/s?
*READ Pa*m3/s?

2.50E-4 mbar*l/s
2.50E-5 Pa*m3/s

valves V1, V2 and V3 are closed; sensor operates at
low pressure

S*STANDBY

OK

Stops Standby. Puts back valves in previous
position.

S*STANDBY:STOP

OK

start measurement (and wake up from standby ifnecessary)

S*START

OK

15

16

Commandword1

Commandword2

Command Parameter
word3*STATusStatement

RS232 ASCII Interface Protocol

read status of the unit
deprecated! Use STAT:MEAS instead!

Read /
Set

ExampleResponse*STAT:BGND?

OK*STAT:CALH 2

02.03.09 10:42
ACCUMULATION.0.31*STAT:CALM?

NO CALNO ERROR/WARNINGR

INIT, START, MEAS, CAL, ERROR, ADJUST,STANDBY, OVERRANGE:BackGND

report helium background quality
Possible values = OK, Moderate, Bad

R:CALHist

calibration history–no = 1 .. 12

Rmode of the calibration

R

<no>

R

PROOF

R

EXTERNALR<no>:CALMode

NO CAL:ERRorread error

R*STAT:ERR?

*STAT:ERRH 1? 20.09.09 09:20:29 W81:ERRorHist<no>read error history (no =1 .. 12)

R:TRIGger<no>read settings of trigger (no = 1 .. 2)
Possible values = ON, OFF, GROSSLEAK1,GROSSLEAK2, NO VALUE, DISABLEDGROSSLEAK1 means leak rate is >5x highest Trigger,
GROSSLEAK2 means leak rate is >100x highest Trig.

R:VALveread settings of the valves, 0 = closed; 1 = open
010=STANDBY, 110=READY,
011=FINE, 101=GROSS, 100=CONTAMINATED

R

:MEAS

actual status of the measurement(status not listed here is displayed as a number, seesection 4.2.1, command 44 „Get Status“.)R<value>*STOP

jins85e1 2.fm

value = INIT, STARTSTANDBY, STANDBY,CONTAMIN, STARTACC, GROSS1ACC, FINE1,
WAITACC, FINE2, GROSS2ACC, READY, STARTCAR,GROSSCAR, FINECAR, GROSSLEAK, SETTLE,
MEASURE, REFCAR, WAITPURGE, PURGE,
STOPCONT, FINECONT, GROSSCONT, OFFSET
stop measurement(1406)*STAT:VAL?

VALVE 110*STAT:MEAS?

READY

S

Interface Description

2.3.1

Error Messages

Interface Description

The following error messages may be received from T-Guard:

2.4

Error
numberError message

Statement

OK

ERR_OK

command executed

E01

ERR_CMD_START

wrong command start (no " * ")E02

ERR_ERR_BLANK

illegal blank

E03

ERR_CMD_WORD_1

command word 1 illegal

E04

ERR_CMD_WORD_2

command word 2 illegal

E05

ERR_CMD_WORD_3

command word 3 illegal

E06

ERR_DISABLED

control via RS232 not enabled

E07

ERR_ARGUMENT

argument wrong

E08

ERR_NO_DATA

no data available

E09

ERR_OVERFLOW

buffer overflow

E10

ERR_INVALID

command currently invalid

E11

ERR_NO_QUERYno query allowed

E12

ERR_QUERY

only query allowed

E13

ERR_NOT_IMPLEMENTED

not yet implemented

Examples of programming
Every command must be terminated by the two bytes
Carriage Return (CR, ASCII 13, \r) and Line Feed (LF, ASCII 10, \n), in this order.
The response you receive from T-Guard will also be terminated like this.

Response received
from T-Guard

Content*STAT:MEAS?

READY

status of the unit

*STATUS:MEAS?

READY

status of the unit

*READ?

1.00E-2 mbar*l/s

leak rate in chosen unit ofmeasurement*READ:SCCM?

0.6 sccm

leak rate in different
unit of measurement*START*CONF:AV?
*CONF:AV 5

OK
2
OK

start measurement
request value of volume
set volume

jins85e1 2.fm

(1406)

Command sent toT-Guard

RS232 ASCII Interface Protocol

17

Accumulation Mode

2.4.1.1

Performing a calibration
Every command must be terminated by the two bytes
Carriage Return (CR, ASCII 13, \r) and Line Feed (LF, ASCII 10, \n), in this order.
The response you receive from T-Guard will also be terminated like this.

Command sent toT-GuardResponse received
from HLD5000*STAT:MEAS?
READY*CONF:MODE
OK
ACCUMULATE*CAL:STAT?
NO CAL RUNNING*CONF:TRIG2ON OFF
OK*CONF:TIME:AUT ON
OK*CONF:UNIT:VU LITEROK*CONF:AV 10
OK*CONF:TRIG1:MBAR*L/S
OK
1E-3*CONF:TLR:MBAR*L/S 8E-4 OKInterface Description

2.4.1

Content
status of the unit
switch to accumulation modeno calibration running
turn off trigger 2
turn on automatic times
set volume unit to liters
set free volume to 10
set trigger 1 to 1E-3 mbar*l/s
set test leak rate to 8E-4 mbar*l/s*CAL:START*CAL:STAT?
*CAL:STAT?

OK
start calibration measurement
CAL RUNNING, WAIT
calibration running
CAL FINISHED, CONFIRM calibration finished*STAT:ERR?
*CAL:FAC:OLD?
*CAL:FAC:NEW?
*CAL:QUITNO ERROR/WARNING
1.017
1.098
OK

jins85e1 2.fm

(1406)

no errors
read old calibration factor
read new calibration factor
confirm calibration

18

RS232 ASCII Interface Protocol

2.4.1.2

Measurement Cycle

Command sent toT-Guard*STAT?
*STAT:MEAS?
*CONF:MODE
ACCUMULATE*CONF:TRIG2ON OFF*CONF:TIME:AUT ON*CONF:UNIT:VU LITER*CONF:AV 10*CONF:TRIG1:MBAR*L/S
5E-4*START*STAT:MEAS?
*STAT:MEAS?
*STAT:MEAS?
*READ?
*STAT:MEAS?
*STAT:MEAS?
*STAT:MEAS?
*STAT:ERR?
*READ?

Response received
from HLD5000

Content

MEAS
READY
OK

status of the unit
last measurement finishedswitch to accumulation mode

OK
OK
OK
OK
OK

turn off trigger 2
turn on automatic times
set volume unit to liters
set free volume to 10
set trigger 1 to 5E-4 mbar*l/s

OKstart measurement
GROSS1ACC
first gross measurement
FINE1
first fine measurement
WAITACC
accumulating
1.0
leak rate not valid
GROSS2ACC
second gross measurement
FINE2
second fine measurement
READY
measurement finished
NO ERROR/WARNING no errors
2.30E-4
leak rate

jins85e1 2.fm

(1406)

Interface Description

Every command must be terminated by the two bytes
Carriage Return (CR, ASCII 13, \r) and Line Feed (LF, ASCII 10, \n), in this order.
The response you receive from T-Guard will also be terminated like this.

RS232 ASCII Interface Protocol

19

Carrier Gas Mode

2.4.2.1

Performing a calibration
Every command must be terminated by the two bytes
Carriage Return (CR, ASCII 13, \r) and Line Feed (LF, ASCII 10, \n), in this order.
The response you receive from T-Guard will also be terminated like this.
Command sent toT-Guard*STAT:MEAS?
*CONF:MODE CARGAS*CAL:STAT?
*CONF:TRIG2ON OFF*CONF:TIME:AUT ON*CONF:UNIT:FU SCCM
*CONF:CF 30000*CONF:TRIG1:MBAR*L/S
1E-3*CONF:TIME:MEAS?

Response received
from HLD5000

Content

READY
OK
NO CAL RUNNING
OK
OK
OK
OK
OK

status of the unit
switch to carrier gas modeno calibration running
turn off trigger 2
turn on automatic times
set flow unit to sccm
set carrier gas flow to 30000
set trigger 1 to 1E-3 mbar*l/s

5.0

read measurement time

*CONF:TLR:MBAR*L/S 8E-4 OKInterface Description

2.4.2

set test leak rate to 8E-4 mbar*l/s*CAL:START*CAL:STAT?
*CAL:STAT?

OK
start calibration measurement
CAL RUNNING, WAIT
calibration running
CAL FINISHED, CONFIRM calibration finished*STAT:ERR?
*CAL:FAC:OLD?
*CAL:FAC:NEW?
*CAL:QUITNO ERROR/WARNING
1.017
1.098
OK

jins85e1 2.fm

(1406)

no errors
read old calibration factor
read new calibration factor
confirm calibration

20

RS232 ASCII Interface Protocol

2.4.2.2

Measurement Cycle

Command sent toT-GuardResponse received
from HLD5000

Content*STAT?
*STAT:MEAS?
*CONF:MODE CARGAS*CONF:TRIG2ON OFF*CONF:TIME:AUT ON*CONF:UNIT:FU SCCM
*CONF:CF 30000*CONF:TRIG1:MBAR*L/S
1E-3*CONF:TIME:MEAS?

MEAS
READY
OK
OK
OK
OK
OK
OK

status of the unit
last measurement finishedswitch to carrier gas modeturn off trigger 2
turn on automatic times
set flow unit to sccm
set carrier gas flow to 30000
set trigger 1 to 1E-3 mbar*l/s

5.0

read measurement time*START*STAT:MEAS?
*STAT:ERR?
*READ?

OK
start measurement
READY
measurement finished
NO ERROR/WARNING no errors
2.30E-4
leak rate

jins85e1 2.fm

(1406)

Interface Description

Every command must be terminated by the two bytes
Carriage Return (CR, ASCII 13, \r) and Line Feed (LF, ASCII 10, \n), in this order.
The response you receive from T-Guard will also be terminated like this.

RS232 ASCII Interface Protocol

21

Using Hyperterm for the ASCII Protocol

3.1

Communication Parameters
Data Format
Bits per second
Data bits
ParityStop bits
Flow control

3.2

19200 or 9600
8
None
1
None

Interface Description

3

Settings for Hyperterm
This section describes which settings one should choose to talk to T-Guard™ Leak
Detection Sensor via Hyperterm. You can start Hyperterm in Windows by clicking:Start  Run …
And typing:
hypertrm(1406)and hitting the Enter key.

jins85e1 3.fm

Fig. 3-2 Choose any name for the connection

22

Using Hyperterm for the ASCII Protocol

Interface Description

Fig. 3-4 Choose these settings for the connection.

jins85e1 3.fm

(1406)

Fig. 3-3 Choose the serial port to which T-Guard™ Leak Detection Sensor isconnected via the RS232 cable.

Using Hyperterm for the ASCII Protocol

23

Interface Description(1406)

Fig. 3-5 You do not have change anything in this window. Click on “ASCII Setup”.

Fig. 3-6 This is a convenient ASCII setup.
Now you can type:*stat?
After hitting the Enter-Key you will get an answer.

jins85e1 3.fm

Also see section 2.4: Examples.

24

Using Hyperterm for the ASCII Protocol

Interface Description

4

RS232 Binary Interface Protocol
The binary protocol is machine readable, secure and fast. INFICON also uses thisfor analysis in its quality control and trouble shooting during manufacturing andservice.

4.1

Communication Parameters
Data Format
baudrate
float
unsigned long int [ul int]:
unsigned short int [usint]:
signed short int
unsigned char [uchar]:unsigned char [uchar]:stop bit

4.2

19,2004 Bytes, IEEE754 (± 10±38), 3 Byte Mantissa,
1 Byte Exponent/Sign
4 Bytes, integer without algebraic sign MSB …
LSB (0 … 4294967295)
2 Bytes, integer without algebraic sign MSB …
LSB (0 … 65535)
2 Bytes, integer with algebraic sign MSB …
LSB (-32768 … 32767)
1 Byte, integer without algebraic sign (0 …
255)
1 Byte, character ASCII Code (0 … 255)
1 stop bit

Binary Command Format
When using the binary protocol the command sent to T-Guard™ Leak Detection
Sensor always starts with STX (0x05).
It is followed by a byte which indicates the length of the telegram (including start byte
and checksum). The next byte is the command number. The command byte may befollowed by additional information (parameter and/or data). Please refer to"Command List Binary Mode" (section 4.2.1) for detailed information about command
number, parameter and data format. Every telegram ends with a checksum. The
checksum is the sum of all bytes, excluding the checksum byte, modulo 256(decimal).

(1406)

T-Guard™ Leak Detection Sensor replies to every valid command with an
acknowledgement. All answers start with the length byte followed by the command
number, additional data (optional) and the checksum.
In case of an error, T-Guard™ Leak Detection Sensor answers with an error byte
instead of the command number (refer to "Error Messages Binary Mode" in section
4.3).
The time out to receive data between 2 signs is 1000 ms.

jins85e1 4.fm

Tip: When programming in LabViewTM, you must turn off the usage of termination
characters in the VISA serial module. Otherwise a value of 10 will not show up.

RS232 Binary Interface Protocol

25

4.2.1

Command List Binary Mode
Description
Fore vacuum
pressure58

Get Device ID
Get Version

Device type
Software version

10

Get Valves

Valves status

16
38

Get Contrast
Get Min Since Start

Display contrast
Uptime44

Get Status

Gets status

52
53
54

START
STOP
Get Cal State

Starts measurement
Stops measurement
Gets calibration stateParameter
Byte 0: unit
0=mbar
1=Pa
2=atm
3=Torr

Data
Pressure [float]

40=T-Guard
Byte 0=main version
Byte 1=sub version
Unsigned int.
V1 0x0100(normally closed)
V2 0x0200(normally open)
V3 0x0400(normally open)
which means:
0=READY
3=GROSS
4=CONTAMINATION
5=FINE
6=STANDBY
Byte 0
Bytes 0..3: time inminutes [ulint]
1=StartStandby
2=Standby
3=Contaminated
4=RunUp
5=StartAccumulation
8=NoPurge
10=AccGross1
20=AccFine1
25=AccWait
30=AccFine2
32=AccGross2
36=WaitPurge
38=Purge
40=Ready
50=CGStart
55=CGGross
65=CGFine
70=CGRef
150=CMStart
155=CMGross
160=CMFine
165=CMStop(1406)Name
Get vacuum
pressure

0=No Cal Running
1=Cal Running
jins85e1 4.fm

No.
2Interface Description

Tip: Often used commands are bold

26

RS232 Binary Interface Protocol

Interface Description

Name
Start Cal56

Get Trigger

57

Set Trigger

58

Get Mode

Description
Parameter
Performs calibration,no need to confirm
afterwards. Pleasecheck new calibration
factor separately.
Trigger value
Byte 0:1=Trigger 1
2=Trigger 2
Byte 1:
1=sccm3=mbar l/s
4=Pa m³/s
5=atm cc/s
6=Torr l/s
Trigger value
Byte 0:1=Trigger 1
2=Trigger 2
Byte 1:
1=sccm3=mbar l/s
4=Pa m³/s
5=atm cc/s
6=Torr l/s
Bytes 2..5: [float]
Operation mode

59

Set Mode

Operation mode62

Get Error CodeRead which error
occurred63

Clear Error

64

GetMinSinceStart

Acknowledge andclear errors
Time since power on

65
66

GetWarn_of_W64
Get Test Leak

Read warning nr
Test leak value forcalibration

Data

Leak Rate [float]

Bit 0..6 :0=accumulation
1=carrier gas
3=cont. modeBit 7 :
0=automatic times

Byte 0 :0=accumulation
1=carrier gas
3=cont. modeerror code number[uchar], see thecorresponding chapter"Errors and Warnings"
in the TechnicalHandbook.

Byte 0:0=test leak
1=proof leak
Byte 1:3=mbar l/s
4=Pa m³/s
6=Torr l/s

Bytes 0..3:time in minutes [ulint]
current warning
Leak Rate [float]

jins85e1 4.fm

(1406)

No.
55

RS232 Binary Interface Protocol

27

68

Get Run Hours Basic Uptime Basic70

Get Serial Number

Serial number ofdevice72

Get Mode

Operation mode74

Get Press Limit Low/ Get pressure limits
High

75

Set Press Limit Low/ Set pressure limits
High

78
79
90

Get Cal Fac
Get calibration factor
Set Cal Fac
Set calibration factor Factor [float]
Get Program Version Software version

97

99

Get Filtered
Ion Current
Get Unfiltered Ion
Current
Get Leak Rate

110

GetErrorHistory

28

Parameter
Byte 0:0=test leak
1=proof leak
Byte 1:3=mbar l/s
4=Pa m³/s
6=Torr l/s
Bytes 4..7:[float]Byte 0:0=Low
1=HighByte 1:0=mbar
1=Pa
2=atm
3=PSI
4=TorrByte 0:0=Low
1=HighByte 1:0=mbar
1=Pa
2=atm
3=PSI
4=TorrByte 2..5: [float]

Data

Bytes 0..3:
Time in 0.1hs[ulint]Bytes 0..10:
Number (ASCII;
0x20..0x7F)
Byte 0:1=Run up
2=Measure
6=Standby
Pressure Limit [float]

Factor [float]
Byte 0:Main Version
Byte 1:
Sub Version
Byte 2:
Debug Version
Current in Amps [float]
Current in Amps [float]

Leak rate

RS232 Binary Interface Protocol

Byte 0:3=mbar l/s
4=Pa m³/s
6=Torr l/s
Byte 0:
Nr. 1...12

Leak Rate [float]
is 1 if no value available

Date, time, error
number

jins85e1 4.fm

98

Description
Test leak value forcalibration

Interface Description

Name
Set Test Leak

(1406)

No.
67

Interface Description(1406)
jins85e1 4.fm

No.
116

Name
Get Times

Description
Measurement times

117

Set Times

Measurement times

118

Proof

Start and confirm
Proof

121

Set Date Time

Sets date or time122

Get Control Location Gets actual control
location123

Set Control Location

Sets actual control
location134

Set Lang

Display language

135

Get Lang

Display language

136

Get Date

Date

137

Get Time

Time

Parameter
Byte 0:0=TGross
1=TFine2=TMeas3=TPurge
4=WaitPurge
Byte 0:2=TMeas3=TPurge
4=WaitPurge
Bytes 1..4:
Seconds [float]
Byte 0:1=Start Proof
2=Confirm Proof
Byte 0:0=DATE
1=TIME

Data
Time in seconds [float]

Bytes 0..2:
Day, month, two-digityear for DATE,
Hours, minutes,
seconds for TIME
1=LOCAL
2=RS232
3=LOCAL/RS232
4=PLC
5=LOCAL/PLC
7=ALL

Byte 0:1=LOCAL
2=RS232
3=LOCAL/RS232
4=PLC
5=LOCAL/PLC
7=ALL(RS232 cannot
switch off itself)
Byte 0:0=english
1=german
2=french
3=italian
4=portuguese
5=spanish
6=katakana
Byte 0:0=english
1=german
2=french
3=italian
4=portuguese
5=spanish
6=katakana
Bytes 0..2:
Day, month, year
Bytes 0..2:
Hours, minutes,
seconds

RS232 Binary Interface Protocol

29

GetCalEnable

145

SetCalEnable

152

Get Stat

Gets status154

Get Trigger2 ON

155

Set Trigger2 ON

Read if Trigger 2 isenabledEnable Trigger 2

156

CopyParaSet

157

GetTestImonOn

160

Get Acc Vol

161

Set Acc Vol

162

Get Car Flow163

Set Car Flow174

Get Gross

175

Set Gross

Byte0: 0 = disable
1 = enable
1=Trigger Status

0=off
1=on
Copies parameter set Byte0: 68=default
from Byte0 to Byte1
0=current set
1..3=internal
11..35=I·Stick
Byte1: 0=current set
1..3=internal
11..35=I·Stick
Test min current on/ Byte0 0=off, 1=on
off (for N2
measurement)
Get accumulation
Byte 0:volume0=liters
1=cu feet
2=cu inches
3=ccm
Set accumulation
Byte 0:volume0=liters
1=cu feet
2=cu inches
3=ccm
Bytes 1..4:
Value [float]
Get total carrier gas Byte 0:flow
0=sccm1=liters/s
Set total carrier gas Byte 0:flow
0=sccm1=liters/s
Bytes 1..4:
Value [float]
Read if Gross is active(in Cont. Mode only)
Set GROSS mode
Byte 0:(in Cont. Mode only) 0=off
1=on

RS232 Binary Interface Protocol

Data
0=OK
1=moderate
2=bad
0 = disabled
1 = enabled

Bit0 (1)=Trigger1 has
been exceeded
Bit1 (2)=Trigger2 hasbeen exceeded
Bit3 (4)= Leakrate
below limit
Bit4 (16)=Leak Rate is>5x highest Trigger
Bit5 (32)=Leak Rate is>100x highest Trigger
0=off
1=on

Interface Description

144

30

Description
Parameter
Background Info from
Display Unit

Value [float]

Value [float](1406)Name
Get Background

0=off
1=on
jins85e1 4.fm

No.
140

Name
Get Standby Delay

Description
Read Standby delay
time

Parameter

177

Set Standby Delay

Set Standby delay
time

Byte 0:0=10 s1=30 s2=1 min
3=2 min
4=5 min
5=10 min
6=30 min
7=60 min
8=off

187

Get IO Ports Out

IO Port (output)188

Get IO Ports In

IO Port (input)

189

Start Standby
or Purge

190

Get Times Auto191

Set Times Auto194

Get Value

195

Set Value

196

GetPLCinout

jins85e1 4.fm

(1406)

Interface Description

No.
176

Data
0=10 s1=30 s2=1 min
3=2 min
4=5 min
5=10 min
6=30 min
7=60 min8=off

Byte0, Bit0 Pin 8
Byte0, Bit1 Pin 9
Byte0, Bit2 Pin 10
Byte0, Bit3 Pin 11
Byte0, Bit4 Pin 12
Byte0, Bit5 Pin 13
Byte0, Bit6 Pin 14
Byte0, Bit7 Pin 15
Byte0, Bit0=Pin1
Byte0, Bit1=Pin2
Byte0, Bit2=Pin3
Byte0, Bit3=Pin4
Byte0, Bit4=Pin5
Byte0, Bit5=Pin6
Byte0:
1= Start Standby
2= Stop Standby
3= Start Purge
4= Stop Purge
5= Start Purge Puls
Byte 0:0=Auto Times
1=Auto Purge
Byte 0:0=Auto Times
1=Auto Purge
Byte 1:0=off
1=on
Byte 0:0=He Percentage
Byte 0:0=He Percentage
Byte 1:
10..100 [uchar]
Byte 0:0 = PLCin

0=off
1=on

Value [uchar]

RS232 Binary Interface Protocol

31

Parameter
Data
Byte 1:
PLC Pin Nr (1…6)
Byte 2:
PLC function
PLCin Functions:
0 = not used
1 = start
2 = stop
3 = start/stop
4 = cal
5 = proof
6 = clear
7 = ready
8 = standby
9 = gross
10 = purge
Add 0x80 for invertedfunction.
Byte 0:
1 = PLCout
Byte 1:
PLC Pin Nr (8 …15)
Byte 2:
PLC function
PLCout Functions:0 = open
1 = close
2 = Trigger1
3 = Trigger2
4 = ready
5 = cycle active
6 = standby
7 = error
8 = warning
9 = err/warn
10 = cal_active
11 = rec strobe
12 = measure
13 = gross
14 = gross leak
15 = contaminated
16 = background
Add 0x80 for invertedfunction.

Interface Description

Description(1406)Name
SetPLCinout

jins85e1 4.fm

No.
197

32

RS232 Binary Interface Protocol

Error Messages Binary Mode
No.
231
232

Name
RS232disabled
RS232Invalid

234
235
240
243
244
252
253
254

RS232PW2disable
RS232CmdFailed
RS232Cmd
RS232Len
RS232Para
RS232Start
RS232Checksum
RS232Timeout

255

RS232Buffer

Explanation
Control location is not RS232
Command currently not allowed(i.e. CAL when running up)
Password disabled (for INFICON service only)
Execution of command failed
Command does not exist
Number or length of parameter wrong
Parameter not in valid range
First byte was not 0x05
Transmitted and calculated checksum differ
Time out (Command transmission did not finish within
500 ms)Overflow in command receive buffer

jins85e1 4.fm

(1406)

Interface Description

4.3

RS232 Binary Interface Protocol

33

Profibus-DP Protocol

5.1

PrefaceIn order to use Profibus-DP with T-Guard, you must have ordered a T-Guard in theProfibus version (Cat. No. 540-002). It is not possible to add the Profibus option toCat. No. 540-001.
When setting up the Profibus communication you need to use the GSD file provided
by INFICON.

5.2

Process Data Mapping for Cyclic Data Transfer

5.2.1

Write Process Data (PLC-> Leak Detector)

Interface Description

5This data is sent periodically from the programmable logic controller to the leakdetector:

2
3
4
5
6
7

CLEAR
not used
CAL
PROOF
STOP
START

0

0

1

1
2
3
4
5
6
7

Similar to RS232
ASCII cmd.

Transition 0->1:Clears errors andwarnings

CLEAR

*CLS

CAL
PROOF
STOP
START

*CAL:START

Transition 0->1: Start calibration
Transition 0->1: Start proof
Transition 0->1: Stop
Transition 0->1: Start
Transition 0->1 = Stop purging the
PURGE_STOP measurement line
Transition 0->1 = Start purging the
PURGE_START measurement line
not used
not usedTransition 0->1: Switch to
stand-by
STANDBY
Switch between GROSS andGROSS/FINE FINE (in Cont. Mode only)
Transition 0->1: Wake up leak
READY
detector from stand-by mode
not used

Notice

5.2.2

*STOP
*START*PURGE:STOP

PURGE*PURGE:START

STANDBY*STANDBYGROSS/FINE*GROSS ONREADY*STANDBY:STOPThe Profibus-DP protocol is subject to change.
If you are using this protocol, please ask INFICON for an update.

Read Process Data (Leak Detector -> PLC)
This data is sent periodically from the leak detector to the programmable logic
controller:

34

Profibus-DP Protocol(1406)

Name
not used
not used

Similar to PLC
Input

jins85e1 4.fm

Byte Bit
0
1

MeaningInterface Description

Similar to PLC
OutputERROR
W ARNING

Similar to RS232
ASCII cmd.

Name
Error
W arning

Meaning
1=Yes, 0=No
1=Yes, 0=No

CAL Status

0=NO CAL RUNNING
1=T<20 MIN, CONFIRM
2=CAL RUNNING, W AIT
3=CAL FINISHED
4=CAL FINISHED, CONFIRM
5=PROOF RUNNING, W AIT
6=PROOF FINISHED
7=PROOF FINISHED, CONFIRM

Purge

0=inactive
1=active

Background

0 = good
1 = medium
2 = badState

Device state(see "44 Get Status" in thebinary protocol)

READY,CYCLE_ACTIVE,
STANDBY,
MEASURE,GROSS*STATUS:MEAS?

Leak rate(mbar*l/s)

Actual leak rate in mbar*l/s

Recorder output(LR_LIN,
LR_LOG...)*READ?

Pressure

Pressure in mbar

Recorder output(P1)*MEAS:P:FORE?

Sensor current

Sensor current in A

Recorder output(CUR_LIN,
CUR_LOG)*MEAS:FILTER?

14

Error / warning
code

Error / warning code

*STATUS:ERROR?

15

MODE

0 = ACCUMULATION
1 = CARRIER GAS
3 = CONT. MODE

*CONF:MODE?

Byte Bit
0
1

2

3

0

*CAL:STATUS?

456

jins85e1 4.fm

(1406)

1

2
3
4
5
6
7
8
9
10
11
12
13

7
0
1
2
3
4
5
6
7

Profibus-DP Protocol

35

5.3

Acyclic Data Transfer
If you want to use acyclic data transfer with Profibus, you must use a Profibus
master which supports DPV1 data transfers.
A Profibus master which supports DPV0 only, can only use cyclic datatransfer.
The following SIMATIC S7 masters support DPV1 data transfers:•

S7-300 CPU: All firmware versions as from V2 (CPU 318-2DP as from firmware
version V3)•

S7-400 CPU: All firmware versions as from V3•

S7-400 CP (CP 443-5 extended): All as from order number 6ES7 443-rDX030XE0

Interface Description

Important Note:

For further information please contact the SIEMENS support or search theinternet for "simatic dpv1 master".

5.3.1

Addressing Rules for Acyclic AccessFieldbus

jins85e1 4.fm

(1406)

Profibus

Rule
ADI = slot * 255 + index +1
slot = (ADI-1) / 255
index = (ADI-1) MOD 255

36

Profibus-DP Protocol

5.3.2

Application Data Instances
Please refer to section 4.2.1 Command List Binary Mode for further description of thecommands.

ADI Name
2 Pressure
5 Device ID
8 Software Version
16 LCD contrast
36 Cal. Factors
38 Min. since start
44 State
54 Cal. state
58 Mode56 Trigger [mbar*l/s]
62 Error Code66 Test leak leak rate [mbar*l/s]
67 Proof leak leak rate [mbar*l/s]
68 Operation hours [0.1h]
70 Serial No.
72 State
74 Pressure limit Low/High [mbar]
78 Calibration factor
97 Ion current
98 Unfiltered ion current
99 Leak rate [mbar*l/s]
112 Valves
116 Times
122 Control location
134 Language
136 Date
137 Time
154 Trigger 2 enable
160 Accumulation volume [l]162 Carrier gas flow [sccm]
174 Gross mode
176 Standby delay time
187 IO port output
188 IO port input
190 Auto times
191 Auto purge
194 He concentration
201 Control word
202 Status word

Data type
FLOAT
UINT8
UINT16UINT8FLOAT[7]UINT32
UINT8
UINT8
UINT8
FLOAT[2]
UINT8
FLOAT
FLOAT
UINT32
CHAR[11]UINT8FLOAT[2]
FLOAT
FLOAT
FLOAT
FLOAT
UINT16FLOAT[5]
UINT8
UINT8
UINT8[3]UINT8[3]
UINT8
FLOAT
FLOAT
UINT8
UINT8
UINT8
UINT8
UINT8
UINT8
UINT8
UINT16
UINT16

Get Set Min.
X
X
40
X
X
X 0
X
X 0.2
X
X
0
X
X X
X X
1E-6
X
0
X X
5E-6
X X
5E-6
X
X
X
0
X X
50
X X
0,2
X
X
X
X
X X
0
X X
1
X X
0
X
X
X X
0
X X
0,01
X X
60
X X
0
X X
0
X
X
X X
0
X X
0
X X
10
X
X

Profibus
Slot Index
0
1
40
0
4
0
7
99
0
15
5
0
35
0
37
255
0
43
0
53
0
57
15
0
55
90
0
61
15
0
65
15
0
66
0
67
0
69
255
0
71
800
0
73
5
0
77
0
96
0
97
0
98
0
111
0
115
7
0
121
7
0
133
0
135
0
136
1
0
153
10000
0
159
1000000 0
161
1
0
173
8
0
175
0
186
0
187
1
0
189
1
0
190
100
0
193
0
200
0
201
Max.

jins85e1 4.fm

(1406)

Interface Description

The ADI number is equivalent to the command number in the RS232 binary protocol.

Profibus-DP Protocol

37

Hardware Configuration

Interface Description

5.4(1406)

Symboltable:

Important Note:38•

Output at first, inputs at second.

•

One or two words are accessible at once.

•

Output and inputs must have the same memory start address.

Profibus-DP Protocol

jins85e1 4.fm

Sequence of the data words (slots) must be:Assignment of the Profibus Address

Interface Description

5.4.1

The Profibus address has to be assigned with the hardware configuration tool.
After downloading the configuration to the PLC system, the address of the T-Guard™
Profibus Client can be chosen like shown above.

(1406)

5.4.2

Diagnosis with the T-Guard™ Info Menu
The current state of the T-Guard™ Profibus client is to be seen in the menu:„Menu - Info - Internal data (Page 8, Info Fieldbus)“
The „State“ has the value „Process_Active (4)“, if the communication has been
established.

jins85e1 4.fm

The „Device Address“ shows the current Profibus address of the T-Guard™ client.

Profibus-DP Protocol

39

INFICON GmbH, Bonner Strasse 498, D-50968 Cologne, Germany
Phone: +49 (0)221 347-40 Fax: +49 (0)221 347-41429 E-mail: leakdetection@inficon.com
UNITED STATES TAIWAN JAPAN KOREA SINGAPORE GERMANY FRANCE UNITED KINGDOM HONG KONG
Vis it our web si te fo r co nta c t in fo r ma t io n a nd o t her s a l e s of f ices wo r ld wi de. w w w.i nf ico n.co m

Dokument: jins85e1-e (1406)