Parts marked with "!" are important for maintaining the safety of the set. Be sure to replace these parts with specified
ones for maintaining the safety and performance of the set.
This document has been published to be used
SHARP CORPORATION
for after sales service only.
The contents are subject to change without notice.
■ LEAD-FREE SOLDER
The PWB’s of this model employs lead-free solder. The “LF” marks indicated on the PWB’s and the Service Manual mean “Lead-Free” solder. The
alphabet following the “LF” mark shows the kind of lead-free solder.
Example:
<Solder composition code of lead-free solder>
Solder composition
Sn-Ag-Cu
Sn-Ag-Bi
Sn-Ag-Bi-Cu
Sn-Zn-Bi
Sn-In-Ag-Bi
Sn-Cu-Ni
Sn-Ag-Sb
Bi-Sn-Ag-P
Bi-Sn-Ag
5mm
Lead-Free
Solder composition
code (Refer to the
table at the right.)
a
(1) NOTE FOR THE USE OF LEAD-FREE SOLDER THREAD
When repairing a lead-free solder PWB, use lead-free solder thread. Never use conventional lead solder thread, which may cause a breakdown or an accident.
Since the melting point of lead-free solder thread is about 40°C higher than that of conventional lead solder thread, the use of the exclusive-use soldering iron is recommendable.
(2) NOTE FOR SOLDERING WORK
Solder composition code
a
b
z
i
n
s
p
Since the melting point of lead-free solder is about 220°C, which is about 40°C higher than that of conventional lead solder, and its soldering capacity is inferior to
conventional one, it is apt to keep the soldering iron in contact with the PWB for longer time. This may cause land separation or may exceed the heat-resistive temperature of components. Use enough care to separate the soldering iron from the PWB when completion of soldering is confirmed.
Since lead-free solder includes a greater quantity of tin, the iron tip may corrode easily. Turn ON/OFF the soldering iron power frequently.
If different-kind solder remains on the soldering iron tip, it is melted together with lead-free solder. To avoid this, clean the soldering iron tip after completion of soldering work.
If the soldering iron tip is discolored black during soldering work, clean
and file the tip with steel wool or a fine filer.
XE-A21S LEAD-FRE E SOLDER
CHAPTER 1. SPECIFICATIONS
1. APPEARANCE
Front viewRear view
Front viewRear view
Operator display
Operator display
Printer cover
Printer cover
Receipt paper
Receipt paper
Keyboard
Keyboard
Drawer
Drawer
Drawer lock
Drawer lock
Printer
Printer
Take-up spool
Take-up spool
Print roller
Print roller
arm
arm
Print roller
Print roller
release lever
release lever
Inner cover
Inner cover
Customer display
Customer display
(Pop-up type)
(Pop-up type)
Power cord
Power cord
Mode switch
Mode switch
Paper roll cradle
Paper roll cradle
Paper positioning guides
Paper positioning guides
AccessoriesManager key2
Operator key2
Drawer lock key2Drawer lock key
Paper roll1Wide 58mm 80φ
Take-up spool1
USB cable
(0GS5422580)
Customer
1For connection between
*1
ECR and PC
1 diskCD-ROM
support tool
Quick Start Guide1 copy
USB portSD card slot
USB portSD card slot
Instruction manual
1 copy 2 languages
(English/Spanish)
Specifications and appearance subject to change without notice for
improvement.
*1 Use only the USB cable (manufactured by SHARP) supplied with
the XE-A21S for the connection with a PC.
In case you need a new USB cable, order the USB cable manufactured by SHARP Co. Ltd. (Part code: 0GS5422580) for use with the
XE-A21S.
Printing capacity24 digits each for receipt and jour-
Other functionsGraphic logo printing function
Paper rollWidth: 2.25
Max. diam. : 3.15 in (80 mm)
Quality: High quality (0.06 to 0.08 mm thickness)
Cash drawer4 slots for bill and 5 for coin denominations
× 16.9 (D) × 11.1 (H) in.
× 430 (D) × 281 (H) mm)
± 15%, 60 Hz
nal paper
Logo message function
Receipt (ON-OFF) function, compression printing function
± 0.02 in (57.5 ± 0.5 mm)
3. KEYBOARD
1) KEYBOARD LAYOUT
TypeNormal keyboard
Key positionSTD/MAX 53
CL
00
× 19 (H) mm
PLU
DEPT
/SUB
#
A
F
20
24
B
4
3
2
1
G
8
19
23
C
H
7
18
22
D
I
6
17
21
E
J
5
DEPT
SHIFT
12
11
10
9
CLK
#
P
K
28
32
L
Q
16
27
31
M
R
15
26
30
N
S
14
25
29
O
T
13
AUTO
TAX
U
TAX2
TAX1
SHIFT
SHIFT
V
CHK
CH
W
MDSE
#/TM
SBTL
SBTL
CA/AT/NS
X
Y
Z
Key pitch19 (W)
Key layoutFixed type
2) KEY LIST
■Keyboard layout
@/
SHIFT
SPACE
FOR
•
789
456
123
0
CONV
%1RA
RCPT
%2
/PO
NUMBER
–
VOID
RFND
DC
ESC
/HELP
BS
Note: The small characters on the bottom or lower right in each key
indicates functions or characters which can be used for character
entries for text programming.
XE-A21S SPECIFICATIONS
– 1 –
■Key names
KEY TOPDESCRIPTION
2Paper feed key
RAReceived-on account key
RCPT/POReceipt print/Paid-out key
VOIDVoid key
ESC/HELPEscape key/Help key
CONVConversion key
%1, %2Percent 1and 2 key
RFNDRefund key
-Discount key
@/FORMultiplication key
•Decimal point key
CLClear key
0-9,00Numeric Keys
PLU/SUBPLU/Sub-department key
DEPT#Department code entry key
DEPT SHIFTDepartment shift key
CLK#Clerk code entry key
Dept1-32Department keys
TAXTax k e y
Tax 1 SHIFTTax 1 shift key
Tax 2 SHIFTTax 2 shift key
AUTOAutomatic sequence key
CHKCheck key
CHCharge key
MDSE SBTLMerchandise subtotal key
#/TM/SBTLNon-add code/Time display/Subtotal key
CA/AT/NSTotal/Amount tender/No Sale key
VOID : Enters into the void mode. This mode allows correction after
finalizing a transaction.
MGR : For manager’s entries. The manager can use this mode for
an override entry.
X1/Z1 : To take the X/Z report for various daily totals.
X2/Z2 : To take the X/Z report for periodic (weekly or monthly) consol-
idation.
5. DISPLAY
1) OPERATOR DISPLAY
Display device: LED
Number of line: 1 line
Number of positions: 10 positions
Color of display: Yellow Green
Character form: 7 segment
Character size: 14.2 (H)
Layout:
0.1.2.3.4.5.6.7.8.9.
2) CUSTOMER DISPLAY
Display device: LED
Number of line: 1 line
Number of positions: 7 positions
Color of display: Yellow Green
Style: Pop up type
Character form: 7 segment
Character size: 14.2mm (H)
+ DP
× 7.9 (W) mm
+ Dp
× 7.9mm (W)
4. MODE SWITCH
1) LAYOUT
• Rotary type
MA
OP
REG
OP
X/Z
PGM
MGR
X
1/Z1
X2/Z2
OFF
VOID
The mode switch can be operated by inserting one of the two supplied
mode keys - manager (MA) and operator (OP) keys. These keys can be
inserted or removed only in the “REG” or “OFF” position.
The mode switch has these settings:
OFF : This mode locks all register operations. (AC power turns off.)
No change occurs to register data.
OP X/Z: To take individual clerk X or Z reports, and to take flash repor ts.
It can be used to toggle receipt state “ON” and “OFF” by
pressing he [RCPT/PO] key.
REG : For entering sales.
PGM : To program various items.
Manager key (MA)
Operator key (OP)
OPMA
Layout:
3.4.5.6.7.8.9.
Operator display
PLU/SUB
DEPT REPEAT
RCPT
OFF
DC
Clerk code
NUMBERSHIFT
Amount: Appears in the far-right eight (max.) positions. When the
amount is negative, the minus symbol “-” appears before the
amount.
Number of repeats for repetitive registrations:
The number of repeats is displayed, starting at “2” and incremental with each repeat. When you have registered ten
times, the display will show “0.” (2 3 3
Receipt function status:
The indicator “_” appears in the RCPT OFF position when
the receipt function is in the OFF status.
Time : Appears in the far-right six positions (hour-minute - “ ” or
hour-minute - “ ”) in the OP X/Z, REG, or MGR mode. “ ”
is displayed in the morning (AM), and “ ” in the afternoon
(PM). In the REG or MGR mode, press the [#/TM/SBTL] key
to display the time.
Customer display
(Pop-up type)
.....
9 3 0 3 1 3 2
...
)
XE-A21S SPECIFICATIONS
– 2 –
■Machine state symbols
: Appears during programming.
: Appears when an error is detected.
: Appears when the subtotal is displayed or when the amount
tendered is smaller than the sales amount.
: Appears when the [CONV] key is pressed to calculate a subto-
tal in foreign currency.
: Appears when a transaction is finalized by pressing the [CA/AT/
NS], [CHK] or [CH] key.
: Appears when the change due amount is displayed.
: May appear in the far-left three positions at the timing of key
entry when the electronic journal (EJ) memory is full. (Depending on programming.)
: Appears when the voltage of the installed batteries is under the
required level. You must replace with new ones within two days.
: Appears when the batteries are not installed, or the installed
batteries are dead. You must replace with new ones immediately.
: May appear right below the eighth and ninth places at the timing
of finalization of a transaction when the electronic journal (EJ)
memory is nearly full.
Also appears right below the tenth place when power save
mode is effective.
: Appears when the print roller arm is not locked.
: Appears when the paper is not set or has run out.
Segment
Display
position
Amount1-8
Minus sign2-10-: Floating
Error8-10Exx : xx
PGM Mode10P
CASH, CHECK,
CHARGE
SUB TOTAL/
short tender
Change10C: Light up whenever the change
Currency
Conversion
Department9-10No zero-suppressed
PLU7-10No zero-suppressed
Repeat8Endless count, starting from 2.
Receipt OFF9_
DC_: Double size character entry
SHIFT_: Shift character entry status
NUMBER_: Number character entry status
Clerk No.2, 3-xx- : clerk number
EJ FULL8-10E-E : Light up when EJ memory is
Low Battery10L:
No Battery10:
10F: Light up when a registration is
10o
10c: Light up whenever the foreign
Description
= error code
finalized by depressing
[CASH], [CHECK], [CHARGE]
key
due amount appears in the display.
amount appears in the display.
status
FULL at the timing of key entry
(by PGM selection).
• Reliability: Mechanism LIFE 6 million lines used to
• Paper end sensor: Set up
•Cutter: No
• Near end sensor: No
: Approximate 60mm/s (Approximate 12 l/s)
high-quality thermal paper
2) Paper
• Paper roll dimension:
• Paper quality:High-quality thermal paper
57.5 ± 0.5mm in width
Max. 80mmin diameter
paper thickness: 0.06 to 0.08mm
Nihon seisi thermal paper : TF50KS-E
Oji thermal paper: PD150R,
3) Logo stamp
• No
× 24 dots (H)
× 4.17mm (H) at 10 × 24 dots
PD160R
XE-A21S SPECIFICATIONS
– 3 –
4) PRINTING AREA
Number of thermal head heater elements 288 dots
(4.75)(4.75)48 (288 dots)
print area
(max.24 characters)
0.167
57.5±0.5
(Paper dimension)
7. DRAWER
(units : mm)
3) Drawer Lock Key
This key locks and unlocks the drawer. To lock it, turn 90 degrees counterclockwise. To unlock it, turn 90 degrees clockwise.
8. USB PORT
[DEVICE]
USB B Type
[OUTLINE]
This ECR has 1 port.
This is used in order to connect with a personal computer.
[OUTLINE]
• Standard equipment: Yes (1)
• Max. number of additional drawers: 1
• The drawer consists of:
1) Drawer box (outer case) and drawer
2) Money case
3) Coin case
4) Lock (attached to the drawer)
[SPECIFICATION]
1) DRAWER BOX AND DRAWER
Model name of the drawer boxSJ415
Size
MaterialPlastic
Bell—
Release leverStandard equipment:
Drawer open sensor—
2)MONEY CASE
Separation from the drawerDisallowed
Separation of the bill compartments from the coin compartments
Bill separator—
Number of compartments4B/5C
Layout:
330(W) × 418(D) × 98(H)
situated at the bottom
Allowed
mm
[SPECIDICATIONS]
1) Transmission rate
USB 2.0 Full Speed Max. 12Mbps
2) Connector
USB B Type
3) Pin assign
1Pin 5V
2Pin
− D
+ D
3Pin
4Pin GND
9. BATTERY
1) MEMORY BACK UP BATTERY
For memory back up, the dry battery AA (3 pieces) are needed.
1. Memory holding time:
Approximate 1 year after New dry batteries are inserted.
2. Battery exchange method:
When the low battery symbol “L” lights up, batteries (3 pieces)
exhange by the following method, with 2 days.
1) Power on the ECR.
2) Mode switch turn to “REG” mode.
3) Release the OLD dry batteries (3 pieces).
4) Insert the NEW dry batteries (3 pieces).
5) Confirm the low battery symbol “L” lights off.
4B/5C
2) LOW BATTERY
Low battery indication will appear on the left side of display when the
battery voltage is low.
CASE 1: When any numeric entry & any item entry is not done or just
after finalization.
The machine can indicate the low battery condition. (Always)
XE-A21S SPECIFICATIONS
– 4 –
CASE 2: When numeric entry or item entry is done.
Battery condition will not appear.
Exceptionally, when the power is restored after a power failure, the
low battery condition will appear on the display only when the battery is low.
And the indicator will disappear after any key entry.
[Display sample]
“ 0.00”: Battery is OK.
“L 0.00”: Low battery (You have to change the batteries.)
“ 0.00”: No battery (You have to change the batteries immediately.)
After finalization
“F 12.34”: Battery is OK.
“L 12.34”: Low battery. (“L” indicate instead of “F”.)
“ 12.34”: No battery. (“L” indicate instead of “F”.)
Note: “NO BATTERY”: When the “NO BATTERY” is display, the mas-
ter reset is executed at the timing of “POWER
ON” after the “POWER OFF”.
CHAPTER 2. OPTIONS
10. SD MEMORY CARD
[Device]
SD Card (Version. 1.01)
[Outline]
XE-A21S has a SD Memory Card slot.
[Specidications]
1) Variable clock rate: 0 - 25 MHZ
2) Other commands and memory access : 2.7 - 3.6V
3) Bus Protocol: SPI Bus
4) Correspondence capacity: 32MB - 512MB
5) Recommended manufacturer: SanDisk
1. OPTIONS (NO)
2. SERVICE OPTIONS (NO)
3. SUPPLIES
No.NAMEPARTS CODEPRICERANKDESCRIPTION
1Thermal roll paperTPAPR6656RC05BA5 ROLLS/PACK (70 φ)
4. SPECIAL SERVICE TOOLS (NO)
No.NAMEPARTS CODEPRICERANKDESCRIPTION
1USB Cable
CHAPTER 3. MASTER RESET AND PROGRAM RESET
1. MASTER RESETTING
Master resetting clears the entire memory and resumes initial values.
Master resetting can be accomplished by using the following procedure:
Procedure A: 1) Unplug the AC cord from the wall outlet or set the
mode switch to OFF Position.
2) Let the ECR be without the memory back up battery.
3) Wait over 1 muinite for discharging.
4) Set the mode switch to any position except OFF.
5) Plugin the AC cord to the wall outlet or turn the
mode switch from OFF Position to another position.
The master reset can also be accomplished in the following case.
In case power failure occurs when the machine has no battery
attached to it, the master reset operation is automatically performed
after the power has been restored.
(This is because if power failure occurs with no battery attached to
the machine, all the memories are lost and the machine does not
work properly after power recovery; this requires the master reset
operation.)
2. PROGRAM RESETTING
(INITIALIZATION)
This resetting resumes the initial program without clearing memory.
This resetting can be operated at below sequence in PGM mode.
Procedure:1) Unplug the AC cord from the wall outlet.
2) Wait over 1 muinite for discharging.
3) Set the mode switch to the PGM position.
4) While holding down the FEED key, plugin the AC
cord to the wall outlet.
Note: In case power failure occurs when the machine has no battery
attached to it, the master reset operation is automatically
performed after the power has been restored.
P7723P77/EPM CTRLOHOut L/EPM CONTROL SIGNAL WHEN IPL
P8022P80BUZZEROLOut LBUZZER
P8121P81MOTOROLOut LPAPER TAKE UP MOTOR
P8220/INT0POFFI
P8319/INT1/DREQUSBI
P8418/INT2/INTUSBI
P8517/NMI(NU)I
P8611XCOUTXCOUTI
P8710XCINXCINI
P907P90P90I
P916P91P91I
P925P92P92I
P934P93P93I
P943P94P94I
P952P95P95I
P961P96P96I
P97100P97P97I
P10097AN0P100I
P10195AN1P101I
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
InPOWER INTERRUPT
InUSB DMA REQUEST
InUSB INTERRUPT
InUNUSED
In32.768kHz
In32.768kHz
InKEY IN
InKEY IN
InKEY IN
InKEY IN
InKEY IN
InKEY IN
InKEY IN
InKEY IN
InHEAD TEMPERATURE MONITOR
InHEAD VOLTAGE MONITOR
P10294P102/STB2OHInPRINTER/STB2
P10393AN3VBATI
-
InBATTERY VOLTAGE
P10492P104(NU)OLOut LUNUSED
P10591P105VPONOLOut LPRINTER HEAD POWER
P10690P106/LATOHOut LPRINTER DATA LATCH
P10789P107/STB1OHInPRINTER/STB1
BYTE8BYTEI
CNVss9CNVssI
/RESET12/RESETI
-
-
-
InCONNECTED TO VDD
InNOMAL: L /BOOT: H
InRESET
Xout13XoutOOutCLOCK
Vss14VsspowerCONNECTED TO GND
Xin15XinIInCLOCK
Vcc16VccpowerCONNECTED TO VDD
Vcc62VccpowerCONNECTED TO VDD
Vss64VsspowerCONNECTED TO GND
AVss96AVsspowerCONNECTED TO GND
Vref98VrefrefCONNECTED TO VDD
AVcc99AVccpowerCONNECTED TO VDD
XE-A21S HARDWARE DESCRIPTION
– 8 –
4. USB PORT
One port for USB Port (Slave) is provided as a standard provision of
XE-A21S.
The Renesus-make USB general-use ASSP device M66291 is used.
The M66291 is mapped to the /CS1 area 28000h-29FFFh.
CPU
A0
A1-A6
D0-D7
/CS1
/RD
/WR
/RESUSB
/DREQUSB
/INTUSB
M66291
D15/AD0
AD1-AD6
VBuss
D0-D7 TrON
CS
RD
LWR
/RESET
/Dreq0
/INT0
HWR/BYTE
D
D
24MHz
1.5k
+
−
1.0µF
1
Vbus
3
D
+
2
D
4
GND
USB
CONNECTOR
−
27
27
<CPU PORT>
No.CPU portUse signalPurpose
19P83 (INT1)
18P84 (INT2)/INTUSB USB interruption 0 request signal
24
P76 (TA3OUT)
/DREQUSB
USB DMA channel 0 DMA request
signal
/RESUSB M66291 Reset control
5. SD CARD I/F
One port for SD card I/F is provided as a standard provision of XE-A21S.
Communication with the SD card is made in the SPI mode.
<DRIVE STEP>
Driver IC input (CPU output)Motor drive signal
STEP IN1IN2 ENA1 ENA2
A
(OUT1)B (OUT3)
/A
(OUT2)
(OUT4)
1LLHH H H L L
2HLHH L H H L
3HHHH L L H H
4LHHH H L L H
6-2. HEAD CONTROL
HEAD: All 288dot, Width 0.167mm/dot (6dot/mm)
<CPU PORT>
Pin No.CPU portUse signalFunction
89P107STRB1# Printer STB1#
94P102STRB2# Printer STB2#
30P70DATPrinter print data
28P72PCLKPrinter forwarding clock
90P106LATCH# Printer data latch
91P105VPONPrinter head motor power
6-3. PAPER TAKE UP MOTOR CONTROL
<CPU PORT>
Pin No.PortUse signalFunction
21P81MOTORPrinter paper take up motor
6-4. OUT OF PAPER DETECTION
<CPU PORT>
Pin No. Port Strobe signalFunction
6P91/S4Printer out of paper detection
(It reads according to the timing of /S4)
/B
No.CPU portUse signalPurpose
31P67 (TXD1)/SD_WP SD card write protect detection signal
32 P66 (RXD1)/SD_CDSD card insertion detection signal
33P65 (CLK1)/SD_CSSD card chip select signal
34 P64 (CLKS1) /SD_POW SD card power on signal
35P63 (TXD0)SD_TXD TxD signal
36 P62 (RXD0)SD_RXD RxD signal
37P61 (CLK0)SD_CLK Serial CLK signal
6. PRINTER CONTROL
6-1. STEPPING MOTOR CONTROL
The two-phase bi-polar stepping motor is driven at a constant voltage.
1step: 0.087mm, 1dot: 2step
<CPU PORT>
Pin No.CPU portUse signalFunction
76P14IN2Paper feed motor (IN2)
75P15IN1Paper feed motor (IN1)
74P16ENA2Paper feed motor (ENA2)
73P17ENA1Paper feed motor (ENA1)
6-5. PLATEN OPEN (HEAD UP DETECTION)
<CPU PORT>
Pin No. Port Strobe signalFunction
6P91/S3Platen open detection
(It reads according to the timing of /S3)
7. A/D CONVERSION
The following three signals are inputted to the A/D conversion port.
<CPU PORT>
PIN
No.
Port
97AN0/P100TMPrinter head temperature monitor
95AN1/P101VPTEST Printer head voltage monitor
93AN3/P103VBATBattery voltage monitor
Use
signal
Function
XE-A21S HARDWARE DESCRIPTION
– 9 –
7-1. PRINTER HEAD TEMPERATURE MONITOR
The voltage divided by the thermistor for detecting the printer head temperature and the resistor is inputted to the AN0 pin.
Head
temperature
Less than −10°C
−10°C Less
than 0°C
0°C Less than
70°C
70°C or above0~231Motor lock
A/D conversion
value (DEC)
929~1023Motor lock
869~928Print in the conduction time at 0°C.
232~868Print in the conduction time speci-
fied on the MT-T53II specifications.
Operation
7-2. PRINTER HEAD VOLTAGE MONITOR
The voltage supplied by the printer head power and passed through the
printer and divided by the resistor is inputted to the AN1 pin.
The printable voltage range for the printer is 140~252 in A/D conversion
value.
7-3. BATTERY VOLTAGE MONITOR
The voltage of VDD is inputted to AN3 pin. For an A/D value of 189
(3.69V) or less, it is judged as LOW BATTERY. For 174 (3.40V) or less,
it is judged as NO BATTERY.
8-3. CPU PORT AND REGISTER
<POPUP DISPLAY-RELATED RESISTER>
FunctionAddressR/W
LED Segment Signal30000hW
<LED SEGMENT SIGNAL WRITE>
AddressBit7Bit6Bit5Bit4Bit3Bit2Bit1Bit0
30000hdpgfedcba
<CPU PORT>
Pin No.PortUse signalFunction
80P10KST0Key strobe signal 0
79P11KST1Key strobe signal 1
78P12KST2Key strobe signal 2
77P13KST3Key strobe signal 3
Strobe signals of /S0~/S9 are made by using SN74HC138 from KST0~KST3
signals.
<OTHERS CPU PORT>
ST0 ST1 ST2 ST3ST4 ST5 ST6 ST7 ST8 ST9
MODE P90 SRV PGMTime REG MGR X1/Z1X2/
Z2
P91PFHEADUPOut of
paper
8. KEY/DISPLAY
The front display is of 10 digits of LED, and the POPUP display is of 7
digits of LED.
FRONT:
POP UP:
<KEY/DISPLAY COMPOSITION>
/CS0 30000h
HC374
D0~D7
CPU
HC138
KS0~
KS3
8-1. LED DIGIT SIGNAL
The above /S0~/S9 are considered as LED DIGIT signals.
S0#: First digit~S9#: 10th digit (For the POPUP side, ST0~ST6 are used.)
8-2. LED SEGMENT SIGNAL
By writing the segment data to 30000h, the LED segment signal can be
outputted.
Data~Segment correspondence
D0~D6 3 a~g
D73 DP
a~g, dp
ST0#~
ST9#
ST0#~
ST9#
P90~P97
Front Display
10 segment
POPUP Display
㧣 segment
Keyboard / MODE SW
MATRIX
9. POWER
After occurrence of POFF#, the power
interruption must be made within 10ms.
TRANS.
PQ1CG203
PQ1CG203
VO 24V
(DRAWER)
VLED 5.7V
VCC 5.0V
BA033
POFF# detect
point
Battery
ON/OFF Control
LM2574
+
Tr
.
(MODE SW)
VP 8V
PRINTER headMotor
ON/OFF Control
(MODE SWPOFF#
VPON)
10. DRAWER
The XE-A21S is provided with 1CH of a drawer port.
Pin No.PortUse signalFunction
38P60DR1Drawer drive signal
(*) The drawer solenoid drive time is as follow: 55ms (max)
50ms (min)
VCC
3.3V
VDD 5.0V
XE-A21S HARDWARE DESCRIPTION
– 10 –
CHAPTER 5. TEST FUNCTION
1. TEST ITEMS
The test items are as follows.
NO.JOB codeDescription
1)100DISPLAY BUZZER TEST
2)101KEY CODE DISPLAY
3)102PRINTER TEST
4)104KEYBOARD TEST
5)105MODE SWITCH TEST
6)106PRINTER SENSOR TEST
7)107CLOCK DISPLAY TEST
8)110DRAWER OPEN TEST
9)120EXTERNAL RAM TEST
10)121CPU INTERNAL RAM TEST
11)140CPU INTERNAL ROM TEST
12)160AD CONVERSION PORT TEST
13)173WINDING SPOOL CHECK TEST
14)520USB COMMUNICATION TEST 1
(ID/ADDRESS PRINT)
15)521USB COMMUNICATION TEST 2
(DATA TRANSFER)
16)522USB COMMUNICATION TEST 3
(PROCESS INSPECTION)
17)550SLEEP MODE TEST
18)620SD CARD TEST 1
(CARD DETECTION/READ REGISTER)
19)621SD CARD TEST 2
(DATA READ/DATA WRITE)
20)622SD CARD TEST 3
(PROCESS INSPECTION)
21)161CONTINUOUS DIAG FOR THE FTC
22)162CONTINUOUS DIAG FOR THE PROCESS
23)163DIAG FOR THE EMI/EMC EVALUATION
24)164DIAG FOR THE TEMPERATURE RISE
TEST
2. DESCRIPTION OF EACH DIAGNOSTIC
PROGRAM
1) DISPLAY BUZZER TEST
1
Key operation
1 0 0
2
Test procedure
The decimal point will shift in steps of 1 digit from the lower digit to
the upper (every 200m sec).
After that, all segments turn on (about 1 sec).
This mode is repeated.
At the same time, the buzzer sounds continuously.
3
Display
OP display
POPUP display
OP display
POPUP display
4
Check that
• The display of each position must be proper.
• The brightness of each display LED must be even.
• The buzzer sound must be normal.
5
End of testing
You can exit the test mode by pressing any key. The following is
printed.
End print:
RCPT/PO
:
1. 2. 3. 4. 5. 6. 7. 8. 9. 0.
:
4. 5. 6. 7. 8. 9. 0.
Repeat
:
8. 8. 8. 8. 8. 8. 8. 8. 8. 8.
:
8. 8. 8. 8. 8. 8. 8.
100
1) STARTING DIAG
Mode switch position : “SRV” mode
Key operation: JOB code
+ “RCPT/PO” key
2) COMMON NOTES
During execution of the diag, the winding motor is rotated regardless
of the setting. (Operation in the journal mode)
2) KEY CODE DISPLAY
1
Key operation
2
Test procedure
Every time a key is pressed, the code of that key is displayed as
a decimal number.
3
Display
OP display
POPUP display
(*) ***
4
Check that
• Every time when each key is pressed, the hard code of the key is
displayed in decimal number.
• For double typing or invalid typing, “
XE-A21S TEST FUNCTION
– 11 –
1 0 1
RCPT/PO
:
1 0 1
:
= Key code
* * *
* * *
− − − ” is displayed.
5 End of testing
You can exit the test mode by turning the mode switch to a position
other than the SRV mode. The printer prints as follows.
End print:
101
3) PRINTER TEST
1
Key operation
1 0 2
2
Test procedure
3 lines of 24 Z's are printed.
3
Display
OP display
POPUP display
4
Check that
Print must be free from dirt, thin spots, or uneven density.
Print:
5
End of testing
The test will automatically be terminated after the printer prints.
The keyboard is checked with the sum check data of the key code
except for the paper feed key.
The sum check data of each model is inputted to the upper 4 digits
of the diag code, and the data is compared with the key data accumulated until the final key is pressed.
When the data are in accord with each other, the end print is made.
If not, an error print is made.
(*) The final key: “CA/AT” Key
(*) XE-A21S sum check code: 3417
3
Display
1 0 4
RCPT/PO
5
End of testing
When the
test ends normally
When an error occurs:
(*) The sum check code of the model is printed in “XXXX” section of
the error print, and the added sum check data are printed in
“YYYY” section.
(*) KEY sum check data calculation method: Add the hard code
(hexadecimal) of the input data contact position (excluding
FEED key). However, the end key (CA/AT) is not added. The
added data are converted into a decimal number, which is the
sum check data to be inputted when starting the diag.
:
KEY SUM ERROR XXXX-YYYY
104
104
5) MODE SWITCH TEST
1
Key operation
1 0 5
2
Test procedure
Turn the mode SW from “PGM” position to “X2/Z2” one by one
sequentially and return to “PGM” position again. Check that the
positions are changed in the proper sequence.
If the test is completed normally, the end print is made. If not, an
error print is made.
3
Display
OP display
POPUP display:
MODE
PGM VOID OFF OP X/Z REG MGR X1/Z1 X2/Z2
*
(*)
* = Mode SW position code
LED not displayed due to OFF
(*1)
4
Check that
• Check that the position codes are read in the proper sequence.
(“9” is displayed when the contact is open.)
• Check the display during the test and the content of the end print.
5
End of testing
When the
test ends normally
RCPT/PO
:
1 0 5
12
nondisplay*1
*
*
34567
:
105
OP display
POPUP display:
4
Check that
• Check to confirm that there is no problem in key stroke and
response.
• Check the contents of the end print.
:
1 0 4
XE-A21S TEST FUNCTION
– 12 –
When an error occurs:
MODE KEY ERROR
105
6) PRINTER SENSOR TEST
1
Key operation
1 0 6
2
Test procedure
Check the status of paper end sensor and head up sensor.
3
Display
OP display
POPUP display:
= Paper end sensar 1: Paper present0: Out of paper
(*) X
= Head up sensor1: Head down0: Head up
(*) Y
4
Check that
Check that the status is changed properly.
5
End of testing
You can exit the test mode by pressing any key and the printer prints
the following.
RCPT/PO
:
1 0 6X-Y
X-Y
106
7) CLOCK DISPLAY TEST
1
Key operation
1 0 7
2
Test procedure
The clock is displayed.
3
Display
OP display
POPUP display:
(*)hh = hour mm = min ss = sec
4
Check that
• Check “
• Check the clock counts up normally.
5
End of testing
When any key is pressed, the date and time are printed and the test
mode will terminated.
-
End print:
(*)yy = year
hh
= hour mm = min
RCPT/PO
:
h
” blinks at an interval of 500ms.
mm = month dd = day
h h-m ms s
-
m ms s
yymmdd-hhmmss
107
ss = sec
8) DRAWER OPEN TEST
1
Key operation
1 1 0
2
Test procedure
Drawer open.
3
Display
OP display
POPUP display:
4
Check that
The drawer opens normally.
5
End of testing
The test will automatically be terminated and the printer prints as
follows.
End print:
RCPT/PO
:
1 1 0
110
9) EXTERNAL RAM TEST
1
Key operation
1 2 0
2
Test procedure
The standard 128 Kbyte RAM is checked.
The contents of the memory are lost after this test.
RAM (08000H ~ 27FFFH area) is tested in the following procedure.
a) Data in the test area is stored.
b) Write “00H”
c) Read and compare “00H” and then write “55H”
d) Read and compare “55H” and then write “AAH”
e) Read and compare “AAH”
f ) Restore stored data.
If an error occurs in each step, the error print is made. When no
error occurs, the following addresses are sequentially checked.
The test will automatically be terminated and the printer prints as
follows.
When the
test ends normally
:
120
5 End of testing.
The test will automatically be terminated and the printer prints as
follows.
When the
test ends normally
:
121
When an error occurs:
= 1: Data errorx = 2: Address error
(*) x
RAM ERROR X *****h
120
(*) When an error occurs, the printer outputs the error message
and then the address where the error has occurred in the
area “*****”.
10) CPU INTERNAL RAM TEST
1 Key operation
1 2 1
2 Test procedure
The test program checks internal RAM (20Kbyte) of the CPU.
The contents of the memory are lost after this test.
RAM (00400H - 053FFH area) is tested in the following procedure.
a) Data in the test area is stored.
b) Write “00H”
c) Read and compare “00H” and then write “55H”
d) Read and compare “55H” and then read “AAH”
e) Read and compare “AAH”
f ) Stored data is restored.
g) If an error occurs in each step, the error print is made. When no
error occurs, the following addresses are sequentially checked.
(*) When an error occurs, the printer outputs the error message
and then the address where the error has occurred in the
area “*****”.
11) CPU INTERNAL ROM TEST
1 Key operation
1 4 0
2 Test procedure
The test program checks that the checksum of the CPU internal
flash ROM (C0000H - FFFFFH) is correct.
The lower two digits of the checksum should be 10H.
3 Display
OP display
POPUP display:
4 Check that
Check the end print.
5 End of testing
The test will automatically be terminated and the printer prints as
follows.
When the
test ends normally
When an error occurs:
RCPT/PO
:
1 4 0
:
ROM
RAM ERROR X *****h
ROM
********
********
********
********
140
140
XE-A21S TEST FUNCTION
– 14 –
12) AD CONVERSION PORT TEST
1
Key operation
1 6 0
2
Test procedure
The AD value of each AD conversion port is sequentially displayed
for every 1 sec.
3
Display
OP display
POPUP display:
(*)
X
=
1: Head temperature X = 2: Head voltage X = 3: Battery voltage
(*) **** = A /D value
4
Check that
Check that the AD value is within the reference range.
5
End of testing
When any key is pressed, the test is terminated and the AD value at
the terminating point is printed.
End print:
RCPT/PO
:
1 6 0X
HEAD TEMP
HEAD VOLTAGE
BATTERY VOLTAGE
* * * *
160
***
***
***
13) WINDING SPOOL CHECK TEST
1
Key operation
1 7 3
2
Test procedure
The winding spool motor is rotated for 2 sec.
3
Display
OP display
POPUP display:
4
Check that
The motor of the winding spool is rotated.
5
End of testing
The test will automatically be terminated and the printer prints as
follows.
End print:
14)
USB COMMUNICATION TEST 1
RCPT/PO
:
1 7 3.
173
(ID/ADDRESS PRINT)
1
Key operation
5 2 0
2 Test procedure
The USB revision, the vendor ID, the product ID, and the device
address assigned by the host are printed.
RCPT/PO
3
Display
OP display
POPUP display:
4
Check that
Check the end print.
5
End of the test
The test will automatically be terminated and the printer prints as
follows.
print:
:
5 2 0
USB Rev. Ver. XXX
VENDOR ID
PRODUCT ID XXX
DEVICE ADDRESS XXX
XXX
520
15) USB COMMUNICATION TEST 2
(DATA TRANSFER)
1
Key operation
5 2 1
2
Test procedure
The communication test between the USB and the PC is performed
in the following procedures. The communication program is required
on the PC side, too.
a) Execute data transfer by the USB test program of the PC to
check to confirm that data transfer can be performed.
b) Execute the USB communication test 2 diag of the ECR.
c) Start the USB communication test program on the PC side, and
select the continuous transfer test.
d) Specify the folder which includes communication data (logo data)
in the test program, and execute data transfer.
e) The program on the PC side sends communication data in the
specified folder to the ECR. The ECR receives the communication data and saves them in the SRAM once.
f ) The ECR resend the received data to the PC side.
g) The program on the PC side verifies the data from the ECR and
displays a message if there is any discrepancy.
(The communication is continued.)
h) Procedures of d) ~ f) are repeated.
(*) If there are two or more kinds of logo data in the specified folder
on the PC side, send data are changed in the sequence of the
file names. When the last file is processed, the process returns
to the first file.
Error print list
USB NO CONNECTHost not detected
USB DATA VERIFY ERRORData verify error
USB TIMEOUTTimeout error
3
Display
OP display
POPUP display:
4
Check that
Check the end print.
RCPT/PO
Error printError content
:
5 2 1
XE-A21S TEST FUNCTION
– 15 –
5
End of the test
When any key is pressed, the end print is made to terminate the
diag. When any error occurs, the error print is made to terminate the
diag.
Print
:
521
5 End of the test
When any key is pressed, the end print is made to terminate the
diag. When any error occurs, the error print is made to terminate the
diag.
Print
:
USB Rev. Ver. XXX
VENDOR ID XXX
PRODUCT ID
522
XXX
Error print:
USB NO CONNECT
521
16) USB COMMUNICATION TEST 3
(PROCESS INSPECTION)
1
Key operation
5 2 2
2
Test procedure
a) The USB data send is performed in the production process in the
following procedures. The communication program is required on
the PC side, too.
b) The USB communication test 3 diag of the ECR is performed.
c) Start the USB communication test on the PC side, and select the
process test.
d) Specify the folder which includes the communication data (logo
data) in the test program, and execute data send.
e) The program on the PC side sends the communication data in
the specified folder to the ECR. The ECR receives the communication data and saves them in the SRAM.
f ) The ECR resends the received data to the PC side.
g) The program on the PC side verifies the data from the ECR, and
sends the verification result (error) to the ECR.
h) The ECR prints the error received from the PC side. If the host is
not connected or if the communication cannot be made, an error
print is made.
i ) If the verified result sent from the PC side is correct, the USB
revision, the vendor ID, and the product ID are printed.
(*) The test is not terminated by pressing any key during the test. If
data are not sent from the PC in 10 sec after starting the diag
on the ECR side, the timeout error is printed and the diag is terminated.
Error print list
USB NO CONNECTHost not detected
USB DATA VERIFY ERRORData verify error
USB TIMEOUTTimeout error
3
Display
OP display
POPUP display:
RCPT/PO
Error printError content
:
5 2 2
Error print:
USB NO CONNECT
522
17) SLEEP MODE TEST
1 Key operation
5 5 0
2 Test procedure
Check to confirm that the machine has entered the sleep mode
(display OFF, Dp ON), and wait for a change in status (key input,
change in RS port).
3 Display
OP display
RCPT/PO
:
.
POPUP display:
4 Check that
• The display must be turned off. (Except for Dp)
• When a key is pressed, the machine must be reset from the sleep
state.
5 End of the test
The test will automatically be terminated and the printer prints as
follows.
End print:
550
18) SD CARD TEST 1 (SD CARD INFORMATION)
1 Key operation
6 2 0
2 Test procedure
The SD card is detected and the write protect status is displayed.
After completion of the test, the SD card register value is printed.
Error print list
SD CARD NO DETECTSD Card not detected
SD READ ERRORSD read error
RCPT/PO
Error printError content
4
Check that
Check the end print.
XE-A21S TEST FUNCTION
– 16 –
3 Display
OP display
POPUP display:
(*)
X = SD card detection
1 SD card YES
(*)
Y = Write Protect detection
1 Write Protect state
:
6 2 0X-Y
X-Y
2 : SD card NO
2 :
Write Protect
NO
5
End of the test
When any key is pressed, the end print is made and the diag is terminated.
Print
:
621
4
Check that
Check to confirm that the card is properly detected and the write
protect is properly detected.
5 End of the test
When any key is pressed, the SD card register is read and the end
print is made.
Print
:
620
XXXXXXXXXXXXXXXX
CID
XXXXXXXXXXXXXXXXh
CSD
XXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXh
OCR
12345678
--
--
h
Error print:
******
620
(*)
******= Error print (Refer to the error print.)
19) SD CARD TEST 2 (DATA READ/DATA WRITE)
1 Key operation
6 2 1
2 Test procedure
a) Perform the SD card read/write test in the following procedures.
b) Create a file named “SD_TEST.SDA” in the SD card and write the
logo data in the RAM of the main unit to the SD card. If there is a
file of the same file name at that time, the file is overwritten.
c) After completion of writing, data are read from the SD card.
d) The read data and the logo data in the RAM are verified. If there
is any discrepancy, the error print is made and the test is automatically terminated.
e) The procedures of a) ~ c) are repeated.
Error print list
SD NO CONNECTSD Card not detected
SD WRITE PROTECTSD Card write protect
SD READ ERRORSD read error
SD WRITE ERRORSD write error
SD DATA VERIFY ERRORData verify error
3 Display
OP display
POPUP display:
4
Check that
Check that there is no error.
RCPT/PO
Error printError content
:
6 2 1
Error print:
*******
(*)
****** = Error print (Refer to the error print.)
621
20) SD CARD TEST 3 (PROCESS INSPECTION)
1 Key operation
6 2 2
2 Test procedure
The SD card detection, the write protect status display, and the read/
write test are performed.
a) The SD card detection and the write protect detection are
displayed.
b) When any key is pressed, the tests of c), d), and e) are per-
formed. In the case of “Not detected” or “Write protect”, an error
print is made and the test is terminated.
c) Create a file named “SD_TEST.SDA” in the SD card and write the
logo data in the RAM of the main unit to the SD card. If there is a
file of the same file name at that time, the file is overwritten.
d) After completion of writing, data are read from the SD card.
e) The read data and the logo data in the RAM are verified. If there
is any discrepancy, the error print is made and the test is automatically terminated.
(*) The register ID of the SD card is not printed.
Error print list
SD NO CONNECTSD Card not detected
SD WRITE PROTECTSD Card write protect
SD READ ERRORSD read error
SD WRITE ERRORSD write error
SD DATA VERIFY ERRORData verify error
3 Display
OP display
POPUP display:
(*)
X = SD card detection
1 SD card YES
(*)
Y = WP detection
1 Write Protect state
4
Check that
• Check to confirm that the card is properly detected and the write
protect is properly detected.
• Check that there is no error.
RCPT/PO
Error printError content
:
6 2 2X-Y
X-Y
2 : SD card NO
2 :
Write Protect
NO
XE-A21S TEST FUNCTION
– 17 –
5 End of the test
The test will automatically be terminated and the printer prints as
follows.
Print
:
622
5 End of the test
When any key is pressed under the clock display state, the test is
completed and the end print is made.
When the
test ends normally :
161
Error print:
*******
(*)
****** = Error print (Refer to the error print.)
622
21) CONTINUOUS DIAG FOR THE FTC
(*) Winding is performed regardless of ON/OFF of the winding motor.
1 Key operation
1 6 1
2 Test procedure
This is the diag for inspection (FTC) of the main PWB unit.
The following individual diag is performed continuously.
(Even though an error occurs, the diag is continued.)
No.CodeDescriptionOperation
1100D I SP L AY
2102PRINTER TESTIt proceed to the next item by the
3106PRINTER
4110DRAWER OPEN
5120EXTERNAL
6121INTERNAL RAM
7140INTERNAL ROM
8173W I ND I NG
9107CLOCK
3 Display
The display must be the same as that of the individual diag display.
4 Check that
• Check that the buzzer sound, the key input, and the display are
free from abnormality.
• Check that there is no error after completion of all the diag tests.
RCPT/PO
BUZZER TEST
SENSOR TEST
TEST
RAM TEST
TEST
TEST
MOTOR TEST
DISPLAY TEST
It proceed to the next item
after any key is pressed.
automatic operation after it ends.
It proceed to the next item
after any key is pressed.
It proceed to the next item by the
automatic operation after it ends.
It proceed to the next item by the
automatic operation after it ends.
It proceed to the next item by the
automatic operation after it ends.
It proceed to the next item by the
automatic operation after it ends.
It proceed to the next item by the
automatic operation after it ends.
When any key is pressed, the diag
is terminated.
When an error occurs:
*****
161
An error print is made after completion of each item.
Same as the error print of each diag.
22) CONTINUOUS DIAG FOR THE PROCESS
(*) Winding is made regardless of the setting.
1 Key operation
1 6 2*** *
(*)
****= Sum check code on each model (omissible)
2 Test procedure
This is the inspection diag in the assembly process.
The following individual diag is performed continuously.
(Even though an error occurs, the diag is continued.)
(*) Voltage conditions of dry cells: 1.2V or more (for each cell) for
No.CodeDescriptionOperation
1100D I SP LAY
BUZZER TEST
2102PRINTER TESTIt proceed to the next item by the
3106PRINTER
SENSOR TEST
4104KEYBOARD
TEST
5105MODE SWITCH
TEST
6110DRAWER
OPEN TEST
7120EXTERNAL
RAM TEST
8121INTERNAL RAM
TEST
9140INTERNAL ROM
TEST
10550SLEEP MODE
TEST
11160AD
CONVERSION
PORT TEST
12173W I ND IN G
MOTOR TEST
13107CLOCK
DISPLAY TEST
RCPT/PO
150Ω load.
It proceed to the next item
after any key is pressed.
automatic operation after it ends.
It proceed to the next item
after any key is pressed.
It proceed to the next item by the
automatic operation after it ends.
It proceed to the next item by the
automatic operation after it ends.
It proceed to the next item by the
automatic operation after it ends.
It proceed to the next item by the
automatic operation after it ends.
It proceed to the next item by the
automatic operation after it ends.
It proceed to the next item by the
automatic operation after it ends.
It proceed to the next item
after any key is pressed.
It proceed to the next item
after any key is pressed.
It proceed to the next item by the
automatic operation after it ends.
When any key is pressed, the diag
is terminated.
XE-A21S TEST FUNCTION
– 18 –
3 Display
The display must be the same as that of the individual diag display.
4
Check that
• Check that the buzzer sound, the key input, and the display are
free from abnormality.
• Check that there is no error after completion of all the diag tests.
5 End of the test
When any key is pressed under the clock display state, the test is
completed and the end print is made.
When the
test ends normally
:
162
3SD CARD TEST
(SD CARD TEST 2
JOB621)
(*) Though an
error occurs,
the test is continued.
4COUNT UPThe number of repeat of the display is
3 Display
1. The logo data in the machine is written into the SD card. The data in the
SD card is overwritten.
2. After completion of writing, the data
written into the SD card are read.
3. The logo data and the read data are
verified. In case of an error, the error
print is made and the test is continued. (Write, read and verify are performed only once, and the process
goes to 4).
counted up.
When an error occurs:
An error print is made after completion of each item.
Same as the error print of each diag.
*****
162
23) DIAG FOR THE EMI/EMC EVALUATION
(*) Winding is made regardless of the setting.
1 Key operation
1 6 3*
(*) * = Operation interval (min) including the diag execution time.
When it is omitted, the diag is continuously performed.
2 Test procedure
This is the diag for the EMI/EMC evaluation.
The following procedure is repeated. When an error occurs, the
number of errors is saved in the memory, and it is printed when the
diag is completed.
RCPT/PO
OP display :
POPUP display:
(*)
******
diag is displayed.
4 End of the test
When any key is pressed, the test is terminated.
* * * * * *
= The number of repeat of the
* * * * * *
24) DIAG FOR THE TEMPERATURE RISE TEST
(*) Winding is made regardless of the setting.
1 Key operation
1 6 4*
(*) * = Operation interval (min) including the diag execution time.
When it is omitted, the diag is continuously performed.
2 Test procedure
This diag is used for the temperature rise test.
NO SALE is repeated.
3 Display
OP display :
POPUP display:
(*)
******
diag is displayed.
RCPT/PO
* * * * * *
* * * * * *
= The number of repeat of the
No.DescriptionOperation
1NO SALE PRINT
2USB COMMUNI-
CATION TEST
(USB COMMUNICATION TEST 3
JOB522)
(*) However, the
USB revision,
the vendor ID,
and the product ID are not
printed.
(*) Though an
error occurs,
the test is continued.
1. The logo data are received from the
PC. For the software on the PC side,
use the same tool as that of the XEA203U.
2. The received logo data are sent to
the PC.
3. The program on the PC side verifies
the data returned from the ECR.
4. In case of an error, the error print is
made and the test is continued.
5. Though a communication error or
the data verify error occurs or when
the ECR cannot be recognized, the
PC and the ECR perform retry operation to reset the operation.
After completion of communication
on the PC side, the number of retry
operations is displayed.