Rs232 Interface Protocol - Lauda DCS2 Operating Instructions Manual

Table of Contents

Advertisement

6.

RS232 interface protocol

During the data transmission, the availability via PC of the the tension levels for RTS (=+12V) and
DTR (= -12V) must be assured by a software's regulation code.
Parameter:
To start the data transmission you have to send the following characters. The following index shows
you which value can be requested over the interface.
Measuring value 1 + 2 autom. recognize
Enabling the keyboard
The datas would be sent in the following format.
Datentyp = String
he length of the string depends on the instrument (a two-channel or one-channel instrument).
measuring value 1
1
2
3
4
Example: Turbo Pascal Source-Code for initialisation of the RS232 interface
PROCEDURE V24oeffnen(com1,com2:Boolean); { initialisation of RS 232 }
VAR wert
: Byte;
BEGIN
IF com1 THEN BEGIN
PORT [$3FB]:=128;
PORT [$3F8]:= 48;
PORT [$3F9]:= 0;
PORT [$3FB]:= 7;
PORT [$3FC]:= 2;
Wert := PORT [$3F8]
END;
END
20
Baudrate
2400 Baud
Datenbits
8
Stopbits
2
Parität
None
By sending the command FC(hex) you will get the complete data, the instrument lock
automatically the keyboard. To release the keyboard you have to send the command
0(hex).
unit
5
6
7
8
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
{ initialisation of COM 1 }
{ activate baud rate
{ baud rate - LSB, 2400 baud }
{ baud rate - MSB
{ 8 Bits, No Parity, 2 Stop }
{ DTR = 0, RTS = 1
{ receiving register empty }
RS 232 interface protocol
DCS 2
FC (hex)
0 (hex)
measuring value 2
}
}
}
DigiCal DCS 2
unit
LF CR
YAME0017/09.10.03

Advertisement

Table of Contents
loading

Related Products for Lauda DCS2

Table of Contents