- -
44
5.
SERIAL
INTERFACE
AND
USB
The
HD37AB1347
is fitted with an electrically isolated RS-232C serial interface, and an USB 2.0
interface. Optionally, you can receive on request:
•
Serial connection cable (code
HD2110/RS
) with M12 connector on instrument’s side and
Sub D 9-pole female connector on computer’s side.
•
Serial connection cable (code
HD2110/USB
) with M12 connector on instrument’s side and
USB 2.0 connector on computer’s side.
The USB connection requires the previous installation of the driver saved on the CD-ROM of the
instrument software.
Install the driver before connecting the USB cable to the PC
(please see the
details on chapter
6.2 Connection to the USB 2.0 port
).
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 "
Selection of the serial
transmission speed (Baud Rate)
" parameter in the menu (please see the menu on chapter
4.3.1 The
Baud Rate
). 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 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
P0
&
Ping (locks the instrument keyboard for 70 seconds)
P1
&
Unlocks the instrument keyboard
S0
G0
Model HD37AB1347
Instrument model
G1
M=Indoor Air Quality
Model description
G2
SN=12345678
Instrument serial number
G3
Firm.Ver.=01.00
Firmware version
G4
Firm.Date=2010/02/10
Firmware date
G5
cal 2010/02/10 10:30:00
Calibration date and time
C1
Input 1 probe type, serial number, calibration date
Содержание HD37AB1347
Страница 2: ...2...
Страница 52: ...52 5 Wait for the drivers removal 6 The USB drivers removal is now complete...