HLC 723GX
HLC 723GX
HLC 723GX
HLC-723GX
HOST CONNECTION SPECIFICATIONS
Rev.2
TOSOH CORPORATION
BIOSCIENCE DIVISION
HOST CONNECTION SPECIFICATIONS HLC-723GX Rev.2
Revision record
Contents
1. INTRODUCTION...................................................................................................... 4
2. HARDWARE SPECIFICATIONS............................................................................. 4
1.Introduction
This document describes the communication arrangements used when connecting the
HLC-723GX (hereafter called analyzer) to a host computer (hereafter called host).
2.Hardware specifications
(1) Communication specifications
Item Specification
Transmission method EIA-574 (or EIA-232, RS-232C)
Asynchronous (start-stop transmission),
half-duplex
Transmission rate 1200, 2400, 4800, 9600 bps
Transmission code ASCII
Data length 7 bit, 8 bit
Parity Even, odd, none
Stop bit 1 bit, 2 bit
(2) Connections
Communication cable
Analyzer Host
(3) Connector
A D-SUB 9p (male) is used as the connector to the cable on the analyzer side.
(Connector which should be attached to the analyzer side of the communication cable
is D-SUB 9s (female).)
Pin No.
Signal name Pin No. 9pins 25pins Signal name
case 1 Frame GND (FG)
Receive data (RxD) 2 2 3 Receive data (RxD)
Transmit data (TxD) 3 3 2 Transmit data (TxD)
Data terminal ready (DTR) 4 4 20 Data terminal ready (DTR)
Signal GND (SG) 5 5 7 Signal GND (SG)
Data set ready (DSR) 6 6 6 Data set ready (DSR)
Request to send (RTS) 7 7 4 Request to send (RTS)
Clear to send (CTS) 8 8 5 Clear to send (CTS)
3.Communication Setting
Communication setting for analyzer can be arranged on the RS232C screen of the
analyzer.
• Automatically transmitted
: When highlighted, results are automatically transmitted.
4.Communication mode
There are two communication modes, query mode, on which analyzer queries test
order to the host using sample ID after reading the bar-code on the sample, and
result transmission mode on which analyzer transmits result to the host every time
result is obtained. Various formats compatible with the old models are available on
the result transmission mode.
5.Transmission protocol
Handshake protocol is used as transmission protocol.
The control codes used in communications are shown below.
Code Name Meaning
(Hexadecimal)
02 STX Text start
03 ETX Text end
04 EOT Transmission end
06 ACK Normal reception response
15 NAK Abnormal reception response
Note:
If the host computer receives dust data, such as those caused by noise, from the
analyzer, please be sure to process them properly by the host computer.
5.1.Handshake
This protocol is used on the analyzer.
Communication content
<STX> text <ETX><BCC> →
← <ACK> or <NAK>
<EOT> →
Note:
1. <BCC> is the exclusion logic sum (exclusive OR), in character units, from
the start of the text to <ETX> and consists of a 1 byte binary. Moreover,
since <BCC> becomes the value of 00~7F by hexadecimal, please
process not to mistake for the control code used in transmission
procedure.
2. When <NAK> is returned transmission will be tried again up to 5 times.
After 5 times <EOT> will be transmitted and the protocol will be
reinitialized.
3. When multiple data sets exist, <EOT> will be transmitted at the end of
each data set.
4. The string from the beginning of the text to <BCC> must be transmitted
within 20 seconds. If this time limit is exceeded the protocol will be
reinitialized.
5. If there is no <ACK> or <NAK> response within 20 seconds, <EOT> will
be transmitted and the protocol will be reinitialized.
← <ACK>
<EOT> →
6.Communication format
6.1.Query
First, an order request for the sample ID is transmitted to the host from the
analyzer, then the analyzer waits for a response from the host. If no responses
are given within 30 seconds, the analyzer will consider it that there is no orders for
the sample ID.
To activate query mode, turn the QUERY key on (highlighted) on the RS232C
screen.
Analyzer → host
Number of
Information Content
characters
G 1 Query code (Fixed as the character G)
, 1 Comma
[Sample ID] 20 Aligned left; characters to the right are filled with spaces when 20
characters are not used. No zero suppression
Host → analyzer
Number of
Information Content
characters
A 1 Order code (Fixed as the character A)
, 1 Comma
[Sample ID] 20 Aligned left; characters to the right are filled with spaces when 20
characters are not used. No zero suppression
Set the sample ID for which the analyzer has requested
, 1 Comma
[Sample type] 2 00 = Whole blood, 01 = Diluted (Refer to note)
[Container 2 00 = Primary tube, 01 = Sample cup (Refer to note)
type]
[Reserved] 2 (Fixed as spaces)
, 1 Comma
[A1c item] 2 00 = No request 01 = Request
[Reserved] 6 (Fixed as spaces)
, 1 Comma
[Reserved] 8 (Fixed as spaces)
Note: Sample and container type designations are subject to the SMP MODE on the
PARAMETER screen of the analyzer. Refer to "5.1.1 Sample and container
type designation" for details.
Communication example
(Analyzer) (Host)
<STX>G,ID-0123456789 <ETX><BCC> →
← <ACK>
<EOT> →
← <STX>A,ID-0123456789 ,0001 ,01 , <ETX><BCC>
<ACK> →
← <EOT>
Samples
Setting Sample type Container type Query
STANDARD Judged by the sample Judged by the sample Yes
sensors (SAMP1, SAMP2) if sensors.
it is a sample cup or a
primary tube. Sample in a
sample cup is considered as
a diluted sample and that in
a primary tube is considered
as a whole blood sample.
WHOLE BLD Fixed as a whole blood Judged by the sample Yes
sample sensors.
DILUTED Fixed as a diluted sample Judged by the sample Yes
sensors.
HOST Designated by the host Judged by the sample Yes
sensors.
6.2.Measurement results
GX format or G9 format, G8 format, G7 format or GHbV compatible format may be
selected as the data format.
GX format or G8 format is recommended for this analyzer.
6.2.1.GX format
6.2.1.1.HI-LEVEL mode
The data format is shown below.
1. The number of digits used for the sample number is set by the
SMPx key on the RS232C screen of the analyzer.
Various digit conversion rules are shown below.
In the case of 5
Actual sample In the case In the case of
Specimen type digits (put 0 in
number of 3 digits 8 digits
second digit)
Normal samples 0001 ~ 7999 001 ~ 999 00001 ~ 70999 MMDD0001 ~
(last 3 digits) MMDD7999
CALIB 9001 ~ 9999 001 ~ 999 90001 ~ 90999 MMDD9001 ~
(last 3 digits) MMDD9999
*MMDD is the date of measurement. (MM: month, DD: day)
2. The number of digits used for each percent value and IFCC
value is subject to PERCENT DECIMAL of the PARAMETER
screen as shown below.
PERCENT DECIMAL Percent value IFCC value
1 0.0-100.0 0-99999
2, 9 0.00-100.00 0-99999
8 0.00-100.00 0.0-999.9
5. The number of digits used for the sample ID is set by the BCxx
key on the RS232C screen of the analyzer.
Communication examples are the case that TRANS COMPONENT of the PARAMETER
screen is set as “23456789A---”.
Communication example: 1 data set
(Analyzer) (Host)
<STX>HLC-723GX 12011026000111A0.911A1.011A0.91111.71110.5AA86.
6 AA0.0 AA0.0 AA0.0 AA0.0 AA0.0 AA0.0AA12.4A1A0.0 A10.5AAA0.0AAA
0.0AAA0.0AAA0.0AAA0.0AAA9200AA00AAAABAR-CODE-ID111111111<ETX>
<BCC> →
← <ACK>
<EOT> →
Communication example: Satisfied condition formula for level 1 flag with #ERR TRANS
FORM set as SPACE
(Analyzer) (Host)
<STX>HLC-723GXAAA120210260001AA0.00110.86110.95110.93111.67110.5
4A86.64AA0.00AA0.00AA0.00AA0.00AA0.00A12.36A10.54AA0.00AA0.00AA0
.00AA0.00AA0.00AA0.00AAA9201AA00AAAABAR-CODE-ID111111111<ETX>
<BCC> Æ
Å <ACK>
<EOT> Æ
6.2.2.G8 format
6.2.2.1.HI-LEVEL mode
The data format is shown below.
1. The number of digits used for the sample number is set by the
SMPx key on the RS232C screen of the analyzer.
Various digit conversion rules are shown below.
In the case of 5
Actual sample In the case In the case of 8
Specimen type digits (put 0 in
number of 3 digits digits
second digit)
Normal samples 0001 ~ 7999 001 ~ 999 00001 ~ 70999 MMDD0001 ~
(last 3 digits) MMDD7999
CALIB 9001 ~ 9999 001 ~ 999 90001 ~ 90999 MMDD9001 ~
(last 3 digits) MMDD9999
*MMDD is the date of measurement. (MM: month, DD: day)
2. The number of digits used for each component value is subject
to PERCENT DECIMAL of the PARAMETER screen as shown
below.
PERCENT DECIMAL Percent value IFCC value
1 0.0-100.0 0-99999
2, 9 0.00-100.00 0-999999
8 0.00-100.00 0.0-9999.9
5. The number of digits used for the sample ID is set by the BCxx
key on the RS232C screen of the analyzer.
Communication examples are the case that TRANS COMPONENT of the PARAMETER
screen is set as “23456789AT--”.
Communication example: 1 data set
(Analyzer) (Host)
<STX>1210260001110.6110.8110.8112.2115.8190.3110.0
110.0110.0117.300BAR-CODE-ID111111111<ETX><BCC> Æ
Å <ACK>
<EOT> Æ
6.2.3.G9 format
6.2.3.1.HI-LEVEL mode
The data format is the same as that of G8 format. (Refer to “6.2.2.1 HI-LEVEL
mode”)
6.2.4.G7 format
6.2.4.1.HI-LEVEL mode
The data format is the same as that of G8 format. (Refer to “6.2.2.1 HI-LEVEL
mode”)
1. The number of digits used for the sample number is set by the
SMPx key on the RS232C screen of the analyzer.
Various digit conversion rules are shown below.
In the case of 5
Actual sample In the case In the case of 8
Specimen type digits (put 0 in
number of 3 digits digits
second digit)
Normal samples 0001 ~ 7999 001 ~ 999 00001 ~ 70999 MMDD0001 ~
(last 3 digits) (See note) MMDD7999
CALIB 9001 ~ 9999 001 ~ 999 90001 ~ 90999 MMDD9001 ~
(last 3 digits) MMDD9999
*MMDD is the date of measurement. (MM: month, DD: day)
1 0.0-100.0 0-99999
2, 9 0.00-100.00 0-999999
8 0.00-100.00 0.0-9999.9
5. The number of digits used for the sample ID is set by the BCxx
key on the RS232C screen of the analyzer.
Communication examples are the case that TRANS COMPONENT of the PARAMETER
screen is set as “23456798AT--”.
Communication example: 1 data set
(Analyzer) (Host)
<STX>10260001110.6110.8110.8112.2115.8190.3110.0110.0
110.000111117.3BAR-CODE-ID111111111<ETX><BCC> Æ
Å <ACK>
<EOT> Æ
Flag level 0
Flag level 1
If the measurement result satisfied two or more condition formula for flag defined
on the FLAG screen, only one flag code is transmitted to the host according to the
priorities of flags. The level 1 flag is given priority over the level 0 flag. If two or
more condition formula of the same level of flag were satisfied, a higher priority is
given to the flag set lowest in the table of the FLAG screen.
For example, when the measurement result satisfied the conditions defined in the
1st row and 3rd row of the table in Figure 6-5, “40” is transmitted to the host as the
flag code.
If you need to change the priority of flag to be transmitted, please arrange the
order of rows in the table on the FLAG screen carefully studying the cases.
#ERR TRANS FORM ZERO : When the result satisfied the condition formula
for the level 1 flag, zero is transmitted as the
result value (percent value).
#ERR TRANS FORM SPACE : When the result satisfied the condition formula
for the level 1 flag, spaces are transmitted as
the result value (percent value).
The number of digits used for each percent value is subject to the set value by
PERCENT DECIMAL on the PARAMETER screen. A communication example when
the measurement result satisfied the condition formula for the level 1 flag is shown
below.
Communication example, #ERR TRANS FORM set to “SPACE” (The part shown in
gray: filled with spaces)
(Analyzer) (Host)
<STX>HLC-723GXAAA120110260001AAA0.911A1.011A0.911A1.71110.51186.
6AAA0.0 AA0.0 AA0.0 AA0.0 AA0.0 AA0.0AA12.4AAA0.0AA10.5AAA0.0AAA
0.0AAA0.0AAA0.0AAA0.0AAA9201AA01AAAABAR-CODE-ID111111111<ETX>
<BCC> Æ
Å <ACK>
<EOT> Æ