According to the address of main CPU, the decorder selects the following optional devises.
IC No.Pin No.CPU addressDescriptions
IC1741Y00034H & RD="L"RDTM gate enable of IC8 (For scale data read)
102Y20036HChip selection of C-In line controller
IC1411CLK 0034H & WR="L" Clock signal of IC9 (For C-In line controller data)
IC156CS0030HChip selection of USART (Data)
0031HChip selection of USART (Control status)
— 8 —
D1
D2
D3
ENABLE
D0
CLOCK
D6
D7
RDTM
3-2. Scale buffer circuit
When a measured object is put on the scale, the scale starts weighing. During
weighing, MO signal is "H". When the weighing is finished with indication of the
weight of measures object, the MO signal becomes "L".
Then EN signal is output to the scale and the scale output the weight data
(D0~D3) to the scale buffer.
Pin No.Signal NameDescriptions
1NCNon connection
2NCNon connection
3NCNon connection
4NCNon connection
5NCNon connection
6NCNon connection
7D1Data
8D2Data
9D3Data
10ENABLEEnable signal
11D0Data
12CLOCKClock signal
13MOTIONMotion signal
14RANGEOut of range signal
15GNDGND
16GNDGND
— 9 —
3-3. On line circuit (RS-232C)
1.Baud rate selection for On line (RS-232C)
Basic clock (307.2 KHz) is divided into seven clocks by binary counter IC16 and
they are supplied to D0~D6 terminals of multiplexer IC13. The IC13 outputs one
clock to USART according to the condition of select signals A, B, and C.
C32
IC16
1
Q12
2
Q6
3
Q5
4
Q7
5
Q4
6
Q3
C33
7
Q2
8
GND
GND
IC7
1
D2
D2
2
D3
D3
3
RXD
4
GND
D4
D5
D6
D7
R10
10
11
12
13
14
RXCLK
GND
5
D4
6
D5
7
D6
8
RESET
D7
9
TXCLK
WR
TXEMP
CS
C/D
SYNC
RD
TXRDY
RXRDY
VCC
RST
VCC
16
15
Q11
14
Q10
13
Q8
12
Q9
11
10
CLK
9
Q1
C36
GND
28
D1
27
D0
26
25
24
23
22
21
20
19
18
17
16
15
VDD
DTR
RTS
DSR
CLK
TXD
CTS
D1
D0
C38
GND
VCC
+
C21
C22
IC5
34
R36
3
C34
IC13
1
D3
2
D2
3
D1
4
D0
5
Y
6
W
7
G
8
GND
GND
IC5
12
R12
1
X1
2
GND
VCC
VCC
16
15
D4
14
D5
13
D6
12
D7
11
A
10
B
9
C
VCC
VCC
20
19
Q8
18
D8
17
D7
16
Q7
15
Q6
14
D6
13
D5
12
Q5
11
CLK
D2
D3
D4
D6
R19
IC9
1
CLR
2
GND
Q1
3
D1
4
D2
5
Q2
6
Q3
7
D3
8
D4
9
Q4
10
GND
C20
D1
D0
D5
D7
C5
R11
GND
Output of IC16
Q338.4 K
Q419.2 K
Q59,600
Q64,800
Q72,400
Q81,200
Q9 600
Q10 300
The on line port (RS-232C) is controlled by the USART µPD71051 and
supported only asynchronous communication.
RDTM
D4
DSR
D6
CTS
RXD
DTR
RTS
TXD
Pin description of UPD71051C
Pin No.SignalDescription
1,2,5~8,D0~D7Data bus
27,28
3RxDATAReceive data input
9TxCLKTransmitter clock input
10WRWrite signal
11CSChip select signal Input
12C/DControl or data change
13RDRead signal
14RxRDYReceive ready output
15TxRDYTransmittor ready output
16SYNC/BRKSyncronization/Break (Not used)
17CTSClear to send signal input
18TxEMPTransmitter empty
19TxDATATransmit data output
20CLKClock input
21RESETReset input
22DSRData set ready signal input
23RTSRequest to send signal output
24DTRData terminal ready signal output
25RxCLKReceiver clock input
26VDDVCC(+5V) terminal
— 11 —
Pin description of on line connector
Pin No.SignalDescription
1SGSignal ground
2NCNon connection
3EREquipment ready
4SDSend data
5RTSRequest to send
6NCNon connection
7RDReceive data
8CTSCrear to send
9CDCarrier detect
10DRData ready
11NCNo connection
12NCNo connection
13CICalling indicator
3-4. C-In line circuit
GND
C35
C27
C26
2
1
To IN-LINE
RD
SD
R34
R23
D4D3D5
D2D1
F1
F2
R33
R22
R32
R35
Vcc
R30
C28
R20
IC11 16
4
15
12
9
5
8
13
14
11
10
7
6
R31
R21
GNDGND
Vcc
Vcc
Vcc
A0
A1
A2
D0
D1
D2
D3
D4
D5
D6
D7
GND
VCC
RD
WR
CS
INTR
RST
TXEN
RXIN
TXOUT
X2
X1
GND
C3
C39
X2
R28
R29
1
2
3
4
5
6
7
8
9
10
11
12
24
23
22
21
20
19
18
17
16
15
14
13
C25
C24
+
TXOUT
RXIN
TXEN
IC10
D0
D1
D2
D3
D4
D5
D6
D7
Vcc
GND
1.C-In line controller (COM20020B)
IC10
1
A0/MUX
2
A1
3
A2/ALE
4
AD0
5
AD1
6
AD2
7
D3
8
D4
9
D5
10
D6
D7
11
GND
12
VCC
RD/DS
WR/DIR
INTR
RESET IN
TXEN
RXIN
PULSE2
PULSE1
XTAL2
XTAL1
24
23
22
CS
21
20
19
18
17
16
15
14
13
AD0~AD2,
D3~D7
RESET IN
A0/MUX
A1
A2/BALE
INTR
RD/DS
WR/DIR
CS
— 12 —
ADDRESS
DECODING
CIRCUITRY
STATUS/
COMMAND
RESET
LOGIC
BUS
ARBITRATION
CIRCUITRY
RECONFIGURATION
TIMER
2K X 8
RAM
MICROSEQUENCER
AND
WORKING
REGISTERS
ADDITIONAL
REGISTERS
TX/RX
LOGIC
OSCILLATOR
NODE ID
LOGIC
PULSE1
PULSE2
TXEN
RXIN
2.COM20020B pin description
Pin No.NameIn/Out Status Status StatusDescription
of OFF of ON of ON
No Token Token
1A0/MUXIn L L Pulse
2A1In L L L
3A2/ALEIn L L L
4AD0In/Out L Pulse Pulse
5AD1In/Out L Pulse Pulse
6AD2In/Out L Pulse Pulse
7D3In/Out L Pulse Pulse
8D4In/Out L Pulse Pulse
9D5In/Out L Pulse Pulse
10D6In/Out L Pulse Pulse
11D7In/Out L Pulse Pulse
12GNDPower GND GND GND
13XTAL1In L Pulse Pulse
14XTAL2In L Pulse Pulse
15PULSE1Out L H Pulse
16PULSE2Out L L L
17RXINIn L H Pulse
18TXENOut L L Pulse
19RESET INIn L H H
Input. On a non-multiplexed bus,
these signals are dirctly connectoed to
the low bits of the host address bus.
On a multiplexed address/data bus,
A0/MUX is tied low, A1 is left open,
and A2 is tied to the address latch
enable signal of the host. A1 is
connectoed to an internal pull-up
resistor.
Input/Output. On a non-multiplexed
bus, these signals are used as the
data lines for the device. On a
multiplexed address/data bus,
AD0~AD2 act as the address lines
(latched by ALE) and as the low data
lines for the device. D3~D7 are
always used for data only. These
signals are connected to internal pullup resistors.
Signal ground.
An external crystal shoul be connected
to these pins. If an external TTL clock
is used instead, it must be connected
to XTAL1 with a 390 ohms pull-up
resistor, and XTAL2 should be left
floating.
Output. In normal mode, these active
low signals carry the transmit data
information, encoded in pulse format,
from the COM20020 to the media
driver circuitry. When the device is in
backplane mode, the PULSE1 signal
driver is programmable (push/pull or
open-drain), while the PULSE2 signal
provides a clock with frequency of
crystal/4. PULSE1 is connected to a
week internal pull-up resistor in
backplane mode.
Receive input. This signal carries the
receive data information from the line
receiver circuitry to the COM20020.
Transmit Enable output. This signal
used in backplane mode to enable the
line drivers for transmission. The
polarity of the signal is programmable
by grounding the PULSE2 pin. This
option is valid only in backplane mode.
Input. This active low signal issued by
the microcontroller executes a hardware reset. It is used to activate the
internal reset circuitry within the
COM20020.
— 13 —
Pin No.NameIn/Out Status Status StatusDescription
of OFF of ON of ON
No token Token
20INTROut L H Pulse
Interrupt output. This active low signal
is generated by the COM20020 when
an enabled interrupt condition occurs.
INTR returns to its inactive state when
the interrupt status condition or the
corresponding interrupt mask bit is
reset.
21CSIn L H Pulse
Chip select input. This active low
signal issued by the microcontroller
selects the COM20020 for an access.
22WR/DIRIn L Pulse Pulse
Input. On a 68XX-like bus, this signal
is issued by the microcontroller as the
Read/Write signal to determine the
direction of data transfer. In this case,
a logic "1" selects a read operation,
while a logic "0" selects a write operation. In this case, data is actually
strobed by the DS signal. On an
80XX-like bus, this active low signal is
isuued by the microcontroller to
indicate a write operation. in this
case, a logic "0" on this pin, when the
COM20020 is accessed, enables data
from the data bus to be written to the
device.
23RD/DSIn L L Pulse
Read/ Data strobe signal input. On a
68XX-like bus, this active low signal is
issued by the microcontroller as the
data strobe signal to strobe the data
onto the bus. On a 80XX-like bus, this
active low signal is issued by the
microcontroller to indicate a read
operation. In this case, a logic "0" on
this pin, when the COM20020 is
accessed, enables data from the
device to the data bus to be read by
the microcontroller.
24VCCPower GND+5V +5V
Power supply +5V.
— 14 —
4. DIAGNOSTIC OPERATIONS
4-1. To start the diagnostic operation
START
Set mode switch to OFF mode.
While pressing the feed key, turn the mode switch to PROGRAM.
Release the feed key after 2 seconds. (Display shows all "0".)
Input following 10 digits number.
9 9 9 9 9 0 0 0 0 0 (Fixed value)
Press #2 key (Refer the each service manual for the key location.)
The machine prints initial message and issues the receipt.
To each test operation
The test mode starts by the above operations. And with this operation, the ROM sum
check is done automatically and the result is printed on the receipt. To return the normal
operation mode, perform the MAC (INIT1) operation.
NOTE: Please refer the each service manual for the following test operations:
1Numeral keys check (0~9 keys)
2General keys (All keys except Clear, paper feed, and numeral keys)
3Switch check
4I/O Port status check
5General test (RAM, display, printer, drawer 1, clock, auto cutter)
6RAM read after write test
7RAM read only test
8RAM card read after write test
9RAM card read only test
10Display check
11Time and date test
12Printer check
13Slip printer check
14Centronic printer check
15Drawer check
16Auto paper cutter check
17On line loop back test
18Scale reading test
— 15 —
4-2. Check Items for I/O-PB-11
1C-In line ID No. & Baud rate set (High speed in-line talken start command)
2C-In line test termination (Termination command)
3C-In line CN (connection) type message transmission test
4C-In line CN (connection) type message reception test
5C-In line CL (connection less) type message transmission test
6C-In line CL (connection less) type message reception test
7C-In line control chip status check
4-3. Operations
1.C-In line ID No. & Baud rate set (High speed in-line talken start command)
[Operation]
Press80n#2.(whereas n = Machine ID No.)
Press81m#2.(whereas m = Baud rate code)
The baud rate code is as follow:
m = 0; 156.25 K bps.m = 2;625 K bps.
m = 1;312.5 K bps.m = 3;1.25 M bps.
Note 1: To stop the test, perform Termination command.
Note 2: Select ID No. from 1 to 32 for test operation.
Note 3: To set the 2 digits ID No., operate as follows:
Press800#2 .
Pressnn#1 . (whereas n n = Machine ID No. more than 2 digits.)
ID No. = 10 ~ 32.
Press81m#2 . (whereas m = Baud rate code)
[Print sample]
800OK01
814OK
ID No.
— 16 —
2.C-In line test termination (Termination command)
This command is for the termination of the TOKEN.
[Operation]
Press820#2.
[Print sample]
820OK
3.C-In line CN (connection) type message transmission test
This command will check the communication by CN type message. This operaton
will compare with transmission data and reception data after sending data to the
reception machine.
Before performing this transmission test, set the ID No. & Baud rate by the Item
No.1 operation.
[Operation]
Press83n#2.(whereas n = Machine ID No.)
ID No. = 0 ~ 9 (ID No.0 is for the host computer.)
(10~32 are not possible to use.)
Note 1: To stop the test, press #2 key.
Note 2: To perform this test, the reception machine is necessary. Before operat-
ing this test, perform the CN type receprion command on the reception
machine.
[Print sample (Normal end) ]
831OK
— 17 —
[Print sample (Abnormal end) ]
831ER83 01-0000
Error code
Error block counter No.
Error machine ID No.
4.C-In line CN (connection) type message reception test
This command will check the communication by CN type message. This operaton
will return the transmission data after reception data without any change.
Before performing this transmission test, set the ID No. & Baud rate by the Item
No.1 operation.
[Operation]
Press84n#2.(whereas n = Machine ID No.)
ID No. = 1 ~ 9(ID No.0 is for the host computer.)
(10~32 are not possible to use.)
Note 1:To stop the test, press #2 key.
Note 2:To perform this test, the reception machine is necessary.
After operat ing this test, perform the CN type transmission command
on the transmission machine.
[Print sample (Normal end) ]
841OK
[Print sample (Abnormal end) ]
841ER83 01-0000
Error block counter No.
Error code
Error machine ID No.
5.C-In line CL (connection less) type message transmission test
This command will check the communication by CL type message. This operaton
will send the data to the all reception machines.
Before performing this transmission test, set the ID No. & Baud rate by the Item
No.1 operation.
[Operation]
Press850#2.
Note 1: To stop the test, press #2 key.
Note 2: To perform this test, the reception machine is necessary. Before operat
ing this test, perform the CL type receprion command on the reception
machine.
— 18 —
[Print sample (Normal end) ]
[Print sample (Abnormal end) ]
850OK
6.C-In line CL (connection less) type message reception test
This command will check the communication by CL type message. This operaton
will receive the transmission data.
Before performing this transmission test, set the ID No. & Baud rate by the Item
No.1 operation.
[Operation]
Press860#2.
850ER83 01-0000
Error code
Error block counter No.
Error machine ID No.
Note 1: To stop the test, press #2 key.
Note 2: To perform this test, the Transmission machine is necessary.
After operating this test, perform the CL type transmission command on
the transmission machine.
[Print sample (Normal end) ]
860OK
7.C-In line control chip status check
This command will check the C-In line control chip status. When the 4 digits of left
side are displayed "0111", the C-In line control chip is working normally.
[Display]
[Print sample (Abnormal end) ]
860ER83 01-0000
Error block counter No.
Error code
Error machine ID No.
0 1 1 1 0 0 10
{
Normal condition
— 19 —
8.Diagnostic program error code
ErrorNature of errorFunctionDetails
Codecode
01ROM check sum errorAt power onWhen the diagnostic program is started up, the last 2 digits of
the ROM's check sum is not 00.
02RAM write error10Test data cannot be written in the RAM.
(1 byte read after write error)
03RAM read error10, 12Data error at RAM data reading
04RAM card write error14Test data cannot be written in the RAM card.
(1 byte read after write error)
05RAM card read error14,16Data error in the RAM card reading check
06Non connection error14RAM card is not installed. Or, a ROM card is installed in the
of RAM cardRAM card test.
(ROM card connection)
10Abnormal voltage of40Monitor terminal of drawer PCB receives BUSY signal for
drawer power.more than 1 second.
12BUSY time out at50, 51Data cannot be sent due to no reception of BUSY signal.
In-line data transmission(USRT hardware error)
13In-line receive time out52, 53In-line receive test is compulsorily stopped by #2 key.
14ON-line transmission54, 55Data cannot be sent due to no reception for BUSY signal.
BUSY time out(Hardware error)
15On-line receive time out55Cannot receive loop-back data
16In-line/On-line receive50~55A parity error in received data
parrity error.
17In-line/On-line receive50~55A framing error in received data
framing error
18In-line/On-line receive50~55Received data is not correct.
data error
19On-line CI signal error54, 55Poor connection or no connection of loop back connector.
Abnormal CI signal.
20On-line CD signal error55Poor connection or no connection of loop back connector.
Abnormal CD, RTS lines (On-line 2).
21On-line DR/CTS signal54, 55Poor connection or no connection of loop back connector.
errorAbnormal CTS (On-line 1), DR (On-line 2).
— 20 —
ErrorNature of errorFunctionDetails
Codecode
24KB-1 time-out error70An error occurred during test of KB-1.
25KB-1 reception error70An error occurred while reading data of KB-1.
28Scale data error71An error occurred while reading scale data.
29Thermal printer board36, 37An error occurred in the thermal printer board.
error
30Thermal printer paper36, 37No paper in the thermal printer.
out error
64AUTOPGM or X/Z error-A different format data is received.
(100)
65AUTOPGM or X/Z error-A different format of compressed data is selected.
(101)
66AUTOPGM or X/Z error-A received compressed data is abnormal.
(102)
67AUTOPGM or X/Z error-A received compressed data is abnormal.
(103)
68AUTOPGM or X/Z error-Auto program code 90/93 is received from different model.
(104)
69AUTOPGM or X/Z error-Auto program code 90 is received from bigger memory ECR.
(105)
6AAUTOPGM or X/Z error-Abort.
(106)
6BAUTOPGM or X/Z error-A disk error of PC side.
(107)
6CAUTOPGM or X/Z error-A communication sequence is abnormal.
(108)
77RAM card error-A power failue happened during read or write operation.
(119)
78RAM card error-The RAM card door opened during read or write operation.
(120)
79RAM card error- RAM card is not installed.
(121)
7ARAM card error-A ROM card is installed.
(122)
7BRAM card error-A different RAM card is installed.
(123)
7CRAM card error-A write operation is performed in the RAM card which has
(124)already some data.
7DRAM card error-A read operation is performed in the empty RAM card.
(125)
7ERAM card error-Write protect switch is on in the RAM card.
(126)
7FRAM card error-The other error. (Abnormal condition)
(127)
NOTE: The number of shown in the () is the operation error code number after code E56- of system error.
— 21 —
ErrorNature of errorFunctionDetails
Codecode
80C-in line controller error81,83,84,85,86Reset error of C-In line controller
(128)
81C-in line controller error81,83,84,85,86Receive interruption operation is not finished.
(129)
82C-in line controller error81Initial error of controller. The ID No. and start up operation
(130)is not finished yet.
83C-in line controller error82,83,84Token signal can not be received by some reason. Or, there
(131)are no machine in C-In line cable.
84C-in line controller error-Transmission size is over.
(132)
85C-in line controller error83,85The transmission is not finished by a noise or some reasons.
(133)
86C-in line controller error81The same ID No. exists on the C-In line cable.
(134)
87C-in line controller error-The machine does not enter the network caused a mismatch of
(135)the baud rate or some reasons.
90C-In line protocol error83,84,85,86NCB (Network control block) open parameter mismatch
(144)or memory over error
91C-Inline protocol error-NCB open error (Not used)
(145)
92C-Inline protocol error-NCB close error (Not used)