Appendix B: Technical Information
Appendix B: Technical Information
Appendix B: Technical Information
1.
OUTPUT FORMAT FOR HOST COMPUTER (OPTION)...... .B-1 1.1 Hardware.................................................................................................... B-1 1.2 Software ..................................................................................................... B-3
TECHNICAL INFORMATION
1.
1.1 Hardware
1. Connector The connector for the output to the host computer is located on the rear panel. Use a 9-pin D-SUB, female connector. Fixing screws for this connector are in inch-specification. Connector Signals
Pin No. 1 2 3 4 5 6 7 8 9 Signal Name Receive data (RD) Signal Direction From Host to KX-21 To Host from KX-21 To Host from KX-21
2.
Transmit Data (TD) Data Terminal Ready (DTR) Signal Ground (SG) Data Set Ready (DSR) Request to Send (RTS) Clear to Send (CTS)
Table B-1-1: Pin Assignment 3. Communication Format The data is communicated in the asynchronous, half duplex mode. Signal Level Signal level conforms to JIS C6361.
Level +3V or higher -3V or lower Data signal Logic "0", Start bit Logic "1", Stop bit Control signal ON OFF
4.
B-1
TECHNICAL INFORMATION
5.
B-2
TECHNICAL INFORMATION
1.2 Software
1. 1) Communication Format Code ASCII codes are used for output. (Except for K-DPS output) Structure of text "STX" (02 H) is sent prior to data and "ETX" (03 H) is sent at the end of data. (Except for K-DPS output)
2)
S T X E T X
Order of transmission
Figure B-1-3: Order of Transmission 3) Communication protocol The following 2 protocols are provided in the system, and can be selected according to the system status. Class A One-way transmission to the host computer without requiring ACK nor NAK from host computer. Class B The KX-21 transmits data and then waits for ACK or NAK to complete the data transmission.
KX-21 Host computer
Analysis data is sent. Analysis data transmission is completed correctly. Communication error occurs. Analysis data is sent automatically (retrying up to 3 times). If the reply is still NAK after 3 retries, instruction is made whether the same data is sent again or the transmission is canceled by key input.
ACK
NAK
B-3
TECHNICAL INFORMATION
4)
Transmission errors If the KX-21 detects a transmission error, the data transmission is canceled and an error message is displayed. Re-transmission of the data ([1] key) or cancellation of the transmission ([3] key) can be selected. Transmission errors occur in the following situations. The computer is off line. The control signal DSR is off. After the data is transmitted, there is no response from the computer in 15 seconds. (Class B only) After the data is transmitted, other than ACK or NAK is sent from the computer. (Class B only) After the data is transmitted, the fourth NAK is sent. (Class B only. The KX21 resends the data automatically up to 3 times when NAK is sent.)
5)
Table B-1-3: Content of Transmission Analysis data includes the date, sample ID No., 18-parameter data, and the flag. QC data is X or L-J data. The setting of the connecting device is changed in the setting program. 2. Text Format The following two types of formats are used for computer output. K-1000: Format for connecting to the host computer K-DPS: Special format for connecting to K-DPS
K-1000 format is selected at the time of shipping from the factory.
NOTE:
The details of K-1000 format are as follows. K-1000 format K-1000 format has two formats; one is "analysis data format" for output of the sample data, and the other is "QC data format" for output of the QC data. They differ in length and content of the text. (They are distinguished by the sample distinction code.) The text distinction code II is fixed at "1". However, when the text exceeds 256 bytes in a future modification, the text is divided into 2 or more blocks. The number in text distinction code II shows the order of the blocks. The ETB (17 H) is not used.
B-4
TECHNICAL INFORMATION
(1)
STX Text distinction code I Text distinction code ll Sample distinction code Year (Month or Day) Month (or Day) Day (or Year) Analysis information Sample ID No. PDA information PDW select information WBC RBC HGB HCT MCV MCH MCHC PLT LYM% (W-SCR) MXD% (W-MCR) NEUT% (W-LCR) LYM# (W-SCC) MXD# (W-MCC) NEUT# (W-LCC) RDW-SD/CV PDW MPV P-LCR ETX [10 /L]
3 6
[10 /L] [g/dL] [%] [fL] [pg] [g/dL] [10 /L] [%] [%] [%]
3
[10 /L]
3 3 3
B-5
TECHNICAL INFORMATION
(2)
STX Text distinction code I Text distinction code II Sample distinction code Data distinction code Year (Month or Day) Month (or Day) Day (or Year) Hour Minute QC File Number Not used RDW select information WBC LYM% (W-SCR) MXD% (W-MCR) NEUT% (W-LCR) LYM# (W-SCC) MXD# (W-MCC) NEUT# (W-LCC) RBC HGB HCT MCV MCH MCHC RDW-(CV/SD) PLT PDW MPV P-LCR W-SMV W-LMV ETX [10 /L] [%] [%] [%]
3
[10 /L]
3 3 3 6
[10 /L] [10 /L] [10 /L] [g/dL] [%] [fL] [pg] [g/dL] [%/fL] [10 /L] [fL] [fL] [%] [fL] [fL]
3
B-6
TECHNICAL INFORMATION
(3) 1)
Details of the analysis data output in K-1000 format The order of output is from the top parameter to the bottom. The data is sent from the upper line without performing zero suppression. Because the decimal point is not sent, the decimal point specified in each parameter has to be added and represented by numeric value at the host computer. The order of the date conforms to the format in the setting program in the setting program. Analysis information shows the following content of the analysis.
Manual No. input "0" "5"
2)
3)
4)
Table B-1-6: Analysis Information 5) The sample ID No. is 6-digit numerals, but 12 digits are output in this format. The upper 6 digits are 0s (zeros). Depending on the usage, "-" (2D H) may be inserted in the numeral column. In this case, "-" is included in the 12 digits. PDA information consists of the following 6 items.
Item WBC histogram information WBC histogram flag RBC histogram information RBC histogram flag PLT histogram information PLT histogram flag No. of Characters 1 1 1 1 1 1
6)
B-7
TECHNICAL INFORMATION
Description Normal WBC/RBC/PLT (L) discriminator degree is high. WBC/RBC/PLT (U) discriminator degree is high. WBC/RBC/PLT Analysis is impossible because there is no pair of intersection on the 20% degree level for calculation of DW. RBC/PLT Two peaks are recognized in the particle distribution. RBC/PLT (T1) discriminator cannot be determined. WBC (T2) discriminator cannot be determined. WBC (T1) discriminator level is high, and the data is not reliable. WBC (T1) or (T2) discriminator level is high, and the data is not reliable. WBC (T2) discriminator level is high, and the data is not reliable. WBC
Table B-1-9: Histogram Flag The histogram flag corresponds to the flagging characters of the LCD and the built-in printer as follows.
Particle distribution FLAG 0 1 2 3 4 5 6 7 8 9 Flagging characters of LCD and built-in printer WBC RBC PLT WL WU RL RU DW MP RL RU DW MP
T1 T2 F1 F2 F3
B-8
TECHNICAL INFORMATION
7)
RDW select information It shows whether RDW-CV or RDW-SD is output. "C": RDW-CV "S": RDW-SD
NOTE:
RDW-SD is selected at the time of shipping from the factory. To output RDW-CV, refer to Chapter 10, Section 2: System Setup.
8)
Data
Flag
Table B-1-11: Details of Flag 9) If the data over-flows, it is indicated as follows: *0003 In case of analysis error, or if the data lacks some data such as the calculation parameter in pre-diluted mode, the data is transmitted as follows: *0000
10)
B-9