Uploaded by test.dummy

pocH-100i Interface

advertisement
Technical Information
15.5 Output format for host computer
Serial (RS-232C standard) and LAN (Ethernet) output can be used for output from this instrument to the
host computer.
Data is output from the interface ports labeled “
Connect one of these ports to the host computer.
” or “
” on the right side of the main unit.
Note
To utilize the host computer output interface, install software compatible with
pocH-100i onto the computer to enable data reception.
•
Serial communications
Hardware
(1) Connector
•
Connect to the connector labeled “
•
The instrument connector is a 9-pin D-SUB male connector.
Connect a 9-pin D-SUB female connector to the instrument.
•
Fixing screws for this connector are in inch-specification.
” on the right side of the main unit.
(2) Instrument connector signal
Pin No.
Signal name
Signal direction
1
2
Receive Data
(RxD)
From Host to pocH-100i
3
Transmit Data
(TxD)
To HOST from pocH-100i
4
Data Terminal Ready
(DTR)
To HOST from pocH-100i
5
Signal Ground
(SG)
6
Data Set Ready
(DSR)
From Host to pocH-100i
7
Request To Send
(RTS)
To HOST from pocH-100i
8
Clear To Send
(CTS)
From Host to pocH-100i
9
(3) Communication format
Asynchronous full duplex mode is used. (The underlined items are initial settings.)
Setting
Data length
7 bits / 8 bits
Stop bit
1 bit / 2 bits
Parity
Even / Odd / None
Protocol
Class A / Class B
Interval
0 s / 2 s / 3 s / 5 s / 7 s / 10 s / 15 s
RTS/CTS
15-6
1200 bps / 2400 bps / 4800 bps / 9600 bps / 19200 bps
March 2002
Baud rate
Setting type
Use / Not use
Sysmex pocH-100i
Technical Information
(4) Signal level
Conforms to JISC6361, as shown below.
Level
Data signal
Control signal
+3 V or more
Logic “0”, Start bit
ON
-3 V or less
Logic “1”, Stop bit
OFF
Software
(1) Communication format
1)
Code
Data: ASCII code
Control code: [STX], [ETX], [ACK], [NAK]
2)
Text structure
[STX] is sent at the start of the data, and [ETX] is sent at the end of the data.
S
T
X
E
T
X
Order of transmission
3)
Communication protocol
There are two classes of communication protocols that can be selected according to the system
status.
March 2002
• Class A
This is unidirectional transmission which does not utilize responses from the host
computer.
Sysmex pocH-100i
15-7
Technical Information
• Class B
Confirmation responses ([ACK], [NAK]) are received from the host computer in response
to the transmitted data. Data is transmitted alternately between the instrument and host
computer.
Host computer
pocH-100i
Analysis data is received.
Analysis data is sent.
Analysis data transmission
is completed correctly.
Repeats transmission a
maximum of 3 times. If [NAK] is
received in response to the third
transmission, the operator uses
the touch panel to select whether
to retransmit the same data or
cancel transmission.
4)
[ACK]
[NAK]
When an error does not
occur, [ACK] (06H) is sent.
When an error occurs, [NAK]
(15H) is sent.
Transmission errors
If an error occurs during transmission, transmission is interrupted and an error message is
displayed. The operator can select whether to retransmit ([OK] button) or cancel transmission
([CANCEL] button). A transmission error occurs in the following cases.
• Host computer is off-line.
• Control signal DSR is OFF.
• There is no response from the host computer within 15 seconds after data is sent (Class B
only).
• The host computer sends anything other than [ACK] or [NAK] after data is sent (Class B
only).
• [NAK] is sent in response to the fourth transmission of the data (Class B only). (The
instrument automatically repeats data transmission a maximum of 3 times when it receives
[NAK].)
5)
Transmission timing, destination, and contents
Serial interface
Host computer
In normal analysis
Analysis data (A)
In QC analysis
QC data (A)
• Analysis data includes the date, sample number, analysis data, flags, and other information.
March 2002
• QC data is X or L-J data.
• Settings for connected devices are changed in the setting program.
15-8
Sysmex pocH-100i
Technical Information
LAN communication
Hardware
The physical layer and data link layer of this port conform to IEEE802.3.
1. Connector
•
Connect to the connector labeled “
•
The instrument connector utilizes a twisted-pair cable (UTP cable category 5) for Ethernet use.
(Connector: RJ-45)
” on the right side of the main unit.
2. Connector signals
Pin No.
Signal name
Signal direction
1
TD+
To Host from pocH-100i
2
TD-
To Host from pocH-100i
3
RD+
From Host to pocH-100i
4
NC
-
5
NC
-
6
RD-
From Host to pocH-100i
7
NC
-
8
NC
-
Software
1. Network layer/ transport layer
Conforms to the TCP/IP protocol.
2. Session layer
•
The connection is made with the host computer as the server and the instrument as the client.
They are connected at start-up.
•
If the connection fails, a connection error occurs. The connection is attempted again after the
operator has corrected the error using the touch panel.
3. Presentation layer
ASCII code is used for the transmission data. [STX] is added to the start of the data, and [ETX] is
added to the end of the data.
March 2002
S
T
X
E
T
X
Order of transmission
Sysmex pocH-100i
15-9
Technical Information
Format
The same format is output through serial or LAN port, and includes 3 types of output formats:
•
pocH-100i format
•
KX-21N format
•
ASTM format
pocH-100i format
pocH-100i format includes an “Analysis data format” for output of sample data, and a “QC data format”
for output of QC data. Each has different text length and contents. (They are identified by the sample
distinction code.)
If the length of the transmitted data, including [STX] and [ETX], exceeds 256 bytes, it is divided into
multiple text blocks for transmission. The divided text blocks are sent in order, beginning from the head,
and no other data is mixed in between the blocks. The text sequence is expressed by text distinction code
II numerals.
Analysis data format
15-10
No. of characters
Format
STX
1
(02H)
Text distinction code I
1
Fixed character: “D”
Text distinction code II
1
Text No.: “1”
Sample distinction code
1
Fixed character: “U”
Instrument ID
40
(Instrument name)^(PS code)^(Serial No.)
40 characters, left-justified, with space padding.
Example:
pocH-100i^12345678^12345678901245
Year
4
4 digits, with zero padding. Example: “2001”
Month
2
2 digits, with zero padding. Example: “05”
Day
2
2 digits, with zero padding. Example: “17”
Analysis information
1
Analysis mode
WB mode: “0”, PD mode: “5”
Sample ID
15
Instrument ID, 15 characters, right-justified, with space
padding or zero padding (as set in “ID Pad.” of Host
output settings).
Example:
“
AB-12345”, “0000000AB-12345”
Particle distribution analysis
information
6
(
Not used
1
“0”
WBC
5
4 significant digits, with decimal point excluded, with
zero padding + 1 digit of flag information.
Example:
Data (76), Flag (3)→ “00763”
RBC
5
Same as above
)
Sysmex pocH-100i
March 2002
Parameter
Technical Information
Parameter
No. of characters
Format
HGB
5
4 significant digits, with decimal point excluded, with
zero padding + 1 digit of flag information.
HCT
5
Same as above
MCV
5
Same as above
MCH
5
Same as above
MCHC
5
Same as above
PLT
5
Same as above
LYM%
5
Same as above
MXD%
5
Same as above
NEUT%
5
Same as above
LYM#
5
Same as above
MXD#
5
Same as above
NEUT#
5
Same as above
RDW-SD
5
Same as above
RDW-CV
5
Same as above
PDW
5
Same as above
MPV
5
Same as above
P-LCR
5
Same as above
ETX
1
(03H)
Total 171
Parameter
No. of characters
Format
STX
1
(02H)
Text distinction code I
1
Fixed character: “D”
Text distinction code II
1
Text No.: “2”
WBC particle size data
100
50 sets of 2-digit hexadecimal data, converted to ASCII
RBC particle size data
100
50 sets of 2-digit hexadecimal data, converted to ASCII
ETX
1
(03H)
Total 204
March 2002
Parameter
No. of characters
Format
STX
1
(02H)
Text distinction code I
1
Fixed character: “D”
Text distinction code II
1
Text No.: “3”
PLT particle size data
80
40 sets of 2-digit hexadecimal data, converted to ASCII
ETX
1
(03H)
Total 84
Sysmex pocH-100i
15-11
Technical Information
QC data format
Parameter
15-12
No. of characters
Format
1
(02H)
Text distinction code I
1
Fixed character: “D”
Text distinction code II
1
Text No.: “1”
Sample distinction code
1
Fixed character: “C”
Instrument ID
40
(Instrument name)^(PS code)^(Serial No.)
40 characters, left-justified, with space padding.
Example:
“pocH-100i^12345678^12345678901245
”
Lot ID
10
10 characters, left-justified, with space padding
Data distinction code
1
QC method
X control: “X”, L-J control: “L”
Year
4
4 digits, with zero padding. Example: “2001”
Month
2
2 digits, with zero padding. Example: “05”
Day
2
2 digits, with zero padding. Example: “17”
Hour
2
2 digits, with zero padding. Example: “10”
Minute
2
2 digits, with zero padding. Example: “15”
Data ID
1
1 digit QC file No. Example: “1”
Not used
1
“0”
Not used
1
“0”
WBC
4
4 significant digits, with decimal point excluded, with
zero padding.
Example:
Data (76) → “0076”
LYM%
4
Same as above
MXD%
4
Same as above
NEUT%
4
Same as above
LYM#
4
Same as above
MXD#
4
Same as above
NEUT#
4
Same as above
RBC
4
Same as above
HGB
4
Same as above
HCT
4
Same as above
MCV
4
Same as above
MCH
4
Same as above
MCHC
4
Same as above
RDW-SD
4
Same as above
RDW-CV
4
Same as above
PLT
4
Same as above
March 2002
STX
Sysmex pocH-100i
Technical Information
Parameter
No. of characters
Format
PDW
4
4 significant digits, with decimal point excluded, with
zero padding.
MPV
4
Same as above
P-LCR
4
Same as above
W-SMV
4
Same as above
W-MLV
4
Same as above
ETX
1
(03H)
Total 155
Parameter
No. of characters
Format
STX
1
(02H)
Text distinction code I
1
Fixed character: “D”
Text distinction code II
1
Text No.: “2”
WBC particle size data
100
50 sets of 2-digit hexadecimal data, converted to ASCII
RBC particle size data
100
50 sets of 2-digit hexadecimal data, converted to ASCII
ETX
1
(03H)
Total 204
Parameter
No. of characters
Format
STX
1
(02H)
Text distinction code I
1
Fixed character: “D”
Text distinction code II
1
Text No.: “3”
PLT particle size data
80
40 sets of 2-digit hexadecimal data, converted to ASCII
ETX
1
(03H)
Total 84
Details of pocH-100i format
March 2002
Instrument ID and particle size data are added to KX-21N format. For QC format, lot information is
added also. For other data, see the description of KX-21N format.
Sysmex pocH-100i
15-13
Technical Information
Histogram data
Histogram data is 2-digit hexadecimal data converted to ASCII. It is 50 bins of data for “WBC” and
“RBC”, and 40 bins of data for “PLT”.
Example:
ch[0]=123(0x7B)
ch[1]=45(0x2D)
ch[2]=56(0x38)
⋅⋅⋅
ch[49]=67(0x43)
The above data is arranged as shown below.
→“7B2D38...........................43”
Instrument ID
Instrument ID is composed of [(Instrument name)^(PS code)]. It is a character string of 40 characters,
left-justified, with space padding. The PS code is fixed according to the instrument specifications.
Example:
Instrument name: pocH-100i
PS code: 1234
Serial No.: 123456 (serial number set at user information settings)
→ “pocH-100i^1234^123456
”
KX-21N format
KX-21N format includes an “Analysis data format” for output of sample data, and a “QC data format” for
output of QC data. Each has different text length and contents. (They are identified by the sample
distinction code.)
Text distinction code II is usually “1”.
However, if the text length becomes 256 bytes or more, the text will be divided into 2 or more blocks for
transmission. The sequence of these blocks will be expressed by the text distinction code II numerals.
([ETB] codes will not be used.)
Analysis data format
15-14
No. of characters
Format
STX
1
(02H)
Text distinction code I
1
Fixed character: “D”
Text distinction code II
1
Text No.: “1”
Sample distinction code
1
Fixed character: “U”
Year
4
4 digits, with zero padding. Example: “2001”
Month
2
2 digits, with zero padding. Example: “05”
Day
2
2 digits, with zero padding. Example: “17”
Analysis information
1
Analysis mode
WB mode: “0”, PD mode: “5”
Sysmex pocH-100i
March 2002
Parameter
Technical Information
Parameter
No. of characters
Format
Sample ID
15
Instrument ID, 15 characters, right-justified, with space
padding or zero padding (as set in “ID Pad” of Host
output settings).
Example:
“
AB-12345”
Particle distribution analysis
information
6
(
Not used
1
“0”
WBC [×10 /µL]
5
4 significant digits, with decimal point excluded, with
zero padding + 1 digit of flag information.
Example:
.
)
Data (76), Flag (3) → “00763” (
RBC [× 106/µL]
5
(
HGB [g/dL]
5
(
HCT [%]
5
(
.
)
MCV [fL]
5
(
.
)
MCH [pg]
5
(
.
)
MCHC [g/dL]
5
(
.
)
PLT [× 10 /µL]
5
(
LYM% [%]
5
(
.
)
MXD% [%]
5
(
.
)
NEUT% [%]
5
(
.
)
LYM# [× 103/µL]
5
(
.
)
MXD# [× 103/µL]
3
3
)
.
)
)
)
5
(
.
)
3
NEUT# [× 10 /µL]
5
(
.
)
RDW-SD [fL]
5
(
.
)
RDW-CV [%]
5
(
.
)
PDW [fL]
5
(
.
)
MPV [fL]
5
(
.
)
P-LCR [%]
5
(
.
)
ETX
1
(03H)
Total 131
QC data format
March 2002
Parameter
No. of characters
Format
STX
1
(02H)
Text distinction code I
1
Fixed character: “D”
Text distinction code II
1
Text No.: “1”
Sample distinction code
1
Fixed character: “C”
Sysmex pocH-100i
15-15
Technical Information
Parameter
No. of characters
Format
Data distinction code
1
QC method
X control: “X”, L-J control: “L”
Year
4
4 digits, with zero padding. Example: “2001”
Month
2
2 digits, with zero padding. Example: “05”
Day
2
2 digits, with zero padding. Example: “17”
Hour
2
2 digits, with zero padding. Example: “10”
Minute
2
2 digits, with zero padding. Example: “15”
Data ID
1
1 digit QC file No. Example: “1”
Not used
1
“0”
Not used
1
“0”
WBC
4
4 significant digits, with decimal point excluded, with
zero padding.
Example:
Data (76) → “0076”
LYM%
4
Same as above
MXD%
4
Same as above
NEUT%
4
Same as above
LYM#
4
Same as above
MXD#
4
Same as above
NEUT#
4
Same as above
RBC
4
Same as above
HGB
4
Same as above
HCT
4
Same as above
MCV
4
Same as above
MCH
4
Same as above
MCHC
4
Same as above
RDW-SD
4
Same as above
RDW-CV
4
Same as above
PLT
4
Same as above
PDW
4
Same as above
MPV
4
Same as above
P-LCR
4
Same as above
W-SMV
4
Same as above
W-MLV
4
Same as above
ETX
1
(03H)
March 2002
Total 105
15-16
Sysmex pocH-100i
Technical Information
Details of KX-21N format
Sample ID
If the sample ID is less than 15 digits in length, it is extended to 15 digits by right-justified space padding
or zero padding, according to the “ID Pad.” setting in HC output settings.
Example:
Space padding: “12345”→“
12345”
Zero padding: “12345”→“000000000012345”
Position of decimal point
The position of the decimal point differs depending on the units. The decimal point is not output to the
host computer, and only 4 significant digits are output. The significant digits are the same as for screen
display, and do not depend on the units. See the external specifications. The output sequence is as shown
from top to bottom in the above table. Data is sent, with zero padding, from the most significant digit.
Date format
The year-month-day sequence for the date is fixed, regardless of the date format set for the system
settings.
Analysis information
Analysis information contains the following information related to analysis.
Code
Explanation
“0”
WB mode analysis
“5”
PD mode analysis
Particle distribution analysis information
The particle distribution analysis information is composed of the following 5 elements.
1)
Parameter
No. of characters
WBC histogram information
1
WBC histogram flag
1
RBC histogram information
1
RBC histogram flag
1
PLT histogram information
1
PLT histogram flag
1
Histogram information
March 2002
Histogram information contains the following information.
Sysmex pocH-100i
Code
Explanation
“0”
Normal histogram
“1”
Abnormal histogram
15-17
Technical Information
2)
Histogram flag
The histogram flags are composed of the following 10 types. Each type corresponds to a
flagging character for the LCD screen and printer.
The histogram flag is “0” for a “normal histogram” and is “1” - “8” or “A” for a “histogram
error”.
Relationship of histogram flags to flagging characters
Histogram flag
Flagging character at LCD screen
and printer, and flagging parameter
at HC
Remarks
WBC
RBC
PLT
“0”
Normal
Normal
Normal
“1”
WL
RL
PL
High frequency at
L discriminator (WBC/RBC/PLT)
“2”
WU
RU
PU
High frequency at
H discriminator (WBC/RBC/PLT)
“3”
DW
DW
Distribution width cannot be
calculated. (RBC/PLT)
“4”
MP
MP
Multiple peaks (RBC/PLT)
Normal (WBC/RBC/PLT)
“5”
T1
T1 discriminator cannot be
determined. (WBC)
“6”
T2
T2 discriminator cannot be
determined. (WBC)
“7”
F1, F2
T1 relative frequency exceeded
specified value. (WBC)
“8”
F2, F3
T2 relative frequency exceeded
specified value. (WBC)
“A”
AG*1
Particle count at or below
L discriminator exceeded specified
value. (WBC)
*1: “AG” is added to PLT on the screen, and “A” is added to WBC at HC.
Numerical data
Numerical data is composed of the following.
The data is 4 significant digits, with the decimal point excluded. It is output without zero-suppression.
Upper digit
Flag
March 2002
Data
Lower digit
15-18
Sysmex pocH-100i
Technical Information
Flag details
Code
Explanation
“0”
Normal
“1”
Judgment on patient limits: “+”
“2”
Judgment on patient limits: “-”
“3”
Out of linearity limits
“4”
Low reliability
Data masking
•
In the case of data overflow, the data is changed to the following.
*0003
•
In the case of an analysis error, or analysis parameters with no data (such as analysis for PD mode
analysis), the data is changed to the following.
*0000
Data ID
Data ID for the QC format is the QC file number. It is output as a single character, from “1” to “3”.
ASTM format
For details on ASTM format, see Section 15.6: ASTM communication specifications.
15.6 ASTM communication specifications
These specifications apply to the mode which conforms to ASTM*1 standards for communication
between pocH-100i and the host computer.
pocH-100i supports ASTM-format output for both serial (RS-232C) and LAN (Ethernet) connections.
For LAN (Ethernet) connections, only the presentation layer conforms to ASTM E1394-97. All other
layers conform to IEEE802.3.
*1
ASTM (American Society for Testing and Materials)
One of the world’s largest volunteer non-profit organizations, created in 1898 for the purpose of
creating standard regulations for materials, products, and system services.
This mode conforms to the following standards.
ASTM E1381-95
Standard Specification for Low-Level Protocol to Transfer Messages Between Clinical Laboratory
Instruments and Computer Systems
•
ASTM E1394-97
Standard Specification for Transferring Information Between Clinical Instruments and Computer
Systems
March 2002
•
Sysmex pocH-100i
15-19
Technical Information
Communication specifications
The communication specifications are based on a layer protocol.
1. Physical layer
Specifies the sending and receiving of signals between the instrument and host computer through
physical and electrical connections.
See the subsequent section, Physical layer (hardware).
2. Data link layer
Specifies the sending and receiving of data by link connections and for each frame between the
instrument and host computer.
See the subsequent section, Data link layer (transmission protocol)
3. Presentation layer
Specifies the messages that are sent and received by the instrument and host computer.
See the subsequent section, Presentation layer (pocH-100i communication).
Presentation layer
←
ASTM E1394
Data link layer
ASTM
E1381
IEEE 802.3
(TCP/IP)
←
Physical layer
RS-232C
Ethernet
←
Specifies message specifications.
Specifies link connection and frame specifications.
Specifies mechanical and electrical specifications.
Physical layer (hardware)
1. Connector
A 25-pin D-SUB male connector is standard for ASTM, however pocH-100i uses a 9-pin D-SUB
male connector for input/output on the right side of the main unit.
Pin No.
Signal name
1
Signal direction
NC
2
Receive Data
RxD
From Host to pocH-100i
3
Transmit Data
TxD
To Host from pocH-100i
4
Data Terminal Ready
DTR
To Host from pocH-100i
5
Signal Ground
SG
-
6
Data Set Ready
DSR
From Host to pocH-100i
7
Request To Send
RTS
To Host from pocH-100i
8
Clear To Send
CTS
From Host to pocH-100i
9
NC
The control signal is not used with ASTM. In addition, do not connect any unused pins.
2. Signal identification level
15-20
Data signal
Control signal
+3 V or more
Logic “0”, Start bit
ON
-3 V or less
Logic “1”, Stop bit
OFF
March 2002
Level
Sysmex pocH-100i
Technical Information
3. Connection cable
The analyzer side uses a 9-pin D-SUB female connector, with the following wire connections.
Analyzer side
Host computer side
DB-9
DB-9
DB-25
TxD
3
3
2
TxD
RxD
2
2
3
RxD
SG
5
5
7
SG
RTS
7
7
4
RTS
CTS
8
8
5
CTS
DTR
4
4
20
DTR
DSR
6
6
6
DSR
NC
NC
1
9
4. Interface conditions
Setting
Setting types
Baud rate
1200 / 2400 / 4800 / 9600 / 19200 bps
Data length
7 bits / 8 bits
Stop bit
1 bit / 2 bits
Parity
None / Even / Odd
Establishing the settings underlined allows conformance with ASTM standards.
Note: However, 7-bit data length, even or odd parity, and 2 stop bits are recognized by ASTM for use
with special applications.
5. Reference standard (ASTM E1381-95)
Except for the shape of the connector, the physical layer conforms to the standards of 5. Physical
Layer of ASTM E1381-95.
The shape of the connector to be used is a 9-pin D-SUB male connector.
March 2002
(A 25-pin male connector is used in ASTM.)
Sysmex pocH-100i
15-21
Technical Information
Data link layer (transmission protocol)
The data layer uses a character-oriented protocol for transfer of messages between systems, according to
the standards of 6. Data Link Layer of ASTM E1381-95.
Following is an outline of the communication control procedure. For details, see ASTM E1381-95.
1. Communications status
The data link layer is composed for the following two communications statuses.
•
Neutral status
•
Linked status
Transition to each of these statuses is accomplished through the following 3 phases.
1)
Establishment phase
Establishes a communications line, and determines the direction of data transfer. In this way,
the sender and receiver are identified, and the change is made from neutral status to linked
status.
2)
Transfer phase
The sender transmits messages to the receiver, until all messages have been transferred.
3)
Termination phase
Releases the communications line. Changes both the sender and receiver from linked status to
neutral status.
Establishment phase
Neutral status
Linked status
Transfer phase
Termination phase
2. Establishment phase
1)
Sender sends [ENQ] to receiver. The receiver sends one of the following responses.
• Returns [ACK] if communication is possible.
• Returns [NAK] if communication is not possible.
If the response from the receiver is [NAK], the sender waits 10 seconds before sending [ENQ]
again.
Max. 15 sec
Max. 15 sec
Sender
A
C
K
Receiver
E
N
Q
E
N
Q
N
A
K
March 2002
Receiver
Sender
E
N
Q
10 sec
or more
15-22
Sysmex pocH-100i
Technical Information
2)
If both sides send [ENQ], the host computer must yield authority to the analyzer.
• Analyzer sends [ENQ] again after 1 second.
• The host computer must wait 20 seconds before sending [ENQ] again.
Max. 1 sec
Analyzer
E
N
Q
Host computer
E
N
Q
E
N
Q
E
N
Q
Analyzer
Host
computer
E
N
Q
20 sec or more
E
N
Q
3. Transfer phase
During the transfer phase, the sender sends messages to the receiver. The transfer phase continues
until all messages have been sent.
1)
Messages are transferred in multiple frames. Each frame contains a maximum of 247
characters (including frame overhead). If the message is longer than 240 characters, it is
divided into 2 or more frames.
2)
Multiple messages cannot be included in a single text frame.
3)
If the message is 240 characters or less, it is transferred using a text frame with the following
structure.
[STX][F#][Text][ETX][CHK1][CHK2][CR][LF]
If the text is longer than 240 characters, it is divided into 2 or more frames. The intermediate
frame text termination code is [ETB], and the final frame text termination code is [ETX], as
shown below.
[STX][F#][Text][ETB][CHK1][CHK2][CR][LF]
[STX][F#][Text][ETB][CHK1][CHK2][CR][LF]
…
[STX][F#][Text][ETX][CHK1][CHK2][CR][LF]
March 2002
Code
Explanation
[STX]
Start of frame
[F#]
Frame number.
One of the numbers 0 - 7 is used, starting with 1 and repeating 2, 3, 4, 5, 6, 7,
0. In case of retransmission, the same frame number is sent.
[Text]
ASTM E1394-97 records are used. (See the subsequent section, Presentation
layer (pocH-100i communication).)
For this reason, the codes below are not used.
0x00-0x06, 0x08, 0x0A, 0x0E-0x1F, 0x7F, 0xFF
[ETB]
Control code indicating end of text (for intermediate frame)
[ETX]
Control code indicating end of text (for final frame)
Sysmex pocH-100i
15-23
Technical Information
Code
Explanation
[CHK1][CHK2]
Expressed by characters “0” - “9” and “A” - “F”. Characters beginning from
the character after [STX] and until [ETB] or [ETX] (including [ETB] or
[ETX]) are added in binary. The 2-digit numbers, which represent the least
significant 8 bits in hexadecimal code, are converted to ASCII characters “0”
- “9” and “A” - “F”. The most significant digit is stored in CHK1 and the
least significant digit in CHK2.
[CR][LF]
Control code indicating end of frame
4)
After the sender sends the frame, sender waits until there is a response from the receiver.
Sender does not send the next frame if a response is not received.
5)
If the receiver has successfully received the frame, and is prepared to receive the next frame,
receiver responds with [ACK]. After the sender receives [ACK], sender advances a frame
number increment and sends either a new frame or the termination frame.
6)
If the receiver fails to receive the frame and is prepared to receive the same frame again,
receiver responds with [NAK]. After the sender receives [NAK], sender sends the most recent
frame again, using the same frame number. If a total of 6 attempts to send the frame fail, sender
transitions to the termination phase and must end sending of the message.
Max. 15 sec
Sender
Sixth attempt
First attempt
...
Text frame #1
N
A
K
Receiver
E
O
T
Text frame #1
N
A
K
...
7)
The analyzer processes the response of [EOT] from the host computer as [ACK].
8)
During the transfer phase, a 15-second timer is set when the final character of the frame is sent
by the sender. Time out results if there is no response within 15 seconds. When the sender
times out, sender transitions to the termination phase. A 30-second timer is set when the
receiver first enters transfer status, and when receiver sends a response ([ACK], [NAK]) for
each frame. Time out results if there is no frame transmission or [EOT] response from the
sender within 30 seconds. When the receiver detects time out, receiver discards the incomplete
message that was being received, and transitions to the termination phase.
Max. 15 sec
Max. 15 sec
Sixth attempt
First attempt
Text frame #1
Receiver
Max. 30 sec
...
Text frame #2
A
C
K
E
O
T
E
O
T
...
March 2002
Sender
15-24
Max. 15 sec
Sysmex pocH-100i
Technical Information
4. Termination phase
During the termination phase, the status returns to neutral.
The sender sends [EOT] to inform the receiver that the message transmission has been completed.
When the sender sends [EOT], sender transitions to neutral status. When the receiver receives [EOT],
receiver transitions to neutral status.
5. Time out
The timer is used to detect a failure to coordinate between the sender and receiver. The timer is used
as a mean of recovery for communications line and communication destination device failures.
1)
During the establishment phase, the timer is set when the sender sends [ENQ]. Time out results
if a response of [ACK], [NAK], or [ENQ] is not received within 15 seconds. After time out, the
sender transitions to the termination phase.
2)
During the transfer phase, the timer is set when the final character of a frame is sent by the
sender. Time out results if no response is received within 15 seconds. After time out, the sender
transitions to the termination phase, and ends message transmission.
Presentation layer (pocH-100i communication)
Frame transfer sequence
(1) Output of analysis results
pocH-100i outputs analysis results as shown below.
Analyzer
T1
T2
E
N
Q
T1
T2
Header (H)
Host computer
A
C
K
T1
T2
T1
T1
A
C
K
T2
Order (O)
A
C
K
T2
A
C
K
T1
T2
⋅⋅⋅
Result 2 (R)
Result 1 (R)
T2
Patient (P)
A
C
K
T2
T1
A
C
K
T1
T2
Result n (R)
A
C
K
T1
T2
E
O
T
Terminate (L)
A
C
K
A
C
K
Header (H): Header record*1 frame
Patient (P): Patient information record*1 frame
Order (O): Order record*1 frame
Result (R): Result record*1 frame
Terminate (L): Message-end code record*1 frame
March 2002
T1: Max. 15 seconds
T2: Max. 30 seconds
*1: See the subsequent section, Record details.
Sysmex pocH-100i
15-25
Technical Information
Messages, records, and fields
1. Messages
In the presentation layer, all data is transmitted using messages. Messages are composed of record
arrays that start with message header record (H) and end with message termination record (L).
2. Records
A record is a series of text, beginning with an ASCII alphabet character referred to as the identifier,
and ending with [CR].
Record type
Record identifier
Level
Contents
Header
H
0
Contains information concerning the
message sender and receiver.
Patient information
P
1
Contains information concerning the
patient.
Inquiry
Q
1
Not used
Analysis order
O
2
Contains information concerning the
analysis order.
Analysis results
R
3
Contains information concerning the
analysis results.
Comments
C
1-4
Not used
Manufacturer information
M
1-4
Not used
Scientific information
S
N/A
Not used
Message-end code
L
0
Indicates the end of the message.
•
Smaller level numbers indicate higher levels.
•
A high-level record contains information that is common to all lower-level records.
•
All levels other than 0 must be located after higher levels. However, manufacturer information
(not used) and comment records can be inserted at any level. They are considered to be one level
lower than the preceding record.
3. Fields
Records are further divided by field delimiters into multiple fields.
A field is identified by its position within a record, and has a variable length.
The followings are used as delimiters.
Delimiter type
Code
Contents
|
Divides the fields within a record.
Repetition delimiter
\
Used to repeat the same field when the same type of component
exists multiple times in 1 field.
Component delimiter
^
Further divides 1 field into a number of sub-fields.
Escape delimiter
&
Used to embed a special character into the data.
(“|” → &F&, “\” → &R&, “^” → &S&, “&”→ &E&,
Hexadecimal → &Xxxxx&)
March 2002
Field delimiter
15-26
Sysmex pocH-100i
Technical Information
Record 1
⋅⋅ ⋅
Record 2
Field 1
Field 2
Record n
⋅⋅ ⋅
Field n
[CR]
Delimiter “|” or “\”
Record identifier
Component 1
Component 2
⋅⋅ ⋅
Component n
Delimiter “^”
Record details
1. Header record
Example of transmission:
pocH100i → Host computer
H|\^&|||pocH-100i^00-00^^^^Sysmex pocH 01^12345678||||||||E1394-97[CR]
Host computer → pocH-100i
H|\^&|||||||||||E1394-97[CR]
ASTM
field
Field name
Analyzer →
Host computer
Host computer →
Analyzer
H
H
Record type
7.1.2
Delimiter definition
|\^&
|\^&
7.1.3
Message control ID
Not used
Not used
7.1.4
Access password
Not used
Not used
7.1.5
Sender name or ID
Instrument name^
Software version^^^^
User instrument No.
^PS code
Not used
7.1.6
Sender address
Not used
Not used
7.1.7
Reserved
Not used
Not used
7.1.8
Sender telephone No.
Not used
Not used
7.1.9
Sender characteristics
Not used
Not used
7.1.10
Receiver ID
Not used
Not used
7.1.11
Comment
Not used
Not used
7.1.12
Process ID
Not used
Not used
7.1.13
Version No.
E1394-97
E1394-97
7.1.14
Date and time
Not used
Not used
pocH-100i^00-00
^^^^Sysmex pocH 01
^12345678
Fixed
March 2002
7.1.1
Remarks
Sysmex pocH-100i
15-27
Technical Information
Detailed explanation of fields:
1)
7.1.2 Delimiter definitions
“|\^&” is used as a fixed character string. There is no need to use a delimiter between fields
7.1.1 and 7.1.2.
2)
7.1.5 Sender name or ID
The instrument name is fixed to “pocH-100i”. The instrument ID is fixed to “00-00” for each
software version. Each time the software version is upgraded, the instrument ID is updated to
“00-01”, “00-02”, and so on. The user instrument No. is the “Serial No.” set by “Settings” “User information”.
2. Patient records
Example of transmission:
pocH-100i → Host computer
P|1[CR]
Host computer → pocH-100i
Not used.
15-28
Field name
Analyzer →
Host computer
Host computer →
Analyzer
P
P
Sequence No.
Not used
8.1.1
Record type
8.1.2
Sequence No.
8.1.3
Patient ID assigned
by attending
physician
Not used
Not used
8.1.4
Patient ID assigned
by laboratory
Not used
Not used
8.1.5
Patient ID
Not used
Not used
8.1.6
Patient name
Not used
Not used
8.1.7
Mother’s maiden
name
Not used
Not used
8.1.8
Date of birth
Not used
Not used
8.1.9
Patient sex
Not used
Not used
8.1.10
Patient race
Not used
Not used
8.1.11
Patient address
Not used
Not used
Remarks
Sequence No.
indicating the order
in which this type of
record appears in the
message. This
number begins with
1, and is reset to 1
each time a record at
a higher level appears
in the message.
March 2002
ASTM
field
Sysmex pocH-100i
Technical Information
ASTM
field
Field name
Analyzer →
Host computer
Host computer →
Analyzer
Reserved field
Not used
Not used
8.1.13
Patient telephone No.
Not used
Not used
8.1.14
ID of attending
physician
Not used
Not used
8.1.15
Special field 1
Not used
Not used
8.1.16
Special field 2
Not used
Not used
8.1.17
Patient height
Not used
Not used
8.1.18
Patient weight
Not used
Not used
8.1.19
Presumed diagnosis
of patient
Not used
Not used
8.1.20
Drug treatment for
patient
Not used
Not used
8.1.21
Dietary treatment for
patient
Not used
Not used
8.1.22
Attending physician
field 1
Not used
Not used
8.1.23
Attending physician
field 2
Not used
Not used
8.1.24
Dates patient was
admitted and
discharged
Not used
Not used
8.1.25
Condition when
admitted
Not used
Not used
8.1.26
Location
Not used
Not used
8.1.27
Alternative
diagnosis code and
type of classifier
Not used
Not used
8.1.28
Alternative
diagnosis code and
classification
Not used
Not used
8.1.29
Patient religion
Not used
Not used
8.1.30
Marital status
Not used
Not used
8.1.31
Isolation status
Not used
Not used
8.1.32
Language
Not used
Not used
8.1.33
Hospital service
Not used
Not used
8.1.34
Hospital Institution
Not used
Not used
8.1.35
Dosage category
Not used
Not used
March 2002
8.1.12
Remarks
Sysmex pocH-100i
15-29
Technical Information
Detailed explanation of fields:
1)
8.1.2 Sequence No.
The sequence number starts with 1 and indicates the sequence position in which the record
appeared in the message. This number is reset to 1 when a higher-level record appears in the
message.
3. Order record
Example of transmission:
pocH-100i → Host computer
O|1||^^1234567890ABCDE^A|^^^^WBC\^^^^RBC\^^^^HGB\^^^^HCT\^^^^MCV
\^^^^MCH\^^^^MCHC\^^^^PLT\^^^^W-SCR\^^^^W-MCR\^^^^W-LCR\^^^^
W-SCC\^^^^W-MCC\^^^^W-LCC\^^^^RDW-SD\^^^^RDW-CV\^^^^PDW
\^^^^MPV\^^^^P-LCR[CR]
Host computer → pocH-100i
Not used.
ASTM
field
Field name
Analyzer →
Host computer
Host computer →
Analyzer
O
Not used
9.4.1
Record type
9.4.2
Sequence No.
Sequence No.
Not used
9.4.3
Specimen ID
Not used
Not used
9.4.4
Instrument specimen
ID
^^Sample ID^
Sample ID attributes
Not used
Remarks
Sequence No.
indicating the order
in which this type of
record appears in the
message. This
number begins with
1, and is reset to 1
each time a record at
a higher level appears
in the message.
A sample ID less
than 15 digits is
extended to 15 digits
by space padding or
zero padding in
accordance with the
settings of “ID Pad.”
made by “Settings” “Host output”.
Sample ID attributes
are as follows:
M: Manually input
B: Read by ID reader
15-30
Sysmex pocH-100i
March 2002
A: Automatically
allocated
Technical Information
ASTM
field
9.4.5
Field name
Analysis parameter
ID
Analyzer →
Host computer
Host computer →
Analyzer
Remarks
^^^^Parameter name
Not used
Parameter names:
WBC, RBC, HGB,
HCT, MCV, MCH,
MCHC, PLT,
LYM%, MXD%,
NEUT%, LYM#,
MXD#, NEUT#,
RDW-SD, RDW-CV,
PWD, MPV, P-LCR
Repetition delimiters
are used to output
multiple parameters.
Example:
“^^^^
Parameter name1\
^^^^
Parameter name2\
^^^^
Parameter name3”
March 2002
LYM%, MXD%,
NEUT%, LYN#,
MXD#, and NEUT#
are output as W-SCR,
W-MCR, W-LCR,
W-SCC, W-MCC,
and W-LCC
respectively in
accordance with the
settings made by
“Settings” “System” “Parameter name”.
(Same as the screen
display)
9.4.6
Priority sequence
Not used
Not used
9.4.7
Date and time of
order
Not used
Not used
9.4.8
Date and time of
collection
Not used
Not used
9.4.9
Time specimen
collection end
Not used
Not used
9.4.10
Collection volume
Not used
Not used
9.4.11
Collector ID
Not used
Not used
Sysmex pocH-100i
15-31
Technical Information
ASTM
field
9.4.12
Field name
Action code
Analyzer →
Host computer
Host computer →
Analyzer
N, Q
Not used
Remarks
N: Normal sample
code
Q: QC data
9.4.13
Danger code
Not used
Not used
9.4.14
Related clinical
information
Not used
Not used
9.4.15
Date/time specimen
was received
Not used
Not used
9.4.16
Specimen descriptor
Not used
Not used
9.4.17
Ordering physician
Not used
Not used
9.4.18
Physician’s telephone
No.
Not used
Not used
9.4.19
User field 1
Not used
Not used
9.4.20
User field 2
Not used
Not used
9.4.21
Laboratory field 1
Not used
Not used
9.4.22
Laboratory field 2
Not used
Not used
9.4.23
Date/time results
were reported or last
modified
Not used
Not used
9.4.24
Fee for instrument
use
Not used
Not used
9.4.25
Analyzer ID
Not used
Not used
9.4.26
Report type
F
Not used
9.4.27
Reserved
Not used
Not used
9.4.28
Location or ward of
specimen collected
Not used
Not used
9.4.29
Hospital infection
flag
Not used
Not used
9.4.30
Specimen service
Not used
Not used
9.4.31
Specimen institution
Not used
Not used
F: fixed
4. Result record
Example of transmission:
pocH-100i → Host computer
R|1|^^^^WBC^26|7.8|10*3/µL||N||||||20011221163530 [CR]
R|2|^^^^RBC^26|3.50|10*6/µL||L||||||20011221163530 [CR]
March 2002
R|3|^^^^HGB^26|***.*|g/dL||A||||||20011221163530 [CR]
...
R|19|^^^^P-LCR^26|50.0|%||H||||||20011221163530 [CR]
15-32
Sysmex pocH-100i
Technical Information
Host computer → pocH-100i
Not used.
ASTM
field
Field name
10.1.1
Record type
10.1.2
Sequence No.
10.1.3
Analysis parameter
ID
Analyzer →
Host computer
Host computer →
Analyzer
R
Not used
Sequence No.
Not used
Sequence No.
indicating the order
in which this type of
record appears in the
message. This
number begins with
1, and is reset to 1
each time a record at
a higher level appears
in the message.
Not used
Parameter name:
See the analysis
parameter ID (ASTM
field) of analysis
order record.
^^^^Parameter
name^Dilution ratio
Remarks
Dilution ratio:
“1”: WB mode
“26”: PDmode
10.1.4
Data value
Data value
Not used
Data values:
These are output after
a decimal point is
added in the correct
position, according to
the units which are
set.
For data which is
masked for display,
the mask codes are
output in order of
priority, in the same
way as they appear
on the screen.
March 2002
Example: “+++.+”
Sysmex pocH-100i
15-33
Technical Information
ASTM
field
10.1.5
Field name
Units
Analyzer →
Host computer
Host computer →
Analyzer
Remarks
Units
Not used
[Units]
These are output in
the format
determined by the
units setting.
Exponents are
expressed using “*”.
Example:
103/µL →10*3/µL
10.1.6
Reference ranges
10.1.7
Analysis result error
flag
Not used
Not used
L, H , >, N, A,W
Not used
“A”:
Data masked for
display
“>”:
Data with flag “!”
“W”:
Data with flag “*”
“H”:
Data with flag “+”
“L”:
Data with flag “-”
“N”:
Any (normal) data
other than the above
The order of priority
is, from highest to
lowest: “A”, “>”,
“W”, “H”, “L”, “N”.
Type of error
analysis
Not used
Not used
10.1.9
Analysis result status
Not used
Not used
10.1.10
Date of change to
reference value/units
Not used
Not used
10.1.11
Operator ID
Not used
Not used
10.1.12
Date and time
analysis started.
Not used
Not used
March 2002
10.1.8
15-34
Sysmex pocH-100i
Technical Information
ASTM
field
10.1.13
Field name
Date and time
analysis completed.
Analyzer →
Host computer
Host computer →
Analyzer
Remarks
YYYYMMDD
hhmmss
Not used
The year-month-dayhour-time-second
sequence for the date
is fixed, regardless of
the date format set
for the system
settings.
YYYY:
Year (4 digits*1)
MM:
Month (2 digits*1)
DD:
Day (2 digits*1)
hh:
Hour (2 digits*1)
mm:
Time (2 digits*1)
ss:
Second (2 digits*1)
*1: With zero
padding.
10.1.14
Analyzer ID
Not used
Not used
5. Message-end code record
Example of transmission:
pocH-100i → Host computer
L|1|N[CR]
Host computer → pocH-100i
L|1|N[CR]
Field name
Analyzer →
Host computer
Host computer →
Analyzer
13.1.1
Record type
L
L
13.1.2
Sequence No.
1
1
13.1.3
End code
N
N
Remarks
Always 1
N: Normal
termination
March 2002
ASTM
field
Sysmex pocH-100i
15-35
Download