GB
Hand Held Thermometer
CTH6500
CTH6500
MEASURING value 1 + 2 automatic recognize
FC (hex)
Enabling the keyboard
0 (hex)
Lese Versionsnummer der Firmware
I (ASCII)
Speicher auslesen (nur bei Geräten mit Datenlogger
n (ASCII)
2079988.1 09/2011 GB/D
WIKA Operating Instructions CTH6500
22
3. Interface Protocol RS-232
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:
Baud rate
2400 baud
Datenbits
8
Stopbits
2
Parity
None
To start data transmission you must send the following characters.
The following index shows you which value can be requested over
the interface.
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).
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
RS 232 interface
PROCEDURE V24oeffnen (com1, com2: Boolean);
{RS 232 Initialisieren}
VAR wert: Byte;
BEGIN
IF com1 THEN BEGIN
{initialisation of COM 1}
PORT [$3FB]: = 128;
{activate baud rate}
PORT [$3F8]: = 48;
{baud rate - LSB, 2400 Baud}
PORT [$3F9]: =
0;
{baud rate - MSB}
PORT [$3FB]: =
7;
{8 Bits, No Parity, 2 Stop}
PORT [$3FC]: =
2;
{DTR = 0, RTS = 1}
Wert: = PORT [$3F8]
{receiving register empty}
END;
END;