You are on page 1of 42

Appendix.

AE-4020 SERVICE MANUAL

External Output Specification

Appendix.1

AE-4020 SERVICE MANUAL

Revision History
Revision
Date of
Number
Revision
A
2004/02/24

2004/05/28

2004/09/07

D
E

2005/01/10
2005/04/18

2005/07/12

Revised Item
AS-4020 format

Description/Date of Execution

Measurement error has been


added in the field of test order
record.
Entire configuration.
Temperature has been added in
AS-4020 format
the field of test order record.
Test strip name has been added in
the test order record and result
SA-4230 format
record.
Device name changed.
SA-4230 format has been deleted.
AS-4020 AE-4020
MA-4240 format
MA-4240 format has been added.
AE-4020 format
Ethernet communication.
Changed into ACK/NAK at every
message.
Changed the packet detection
system into end data.
SOH has been added to the
beginning of sending message.
RS-232C communication.
ETB has been added to a frame
other than the final record.
Test order record.
Sample type has been added.
Message header record.
The device version number has
been fixed to a 10-digit number.
General
Errors corrected.
4-1.
Communication Ethernet port number added.
Setting
8.AM-4290 format
Errors corrected.
10.SA-4230 format
SA-4230 format has been added.

App.1-2

Appendix.1

AE-4020 SERVICE MANUAL

CONTENTS

1.

OVERVIEW .......................................................................................................................................... 5

2.

RS-232C ................................................................................................................................................. 5
2-1. External Output System................................................................................................................... 5
2-2. Applicable Connector...................................................................................................................... 5
2-3. Communication Specification ......................................................................................................... 5
2-4. Transfer Rate ................................................................................................................................... 5
2-5. Data Format..................................................................................................................................... 6
2-6. Flow Control.................................................................................................................................... 6
2-7. Output Timing ................................................................................................................................. 6
2-8. Time Gap (Interval between texts) .................................................................................................. 6

3.

RS-232C TWO-WAY COMMUNICATION PROTOCOL.............................................................. 7


3-1. Communication Control Code......................................................................................................... 7
3-2. Establishment Phase ........................................................................................................................ 7
3-3. Transfer Phase ................................................................................................................................. 9
3-4. Setting of Timeout, Retransmission and Standby Time................................................................. 11
3-5. Example of RS-232C Two-Way Communication.......................................................................... 12

4.

ETHERNET ........................................................................................................................................ 13
4-1. Communication Setting ................................................................................................................. 13
4-2. Ethernet Communication Frame Structure .................................................................................... 13

5.

ETHERNET TWO-WAY COMMUNICATION PROTOCOL..................................................... 14


5-1. Communication Control Codes ..................................................................................................... 14
5-2. Transfer ......................................................................................................................................... 14
5-3. Setting of Timeout ......................................................................................................................... 15
5-4. Example of Ethernet Two-Way Communication........................................................................... 16

6.

AE-4020 STANDARD FORMAT...................................................................................................... 17


6-1. RS-232C ........................................................................................................................................ 17
6-2. Ethernet ......................................................................................................................................... 18
6-3. Communication Data Structure ..................................................................................................... 18
6-4. Record Format............................................................................................................................... 19

7.

AX-4280-COMPATIBLE FORMAT ................................................................................................ 23


7-1. Compatibility with SA-4250, AX-4280 and AJ-4270 Standard Format........................................ 23
7-2. Block Configuration...................................................................................................................... 23
7-3. Ticket-Printer-Compatible Format................................................................................................. 23
7-4. Details of First Block (Sample Information) ................................................................................. 24
7-5. Details of Second Block (Measurement Result ) ........................................................................ 25
7-6. Details of Third Block (Measurement Result ) ........................................................................... 26
7-7. Details of Fourth Block (Measurement result of specific gravity and color tone) ........................ 27

8.

AM-4290-COMPATIBLE FORMAT ............................................................................................... 29


8-1. Details of Format (Concentration Value Output)........................................................................... 29
8-2. Details of Format (Reflectance Output) ........................................................................................ 32
App.1-3

Appendix.1

AE-4020 SERVICE MANUAL

9.

MA-4240-COMPATIBLE FORMAT ............................................................................................... 35


9-1. Details of Format (Measurement Result) ...................................................................................... 35

9.

SA-4230-COMPATIBLE FORMAT.................................................................................................. 38
9-1. Block Configuration...................................................................................................................... 38
9-2. Details of First Block (Sample Information) ................................................................................. 38
9-3. Details of Second Block (Measurement Result 1) ........................................................................ 40
9-4. Details of Second Block (Measurement Result 1) ........................................................................ 40
7-7. Details of Fourth Block (Measurement result of specific gravity) ................................................ 42

App.1-4

Appendix.1

1.

AE-4020 SERVICE MANUAL

Overview

This section describes the details of the specifications about external output of AE-4020, especially
data format and RS-232C two-way communication protocol and Ethernet
AE-4020 external output can make an output in a format in compliance with ASTM-1394. This
output in the AE-4020 standard format is made in the two-way communication between the device
and PC.
Moreover, AE-4020 is compatible with a conventional device and it can output a data in
AX-4280-compatible format, AM-4290-compatible format (supports AUTION Sticks only) and
MA-4240-compatible format. The output in these compatible format is made in a conventional
unidirectional communication.
(Note) The details of this specification are subject to change or revision according to the version upgrade of ROM
(built-in software) of AE-4020.

2.
2-1.

RS-232C
External Output System
RS-232C-compliant bit serial output.

2-2.

Applicable Connector
Model: DB-9, 9-pin type (JIS X5103)

2-3.

Pin No

Signal Name

RXD

TXD

DTR

GND

RTS

Not Used

CTS

Not Used

Remarks

Not Used

Communication Specification
Transfer mode: Start-Stop (asynchronous) system

2-4.

Transfer Rate
Any of 300, 600, 1200, 2400, 4800, 9600 and 19200 bps can be selected. (Default setting: 9600 bps)

App.1-5

Appendix.1
2-5.

AE-4020 SERVICE MANUAL

Data Format

(1) For AE-4020 standard format


Configuration: 1 character and 10 bits
Start bit: 1 bit
Data bit: 8 bits (ASCII code)
Parity bit: Nil
Stop bit: 1 bit
(2) For AX-4280-compatible format, AM-4290-compatible format and MA-4240-compatible format
Configuration: 1 character and 11 bits
Start bit: 1 bit
Data bit: 7 bits (ASCII code)
Parity bit: 1 bit (even parity)
Stop bit: 2 bits
2-6.

Flow Control
Disabled

2-7.

Output Timing
A data is output when one sample has been measured and at re-outputting.

2-8.

Time Gap (Interval between texts)


To output stored data at a time, insert a time gap of 0.5 seconds (interval between texts) between every block
([ETX] to [STX]). (The setting can be changed.)
One direction only.

App.1-6

Appendix.1

3.

AE-4020 SERVICE MANUAL

RS-232C Two-Way Communication Protocol

