P R O T O C O L D E S C R I P T I O N S |
|
Type designation |
|
LDS3000 |
|
Product description |
|
Interface Protocols |
|
Catalog no. |
560-310, 560-315 |
from software version MS Module 1.0 |
|
Document no. |
jira54e1-a (1212) |
This document applies to the software version stated on the cover page. If you need a different version, please contact our sales staff.
Reprint, translation and duplication need to be approved in writing by INFICON GmbH.
2
Content
1 Interface Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.1 Serial Interface Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
1.2 Field Bus Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2 ASCII Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.1 Comparison between ASCCIand LD protocol . . . . . . . . . . . . . . . . . . 7
2.2 Communication Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.4 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
2.5 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.6 Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3 LDS1000 Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3.1 Interface Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2 Interface Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.2.1 Main functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.2.2 Status Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3.2.3 Request for Measurement Data . . . . . . . . . . . . . . . . . . . . . . 20 3.2.4 Entry of Instrument Settings . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.2.5 Running of service functions . . . . . . . . . . . . . . . . . . . . . . . . . 23
4 Binary Interface Protocol . . . . . . . . . . . . . . . . . . . . . . . . 24
4.1 Communication Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.2 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 4.3 Error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
5 LD Protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
5.1 Communication Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.2 Command format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.2.1 Telegram structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.3 Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
5.4 Enumerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 5.5 Error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
6 Fieldbus Communication . . . . . . . . . . . . . . . . . . . . . . . 49
6.1 Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.2 Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 6.3 Process Data Mapping for Cyclic Data Transfer . . . . . . . . . . . . . . . . . 49 6.3.1 Write Process Data (PLC-> Leak Detector) . . . . . . . . . . . . . 49 6.3.2 Read Process Data (Leak Detector PLC) . . . . . . . . . . . . . 50
Content 3
6.4 Acyclic Data Transfer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 6.4.1 Addressing Rules for Acyclic Access . . . . . . . . . . . . . . . . . . . 51 6.5 Hardware Configuration for Profibus . . . . . . . . . . . . . . . . . . . . . . . . . . 52 6.5.1 Assignment of the PROFIBUS Address . . . . . . . . . . . . . . . . 52 6.5.2 Diagnosis with the CU1000 Info Menu . . . . . . . . . . . . . . . . . 53 6.5.3 Serial communication via RS232 (common) . . . . . . . . . . . . . 53 6.5.4 ASCII Protocol specific . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 6.5.5 LD Protocol specific . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
4 Content
Content 5
1 Interface Protocols
1.1Serial Interface Protocols
With the IO1000 module you can communicate with the LDS3000 via the following serial interface protocols:
•ASCII Protocol (enabled by default)
•LD Protocol
If you want to replace a LDS1000 or LDS2010 with a LDS3000 you can also use
•Binary Interface Protocol
•LDS1000 Compatibility Protocol
Do not use the last two protocols for new developments. They have limited functional range and may not be supported in future.
The serial interface protocol can be selected via DIP switch at the IO module IO1000 or via control unit CU1000. Please refere to appropriate documentation.
1.2Field Bus Protocols
With the Bus module BM1000 you can communicate with the LDS3000 via the following field bus protocols:
•PROFIBUS-DP Protocol
•Other fieldbus protocols (PROFINET, DeviceNet, EtherNet/IP, MODBUS RTU, MODBUS TCP, CANopen, EtherCAT, CC-Link, ControlNet) may be available on request. Please contact your local INFICON representative.
6 |
Interface Protocols |
2 ASCII Protocol
2.1Comparison between ASCCIand LD protocol
ASCIIand LD protocol have nearly the same functional range, but each of them have some advantages and disadvantages :
ASCII protocol:
Advantages:
•human readable
•easy to use with simple terminal program Disadvantages:
•No checksum, therefor lower data security
•PC/ PLC software must convert numerical values from ASCII string to binary
•Lower efficiency (for example: 8 data bytes for one float value)
LD protocol:
Advantages:
•Leak detector status always transmitted in each slave telegram
•High data security due to CRC checksum
•Binary transmission of numerical values – no conversion needed in PC/ PLC software
•High efficiency (for example: 4 Byte data bytes for one float value) Disadvantages:
•Not human readable
•Not useable with simple terminal program
2.2Communication Parameters
Data format |
|
Baudrate |
19.200, 8 data bits, 1 stop bit, no parity |
2.3Command Format
In ASCII protocol any command starts with « * » (ASCII code 42dec/2Ahex) and is finished with the end sign CR (ASCII code 13dex/0Dhex). 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 the extended command must be used, no other abbreviations are allowed (The short form is here written in capitals but the SW don’t difference upper and lower cases). Command Words have to be separated by a colon. A command can be composed of up to three words. Parameters have to be separated by a comma.
ASCII Protocol |
7 |
Each command is answered with the requested data, „ok“ or „EXX“ (in case of an error). For a list of all error messages 2.6. The transmission can be cancelled and the receive-buffer will be cleared with ESC (ASCII code 27dec/1Bhex), ^C (ASCII code 3dec/03hex) or ^X (ASCII code 24dec/18hex).
Some commands can be used as queries, some can be used to set menu parameter and some can be used for both. A query is marked by a „?“ (ASCII code 63dec/ 3Fhex) after the command; for setting data the command has to be followed by the new value to be set.
Parameter can be Boolean or numerical:
<b> |
Boolean |
0 / 1 or OFF / ON |
<No> |
Numeric representation |
format: integer, real (15.6) or exponential (4.5-7) |
|
Format: [space] [sign] [ddd] [.] [e[sign]ddd] (d:digit) |
|
Notice |
Always use a point as the decimal marker. If a comma is used during |
|
|
numerical data entry, the conversion of the number is cancelled at this |
|
|
point and only the integer part of the number will be used. |
Timing recommendations for the PC/PLC - Program: Sample rate > 100 ms
Timeout between request to and answer from LDS3000: 1500 ms
After sending a command the answer must be waited for before sending a new command. Otherwise the receive buffer may be overwritten.
2.4 |
Commands |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Relates to LD cmd. no. |
Read / Set |
|
|
|
|
|
|
|
*CLS |
|
|
|
Clear Error |
5 |
S |
*IDN |
|
|
|
Identification |
|
|
|
|
:CRC |
|
check sum |
320 |
R |
|
|
:DEVice |
|
name of instrument |
301 |
R |
|
|
:VERsion |
|
software version MSB |
310 |
R |
|
|
:SERial |
|
serial-number leak detector |
|
R |
|
|
:TURBO |
|
software version TMP controller |
315 |
R |
|
|
:DIP1 |
|
MSB DipSwitch 1 (binär) |
321 |
R |
|
|
:DIP2 |
|
MSB DipSwitch 2 (binär) |
321 |
R |
|
|
:CUversion |
|
software version control unit |
314 |
R |
|
|
:IOversion |
|
software version I/O modul |
313 |
R |
|
|
:TCHARDware |
|
hardware version TMP controller |
316 |
R |
|
|
:TCNAME |
|
TMP controller name |
317 |
R |
|
|
:BMVersion |
|
software version Bus modul |
|
R |
|
|
:BMSerial |
|
serial-number Bus modul |
|
R |
|
|
:BMNETType |
|
Bus module network type |
|
R |
*STATus |
|
|
|
status of LDS2010 (ACCL, STBY, MEAS, CAL, ERROR, |
Status |
R |
|
|
|
|
EMIOFF) |
word |
|
8 |
ASCII Protocol |
|
|
|
|
Relates to LD cmd. no. |
Read / Set |
|
|
|
|
|
|
|
:CAL |
|
status of calibration (IDLE, INTCAL, EXTCAL, |
260 |
R |
|
|
DYNCAL, CLOSE, FAIL) |
|||
|
|
|
|
|
|
|
|
|
Last error history entry |
|
|
|
:CALHist |
|
Factor, Test leak, Anode voltage, Mass, Date, |
275 |
R |
|
|
|
Time, Cathode, State |
|
|
|
|
1 |
Calibration history entry 1 (newest) |
|
|
|
|
2 |
Calibration history entry 2 |
|
|
|
|
… |
|
|
|
|
|
10 |
error history entry 10 (oldest) |
|
|
|
:ERRor |
|
current number of error / warning („NO ERROR/ |
290 |
R |
|
|
|
WARNING“, 3-digit failure number) |
|
|
|
|
|
Actual error history entry |
|
|
|
|
|
In LDS2010 compatibility mode: |
|
|
|
|
|
dd.mm.yy hh.mm Exx |
|
|
|
|
|
Exx is error number from LDS2010 error number |
|
|
|
|
|
group |
|
|
|
|
|
All other compatibility modes: |
|
|
|
|
|
ListNo 'ERR' or 'WRN' ErrNo ErrValue(float), |
|
|
|
:ERRHist |
|
year/month/day hour:min:sec 'SwOnCnt:' |
290 |
R |
|
|
SwitchOnCnt 'OnTm:' MinSinceStart |
|||
|
|
|
|
|
|
|
|
|
“WRNxxx vvv yy/mm/dd hh:mm:ss SwOnCnt: |
|
|
|
|
|
zzz OnTm: ttt“ |
|
|
|
|
|
or |
|
|
|
|
|
“ERRxxx vvv yy/mm/dd hh:mm:ss SwOnCnt: zzz |
|
|
|
|
|
OnTm: ttt“ |
|
|
|
|
|
xxx: Error or warning number from LDS3000 |
|
|
|
|
|
error number group |
|
|
|
|
|
vvv: Measured value |
|
|
|
|
1 |
error history entry 1 (newest) |
290 |
R |
|
|
2 |
error history entry 2 |
290 |
R |
|
|
..... |
|
|
|
|
|
16 |
error history entry 16 (oldest) |
290 |
R |
|
:MODE |
|
actual vacuum mode (VAC, SNIFF) |
401 |
R |
|
:ZERO |
|
Zero (ON, OFF) |
6 |
R |
|
|
|
status of valves |
|
|
|
|
|
0...255 as 8-bit binary number |
|
|
|
:VALVE |
|
(0:off; 1:on) |
449 |
R |
|
|
Bit0: Test leak |
|||
|
|
|
|
|
|
|
|
|
Bit4: Sniffer valve |
|
|
|
|
|
Bit1: Gas ballast |
|
|
|
|
|
status of trigger |
|
|
|
:TRIGger |
|
S1,S2,S3,S4 with S1…S4 is “ON” or “OFF” |
385 |
R |
|
|
|
depending of the states of trigger1 to trigger4 |
|
|
ASCII Protocol |
9 |
|
|
|
|
Relates to LD cmd. no. |
Read / Set |
|
|
|
|
|
|
|
:PREAMPRESi |
|
currently used resistance of pre-amplifier |
|
|
|
|
(13M, 470M, 15G, 500G, 13M_FIXED, |
502 |
R |
|
|
stor |
|
|||
|
|
470M_FIXED, 15G_FIXED, 500G_FIXED) |
|
|
|
|
|
|
|
|
|
|
|
|
actual state of the cathode |
|
|
|
:CAThode |
|
OFF, ON1 (fix cathode 1), ON2 (fix cathode 2), |
530 |
R |
|
|
AUTO1 / AUTO2 (automatic switching; cathode |
|||
|
|
|
1 respectively 2 actual active) |
|
|
|
|
|
Status Bus-Modul |
|
|
|
|
|
“SETUP”,"NW_INIT”, |
|
|
|
:BUSModule |
|
"WAIT_PROCESS","IDLE", |
330 |
R |
|
|
|
"PROCESS_ACTIVE","ERROR", "UNKNOWN", |
|
|
|
|
|
"EXCEPTION" |
|
|
|
|
:EXCEPtion |
Exception Code of Bus module as hex value |
|
R |
|
|
|
Four error counters, format “a,b,c,d” |
|
|
|
|
|
a: Discarded commands |
|
|
|
|
:ERRORCnt |
b: Discarded responses |
|
R |
|
|
|
c: Serial reception errors |
|
|
|
|
|
d: Fragmentation errors |
|
|
|
|
:ADDRess |
Field bus address |
|
R |
|
|
:BAUDrate |
Baud rate at field bus |
|
R |
*READ |
|
|
leak rate in current unit |
128 |
R |
|
:ATM*cc/s |
|
leak rate in Atm*cc/s |
--- |
R |
|
:G/a |
|
leak rate in g/a (only in sniff) |
--- |
R |
|
:MBAR*l/s |
|
leak rate in mbar*l/s |
129 |
R |
|
:PA*m3/s |
|
leak rate in Pa*m3/s |
--- |
R |
|
:PPM |
|
leak rate in ppm (only in sniff) |
--- |
R |
|
:TORR*l/s |
|
leak rate in Torr*l/s |
--- |
R |
*STArt |
|
|
start |
1 |
S |
*STOp |
|
|
stop |
2 |
S |
*CAL |
:STOP |
|
abort calibration |
11 |
S |
|
:INT |
|
start internal calibration |
4 |
S |
|
:DYN |
|
start external dynamic calibration |
4 |
S |
|
:EXT |
|
start external calibration |
4 |
S |
|
:CLOSED |
|
report test leak closed (ext. cal. only) |
11 |
S |
*ZERO |
|
|
switch zero on |
6 |
S |
|
:ON |
|
switch zero on |
6 |
S |
|
:OFF |
|
switch zero off |
6 |
S |
*MEAS |
|
|
|
|
|
|
:P or :P1 |
|
P1 pressure in current unit |
130 |
R |
|
|
:ATM |
P1 pressure in atm |
--- |
R |
|
|
:MBAR |
P1 pressure in mbar |
83 |
R |
|
|
:PA |
P1 pressure in Pa |
--- |
R |
|
|
:TORR |
P1 pressure in Torr |
--- |
R |
|
:P2 |
|
P2 pressure in current unit |
132 |
R |
|
|
:ATM |
P2 pressure in atm |
--- |
R |
|
|
:MBAR |
P2 pressure in mbar |
133 |
R |
|
|
:PA |
P2 pressure in Pa |
--- |
R |
10 |
ASCII Protocol |
|
|
|
|
Relates to LD cmd. no. |
Read / Set |
|
|
|
|
|
|
|
|
:TORR |
P2 pressure in Torr |
--- |
R |
|
:P3 |
|
P3 pressure (only for service) |
134 |
R |
|
:P4 |
|
P4 pressure (only for service) |
135 |
R |
|
:UVV |
|
preamplifier voltage [V] |
202 |
R |
|
:MIAP |
|
anode potential [V] |
167 |
R |
|
:MIKP |
|
cathode potential [V] |
168 |
R |
|
:MISP |
|
suppressor potential [V] |
169 |
R |
|
:MIAKP |
|
anode-/cathode potential [V] |
170 |
R |
|
:U15N |
|
-15 V supply [V] |
211 |
R |
|
:U15P |
|
+15 V supply [V] |
210 |
R |
|
:U24 |
|
24 V supply [V] |
200 |
R |
|
:U24IO |
|
24 V supply IO [V] |
213 |
R |
|
:U24IO_OUT |
|
24V power out IO [V] |
219 |
R |
|
:U24PI |
|
24 V power out pirani [V] |
214 |
R |
|
:U24PWR1_2 |
|
24 V power out12 [V] |
215 |
R |
|
:U24PWR5_6 |
|
24 V power out56 [V] |
217 |
R |
|
:U24RC |
|
24V_2 power out RC [V] |
212 |
R |
|
:U5 |
|
+5 V supply [V] |
218 |
R |
|
:TEMPeratur |
|
|
|
|
|
|
:Amplifier |
preamplifier temperature [°C] |
166 |
R |
|
|
:Electronic |
electronic temperature [°C] |
165 |
R |
|
|
:TCElectronic |
TMP electronic temperature [°C] |
144 |
|
|
|
:TCPump |
TMP temperature bottom [°C] |
143 |
R |
|
|
:TCBearing |
TMP temperature bearing [°C] |
145 |
R |
|
|
:TCMotor |
TMP electronic temperature [°C] |
146 |
R |
|
:TURBO |
|
|
|
|
|
|
:Frequency |
TMP frequency [Hz] |
138 |
R |
|
|
:Voltage |
TMP voltage [Hz] |
150 |
R |
|
|
:Current |
TMP current [A] |
151 |
R |
|
|
:Power |
TMP power [W] |
139 |
R |
|
:ANALOGOUT |
|
Output voltage analog output channel 1 |
221 |
R |
|
1 |
|
|||
|
|
|
|
|
|
|
:ANALOGOUT |
|
Output voltage analog output channel 2 |
221 |
R |
|
2 |
|
|||
|
|
|
|
|
ASCII Protocol |
11 |
|
|
|
|
Relates to LD cmd. no. |
Read / Set |
|
|
|
|
|
|
|
|
|
state of the PLC inputs as 16-bit binary number; |
|
|
|
|
|
inactive=0, active=1 |
|
|
|
|
|
Byte 0, Bit 0: PLC In 1 |
|
|
|
|
|
Byte 0, Bit 1: PLC In 2 |
|
|
|
|
|
Byte 0, Bit 2: PLC In 3 |
|
|
|
|
|
Byte 0, Bit 3: PLC In 4 |
|
|
|
|
|
Byte 0, Bit 4: PLC In 5 |
|
|
|
|
|
Byte 0, Bit 5: PLC In 6 |
261 |
R |
|
:DIGITALIN |
|
Byte 0, Bit 6: PLC In 7 |
||
|
|
|
Byte 0, Bit 7: PLC In 8 |
|
|
|
|
|
Byte 1, Bit 0: PLC In 9 |
|
|
|
|
|
Byte 1, Bit 1: PLC In 10 |
|
|
|
|
|
Byte 1, Bit 2: DIP_1 |
|
|
|
|
|
Byte 1, Bit 3: DIP_2: |
|
|
|
|
|
Byte 1, Bit 4: DIP_3: |
|
|
|
|
|
Byte 1, Bit 5: DIP_4 |
|
|
|
|
|
Byte 1, Bit 6: DIP_5 |
|
|
|
:IMess |
|
Unfiltered ion current [A] |
1568 |
R |
*CONFig |
|
|
|
|
|
|
:CALleak |
|
leak rate of test leak |
|
|
|
|
:INT |
internal test leak in mbarl/s |
394 |
R/S |
|
|
:EXTVac |
external test leak in vacuum mode in current vac |
390 |
R/S |
|
|
|
unit |
|
|
|
|
:EXTSniff |
external test leak in sniff mode in current sniff unit |
392 |
R/S |
|
|
|
calibration request (OFF,ON); |
|
|
|
:CALREQ |
|
with read: (OFF, ON_REQUESTED, |
419 |
R/S |
|
|
|
ON_NOTREQUESTED) |
|
|
|
|
|
target state of the cathode |
|
|
|
|
|
OFF (not saved after power loss) |
|
|
|
|
|
ON1 (fix cathode 1) |
530 |
R/S |
|
:CAThode |
|
ON2 (fix cathode 2) |
||
|
|
|
AUTO (automatic switching cathode) |
|
|
|
|
|
with read: AUTO1 / AUTO2: Auto with cathode 1 |
|
|
|
|
|
respectively 2 actual active |
|
|
|
:RS232 |
|
Protocol (ASCII, LD, LDS1000) |
26 |
R/S |
|
:MASS |
|
mass (2,3,4) |
506 |
R/S |
|
:MFAE |
|
actual anode potential reference [V] |
167 |
R |
|
|
:M2 |
anode potential reference for mass 2 [V] |
433 |
R/S |
|
|
:M3 |
anode potential reference for mass 3 [V] |
434 |
R/S |
|
|
:M4 |
anode potential reference for mass 4 [V] |
435 |
R/S |
|
:MODE |
|
operating mode (VAC, SNIFF) |
401 |
R/S |
|
:RECorder |
|
|
|
|
|
|
|
Function at analog output channel 1 |
|
|
|
|
:LINK1 |
(OFF, P1, P2, MANT, EXP, LR_LIN, LR_LOG, |
222 |
R/S |
|
|
|
LR_LOG_H, EXTERN) |
|
|
|
|
|
Function at analog output channel 1 |
|
|
|
|
:LINK2 |
(OFF, P1, P2, MANT, EXP, LR_LIN, LR_LOG, |
222 |
R/S |
|
|
|
LR_LOG_H, EXTERN) |
|
|
12 |
ASCII Protocol |
|
|
|
|
Relates to LD cmd. no. |
Read / Set |
|
|
|
|
|
|
|
|
:SCALE |
Analog out scaling |
223 |
R/S |
|
|
:UPPEREXP |
Upper Exponent (in mbar*l/s) for analog out |
224 |
R/S |
|
|
|
|
|
|
|
:TRIGger1 |
|
trigger1 in current unit |
384 |
R/S |
|
|
:ATM*cc/s |
trigger1 in Atm*cc/s |
--- |
R/S |
|
|
:G/a |
trigger1 in g/a |
--- |
R/S |
|
|
:MBAR*l/s |
trigger1 in mbar*l/s |
385 |
R/S |
|
|
:PA*m3/s |
trigger1 in Pa*m3/s |
--- |
R/S |
|
|
:PPM |
trigger1 in ppm |
--- |
R/S |
|
|
:TORR*l/s |
trigger1 in Torr*l/s |
--- |
R/S |
|
|
|
|
|
|
|
:TRIGger2 |
|
trigger2 in current unit |
384 |
R/S |
|
|
:ATM*cc/s |
trigger2 in Atm*cc/s |
--- |
R/S |
|
|
:G/a |
trigger2 in g/a |
--- |
R/S |
|
|
:MBAR*l/s |
trigger2 in mbar*l/s |
385 |
R/S |
|
|
:PA*m3/s |
trigger2 in Pa*m3/s |
--- |
R/S |
|
|
:PPM |
trigger2 in ppm |
--- |
R/S |
|
|
:TORR*l/s |
trigger2 in Torr*l/s |
--- |
R/S |
|
|
|
|
|
|
|
:TRIGger3 |
|
trigger3 in current unit |
384 |
R/S |
|
|
:ATM*cc/s |
trigger3in Atm*cc/s |
--- |
R/S |
|
|
:G/a |
trigger3in g/a |
--- |
R/S |
|
|
:MBAR*l/s |
trigger3in mbar*l/s |
385 |
R/S |
|
|
:PA*m3/s |
trigger3in Pa*m3/s |
--- |
R/S |
|
|
:PPM |
trigger3in ppm |
--- |
R/S |
|
|
:TORR*l/s |
trigger3in Torr*l/s |
--- |
R/S |
|
:TRIGger4 |
|
trigger4 in current unit |
384 |
R/S |
|
|
:ATM*cc/s |
trigger4 in Atm*cc/s |
--- |
R/S |
|
|
:G/a |
trigger4 in g/a |
--- |
R/S |
|
|
:MBAR*l/s |
trigger4 in mbar*l/s |
385 |
R/S |
|
|
:PA*m3/s |
trigger4 in Pa*m3/s |
--- |
R/S |
|
|
:PPM |
trigger4 in ppm |
--- |
R/S |
|
|
:TORR*l/s |
trigger4 in Torr*l/s |
--- |
R/S |
|
:UNIT |
|
|
|
|
|
|
:LRVac |
leak rate unit vac mode (ATM*cc/c, MBAR*l/s, |
431 |
R/S |
|
|
PA*m3/s, TORR*l/s) |
|||
|
|
|
|
|
|
|
|
:LRSniff |
leak rate unit sniff mode (ATM*cc/c, MBAR*l/s, |
432 |
R/S |
|
|
|
PA*m3/s, TORR*l/s, ppm, g/a) |
|
|
|
|
:Pressure |
pressure unit (ATM, MBAR, PA, TORR) |
430 |
R/S |
|
:ZEROTime |
|
zerotime in seconds (0,5…30s) |
411 |
R/S |
|
:CORSTBY |
|
|
|
R/S |
|
:ZEROSTART |
|
zero at start (OFF, ON) |
409 |
R/S |
|
:SPEEDTMP |
|
rotation speed of TMP in Hz |
501 |
R/S |
|
:BUTSniffer |
|
button of the sniffer probe (OFF, ON) |
412 |
R/S |
|
:LRFilter |
|
filter switch-over threshold in current leak rate |
403 |
R/S |
ASCII Protocol |
13 |
|
|
|
|
|
|
Relates to LD cmd. no. |
Read / Set |
|
|
|
|
|
|
||
|
|
|
assignment of PLC-outputs |
|
|
||
|
|
|
"OPEN", “INV_OPEN”, |
|
|
||
|
|
|
"TRIGGER_1","INV_TRIGGER_1", |
|
|
||
|
|
|
"TRIGGER_2","INV_TRIGGER_2", |
|
|
||
|
|
:1 or :1_2 |
"TRIGGER_3","INV_TRIGGER_3", |
|
|
||
|
|
"TRIGGER_4","INV_TRIGGER_4", |
|
|
|||
|
|
:2 or :3_4 |
|
|
|||
|
|
"READY","INV_READY", |
|
|
|||
|
|
:3 or :5_6 |
|
|
|||
|
|
"WARNING","INV_WARNING", |
|
|
|||
|
|
:4 or :7_8 |
|
|
|||
|
:PLCOUTLINK |
"ERROR",”INV_ERROR”, |
263 |
R/S |
|||
|
|
:5 or :9_10 |
“CAL_ACTIVE",“INV_CAL_ACTIVE", |
|
|
||
|
|
:6 or :11_12 |
|
|
|||
|
|
"CAL_REQUEST",”INV_CAL_REQUEST”, |
|
|
|||
|
|
:7 or :13_14 |
|
|
|||
|
|
"RUN_UP", “INV_RUN_UP”, |
|
|
|||
|
|
:8 or :15_16 |
|
|
|||
|
|
"ZERO_ACTIVE", "INV_ZERO_ACTIVE", |
|
|
|||
|
|
|
|
|
|||
|
|
|
“EMISSION_ON", “INV_EMISSION_ON” |
|
|
||
|
|
|
"MEASURE", “INV_MEASURE”, |
|
|
||
|
|
|
"STANDBY", “INV_STANDBY”, |
|
|
||
|
|
|
"SNIFF", “INV_SNIFF” |
|
|
||
|
|
|
|
|
|
||
|
|
|
assignment of PLC-inputs |
|
|
||
|
|
|
(„NOT_USED“, |
|
|
||
|
|
|
„DYN_CAL“, |
„INV_ DYN_CAL “, |
|
|
|
|
|
|
„EXT_CAL“, |
„INV_ EXT_CAL “, |
|
|
|
|
|
:1 |
„INT_CAL“, |
„INV_ INT_CAL “, |
|
|
|
|
|
:2 |
„SNIFF“, |
„INV_ SNIFF“, |
|
|
|
|
|
:3 |
„START“, |
|
„INV_ START “, |
|
|
|
|
:4 |
„STOP“, |
|
„INV_ STOP “, |
|
|
|
:PLCINLINK |
:5 |
„ZERO“, |
|
„INV_ZERO“, |
438 |
R/S |
|
:6 |
„ZERO_PULS”, „INV_ ZERO_PULS” |
|||||
|
|
|
|
||||
|
|
:7 |
“CLEAR”, “INV_CLEAR”, |
|
|
||
|
|
:8 |
“GAS_BALLAST”, “INV_ GAS_BALLAST |
|
|
||
|
|
:9 |
”,"SEL_DYN_NORM","INV_SEL_DYN_NORM", |
|
|
||
|
|
:10 |
"START_STOP", "INV_START_STOP", |
|
|
||
|
|
|
„KEY1”, |
„INV_ KEY1”, |
|
|
|
|
|
|
„KEY2”, |
„INV_ KEY2”, |
|
|
|
|
|
|
„KEY3”, |
|
„INV_KEY3”, |
|
|
|
|
|
) |
|
|
|
|
|
:DECADEZero |
|
zero function |
|
410 |
R/S |
|
|
|
„NORM“,(„1-2“, “2-3“, „19/20“, „2“, „3-4“) |
|||||
|
|
|
|
|
|||
*HOUR |
|
|
|
|
|
|
|
|
:DATE |
|
date TT,MM,JJJJ |
450 |
R/S |
||
|
:DEVice |
|
operating hours of device |
142 |
R |
||
|
:POWer |
|
time since switching on (in minutes) |
147 |
R |
||
|
:TIME |
|
time hh,mm |
|
450 |
R/S |
|
|
:TURBO |
|
operating hours of TMP |
140 |
R |
||
|
:TC |
|
operating hours of converter |
141 |
R |
||
*FACtor |
|
|
|
|
|
|
|
|
:FACSniff |
|
sniff factor |
|
523 |
R/S |
|
|
:FACMachine |
|
machine factor |
522 |
R/S |
||
|
:RESistor |
|
resistor factor 500 G / 15 G |
504 |
R/S |
14 |
ASCII Protocol |
|
|
|
|
|
Relates to LD cmd. no. |
Read / Set |
|
|
|
|
|
|
|
|
:CALSniff |
|
calibration factor sniff |
|
521 |
R/S |
|
:CALVac |
|
calibration factor vacuum |
|
520 |
R/S |
*SERVICE |
|
|
|
|
|
|
|
:READBuffer |
|
Read service buffer |
1300 .. |
R |
|
|
|
|
|
1310 |
|
|
*STARTFLA |
|
|
Flash-Update starten |
|
2619 |
S |
SH |
|
|
|
|||
|
|
|
|
|
|
|
*RST |
:FACTORY |
|
Sets all parameters to factory default |
|
1161 |
S |
|
:CALHistory |
|
Clears calibration history |
|
1161 |
S |
|
:ERRORHistory |
|
Clears error history |
|
1161 |
S |
2.5Examples
Command |
answer |
|
|
*stat? (CR) |
MEAS (CR) |
mode |
|
*status? (CR) |
MEAS (CR) |
mode |
|
*read? (CR) |
2.876E-7 (CR) |
leak rate according to |
|
programmed unit |
|||
|
|
||
*read:pa*m3/s? (CR) |
2.876E-6 (CR) |
leak rate in a different unit |
|
*start (CR) |
OK (CR) |
start measurement |
|
*conf:trig1? (CR) |
1.0E-9 (CR) |
retrieve trigger 1 |
|
*conf:trig1 2.0E-9 (CR) |
OK (CR) |
set trigger 1 |
2.6 |
Error Messages |
|
|
|
|
|
|
|
|
Message |
Meaning |
|
|
OK |
command completed |
|
|
E01 |
wrong command start (no „*“) |
|
|
E02 |
illegal blank |
|
|
E03 |
command word 1 illegal |
|
|
E04 |
command word 2 illegal |
|
|
E05 |
command word 3 illegal |
|
|
E06 |
control by RS232 not enabled |
|
|
E07 |
argument faulty |
|
|
E08 |
no data available |
|
|
E09 |
error buffer overflow |
|
|
E10 |
command invalid |
|
|
E11 |
query not allowed |
|
|
E12 |
only query allowed |
|
|
E13 |
not yet implemented |
ASCII Protocol |
15 |
3 LDS1000 Protocol
3.1Interface Parameters
So that the connected instruments (PC) may communicate with the LDS3000, it is required to set-up the interface parameters on the connected instruments.
The settings for the LDS3000 are:
9600 baud, 8 data bits, no parity, 1 stop bit, No handshake and CR as the end sign.
3.2Interface Commands
The list is ordered to their functions.
The interface commands are composed of the following parts: Structure
COMMAND <cr>
COMMAND PARAMETER <cr> COMMAND PARAMETER, PARAMETER <cr>
<cr>: Carriage return (13d) Example
STOP <cr> G10 <cr> U24.0 <cr>
There exist several types of command. The main functions of the leak detector are in plain text which points to the function. For example, the command "START <cr>" starts the measurement mode. In response to this command, the PC receives "OK <cr>". A list of the main functions is provided in Chapter 1.4.1.1.
Besides this, conditions may be queried through commands which begin with a "S" for "Status" and which have a parameter attached. A list of all status query commands is given in Chapter 1.4.1.2.
Measurement quantities can be queried through the command "G" for "Get", for example: "G1<cr>". The LDS 3000 will then respond by outputting the current leak rate. All measurement quantities which may be queried are listed in Chapter 1.4.1.3.
If the entry of settings is required in the way normally performed through the menus shown on the Control Unit, the command "U" for "Update" may be used to change the corresponding parameter. The parameter itself may be output via the serial interface through the command "Q" for "Query". For example, "U 0, 1.0E-04<cr>" changes the
level for the first trigger to 1E-4. The commands used to set and query parameters are listed in Chapter 1.4.1.4.
Through "Q 0<cr>" the trigger level can be read.
Less frequently used functions which normally will only be run for servicing can be invoked through the command "F" for "Function". For example: "F10<cr>" switches the emission off. A list of these functions is given in Chapter 1.4.1.5.
During servicing the command "V" for "Valves" may be used to switch the valves. For example: "V 1,0 <cr>" opens the internal calibrated leak.
16 LDS1000 Protocol
Through the reset character <ESC> (27d or 1Bh) without <cr> the interface of the LDS 1000 may be reset back to a defined state. A received string which might be processed at that moment is erased and its processing is terminated. Receiving of the <ESC> character is acknowledged by "OK<cr>" (In the case of the "TERMINAL" program from Microsoft the character "O" is not displayed when the local echo is on). Thereafter, the interface is ready to receive. Through this character its is easily possible to check whether or not the data link has been properly installed.
3.2.1 Main functions
|
|
Reply |
Equivalent to key |
|
Command |
Meaning |
from the |
||
or PLC input |
||||
|
|
LDS1000 |
||
|
|
|
||
LR |
Leak rate, date, time, output status |
|
|
|
|
Start measurement mode, |
|
|
|
START |
suppress the background which |
OK |
MEAS active |
|
was measured upon operating |
||||
|
|
|
||
|
START |
|
|
|
|
Stop the measurement mode, |
|
|
|
STOP |
display the current background |
OK |
MEAS inactive |
|
|
level |
|
|
|
|
ZERO mode on, suppress the |
|
|
|
ZERO |
background which was measured |
OK |
ZERO active |
|
|
upon operating ZERO |
|
|
|
|
ZERO mode off, display the |
|
|
|
ZERO OFF |
background which was measured |
OK |
ZERO inactive |
|
|
upon operating ZERO |
|
|
|
CAL x1) |
Internal/external calibration |
OK |
CAL |
|
CLEAR |
Interrupt calibration/erase error |
OK |
CLEAR active |
|
status |
||||
|
|
|
X1*)Calibration: In the STANDBY mode, the internal calibration is started.
In the MEASURE mode, the external calibration is started. The status of the external calibration may be queried through S12. Sequence of commands for external calibration:
|
|
Reply |
|
|
|
Command |
from the |
Meaning |
|
|
|
LDS1000 |
|
|
|
|
|
The LDS1000 enters the measurement |
|
1 |
START |
OK |
mode, the calibrated leak must be opened, |
|
|
|
|
wait until the signal has stabilised. |
|
2 |
CAL |
OK |
External calibration is being started. |
|
3 |
S12 |
1 |
External calibration is running. |
|
4 |
S12 |
2 |
Calibrated leak must be closed, wait until |
|
the signal is stable. |
||||
|
|
|
||
5 |
CAL |
OK |
Calibration is continued. |
|
|
|
|
Calibration complete, the LDS1000 is in |
|
6 |
S12 |
0 |
the measurement mode, the instrument is |
|
|
|
|
running in the MEASUREMENT mode. |
The internal calibration process is run automatically. There after, the LDS3000 will be in the STANDBY mode.
LDS1000 Protocol |
17 |