INFICON LDS3000 User Manual

PROTOCOL DESCRIPTIONS
Type designation
LDS3000
Product description Interface Protocols
Catalog no.
from software version
Document no.
560-310, 560-315
MS Module 1.0
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 ASCCI- and 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.1 Serial 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.2 Field 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.1 Comparison between ASCCI- and LD protocol
ASCII- and 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.2 Communication Parameters
Data format
Baudrate 19.200, 8 data bits, 1 stop bit, no parity
2.3 Command 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
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.
*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 (
EMIOFF)
ACCL, STBY, MEAS, CAL, ERROR,
Status word
-7
)
Read /
R
Set
8 ASCII Protocol
:CAL
:CALHist
:ERRor
:ERRHist
status of calibration
DYNCAL, CLOSE, FAIL)
(IDLE, INTCAL, EXTCAL,
Last error history entry Factor, Test leak, Anode voltage, Mass, Date,
Time, Cathode, State 1 Calibration history entry 1 (newest) 2 Calibration history entry 2 … 10 error history entry 10 (oldest)
current number of error / warning („NO ERROR/
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),
year/month/day hour:min:sec 'SwOnCnt:'
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“
Relates to
LD cmd. no.
260 R
275 R
290 R
290 R
Read /
Set
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)
Bit0: Test leak
449 R
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.
:PREAMPRESi stor
:CAThode
:BUSModule
:EXCEPtion Exception Code of Bus module as hex value R
:ERRORCnt
: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
currently used resistance of pre-amplifier (13M, 470M, 15G, 500G, 13M_FIXED, 470M_FIXED, 15G_FIXED, 500G_FIXED)
actual state of the cathode OFF, ON1 (fix cathode 1), ON2 (fix cathode 2), AUTO1 / AUTO2 (automatic switching; cathode 1 respectively 2 actual active)
Status Bus-Modul “SETUP”,"NW_INIT”, "WAIT_PROCESS","IDLE", "PROCESS_ACTIVE","ERROR", "UNKNOWN", "EXCEPTION"
Four error counters, format “a,b,c,d” a: Discarded commands b: Discarded responses c: Serial reception errors d: Fragmentation errors
502 R
530 R
330 R
Read /
R
Set
10 ASCII Protocol
Relates to
LD cmd. no.
: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
1 :ANALOGOUT 2
Output voltage analog output channel 1 221 R
Output voltage analog output channel 2 221 R
Read /
Set
ASCII Protocol 11
*CONFig
Relates to
LD cmd. no.
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
:DIGITALIN
:IMess Unfiltered ion current [A] 1568 R
:CALleak leak rate of test leak
:INT internal test leak in mbarl/s 394 R/S
:EXTVac
:EXTSniff external test leak in sniff mode in current sniff unit 392 R/S
:CALREQ
:CAThode
: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
:LINK1
:LINK2
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
external test leak in vacuum mode in current vac unit
calibration request (OFF,ON); with read: (OFF, ON_REQUESTED, ON_NOTREQUESTED)
target state of the cathode OFF (not saved after power loss) ON1 (fix cathode 1) ON2 (fix cathode 2) AUTO (automatic switching cathode) with read: AUTO1 / AUTO2: Auto with cathode 1 respectively 2 actual active
Function at analog output channel 1 (OFF, P1, P2, MANT, EXP, LR_LIN, LR_LOG, LR_LOG_H, EXTERN)
Function at analog output channel 1 (OFF, P1, P2, MANT, EXP, LR_LIN, LR_LOG, LR_LOG_H, EXTERN)
261 R
390 R/S
419 R/S
530 R/S
222 R/S
222 R/S
Read /
Set
12 ASCII Protocol
Relates to
LD cmd. no.
: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
:LRSniff
leak rate unit vac mode (ATM*cc/c, MBAR*l/s, PA*m3/s, TORR*l/s)
leak rate unit sniff mode (ATM*cc/c, MBAR*l/s, PA*m3/s, TORR*l/s, ppm, g/a)
431 R/S
432 R/S
: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
Read /
Set
ASCII Protocol 13
*HOUR
*FACtor
Relates to
LD cmd. no.
assignment of PLC-outputs "OPEN", “INV_OPEN”, "TRIGGER_1","INV_TRIGGER_1", "TRIGGER_2","INV_TRIGGER_2",
:1 or :1_2 :2 or :3_4 :3 or :5_6
:PLCOUTLINK
:PLCINLINK
:DECADEZero
: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
:FACSniff sniff factor 523 R/S :FACMachine machine factor 522 R/S :RESistor resistor factor 500 G / 15 G 504 R/S
:4 or :7_8 :5 or :9_10 :6 or :11_12 :7 or :13_14 :8 or :15_16
:1 :2 :3 :4 :5 :6 :7 :8 :9 :10
"TRIGGER_3","INV_TRIGGER_3", "TRIGGER_4","INV_TRIGGER_4", "READY","INV_READY", "WARNING","INV_WARNING", "ERROR",”INV_ERROR”, “CAL_ACTIVE",“INV_CAL_ACTIVE", "CAL_REQUEST",”INV_CAL_REQUEST”, "RUN_UP", “INV_RUN_UP”, "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 “, „INT_CAL“, „INV_ INT_CAL “, „SNIFF“, „INV_ SNIFF“, „START“, „INV_ START “, „STOP“, „INV_ STOP “, „ZERO“, „INV_ZERO“, „ZERO_PULS”, „INV_ ZERO_PULS” “CLEAR”, “INV_CLEAR”, “GAS_BALLAST”, “INV_ GAS_BALLAST ”,"SEL_DYN_NORM", "INV_SEL_DYN_NORM", "START_STOP", "INV_START_STOP", „KEY1”, „INV_ KEY1”, „KEY2”, „INV_ KEY2”, „KEY3”, „INV_KEY3”, )
zero function „NORM“,(„1-2“, “2-3“, „19/20“, „2“, „3-4“)
263 R/S
438 R/S
410 R/S
Read /
Set
14 ASCII Protocol
Relates to
LD cmd. no.
:CALSniff calibration factor sniff 521 R/S :CALVac calibration factor vacuum 520 R/S
*SERVICE
:READBuffer Read service buffer
*STARTFLA SH
*RST :FACTORY Sets all parameters to factory default 1161 S
:CALHistory Clears calibration history 1161 S :ERRORHistory Clears error history 1161 S
Flash-Update starten 2619 S
1300 .. 1310
2.5 Examples
Command answer
*stat? (CR) MEAS (CR) mode *status? (CR) MEAS (CR) mode
*read? (CR) 2.876E-7 (CR)
*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
leak rate according to programmed unit
Read /
R
Set
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.1 Interface 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.2 Interface 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 inter­face 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
Command Meaning
Reply from the LDS1000
Equivalent to key or PLC input
LR Leak rate, date, time, output status
Start measurement mode,
START
suppress the background which was measured upon operating
OK MEAS active
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
x1)
CAL
CLEAR
X1*)
Calibration: In the STANDBY mode, the internal calibration is started.
Internal/external calibration OK CAL Interrupt calibration/erase error
status
OK CLEAR active
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 calib­ration:
Reply
Command
from the
Meaning
LDS1000
The LDS1000 enters the measurement
1START 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.
4S12 2
Calibrated leak must be closed, wait until
the signal is stable. 5 CAL OK Calibration is continued.
Calibration complete, the LDS1000 is in 6S12 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
Loading...
+ 39 hidden pages