If the AE-4020 standard format is selected in an external output, the two-way communication is
made between the device and PC. The two-way communication described herein refers to the action
that a receiver returns a control code to a sender to synchronize mutually when the sender has made
an output (a control code or text data).
3-1.

Communication Control Code


Code

Hexadecimal

Description

Number
ENQ

05H

Enquiry (Request to send response)

ACK

06H

Positive acknowledgment

NAK

15H

Negative acknowledgment

EOT

14H

End of transmission and request of


Receive
Interrupt

3-2.

Establishment Phase
Device <ENQ> Transmission
The device transmits <ENQ> if it has a message to be sent.
If the device receives anything other than <ACK> and <ENQ> after transmitting <ENQ>, the device
performs the same process as receiving <NAK>.
If the device receives <ACK> after transmitting <ENQ>, the device enters the transfer phase.

Device

PC

<ENQ>
<ACK>
To transfer phase
(Frame transmission)

App.1-7

Appendix.1

AE-4020 SERVICE MANUAL

If the device receives <NAK> after transmitting <ENQ>, the device transmits <ENQ> again after waiting
10 seconds.
If the device does not receive <ACK> although trying to transmit <ENQ> six times (including the first
time), the device regards the status as trouble after transmitting <EOT>. (Note)
Device

PC
<ENQ>
<NAK>

Wait 10 seconds

<ENQ>
<NAK>

Wait 10 seconds

<ENQ>
<NAK>
<EOT>

If <ACK> is not received


although transmission is retried
six times, the status is regarded
as trouble.

(Note) The status is regarded as trouble to avoid an infinite loop.


If the device receives <ENQ> after transmitting <ENQ>, the device transmits <ENQ> again after waiting
1 second. (Note)
If the PC receives <ENQ> after transmitting <ENQ>, the PC interrupts the transmission and waits
<ENQ>. If the PC does not receive <ENQ> after waiting 20 seconds, the PC transmits <ENQ> again.
Device

<ENQ>

PC

<ENQ>
Wait 1 second
<ENQ>
<ACK>

Interrupts
transmission and
waits <ENQ>.

To transfer phase
(Frame transmission)

(Note) If a collision of <ENQ> occurs, a priority is given to the device and the PC waits the next <ENQ>.

App.1-8

Appendix.1

AE-4020 SERVICE MANUAL

If no response is made for 15 seconds after transmitting <ENQ>, the device regards the status as trouble
after transmitting <EOT>. (Note)
PC

Device

<ENQ>
Waits a response
for 15 seconds

<EOT>
If no response is made for
15 seconds, the status is
regarded as trouble.

(Note) The status is regarded as trouble to detect the line breakage (cable disconnection, etc.).
3-3.

Transfer Phase
Frame Transmission by Device
If the length of record to be transmitted is more than a maximum frame length, the device divides the
frame.
Device
Does not divide the
frame

PC
Transmitting a record

End frame (ETX)

<ACK>

Divides the frame

Transmitting a record

Intermediate frame (ETB)

<ACK>
End frame (ETX)

<ACK>

App.1-9

Appendix.1

AE-4020 SERVICE MANUAL

If the device receives anything other than <ACK> after transmitting a frame, the device performs the
same process as receiving <NAK>. (Note)
(Note) The device treats the <EOT> response after transmitting the frame as <NAK>, not regarding it as
transmission interruption.
If the device has no more frame to be transmitted when it has received <ACK> after transmitting the
frame, the device enters the transmission end phase. If the device has any frame to be transmitted, the
device transmits the next frame.
When the device has transmitted all the frames, the device sends <EOT>.
Device

PC
Transmitting a record

The device has the


frames to be transmitted.

<ACK>
Transmitting an end record

The device transmits


<EOT> if it has no more
frame to be transmitted.

<ACK>
<EOT>

If the device receives <NAK> after transmitting a frame, the device transmits the frame again after
waiting 1 second.
If the device does not receive <ACK> although trying to transmit the same frame six times (including the
first time), the device regards the status as trouble after transmitting <EOT>. (Note)
PC

Device
Frame
<NAK>
Wait 1 second
Frame
<NAK>
Wait 1 second

Frame
<NAK>
<EOT>

If <ACK> is not received


although transmission is retried
six times, the status is regarded
as trouble.

(Note) The status is regarded as trouble to avoid an infinite loop.

App.1-10

Appendix.1

AE-4020 SERVICE MANUAL

If no response is made for 15 seconds after transmitting a frame, the device regards the status as trouble
after transmitting <EOT>. (Note)
Device

PC
Frame

Waits a response
for 15 seconds

<EOT>
If no response is made for
15 seconds, the status is
regarded as trouble.

(Note) The status is regarded as trouble to detect the line breakage (cable disconnection, etc.).

3-4.

Setting of Timeout, Retransmission and Standby Time


Timeout, retransmission and standby time of the device can be set as shown below. Those can be set
individually at every device.
Item
Timeout

Description

Default Value

Timeout due to no response when transmitting <ENQ> 15 seconds


and due to no response when transmitting a frame.

Retransmissio

The number of retransmissions if <NAK> has been 6 times

received when transmitting <ENQ> or if <NAK> has been


received when transmitting a frame.

Standby Time

Standby time if <NAK> has been received when 10 seconds


transmitting <ENQ>.
Standby time if <ENQ> has been received when
transmitting <ENQ>.
Standby time if <NAK> has been received when
transmitting a frame.

App.1-11

1 second

Appendix.1
3-5.

AE-4020 SERVICE MANUAL

Example of RS-232C Two-Way Communication


An example of actual RS-232C communication between the device and PC is shown below.
(*) An appropriate value (AB) is specified to a checksum.
[Example]: Communication made when the device sends a measurement result to PC.

Device:
PC:
Device:
PC:
Device:
PC:
Device:
PC:
Device:
PC:
Device:
PC:
Device:
PC:
Device:
PC:
Device:
PC:

<ENQ><STX>1H|$^&|||AE-4020^10405001^V01.00
|||||||||200203111010<CR><ETB>AB
<ACK>
<CR><LF><STX>2P|1<CR><ETB>AB<CR><LF><STX>3O|1|0203110000001|1|^^^10EA|R||||
<ACK><ACK>
||||||U||||26^<CR><ETB>AB<CR><LF>
<ACK>
<STX>4R|1|^^^10EA^GLU|+2^150|^mg/dL||!||F|||200203111010<CR><ETB>AB<CR><LF>
<ACK>
<STX>5R|2|^^^10EA^PRO|+4^OVER|^mg/dL||*||F|||200203111010<CR><ETB>AB<CR><LF>
<ACK>
<STX>6R|3|^^^10EA^BIL|-^|^mg/dL||||F|||200203111010<CR><ETB>AB<CR><LF>
<ACK>
<STX>7R|4|^^^10EA^PH|^6.5|||||F|||200203111010<CR><ETB>AB<CR><LF>
<ACK>
<STX>0R|5|^^^10EA^S.G.|^>1.030|||||F|||200203111010<CR><ETB>AB<CR><LF>
<ACK>
<STX>1L|1|N<CR><ETX>AB<CR><LF><EOT>
<ACK>

