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.
6Interface Protocols
2ASCII Protocol
2.1Comparison 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.2Communication Parameters
Data format
Baudrate19.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 Protocol7
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>Boolean0 / 1 or OFF / ON
<No>Numeric representation format: integer, real (15.6) or exponential (4.5
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 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.4Commands
Relates to
LD cmd. no.
*CLSClear Error5S
*IDNIdentification
:CRCcheck sum320R
:DEVicename of instrument301R
:VERsionsoftware version MSB310R
:SERialserial-number leak detectorR
:TURBOsoftware version TMP controller315R
:DIP1MSB DipSwitch 1 (binär)321R
:DIP2MSB DipSwitch 2 (binär)321R
:CUversionsoftware version control unit314R
:IOversionsoftware version I/O modul313R
:TCHARDwarehardware version TMP controller316R
:TCNAMETMP controller name317R
:BMVersionsoftware version Bus modulR
:BMSerialserial-number Bus modulR
:BMNETTypeBus module network typeR
*STATus
status of LDS2010 (
EMIOFF)
ACCL, STBY, MEAS, CAL, ERROR,
Status
word
-7
)
Read /
R
Set
8ASCII 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
1Calibration history entry 1 (newest)
2Calibration history entry 2
…
10error 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.
260R
275R
290R
290R
Read /
Set
xxx: Error or warning number from LDS3000
error number group
vvv: Measured value
1error history entry 1 (newest)290R
2error history entry 2290R
:EXCEPtionException Code of Bus module as hex valueR
:ERRORCnt
:ADDRessField bus addressR
:BAUDrateBaud rate at field busR
*READleak rate in current unit128R
:ATM*cc/sleak rate in Atm*cc/s---R
:G/aleak rate in g/a (only in sniff)---R
:MBAR*l/sleak rate in mbar*l/s129R
:PA*m3/sleak rate in Pa*m3/s---R
:PPMleak rate in ppm (only in sniff)---R
:TORR*l/sleak rate in Torr*l/s ---R
*STArtstart1S
*STOpstop2S
*CAL:STOPabort calibration11S
:INTstart internal calibration 4S
:DYNstart external dynamic calibration4S
:EXTstart external calibration4S
:CLOSEDreport test leak closed (ext. cal. only)11S
*ZEROswitch zero on6S
:ONswitch zero on6S
:OFFswitch zero off6S
*MEAS
:P or :P1P1 pressure in current unit130R
:ATMP1 pressure in atm---R
:MBARP1 pressure in mbar83R
:PAP1 pressure in Pa---R
:TORRP1 pressure in Torr---R
:P2P2 pressure in current unit132R
:ATMP2 pressure in atm---R
:MBARP2 pressure in mbar133R
:PAP2 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
502R
530R
330R
Read /
R
Set
10ASCII Protocol
Relates to
LD cmd. no.
:TORRP2 pressure in Torr---R
:P3P3 pressure (only for service)134R
:P4P4 pressure (only for service)135R
:UVVpreamplifier voltage [V]202R
:MIAPanode potential [V]167R
:MIKPcathode potential [V]168R
:MISPsuppressor potential [V]169R
:MIAKPanode-/cathode potential [V]170R
:U15N-15 V supply [V]211R
:U15P+15 V supply [V]210R
:U2424 V supply [V]200R
:U24IO24 V supply IO [V]213R
:U24IO_OUT24V power out IO [V]219R
:U24PI24 V power out pirani [V]214R
:U24PWR1_224 V power out12 [V]215R
:U24PWR5_624 V power out56 [V]217R
:U24RC24V_2 power out RC [V]212R
:U5+5 V supply [V]218R
:TEMPeratur
:Amplifierpreamplifier temperature [°C]166R
:Electronicelectronic temperature [°C]165R
:TCElectronicTMP electronic temperature [°C]144
:TCPumpTMP temperature bottom [°C]143R
:TCBearingTMP temperature bearing [°C]145R
:TCMotorTMP electronic temperature [°C]146R
:TURBO
:FrequencyTMP frequency [Hz]138R
:VoltageTMP voltage [Hz]150R
:CurrentTMP current [A]151R
:PowerTMP power [W]139R
:ANALOGOUT
1
:ANALOGOUT
2
Output voltage analog output channel 1221R
Output voltage analog output channel 2221R
Read /
Set
ASCII Protocol11
*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
:IMessUnfiltered ion current [A]1568R
:CALleakleak rate of test leak
:INTinternal test leak in mbarl/s394R/S
:EXTVac
:EXTSniffexternal test leak in sniff mode in current sniff unit 392R/S
:M2anode potential reference for mass 2 [V]433R/S
:M3anode potential reference for mass 3 [V]434R/S
:M4anode potential reference for mass 4 [V]435R/S
:MODEoperating mode (VAC, SNIFF)401R/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)
261R
390R/S
419R/S
530R/S
222R/S
222R/S
Read /
Set
12ASCII Protocol
Relates to
LD cmd. no.
:SCALEAnalog out scaling223R/S
:UPPEREXPUpper Exponent (in mbar*l/s) for analog out224R/S
:TRIGger1trigger1 in current unit384R/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/s385R/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
:TRIGger2trigger2 in current unit384R/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/s385R/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
: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/s385R/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)
:Pressurepressure unit (ATM, MBAR, PA, TORR)430R/S
:ZEROTimezerotime in seconds (0,5…30s)411R/S
:CORSTBYR/S
:ZEROSTARTzero at start (OFF, ON)409R/S
:SPEEDTMProtation speed of TMP in Hz501R/S
:BUTSnifferbutton of the sniffer probe (OFF, ON)412R/S
:LRFilterfilter switch-over threshold in current leak rate403R/S
Read /
Set
ASCII Protocol13
*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
:DATEdate TT,MM,JJJJ450R/S
:DEViceoperating hours of device142R
:POWertime since switching on (in minutes)147R
:TIMEtime hh,mm450R/S
:TURBOoperating hours of TMP140R
:TCoperating hours of converter141R
*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.6Error Messages
MessageMeaning
OKcommand completed
E01wrong command start (no „*“)
E02illegal blank
E03command word 1 illegal
E04command word 2 illegal
E05command word 3 illegal
E06control by RS232 not enabled
E07argument faulty
E08no data available
E09error buffer overflow
E10command invalid
E11query not allowed
E12only query allowed
E13not yet implemented
ASCII Protocol15
3LDS1000 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.
16LDS1000 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.1Main functions
CommandMeaning
Reply
from the
LDS1000
Equivalent to key
or PLC input
LRLeak rate, date, time, output status
Start measurement mode,
START
suppress the background which
was measured upon operating
OKMEAS active
START
Stop the measurement mode,
STOP
display the current background
OKMEAS inactive
level
ZERO mode on, suppress the
ZERO
background which was measured
OKZERO active
upon operating ZERO
ZERO mode off, display the
ZERO OFF
background which was measured
OKZERO inactive
upon operating ZERO
x1)
CAL
CLEAR
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
1STARTOK
mode, the calibrated leak must be opened,
wait until the signal has stabilised.
2CALOKExternal calibration is being started.
3S121External calibration is running.
4S122
Calibrated leak must be closed, wait until
the signal is stable.
5CALOKCalibration is continued.
Calibration complete, the LDS1000 is in
6S120
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 Protocol17
Loading...
+ 39 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.