Hand Held Thermometer
CTH6500
3. Interface Protocol RS-232
GB
During the data transmission it has to be secured that the RTS
and DTR voltage levels of +12 VDC and -12 VDC have to be
maintained by the PC.
Parameter:
To start data transmission you must send the following characters.
The following index shows you which value can be requested over
the interface.
MEASURING value 1 + 2 automatic recognize
Enabling the keyboard
Lese Versionsnummer der Firmware
Speicher auslesen (nur bei Geräten mit Datenlogger
The data is sent in the following format.
Data Type = String
The length of the string depends on the instrument (a two-channel
or one-channel instrument).
Example: Turbo Pascal Source-Code for initialisation of the
PROCEDURE V24oeffnen (com1, com2: Boolean);
{RS 232 Initialisieren}
VAR wert: Byte;
BEGIN
IF
com1
PORT
PORT
PORT
PORT
PORT
Wert:
END;
END;
22
Baud rate
Datenbits
Stopbits
Parity
By sending the command FC (hex) you will get all
the data and the instrument will lock the keyboard
automatically. To release the keyboard you must
send the command 0 (hex).
RS 232 interface
THEN BEGIN
[$3FB]: = 128;
[$3F8]: =
[$3F9]: =
[$3FB]: =
[$3FC]: =
= PORT [$3F8]
WIKA Operating Instructions CTH6500
2400 baud
8
2
None
{initialisation of COM 1}
{activate baud rate}
48;
{baud rate - LSB, 2400 Baud}
0;
{baud rate - MSB}
7;
{8 Bits, No Parity, 2 Stop}
2;
{DTR = 0, RTS = 1}
{receiving register empty}
CTH6500
FC (hex)
0 (hex)
I (ASCII)
n (ASCII)