App.1-12

Appendix.1

4.

AE-4020 SERVICE MANUAL

Ethernet

The Ethernet communication in our device is made using the Ethernet microcomputer.
4-1.

Communication Setting
The Ethernet communication is made through TCP/IP. Set the device in a server mode and the PC in a client
mode.
Set the IP address, subnet address, gateway and DHCP in the service mode. Moreover, in addition to the IP
address, a port number is required when communicating through the TCP/IP protocol. The port number is
fixed to
28000
.

4-2.

Ethernet Communication Frame Structure

4-2-1.

Frame Structure
Frame structure of the Ethernet communication is a communication text only. The frame structure of the
Ethernet communication is different from that of the RS-232C communication in the following points.
<STX> and <ETB/ETX> are not added.
A frame number is not added.
A checksum is not added.
<CR><LF> is not added to the end of frame.
For the Ethernet communication, a communication text is divided into some packets in a lower level
communication when it is sent and/or received and any information on the first/last packet or packet number is
added automatically as packet information. Therefore, the communication text does not require <STX>,
<ETB/ETX> and frame number. Also, a checksum is unnecessary because it is added automatically.
This specification describes a higher level communication between the device with the Ethernet
microcomputer and the PC.

PC
Application

Device
Application

Winsock
Driver

Driver

Ethernet
Controller

Ethernet
Microcomputer

The figure above is a simplified communication model. This specification describes


Ain the figure
above.

App.1-13

Appendix.1

5.

AE-4020 SERVICE MANUAL

Ethernet Two-Way Communication Protocol

The Ethernet communication is performed using the control codes <SOH> and <EOT>.
<ACK>/<NAK> does not mean a correct/wrong response of message (checksum) of the RS-232C
communication. In the Ethernet communication, <ACK>/<NAK> refers to
request to
accept
/
request to rejectfor a record that the PC receives from the device.
5-1.

Communication Control Codes


In the Ethernet communication, a receiver transmits a response code against a request from a sender. The
response is made at every record. If the sender receives
request to rejectresponse, it stops sending a
message.
Code

Hexadecimal

Description

Number

5-2.

SOH

01H

Beginning of message

EOT

04H

End of message

ACK

06H

Request to accept

NAK

15H

Request to reject

Transfer

(1) Record Transmission by Device


If the device receives anything other than <ACK> after transmitting a record, the device performs the
same process as receiving <NAK>.
The device terminates the transmission when it has received <ACK> after transmitting an end record.
Otherwise, the device transmits the next record.
Device

PC

Transmitting a record
First packet
Packet #2
Packet #3
Last packet

Transmitting an intermediate record

Transmitting an end record

<ACK>

App.1-14

Appendix.1

AE-4020 SERVICE MANUAL

If the device receives <NAK> after transmitting a record, the device stops transmission and regards the
status as trouble. (Note)
PC

Device

Transmitting a record

<NAK>
Regards the status as
trouble when receiving
<NAK>.

(Note) A priority is given to the device in the communication and the device does not receive <NAK> usually.
If the device receives any <NAK>, the status is regarded as trouble.
If no response is made for 15 seconds after transmitting a record, the device regards the status as trouble .
(Note)
Device

PC
Transmitting a record

Waiting 15 seconds

If no response is made for


15 seconds, the status is
regarded as trouble.

(Note) The status is regarded as trouble to detect the line breakage (cable disconnection, etc.).
5-3.

Setting of Timeout
Timeout of the device can be set.
Item
Timeout

Description

Default Value

Timeout due to no response when transmitting a 15 seconds


record.

App.1-15

Appendix.1
5-4.

AE-4020 SERVICE MANUAL

Example of Ethernet Two-Way Communication


An example of actual Ethernet communication between the device and PC is shown below.
[Example]: Communication made when the device sends a measurement result to PC.
Device:

<SOH>

Device:

H|$^&|||AE-4020^10405001^V01.00

Device:

P|1<CR>

Device:

O|1|0203110000001|1|^^^10EA|R||||||||||U||||26^<CR>

Device:

R|1|^^^10EA^GLU|+2^150|^mg/dL||!||F|||200203111010<CR>

Device:

R|2|^^^10EA^PRO|+4^OVER|^mg/dL||*||F|||200203111010<CR>

Device:

R|3|^^^10EA^BIL|-^|^mg/dL||||F|||200203111010<CR>

Device:

R|4|^^^10EA^PH|^6.5|||||F|||200203111010<CR>

Device:

R|5|^^^10EA^S.G.|^>1.030|||||F|||200203111010<CR>

Device:

L|1|N<CR>

Device:

<EOT>

PC:

<ACK><EOT>

|||||||||200203111010<CR>

App.1-16

Appendix.1

6.

AE-4020 SERVICE MANUAL

AE-4020 Standard Format

6-1.

RS-232C

This section describes the frame configuration, etc. for the RS-232C communication. For details, refer to 6-3.
6-1-1
Communication Frame Structure
Communication
STX

(transmission) data

FN

(A maximum of 24
bytes)

6-1-2

ETB
or

CSH

CSL

CR

LF

ETX

Maximum Frame Length


The maximum frame length is 247 bytes (including STX, ETB or ETX, checksum, CR and LF). The
communication data section is a maximum of 240 bytes (247 7 bytes). If the data length is more than 240
bytes, the frame must be divided for the transmission.

6-1-3

Frame Code
Code

Hexadecimal

Description

Number
STX

02H

The beginning of text (frame).

FN

30H to 37H

Frame number.

0
to
7

The number begins with 1 and increases by 1.


When the number has reached 7, it returns to 0.

Data

to

be

Communication text:

sent

Refer to
6-4. Record

Format
.

ETB

17H

The end of transmission block.

ETX

03H

The end of text (frame).

CSH
CSL
CR

Note 1)
0DH

Checksum, high order.


Checksum, low order.
Carriage return.

LF
0AH
Line feed.
<Example> An appropriate value (AB) is specified to a checksum. For how to calculate the checksum, refer
to Note 1) stated below.
Note 1) Calculation of checksum
Add up everything after STX including EXT (or ETB), divide the result of addition by 256 and then express
the remainder in a two-digit hexadecimal number. Checksum is the first character (CSH) and the second
character (CSL) of the hexadecimal number.
[Example]

Add up everything to ETX after STX. Assuming that the result of addition is 1000,
E(45H)
and
8(38H) are obtained as CSH and CSL, respectively, from
1000 mod 256 = 232 = E8H
.

App.1-17

Appendix.1
6-2.

AE-4020 SERVICE MANUAL

Ethernet
Unlike RS-232C, the frame does not contain STX, FN, ETX and checksum. For the details of data structure,
refer to Section 6-3. (The data structure is the same as that of RS-232C.)
SOH

6-3.

Communication (transmission)
data

EOT

Communication Data Structure


