- 34 -
9.
SERIAL
INTERFACE
AND
USB
The
HD32.8
is fitted with an electrically isolated RS-232C serial interface, and an USB 2.0
interface. Optionally, we can supply a serial cable with sub D 9-pole female connectors (code
9CPRS232
) or a cable with USB 2.0 connectors (code
CP22
).
The USB connection requires the previous installation of a driver contained in the DeltaLog9 CD-
ROM.
Install the driver before connecting the USB cable to the PC
(
please see the
documentation provided with DeltaLog9 CD-ROM
).
Standard parameters of the instrument RS232 serial transmission are:
•
Baud rate 38400 baud
•
Parity None
•
N. bit
8
•
Stop bit
1
•
Protocol
Xon/Xoff
It is possible to change the RS232C serial port baud rate by setting the “
Baud Rate
” parameter in
the menu (please see par. “4.3.1 The Baud Rate”). The possible values are: 38400, 19200, 9600,
4800, 2400, 1200. The other transmission parameters are fixed. To send the data to an 80 column
printer with serial input, check the maximum baud rate that can be set on the printer.
The USB 2.0 connection does not require the setting of parameters.
The selection of the port is carried out directly by the instrument: If the USB port is
connected to a PC, the RS232 serial port is automatically disabled and vice versa.
The instruments are provided with a complete set of commands and data queries to be sent via the
PC.
All the commands transferred to the instrument must have the following structure:
XXCR
where:
XX
is the command code and
CR
is the Carriage Return (ASCII 0D)
The XX command characters are exclusively upper case characters. Once a correct command is
entered, the instrument responds with “&”; when any wrong combination of characters is entered,
the instrument responds with “?”.
The instrument response strings end with the sending of the CR command (Carriage Return) and LF
(Line Feed).
Before sending commands to the instrument via the serial port, locking the keyboard to avoid
functioning conflicts is recommended: Use the P0 command. When complete, restore the keyboard
with the P1 command.
Command
Response
Description
G0
Model HD32.8
Instrument model
G1
M=Thermocouple datalogger
Model description
G2
SN=12345678
Instrument serial number
G3
Firm.Ver.=01.00
Firmware version
G4
Firm.Date=2007/10/12
Firmware date
G5
cal 0000/00/00 00:00:00
Calibration date and time
GB
User ID=0000000000000000
User code (set with T2xxxxxxxxxxxxxxxx)
K0
&
Stop printing data
K4
&
Start logging data
K5
&
Stop logging data
KP
&
Auto-power-off function = ENABLE
KQ
&
Auto-power-off function = DISABLE