- -
31
SERIAL
INTERFACE
AND
USB
The HD2106.1 and HD2106.2 instruments are fitted with an electrically isolated RS-232C serial in-
terface; the HD2106.2 also has an USB 2.0 interface.
The following serial cables can be used:
•
HD2110CSNM
:
serial connection cable with 8-pole MiniDin connector on one end and
9-pole Sub D connector on the other end;
•
C.206
: serial connection cable with 8-pole MiniDin connector on one end and USB type A
connector on the other end. With integrated RS232/USB converter;
•
CP23
:
connection cable with Mini-USB type B connector on one end and USB type A con-
nector on the other end (only for HD2106.2).
The connection via the C.206 cable requires the previous installation of the cable USB drivers. In-
stall the drivers
before connecting the C.206 cable to the PC
.
The connection via the CP23 cable does not require the installation of USB drivers: when connecting
the instrument to the PC, the Windows® operating system automatically recognizes the device as an
HID device (Human Interface Device) and uses the drivers already included in the operating system.
Cable
Instrument
port
PC
port
Installation of
USB drivers
HD2110CSNM
RS232 (MiniDin)
RS232 (9-pole SubD)
No
C.206 RS232
(MiniDin) USB
Yes
CP23 USB
(Mini-USB) USB
No
The instrument standard serial transmission parameters 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 "
Baudrate
" parameter in the
menu (please see page 13). The possible values are: 38400, 19200, 9600, 4800, 2400, 1200. The
other transmission parameters are fixed.
The USB 2.0 connection does not require the setting of parameters.
The instruments are provided with a complete set of commands and data queries to be sent via the PC.
The serial commands work with a standard serial communication program (e.g. Hyperterminal) only
through the RS232 serial port of the instrument, using the cable HD2110CSNM or the cable C.206.
All the commands transferred to the instrument must have the following structure:
XYcr
where:
XY
is the command code and
cr
is the Carriage Return (ASCII 0D)
Command
Response
Description
P0
&
Ping (locks the instrument keyboard for 70 seconds)
P1
&
Unlocks the instrument keyboard
S0
AT 21.3 1000
Captured measurements (24 characters) AT = automatic temperature
compensation
G0
Model HD2106 -2
Instrument model