A data to be sent and/or received consists of several records of hierarchical structure as shown below.
Message header record
Patient information record
Test order record
Result record 1 (Note 1)
Result record 2
Result record 3
:
:
Message end record
Each record consists of several fields. The content of the record is defined by a record type. The number of
fields in a record is fixed at every record type. Any data in a field is variable (the smallest size is 0 by default).
Every field is delimited by a field delimiter. A blank field is also delimited by a field delimiter, so we can see
the field is blank. (The last field may not be delimited by a field delimiter.)
(Note 1) A result record is appended per measurement item, therefore, several result records are appended to
one measurement result. The number of result records varies depending on test strip.

App.1-18

Appendix.1
6-4.

AE-4020 SERVICE MANUAL

Record Format
Any field not used in this specifications is not explained, although it is defined in ASTM-1394. Any unused
field number is not described here.

(1) Message header record


A message header record consists of 14 fields.
.
N
.
umber
.
1.
.
2.
setting

Record type
Delimiter

5.

.
4

1 .
Date and
time of communication

Field

Sender name

End of record

.
.
.
.
.
.
.
.

Description
Character
H
Field delimiter
Repeat delimiter
Component delimiter
Escape delimiter
Device name
Device number (S/N)
Device version

.
Date and time of
communication
(YYYYMMDDHHMM)
.
End of record

<Example> H|$^&|||AE-4020^10405001^V01.00

.
.
.

Remarks
(Example)
Fixed to
H
Fixed to
|$^&

.
.
.
digits)
.

AE-4020
10405001
V01.00
(10

.
fixed

<CR> (0x0D),

20020311101035

|||||||||200203111010<CR>

(2) Patient information record


The patient information record consists of 35 fields.
.
N
.
Field
umber
.
1.
Record type
.
2.
Sequence
number
.
.
End of record

Description

.
Character
P
.
Sequence number
beginning with
1
.
End of record

<Example> P|1<CR>

App.1-19

.
Remarks
(Example)
.
Fixed to
P
.
Fixed to
1
.
fixed

<CR> (0x0D),

Appendix.1

AE-4020 SERVICE MANUAL

(3) Test order record


The test order record consists of 31 fields.
.
N
.
Field
umber
.
1.
Record type
.
2.
Sequence
number
.
3.
Patient ID

Description

.
Character
O
.
Sequence number
beginning with
1
.
Bar code ID (1 to 13
digits, variable)

4.
Measuremen
t number

.
Measurement number
(1 to 4 digits, variable)

5.
name

Test strip

6.

Priority

.
6
.
0

1 .

Sample type

2 .

Comment

.
Measurement test strip
name (the first 3 components
are not used although this
consists of 4 components)
.
S: STAT
.
R: Routine
.
U: Urine
.
CNT: Control
.

Temperature
(C)
Not used if the temperature is
not corrected.
.

Details of
measurement error (Note 1)
Not used if no error occurs.
.
End of record

End of record

.
Remarks
(Example)
.
Fixed to
O
.
Fixed to
1
.

02031100000
01
.
If no ID is
specified:
.

-------------
.

1
.

9999
.

0
.

^^^10EA
.

^^^8EA

.
.
.
.
.
.
.
.

U
: Urine

CNT
: Control

25^

^DRIFT

25^DRIFT

. <CR> (0x0D),
fixed

<Example> O|1|0203110000001|1|^^^10EA|R||||||||||U||||25^DRIFT<CR>
(Note 1) Measurement error:
The details of error are shown below.
Details of Measurement

Description

Data

Error
Normal

Available

DRIFT

Change in DARK light quantity

Available

REFLEX OVER

Considerably high reflectance

Available

STRIP DEVIATE

Black mark misaligned

Unavailab
le

DIP MISS

Dip error

Available

ILLEGAL PAPER

Test strip type error

Unavailab
le

App.1-20

Appendix.1

AE-4020 SERVICE MANUAL

(4) Result record


The result record consists of 14 fields.
. N
. Field
umber
. 1. Record type
. 2. Sequence
number
. 3. Measuremen
t item

. 4. Measuremen
t value

. 5. Unit
. 7. Error flag
. 9. Measuremen
t result status
. 1 . Date and
2
time of measurement
start
.
. End of record

<Example>

. Description
. Character
R
. Sequence number
beginning with
1
. Test strip name (the
first 3 components are not used
although this consists of 5
components) and measurement
item name.
. Qualitative value and
semi-quantitative value of
measurement result. If the
measurement item is
COLOR
(color tone), this item shows the
color tone.
. If this field is blank,
there is no applicable data.
. Error flag (Note 1)
. Measurement result
status. This is fixed to
Final
Resultin this specification.
. Date and time when
the measurement started
(YYYYMMDDHHMM)
. End of record

. Remarks
(Example)
. Fixed to
R
. 1
3
42
3
.
^^^10EA^GLU
.
^^^10EA^PRO
.
^^^10EA^COLO
R
.
NORMAL^
.
+2^150
.
^(If a data is
unavailable)
.
+4^OVER
. YELLOW
34
.
^mg/dL
.
. Fixed to
F

.
20020311101035
.
. <CR> (0x0D),
fixed

R|1|^^^10EA^GLU|+2^150|^mg/dL||!||F|||200203111010<CR>
R|2|^^^10EA^BIL|-^|^mg/dL||||F|||200203111010<CR>
R|3|^^^10EA^PH|^5.0|||||F|||200203111010<CR>
R|4|^^^10EA^COLOR|RED|||||F|||200203111010<CR>

(Note 1) The values below are used for an error flag.


.
Value
*
!
Nil

Error Flag

Description
Error
Abnormal color
Normal

(5) Message end record


The message end record consists of 3 fields.
. N
. Field
umber
. 1. Record type
. 2. Sequence
number
. 3. End code

. End of record

. Description
. Character
L
. Sequence number
beginning with
1
. Shows whether a
process ended correctly or not.
Fixed to
Normal endin this
specification.
. End of record

<Example> L|1|N<CR>
App.1-21

. Remarks
(Example)
. Fixed to
L
. Fixed to
1
. Fixed to
N

. <CR> (0x0D),
fixed

Appendix.1

AE-4020 SERVICE MANUAL

[Example] Example of communication without data due to measurement error (RS-232C)


Device:
PC:

<ENQ><STX>1H|$^&|||AE-4020^10405001^V01.00
|||||||||200203111010<CR><ETB>ABCD
<ACK>

Device:

<CR><LF><STX>2P|1<CR><ETB>ABCD<CR><LF><STX>3O|1|0203110000001|1|^^^10EA|R||||
<ACK><ACK>

PC:
Device:
PC:
Device:
PC:
Device:
PC:
Device:
PC:
Device:
PC:
Device:
PC:
Device:
PC:

||||||U||||26^STRIP DEVIATE<CR><ETB>ABCD<CR><LF>
<ACK>
<STX>4R|1|^^^10EA^GLU|^|^mg/dL||||F|||200203111010<CR><ETB>ABCD<CR><LF>
<ACK>
<STX>5R|2|^^^10EA^PRO|^|^mg/dL||||F|||200203111010<CR><ETB>ABCD<CR><LF>
<ACK>
<STX>6R|3|^^^10EA^BIL|^|^mg/dL||||F|||200203111010<CR><ETB>ABCD<CR><LF>
<ACK>
<STX>7R|4|^^^10EA^PH|^|||||F|||200203111010<CR><ETB>ABCD<CR><LF>
<ACK>
<STX>0R|5|^^^10EA^S.G.|^|||||F|||200203111010<CR><ETB>ABCD<CR><LF>
<ACK>
<STX>1L|1|N<CR><ETX>ABCD<CR><LF><EOT>
<ACK>

[Example] Example of communication without data due to measurement error (Ethernet)


Device:

<SOH>

Device:

H|$^&|||AE-4020^10405001^V01.00

Device:

P|1<CR>

Device:

O|1|0203110000001|1|^^^10EA|R||||||||||U||||26STRIP DEVIATE<CR>

Device:

R|1|^^^10EA^GLU|^|^mg/dL||||F|||200203111010<CR>

Device:

R|2|^^^10EA^PRO|^|^mg/dL||||F|||200203111010<CR>

Device:

R|3|^^^10EA^BIL|^|^mg/dL||||F|||200203111010<CR>

Device:

R|4|^^^10EA^PH|^|||||F|||200203111010<CR>

Device:

R|5|^^^10EA^S.G.|^|||||F|||200203111010<CR>

Device:

L|1|N<CR>

Device:

<EOT>

PC:

<ACK><EOT>

|||||||||200203111010<CR>

App.1-22

Appendix.1

7.
7-1.

AE-4020 SERVICE MANUAL

AX-4280-Compatible Format
Compatibility with SA-4250, AX-4280 and AJ-4270 Standard Format
AX-4280-compatible format has some compatibility with the SA-4250 and AX-4280 standard formats, but it is
slightly different from them. For example, because there is no rack number nor port number in AJ-4270 and
AE-4020 and these are not equipped with an independent specific gravity/turbidity measurement unit, AJ-4270
and AE-4020 do not output the concrete value for those items (a blank value or
is output). In measurement
with the test strip AUTION Sticks, the item
S. G.can be measured when a specific test strip (10EA, 9EA) is
used. For the SA-4250 and AX-4280 formats, the measurement result of specific gravity meter is output in the
specific gravity area of the fourth block. On the other hand, for the AX-4280-compatible format,
S. G.is
output as the measurement result of the item (in either the second or third block), otherwise the measurement
result of specific gravity meter is output in the specific gravity area of the fourth block. You can select any of
these two types of output.
The table below shows the major differences between the SA-4250 format and the AX-4280-compatible
format.
Difference
Device name
Port number

AX-4280 Format
AX-4280-Compatible Format
A
X-428035
A
E-402035
Uses a rack number and port The value is blank.
number.
The
number
of 10 characters
7 characters and 3 spaces
characters for test strip
name
Temperature
Value (00 to 99)
Value (0 to 55)
Output of the item
S. Disabled

Enable or
Disable can be
G. in the second and
selected in the setting.
third blocks
Output of the
S. G.Outputs the measurement
Enable or
Disable can be
(Specific Gravity) area in result of specific gravity selected in the setting. A blank is
the fourth block
meter.
output if
Disableis selected.
Turbidity
The measurement result of Nil
turbidity meter is output to
the measurement results 1 to
12.
(Note) To maintain the compatibility with SA-4250, the measurement number of control measurement is not
output. (A blank is output for a sample number.)
7-2.

Block Configuration
First block
(Sample information)

Fourth block

Third block

Second block
(Measurement result
)

(Measurement result
)

(Measurement result of
specific gravity and color
tone)

* Time gap (Data Time Out: 0.5 seconds by default)


Time gap is set also before the next data transmission.
7-3.

Ticket-Printer-Compatible Format
The data configuration is the same as that of the AX-4280-compatible format. However,
AJ-4270is output
because the ticket printer recognizes the device name.

App.1-23

Appendix.1
7-4.

AE-4020 SERVICE MANUAL

Details of First Block (Sample Information)

(1) Format

STX

ETB

(2) Details of item


Item
Start code
Device name/version
Bar code
Date
Time
Measurement number

Number of
Characters
1
2
3-18
19
20-32
33
34-43
44
45-49
50
51-52
53
54-57

Port number

Test strip name

Block end code

58
59-61
62
63-64
65
66-72
73-75
76

Description
STX
Character
V(Initial of Version)
Device name, version number
Character
B(Initial of Barcode)
Bar code data (13 characters)
Character
D(Initial of Date)
Format of
Year/Month/Day
Character
T(Initial of Time)
Format of
Hour:Minute(24-hour display format)
Character
N(Initial of Number)
Sample type
01: Normal sample, 02: STAT sample, 03: Control
Character
.
Sample number of 4 digits (0000 to 9999)
Control is blank.
Character
P (Initial of Port)
Blank because it is not used in AE-4020.
Character
-(Separator)
Blank because it is not used in AE-4020.
Character
S(Initial of Strip)
Test strip name (7 characters)
Blank (3 spaces)
ETB

a) Not zero-suppressed.
b) Left justification.

