Professional Documents
Culture Documents
CLD 60 - en - V11 - Kap.8
CLD 60 - en - V11 - Kap.8
CLD 60 - en - V11 - Kap.8
INTERFACES
8.1 Introduction 78
8.1 Introduction
The CLD 60 is equipped with a RS-232 interface which allows the instru-
ment to be interfaced to a host computer. Thus the instrument can be con-
nected to a computer system for data collection and remote control.
Please note that the information in this section relates to specialist pro-
gramming, communications and electronics functions and is highly specific
to the CLD 60 system. The information given is not meant to be a tutorial
and is intended for use by experienced professionals only.
The sections 8.1 to 8.4 contain all necessary information required to inter-
face the CLD 60 via the serial port interface (RS 232) to a computer sys-
tem, and to write a communications driver program.
Furthermore, there is a digital/analog interface which offers the measure-
ment values as analog signals. The measurement mode can be configured
and calibrations can be triggered by means of digital inputs. Simple ana-
lyzer status messages can be read from digital outputs. Details referring to
electronics and functions can be found in section 8.6.
Cable to a computer
CLD 60 PC
DB9 female DB9 female
STX
Command
Data
Data
Data
ACK
Error code
ETX
ACK
Error code
STX
Data
Data
Data
ETX
NAK
Error code
ETX
Example:
1. Set measuring range of instrument 12 to M3:
<STX> 1 2 S R 1 <ETX> <BCC>
2. Set analog output of instrument 3 to 0...20 mA full-scale, 0 % offset
operation:
<STX> 0 3 S A 2 , 0 , 0 <ETX> <BCC>
Command overflow:
The CLD 60 did not receive the ETX and BCC of a command and subse-
quently received a valid new command.
bit 0...3:
bit 0...3:
Communication error code
0 no error
1 Block check error *)
2 Command overflow *)
3 Invalid command
4 Invalid operation
6 Command not allowed in current instrument mode
7 Reserved
bit 4:
IW Instrument warning bit
Set if any instrument warning pending. The Report Status (RS) command
returns the warning code with the highest priority.
*) NAK acknowledge repeat message
bit 5:
IE Instrument error bit
Set if any instrument error pending. The Report Status (RS) command
returns the warning code with the highest priority
bit 6:
Always 1
bit 7:
Not defined
8.3.3 Examples
a) Valid sequence
Control computer CLD 60
(Master) (Slave)
b) Transmission errors
The host sends a command to the CLD 60 which receives the message
corrupted and responds with a negative acknowledge.
The host repeats the message. The second trial is successful.
Control computer CLD 60
(Master) (Slave)
a) Set commands
The instrument only accepts Set commands when in Remote mode
(selectable with HR1). If the instrument is in Local mode an error mes-
sage is returned. In Remote mode the analyzer is controlled by the PC.
In Local mode the analyzer is controlled by the keypad.
n,eeeee Set measurement range end-point value (option analog dual output)
n: 0 = MH
1 = ML
1)
min 1/1000 of the max. end point
1)
only for instruments with sequential measurement (CLD 64/66)
2)
number of measuring points to be averaged (second average)
b) Calibrate commands
c) Test commands
d) Return commands
1)
only for instruments with sequential measurement (CLD 64/66)
1)
not installed sensors will be displayed as * (star)
The switch at the rear panel ( ) of the analyzer activates either the
RS232 or the LAN interface.
Fig.8.5.1. RS 232 LAN Switch ( )
LAN RS232
The software RealPort allows the definition of a virtual serial interface in
order to communicate by conventional data exchange programs via net-
work in the same manner as through a COM interface.
Parameter setting for RealPort function:
Baud Rate: 9600 *)
Start Bit: 1 *)
Data Bits: 8 *)
(Note: Real Port application requires different settings. Standard
setting: 7 Data Bits!)
Parity: none (off) *)
Stop Bits: 1 *)
Signal output: +/- 8 VDC
*) Parameter may be set (see chapter 5.2.2.2)
Digital outputs
Digital inputs
Input voltage (12 24 VDC; on demand 3 5 VDC) = 1
0 = GND
X = doesnt matter
DIN 1 DIN 2 DIN 3 DIN 4
Zero point calibration 1 0 X X
(NO and/or NOX)
Span calibration 0 1 X X
(NO and/or NOX)
NOX mode channel X X 0 X
NO mode channel X X 1 X
NO/NOX switching mode X X 1 1 (CLD62 optional)
Digital outputs
Relay active = 1 / X = doesnt matter
DOUT1 DOUT 2 DOUT 3 DOUT 4 DOUT 5 DOUT 6
Mains ON / PWUP 1 1 X X X X
Ready (measurement) 0 1 X X X X
Warning 0 0 X X X X
Error 1 0 X X X X
Overflow X X X X X 0
DOUT AUX =0
=1
Digital inputs
Input voltage (12 24 VDC; on demand 3 5 VDC) = 1
0 = GND
X = doesnt matter
DIN 1 DIN 2 DIN 3 DIN 4 DINAUX
Zero point calibration 1 0 X X X
(NO and/or NOX)
Span calibration 0 1 X X X
(NO and/or NOX)
NOX mode channel X X 0 1 X
NO mode channel X X 1 0 X
NO/NOX switching mode X X 1 1 X (CLD62 optional)
Digital outputs
Relay active = 1 / X = doesnt matter
DOUT1 DOUT 2 DOUT 3 DOUT 4 DOUT 5 DOUT 6 DOUT MV
Mains ON / PWUP 1 1 X X X X X
Ready (measurement) 0 1 X X X X X
Warning 0 0 X X X X X
Error 1 0 X X X X X
Overflow X X X X X 0 X
DOUT AUX =0
=1
Digital inputs
Input voltage (12 24 VDC; on demand 3 5 VDC) = 1
0 = GND
X = doesnt matter
DIN 1 DIN 2 DIN 3 DIN 4 DINAUX
Zero point calibration 1 0 X X X
(NO and/or NOX)
Span calibration 0 1 X X X
(NO and/or NOX)
NOX mode channel X X 0 X X
NO mode channel X X 1 X X
NO/NOX switching mode X X 1 1 X (CLD63 optional)
Range M1 X X X 0 0
Range M2 X X X 1 0
Range M3 X X X 0 1
Range M4 X X X 1 1
Digital outputs
Relay active = 1 / X = doesnt matter
DOUT1 DOUT 2 DOUT 3 DOUT 4 DOUT 5 DOUT 6
Mains ON / PWUP 1 1 X X X X
Ready (measurement) 0 1 X X X X
Warning 0 0 X X X X
Error 1 0 X X X X
Overflow X X X X X 0
DOUT AUX =0
=1
Digital inputs
Input voltage (12 24 VDC; on demand 3 5 VDC) = 1
0 = GND
X = doesnt matter
DIN 1 DIN 2 DIN 3 DIN 4 DINAUX
Zero point calibration 1 0 X X X
(NO and/or NOX)
Span calibration 0 1 X X X
(NO and/or NOX)
NOX mode channel X X 0 1 X
NO mode channel X X 1 0 X
NO/NOX switching mode X X 1 1 X (CLD63 optional)
Range ML X X X X 0
Range MH X X X X 1
Digital outputs
Relay active = 1 / X = doesnt matter
DOUT1 DOUT 2 DOUT 3 DOUT 4 DOUT 5 DOUT 6 DOUT MV
Mains ON / PWUP 1 1 X X X X X
Ready (measurement) 0 1 X X X X X
Warning 0 0 X X X X X
Error 1 0 X X X X X
Overflow X X X X X 0 X
DOUT AUX =0
=1