App.1-24

Remarks

a)

b)

Appendix.1
7-5.

AE-4020 SERVICE MANUAL

Details of Second Block (Measurement Result )

(1) Format

STX

ETB

(2) Details of item


Item
Start code
Measurement result 1

Measurement result 2
Measurement result 3
Measurement result 4
Measurement result 5
Measurement result 6
Block end code

Number of
Characters
1
2-5
6-7
8
9-14
15-20
21-26
27-51
52-76
77-101
102-126
127-151
152

Description
STX
Item name
Blank
Error mark (Blank if there is no problem)

*
: error,
!
: abnormal color
Qualitative value
Semi-quantitative value
Unit symbol (% in the reflectance mode)
(The same format as that of the measurement result 1.)
(The same format as that of the measurement result 1.)
(The same format as that of the measurement result 1.)
(The same format as that of the measurement result 1.)
(The same format as that of the measurement result 1.)
ETB

Remarks

a)
b)
a), b)
b), c)
a)

a) Left justification.
b) Blank if any measurement result is not obtained.
c) Left justification, numerical value or character string.
For the item name, semi-quantitative symbol, concentration and unit symbol, refer to the
calibration curve specifications.

App.1-25

Appendix.1
7-6.

AE-4020 SERVICE MANUAL

Details of Third Block (Measurement Result )

(1) Format

STX

ETB

(2) Details of item


Item
Start code
Measurement result 7

Number of
Characters
1
2-5
6-7
8
9-14
15-20

Measurement result 8
Measurement result 9
Measurement result 10
Measurement result 11
Measurement result 12
Block end code

21-26
27-51
52-76
77-101
102-126
127-151
152

Description
STX
Item name
Blank
Error mark (Blank if there is no problem)

*
: error,
!
: abnormal color
Qualitative value
Semi-quantitative value in the concentration mode. Reflectance
in the reflectance mode.
Unit symbol (% in the reflectance mode)
(The same format as that of the measurement result 7.)
(The same format as that of the measurement result 7.)
(The same format as that of the measurement result 7.)
(The same format as that of the measurement result 7.)
(The same format as that of the measurement result 7.)
ETB

a) Left justification.
b) Blank if any measurement result is not obtained.
c) Left justification, numerical value or character string.

App.1-26

Remarks

a)
b)
a), b)
b), c)
a)

Appendix.1
7-7.

AE-4020 SERVICE MANUAL

Details of Fourth Block (Measurement result of specific gravity and color tone)

(1) Format

STX

ETX

(2) Details of item


Item
Start code
Specific gravity
measurement result

Number of
Characters
1
2-5
6-7
8
9-14
15-26

Color tone
measurement result

Temperature

Sample error value


mark
Measurement error
End code

27
28-39

Description

Remarks

STX
Character
S.G.for SA-4250.
Blank for AE-4020.
Blank
S.G.correction mark for SA-4250.
Blank for AE-4020.
Blank
Measurement result for SA-4250.
Blank for AE-4020.
Blank
Any of the following is output:

COLORLESS

DARK BLUE
35

LIGHT YELLOW
LIGHT VIOLET35

YELLOW

VIOLET
35

DARK YELLOW
DARK VIOLET 35

LIGHT ORANGE
LIGHT RED
35

ORANGE

RED
35

DARK ORANGE
DARK RED
35

LIGHT GREEN
LIGHT BROWN 35

GREEN

BROWN
35

DARK GREEN
DARK BROWN 3 5

LIGHT BLUE

OTHER
35

BLUE
35

40
41-42
43-44
45
46

Blank
Character
Twhen the temperature output is set.
A value (0 to 55) when the temperature output is set.
Blank
Normal blank, item error
*
, measurement error
?
.

47-50
51-68
69

Character
COM.
Details of measurement error.
ETX

App.1-27

b)

c)
c)

a)

Appendix.1

AE-4020 SERVICE MANUAL

a) Left justification
The table below shows the details of error.
Details of Measurement Error
DRIFT
REFLEX OVER
STRIP DEVIATE
DIP MISS
ILLEGAL PAPER

Meaning
Normal
Change in DARK light quantity
Considerably high reflectance
Black mark misaligned
No dip
Test strip type error

Data
Available
Available
Available
Unavailable
Available
Unavailable

b) Blank if any measurement result is not obtained.


c) Blank if the temperature correction is disabled or the temperature output is disabled.

App.1-28

Appendix.1

8.

AE-4020 SERVICE MANUAL

AM-4290-Compatible Format

8-1.

Details of Format (Concentration Value Output)

(1) Format

STX
2

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

CR

LF

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

CR

LF

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

CR

LF

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

CR

LF

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

CR

LF

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

CR

LF

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

207

208

CR

LF

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

235

236

CR

LF

237

238

239

240

241

242

243

244

245

246

247

248

249

250

251

252

253

254

255

256

257

258

259

260

261

262

263

264

CR

LF

265

266

267

268

269

270

271

272

273

274

275

276

277

278

279

280

281

282

283

284

285

286

287

288

289

290

291

292

CR

LF

293

294

295

296

297

298

299

300

301

302

303

304

305

306

307

308

309

310

311

312

313

314

315

316

317

318

319

320

CR

LF

321

322

323

324

325

326

327

328

329

330

331

332

333

334

335

336

337

338

339

340

341

342

343

344

345

346

347

348

CR

LF

349

350

351

352

353

354

355

356

357

358

359

360

361

362

363

364

365

366

367

368

369

370

371

372

373

374

375

376

CR

LF

377

App.1-29

Appendix.1

AE-4020 SERVICE MANUAL

ETX

(2) Details of Item


Item
Start code
Date

Time

Measurement number

Temperature

Test strip name


GLU measurement result

PRO measurement result


BIL measurement result
URO measurement result
PH measurement result
SG measurement result
BLD measurement result
KET measurement result
NIT measurement result
LEU measurement result

Turbidity result

Color tone result

Number of
Description
Characters
1
STX
2
Character
D(Initial of Date)
3-12
Format of Year (4 characters) Month (2 characters)
Day (2 characters)
13
Character
,(Separator)
14
Character
T(Initial of Time)
15-19 Format of Hour (2 characters): Minute (2 characters)
(24-hour display format)
20
Character
,(Separator)
21
Character
N(Initial of Number)
22
Sample type

1
: Normal sample (Fixed to
1for
AE-4020),
S
: STAT sample,
C
: Control sample
23-26 Sample number of 4 digits (0001 to 9999)
27
Character
,(Separator)
28-31 Character
Temp
32-33 Temperature value
34
Blank
35-38 Test strip type
7 types, i.e.,
10EAto
4EA
39-40 Line break (Code: CR (0DH) and LF (0AH))
41-44 Item name
45
Character
,(Separator)
46-51 Qualitative value
52
Character
,(Separator)
53-57 Semi-quantitative value
58
Character
,(Separator)
59-64 Unit symbol
65
Character
,(Separator)
66
Error mark

: Normal,
H
: Error
67-68 Line break (Code: CR (0DH) and LF (0AH))
69-96 (The same format as that of GLU measurement result)
97-124 (The same format as that of GLU measurement result)
125-152 (The same format as that of GLU measurement result)
153-180 (The same format as that of GLU measurement result)
181-208 (The same format as that of GLU measurement result)
209-236 (The same format as that of GLU measurement result)
237-264 (The same format as that of GLU measurement result)
265-292 (The same format as that of GLU measurement result)
293-320 (The same format as that of GLU measurement result)
321-325 Blank for AE-4020
326
Character
,(Separator)
327-331 Blank
332
Character
,(Separator)
333-334 Blank for AE-4020
335-338 Blank
339
Character
,(Separator)
340-344 Blank
345
Character
,(Separator)
346
Blank
347-348 Line break (Code: CR (0DH) and LF (0AH))
349-353 Item name
COLOR35
354
Character
,(Separator)

App.1-30

Remarks

a)
a)
a)
c)
c)
c)
c)
c)

Appendix.1
Item

Color tone result

End code

AE-4020 SERVICE MANUAL


Number of
Description
Characters
355-359 Blank
360
Character
,(Separator)
361-366 Color tone (6 types, i.e.,
YELLOW
,
RED
,

BROWN
,
ORANGE
,
GREENand
BLUE
)
367
Character
,(Separator)
368-372 Blank
373
Character
,(Separator)
374
Blank
375-376 Line break (Code: CR (0DH) and LF (0AH))
377
ETX

Remarks

d)

Left justification unless otherwise specified.


a) Blank if the temperature output is disabled or the temperature correction is disabled.
c) Blank if there is no applicable item.
d) The number of AE-4020 color tones is 23. So, when the output is made in the AM-4290
format (6 color tones), the conversion is performed.
AE-4020 Measurement Color Tones
YELLOW
ORANGE
GREEN
BLUE
VIOLET
RED
BROWN
COLORLESS
OTHER

AM-4290 Format Output Color Tones


YELLOW
ORANGE
GREEN
BLUE
BLUE
RED
BROWN
YELLOW
BLUE

*Note The AM-4290 format supports the conventional test strip (10EA, 9EA, 8EA, 7EA, 6EA,
5EA and 4EA) only.
* If 10PA is measured in this format, a data of CRE is not output because the output item is
fixed.
* If 2AC is measured, the measurement result becomes blank because there is no applicable
item.
The table below shows whether a data is enabled or disabled when a measurement error occurs.
Details of Measurement Error
DRIFT
REFLEX OVER
STRIP DEVIATE
DIP MISS
ILLEGAL PAPER

Meaning
Normal
Change in DARK light quantity
Considerably high reflectance
Black mark misaligned
No dip
Test strip type error

App.1-31

Data
Enabled
Enabled
Enabled
Disabled
Enabled
Disabled

Appendix.1
8-2.

AE-4020 SERVICE MANUAL

Details of Format (Reflectance Output)

(1) Format

STX
2

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

CR

LF

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

CR

LF

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

CR

LF

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

CR

LF

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

CR

LF

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

CR

LF

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

207

208

CR

LF

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

235

236

CR

LF

237

238

239

240

241

242

243

244

245

246

247

248

249

250

251

252

253

254

255

256

257

258

259

260

261

262

263

264

CR

LF

265

266

267

268

269

270

271

272

273

274

275

276

277

278

279

280

281

282

283

284

285

286

287

288

289

290

291

292

CR

LF

293

294

295

296

297

298

299

300

301

302

303

304

305

306

307

308

309

310

311

312

313

314

315

316

317

318

319

320

CR

LF

321

322

323

324

325

326

327

328

329

330

331

332

333

334

335

336

337

338

339

340

341

342

343

344

345

346

347

348

CR

LF

App.1-32

Appendix.1

AE-4020 SERVICE MANUAL

349

350

351

352

353

354

355

356

357

358

359

360

361

362

363

364

365

366

367

368

369

370

371

372

373

374

375

376

CR

LF

377

ETX

(2) Details of Item


Item
Start code
Date

Time

Measurement number

Temperature

Test strip name


GLU measurement result

PRO measurement result


BIL measurement result
URO measurement result
PH measurement result
SG measurement result
BLD measurement result
KET measurement result
NIT measurement result
LEU measurement result

Number of
Description
Characters
1
STX
2
Character
D(Initial of Date)
3-12
Format of Year (4 characters) Month (2 characters)
Day (2 characters)
13
Character
,(Separator)
14
Character
T(Initial of Time)
15-19 Format of Hour (2 characters): Minute (2 characters)
(24-hour display format)
20
Character
,(Separator)
21
Character
N(Initial of Number)
22
Sample type

1
: Normal sample (Fixed to
1for
AE-4020),
S
: STAT sample,
C
: Control sample
23-26 Sample number of 4 digits (0001 to 9999)
27
Character
,(Separator)
28-31 Character
Temp
32-33 Temperature value
34
Blank
35-38 Test strip type
7 types, i.e.,
10EAto
4EA
39-40 Line break (Code: CR (0DH) and LF (0AH))
41-44 Item name
45
Character
,(Separator)
46-51 Reflectance (%), right-justified.
52
Character
,(Separator)
53-57 Blank
58
Character
,(Separator)
59-64 Blank
65
Character
,(Separator)
66
Blank
67-68 Line break (Code: CR (0DH) and LF (0AH))
69-96 (The same format as that of GLU measurement result)
97-124 (The same format as that of GLU measurement result)
125-152 (The same format as that of GLU measurement result)
153-180 (The same format as that of GLU measurement result)
181-208 (The same format as that of GLU measurement result)
209-236 (The same format as that of GLU measurement result)
237-264 (The same format as that of GLU measurement result)
265-292 (The same format as that of GLU measurement result)
293-320 (The same format as that of GLU measurement result)

App.1-33

Remarks

a)
a)
a)
a),b)
a),b)

Appendix.1

AE-4020 SERVICE MANUAL

Item
Reference pad A/D
value
Measurement
wavelength item

Reference pad A/D


value
Result

End code

Number of
Characters
321-324 Blank
325

Description

Character
,(Separator)

326-331
332
333-337
338
339-344
345
346
347-348
349-352

Blank for AE-4020


Character
,(Separator)
Blank for AE-4020
Character
,(Separator)
Blank for AE-4020
Character
,(Separator)
Blank
Line break (Code: CR(0DH) and LF(0AH))
Blank for AE-4020

353
354-359
360
361-365
366
367-372
373
374
375-376
377

Character
,(Separator)
Blank for AE-4020
Character
,(Separator)
Blank for AE-4020
Character
,(Separator)
Blank for AE-4020
Character
,(Separator)
Blank
Line break (Code: CR(0DH) and LF(0AH))
ETX

Left justification unless otherwise specified.


a) Blank when a trouble has occurred.
b) Blank if there is no applicable item.

App.1-34

Remarks

Appendix.1

9.

AE-4020 SERVICE MANUAL

MA-4240-Compatible Format

9-1.

Details of Format (Measurement Result)

(1) Format
001

STX
002

003

004

005

006

007

008

009

010

011

012

013

014

015

016

017

018

019

020

021

022

023

024

025

026

027

028

029

030

031

032

033

034

035

036

037

038

CR

LF

039

040

041

042

043

044

045

046

047

048

049

050

051

052

053

054

055

056

057

058

059

060

061

062

063

064

065

066

CR

LF

067

068

069

070

071

072

073

074

075

076

077

078

079

080

081

082

083

084

085

086

087

088

089

090

091

092

093

094

CR

LF

095

096

097

098

099

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

CR

LF

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

CR

LF

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

CR

LF

179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

CR

LF

207

208

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

232

233

234

CR

LF

235

236

237

238

239

240

241

242

243

244

245

246

248

249

250

251

252

253

254

255

256

257

258

259

260

261

262

247

CR

LF

263

264

265

266

267

268

269

270

271

272

273

274

275

276

277

278

279

280

281

282

283

284

285

286

287

288

289

290

CR

LF

291

292

293

294

295

296

297

298

299

300

301

302

303

304

305

306

307

308

309

310

311

312

313

314

315

316

317

318

CR

LF

319

ETX

App.1-35

Appendix.1

AE-4020 SERVICE MANUAL

(2) Details of Item


Item

Number of
Description
Characters
1
STX
2
Character
D(Initial of Date)
3-10
Fixed to the format of
YY-MM-DD
.
YYis the last two figures
of the year.
11
Character
,(Separator)
12
Character
T(Initial of Time)
13-17
Format of Hour (2 characters): Minute (2 characters) (24-hour
display format)
18
Character
,(Separator)
19
Character
N(Initial of Number)
20
Classification number ([0], [C] and [S])
21-24
Measurement number (not zero-suppressed)
25
Character
,(Separator)
26
Character
S(Initial of Strip)
27-36
Test strip name (left-justified and followed by space(s) (20h) as
necessary.)
37-38
Line break (Code: CR (0DH) and LF (0AH))
39-42
Item name (left-justified)
43
Character
,(Separator)
44-49
Rank (left-justified)
50
Character
,(Separator)
51-55
Semi-quantitative value (zero-suppressed, left-justified and
followed by space(s) (20h) as necessary)
56
Character
,(Separator)
57-62
Unit (% in the reflectance mode)
63
Character
,(Separator)
64
Abnormal mark or trouble number. Space (20h) for a normal
value.
H(48h) for an abnormal value. If any measurement value
is not available due to trouble, a trouble number ([3] or [7]) is
entered.
65-66
Line break (Code: CR (0DH) and LF (0AH))
67-94
The format is the same as that of 39 to 66 above.
95-122 The format is the same as that of 39 to 66 above.
123-150 The format is the same as that of 39 to 66 above.
151-178 The format is the same as that of 39 to 66 above.
179-206 The format is the same as that of 39 to 66 above.
207-234 The format is the same as that of 39 to 66 above.
235-262 The format is the same as that of 39 to 66 above.
263-290 The format is the same as that of 39 to 66 above.
291-318 The format is the same as that of 39 to 66 above.
319
ETX code (03h)

Start code
Date

Time

Measurement number

Test strip name

Item data (first)

Item data (second)


Item data (third)
Item data (fourth)
Item data (fifth)
Item data (sixth)
Item data (seventh)
Item data (eighth)
Item data (ninth)
Item data (tenth)
End code

a) Classification number:
Fixed to [0] for normal measurement.
[C] for the control measurement.
[S] for the STAT measurement.
b) Test strip name:
8EA, 8UA

[URIFLET 8A]

[URIFLET 8B]

7EA, 7UA

[URIFLET 7A]

8UB

App.1-36

Remarks

a)

b)

c)

d)

Appendix.1

AE-4020 SERVICE MANUAL

5EA, 5UA

[URIFLET 5B]

4EA, 4UA

[URIFLET 4A]

Any other test strips are left-justified when those are output.
Example: 10EA [10EA

c) Concentration value or reflectance.


d) Trouble number: [3]: Test strip setting error
[7]: Test strip type judgment disabled
* For 10PA, the number of output item is 10 or more. So, any items after the tenth are
not output.
* The number of characters for semi-quantitative symbol output is 5 and any character
(the first character) may be omitted.
* Troubleshooting in the MA-4240-compatible format (no measurement result)
W001: Drift

W002: Considerably high reflectance

[3]: Test strip setting error

[3]: Test strip setting error

W003: Test strip misaligned

[3]: Test strip setting error

W004: No dip

[3]: Test strip setting error

W005: Test strip type error

[7]: Test strip type judgment disabled

App.1-37

Appendix.1

10.

AE-4020 SERVICE MANUAL

SA-4230-Compatible Format
The data configuration is the same as that of the SA-4230-compatible format. The contents have some addition
and deletion.

10-1. Block Configuration


First block
*

(Sample information)

Fourth block

Third block

Second block
(Measurement result
1)

(Measurement result
2)

(Measurement result of
specific gravity)

* Time gap (Data Time Out: 0.5 seconds by default)


Time gap is set also before the next data transmission.
10-2. Details of First Block (Sample Information)
(1) Format

STX

ETB

App.1-38

Appendix.1

AE-4020 SERVICE MANUAL

(2) Details of item


Item

Start code

Number of
Characters
1
STX

Measurement

Description

Remarks

Character
M35

mode

3-4

Measurment mode
00: Normal sample, 01: STAT sample, 04: Control

Bar code

5
6-18

Date

19
20-29

Time

30
31-35
36

Measurement

Character
B
Bar code data (13 characters)

Character
D35
Format of
Year/Month/Day35
Character
T35
Format of
Hour:Minute(24-hour display format)
Character
N35

number

37-38
39
40-43
Port number

44
45-47
48
49-50

Test strip name

51

Sample type

01: Normal sample, 02: STAT sample, 03: Control


Character
.35
Sample number of 4 digits (0000 to 9999)

Control is blank.

a)

Character
P35
Blank because it is not used in AE-4020.
Character 34
-
Blank because it is not used in AE-4020.
Character
S35

52-58

Test strip name (7 characters)

b)

59-61

Blank (3 spaces)

b)

Block end code

62

ETB

a) Not zero-suppressed.
b) Left justification.

App.1-39

Appendix.1

AE-4020 SERVICE MANUAL

10-3. Details of Second Block (Measurement Result 1)


(1) Format

STX

ETB

(2) Details of item


Item
Start code
Measurement result 1

Number of
Characters
1
STX
2-5
Item name
6-7
Blank
Qualitative value

Description

8-11

Remarks

a)
a), b)

12-17

Semi-quantitative value

b), c)

18-23

Unit symbol

a)

Measurement result 2

24-45

(The same format as that of the measurement result 1.)

Measurement result 3

46-67

(The same format as that of the measurement result 1.)

Measurement result 4

68-89

(The same format as that of the measurement result 1.)

Measurement result 5

90-111

(The same format as that of the measurement result 1.)

Measurement result 6

112-133

(The same format as that of the measurement result 1.)

Block end code

134

ETB

a) Left justification.
b) Blank if any measurement result is not obtained.
c) Left justification, numerical value or character string.
10-4. Details of Second Block (Measurement Result 2)
(1) Format
App.1-40

Appendix.1

AE-4020 SERVICE MANUAL

STX

ETB

(2) Details of item


Item
Start code
Measurement

Number of
Characters
1
STX

Description

2-23

(The same format as that of the measurement result 1.)

24-45

(The same format as that of the measurement result 1.)

46-67

(The same format as that of the measurement result 1.)

68-89

(The same format as that of the measurement result 1.)

90-111

(The same format as that of the measurement result 1.)

112-133

(The same format as that of the measurement result 1.)

result 7
Measurement
result 8
Measurement
result 9
Measurement
result 10
Measurement
result 11
Measurement
result 12
Block end code

134

ETB

App.1-41

Remarks

Appendix.1

AE-4020 SERVICE MANUAL

10-5. Details of Fourth Block (Measurement result of specific gravity)


(1) Format

STX

ETX

(2) Details of item


Item
Start code

Specific gravity

Number of
Description
Characters
1
STX
Character
S.G.for SA-4230.

2-5

measurement

Blank for AE-4020.

Remarks

a)

result

Measurement

6-12

Measurement result for SA-4250.

13-16

Character
COM.

17-34

Details of measurement error.

Blank for AE-4020.

a)

error
End code

35

b)

ETX

a)
Enableor
Disablecan be selected in the setting. A blank is output if
Disableis selected.
b) REFERENCE : 7-7

App.1-42

You might also like