User’s Manual
THERMAL PRINTER MECHANICAL CONTROL LSI
MODEL CBM-202PC-04
Rev.1.01 Added notes Dec.14th,1998
CBM-202PC-04 User’s Manual
<CAUTIONS>
1.Prior to using the printer, read this manual thoroughly for correct operation. After reading the manual, keep it carefully at hand for your future reference.
2.The information herein is subject to change without prior notice due to technical improvements. Upon actual use of the printer, inquire for the up-to-date specifications.
3.It is strictly prohibited to copy part or all of the information contained in this manual without our prior permission.
4.If you have any question about the information herein or notice any clerical error or omission, please contact us.
5.We will not be responsible for the effects from the results of operating the printer, regardless of Section 4.
6.We cannot guarantee that the information herein does not infringe upon the industrial property, etc. of a third party, except when there is a written agreement to that effect.
2 |
CITIZEN |
CBM-202PC-04 User’s Manual
|
|
CONTENTS |
|
1. |
OUTLINE ............................................................................................................................................................ |
5 |
|
|
1.1 |
Applicable Printer ........................................................................................................................................ |
5 |
2. |
MAINTENANCE AND SERVICE.................................................................................................................... |
6 |
|
3. |
BASIC SPECIFICATIONS................................................................................................................................ |
7 |
|
|
3.1 |
Shapes and Dimensions.................................................................................................................................. |
7 |
|
3.2 |
Structure ........................................................................................................................................................ |
7 |
|
3.3 |
Data Transfer Method .................................................................................................................................... |
7 |
|
3.4 |
Printing Function ........................................................................................................................................... |
7 |
|
3.5 |
Operating Voltage and Power Consumption .................................................................................................... |
7 |
|
3.6 |
Operating Frequency...................................................................................................................................... |
7 |
4. |
HARDWARE SPECIFICATIONS .................................................................................................................... |
8 |
|
|
4.1 |
Absolute Maximum Ratings ........................................................................................................................... |
8 |
|
4.2 |
Electrical Characteristics................................................................................................................................ |
8 |
|
4.3 |
Pin Layout and Functions............................................................................................................................... |
9 |
|
4.4 |
Gate Array Pin Layout and Functions ............................................................................................................ |
13 |
|
4.5 |
Reset Circuit ................................................................................................................................................. |
14 |
|
4.6 |
Oscillation Circuit......................................................................................................................................... |
15 |
|
4.7 |
Head-up Detection Circuit............................................................................................................................. |
16 |
|
4.8 |
Head Control Circuit ..................................................................................................................................... |
17 |
|
4.9 |
Paper End Detection Circuit .......................................................................................................................... |
18 |
|
4.10 |
Motor Control Circuit ................................................................................................................................... |
19 |
|
4.11 |
Auto Cutter Control Circuit ........................................................................................................................... |
20 |
|
4.12 |
Parallel Interface Circuit ............................................................................................................................... |
21 |
|
4.13 |
Serial Interface Circuit .................................................................................................................................. |
23 |
|
4.14 |
Switch Circuit............................................................................................................................................... |
24 |
|
4.15 |
Error Output Circuit ...................................................................................................................................... |
25 |
|
4.16 |
Function Selection Circuit............................................................................................................................. |
27 |
|
4.17 |
External RAM Interface ................................................................................................................................ |
30 |
3 |
CITIZEN |
CBM-202PC-04 User’s Manual
5. |
PRINTER MECHANISM CONTROL SYSTEM ......................................................................................... |
33 |
|
|
5.1 |
Head Drive ................................................................................................................................................... |
33 |
|
|
5.1.1 Head Dividing Method ..................................................................................................................... |
33 |
|
|
5.1.2 Thermal Head Application Energy .................................................................................................... |
34 |
|
5.2 |
Motor Drive.................................................................................................................................................. |
34 |
|
5.3 |
Auto Loading................................................................................................................................................ |
35 |
6. |
SELF-PRINTING ............................................................................................................................................. |
36 |
|
7. |
OPERATION TIMING .................................................................................................................................... |
37 |
|
8. |
SPECIFICATIONS OF PACKAGE................................................................................................................ |
38 |
|
9. |
PRECAUTIONS FOR MOUNTING .............................................................................................................. |
39 |
|
|
9.1 |
Precautions ................................................................................................................................................... |
39 |
|
9.2 |
Reflow Mounting.......................................................................................................................................... |
39 |
|
9.3 |
Recommended Conditions for Different Mounting Methods .......................................................................... |
39 |
|
9.4 |
Clearing Method ........................................................................................................................................... |
41 |
|
9.5 |
Storage Method............................................................................................................................................. |
41 |
10. PRINT CONTROL FUNCTIONS................................................................................................................... |
42 |
||
|
10.1 |
Command List .............................................................................................................................................. |
42 |
|
10.2 |
Command Details ......................................................................................................................................... |
44 |
11. CHARACTER CODES TABLE ...................................................................................................................... |
86 |
||
|
11.1 |
International.................................................................................................................................................. |
86 |
|
11.2 |
Domestic ...................................................................................................................................................... |
87 |
|
11.3 |
International Character Codes Table .............................................................................................................. |
88 |
4 |
CITIZEN |
CBM-202PC-04 User’s Manual
This LSI is designed to control the line thermal printer LT-286 by using our Gate Array. It has the following
features.
(1)Capable of providing high-quality printing by detecting a temperature and automatically correcting printing density.
(2)Capable of providing high-quality printing by detecting a voltage and automatically correcting printing density.
(3)Capable of selecting the parallel or serial interface.
(4)Capable of selecting printing density via a function selection terminal.
(5)Capable of printing a bar code.
(6)Capable of printing double-width/height characters, bit images, and so on by various commands.
LSI Name |
Applicable Mechanism |
|
|
CBM-202PC-04 |
LT-286 |
|
|
5 |
CITIZEN |
CBM-202PC-04 User’s Manual
For the information on maintenance and service, please contact our dealer or at the following address.
Northern America |
Other Areas |
CBM America Corporation |
Japan CBM Corporation |
Service Center |
Information Systems Division |
365 Van Ness Way |
CBM Bldg.,5-68-10 Nakano |
Suit 510 |
Nakno-ku, Tokyo 164-0001 |
Torrance, CA 90501, U.S.A |
Japan |
TEL +1-310-781-1460 |
TEL +81-3-5345-7540 |
FAX +1-310-781-9157 |
FAX +81-3-5345-7541 |
6 |
CITIZEN |
CBM-202PC-04 User’s Manual
100-pin flat package
C-MOS LSI
Parallel transfer or serial transfer (Selectable)
(1)8-bit parallel transfer (CENTRONICS based)
(2)Asynchronous serial transfer (Selectable)
1,200, 2,400, 4,800, 9,600, or 19,200 bps Parity: Odd, Even, or None parity; 8 bits
(1)Printing columns and printing speed
Model |
Digits |
Total Dots |
Character Size (mm) |
Printing Speed (m/s) |
|
|
|
|
|
|
|
LT-286 |
32 |
384 |
1.25×3.00(Font A) |
50 |
|
|
|
||||
42 |
0.88×3.00(Font B) |
||||
|
|
|
|||
|
|
|
|
|
Note) The printing speed above applies when the thermal printer is driven in the following environment:
• |
Drive voltage(VH) |
= |
7.2 V |
• |
Thermal head temperature |
= |
30°C or more |
• |
Simultaneous power-on(print) dots |
= |
Within 64 dots |
• |
Voltage |
: 5V DC ±5 % |
• |
Current consumption |
: 80mA at maximum |
•16 MHz
7 |
CITIZEN |
CBM-202PC-04 User’s Manual
Item |
Symbol |
Rating |
|
|
|
Supply voltage |
Vcc |
–0.3 ~ +7.0V |
|
|
|
Input voltage |
Vi |
–0.3 ~ Vcc+0.3V |
|
|
|
Reference supply voltage |
VREF |
–0.3 ~ AVcc+0.3V |
|
|
|
Analog supply voltage |
AVcc |
–0.3 ~ +7V |
|
|
|
Analog input voltage |
VAN |
–0.3 ~ AVcc+0.3V |
|
|
|
Operating temperature |
Topr |
–20 ~ +75°C |
|
|
|
Storage temperature |
Tstg |
–55 ~ +125°C |
|
|
|
|
Item |
Symbol |
MIN |
MAX |
Unit |
Condition |
|
|
|
|
|
|
|
|
RES,STBY,NM1 |
|
Vcc–0.7 |
Vcc+0.3 |
V |
|
|
MD0,MD1,MD2 |
|
|
|||
Input |
|
|
|
|
|
|
EXTAL |
VIH |
Vcc×0.7 |
Vcc+0.3 |
V |
|
|
"HIGH" |
|
|||||
|
|
|
|
|
||
Level |
THEM |
|
2.0 |
AVcc+0.3 |
V |
|
|
|
|
|
|
|
|
|
Others |
|
2.0 |
Vcc+0.3 |
V |
|
|
|
|
|
|
|
|
Input |
|
|
|
|
|
|
"LOW" |
All input terminals |
VIL |
–0.3 |
0.5 |
V |
|
level |
|
|
|
|
|
|
Output |
|
|
|
|
|
|
"HIGH" |
All output terminals |
V0H |
3.5 |
– |
V |
I OH = –1 mA |
level |
|
|
|
|
|
|
Output |
RESO |
|
– |
0.4 |
V |
I OH = 2.6mA |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"LOW" |
LEDER,LEDPE |
V0L |
– |
1.0 |
V |
I OL = 10mA |
level |
|
|
|
|
|
|
Others |
|
|
0.4 |
V |
IOL = 1.6mA |
|
|
|
|
||||
|
|
|
|
|
|
|
8 |
CITIZEN |
CBM-202PC-04 User’s Manual
Pin No. |
Signal |
I/O |
|
|
Function |
Logic |
|||
|
|
|
|
|
|
|
|
|
|
1 |
|
VCC |
– |
VCC |
– |
||||
|
|
|
|
|
|
|
|
|
|
2 |
|
LFSW |
Input |
LF switch input |
LOW |
||||
|
|
|
|
|
|
|
|
|
|
3 |
|
LEDER |
Output |
Error LED output |
LOW |
||||
|
|
|
|
|
|
|
|
|
|
4 |
|
LEDPE |
Output |
Paper end LED output |
LOW |
||||
|
|
|
|
|
|
|
|
|
|
5 |
|
NC |
– |
NC |
– |
||||
|
|
|
|
|
|
|
|
|
|
6 |
|
LATCH |
Output |
Head latch signal |
LOW |
||||
|
|
|
|
|
|
|
|
|
|
7 |
|
PAPER |
Input |
Paper end input NC |
HIGH |
||||
|
|
|
|
|
|
|
|
|
|
8 |
|
DRQ |
Input |
DMA request |
LOW |
||||
|
|
|
|
|
|
|
|
|
|
9 |
|
NC |
– |
NC |
– |
||||
|
|
|
|
|
|
|
|
|
|
10 |
|
RES0 |
Output |
Watchdog output |
LOW |
||||
|
|
|
|
|
|
|
|
|
|
11 |
|
VSS |
– |
GND |
– |
||||
|
|
|
|
|
|
|
|
|
|
12 |
|
DTR |
Output |
Serial DTR (RS-232C) |
HIGH |
||||
|
|
|
|
|
|
|
|
|
|
13 |
|
TXD |
Output |
Serial TXD (RS-232C) |
HIGH |
||||
|
|
|
|
|
|
|
|
|
|
14 |
|
DI |
Input |
Print head output data |
HIGH |
||||
|
|
|
|
|
|
|
|
|
|
15 |
|
RXD |
Input |
Serial RXD (RS-232C) |
HIGH |
||||
|
|
|
|
|
|
|
|
|
|
16 |
|
CP |
Input |
Print head clock |
HIGH |
||||
|
|
|
|
|
|
|
|
|
|
17 |
|
NC |
– |
NC |
– |
||||
|
|
|
|
|
|
|
|
|
|
18 |
|
CTSW |
Input |
Cutter switch input |
LOW |
||||
|
|
|
|
|
|
|
|
|
|
19 |
|
NC |
– |
NC |
– |
||||
|
|
|
|
|
|
|
|
|
|
20 |
|
NC |
– |
NC |
– |
||||
|
|
|
|
|
|
|
|
|
|
21 |
|
NU |
– |
RESERVED |
– |
||||
|
|
|
|
|
|
|
|
|
|
22 |
|
VSS |
– |
GND |
– |
||||
|
|
|
|
|
|
|
|
|
|
23 |
|
MOTORA |
Output |
Motor A |
– |
||||
|
|
|
|
|
|
|
|
|
|
24 |
|
MOTORB |
Output |
Motor B |
– |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
25 |
|
MOTORA |
|
|
Output |
Motor |
A |
|
– |
|
|
|
|
|
|
|
|
|
|
Note) |
For notation of the signals whose logic is "LOW"(Negative), a representation of |
|
XXX(Upper line) will be omitted for the subsequent notations.
9 |
CITIZEN |
CBM-202PC-04 User’s Manual
Pin No. |
Signal |
I/O |
|
|
Function |
Logic |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
MOTORB |
Output |
Motor B |
– |
||||
|
|
|
|
|
|
|
|
|
27 |
D0 |
I/O |
D0 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
28 |
D1 |
I/O |
D1 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
29 |
D2 |
I/O |
D2 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
30 |
D3 |
I/O |
D3 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
31 |
D4 |
I/O |
D4 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
32 |
D5 |
I/O |
D5 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
33 |
D6 |
I/O |
D6 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
34 |
D7 |
I/O |
D7 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
35 |
VCC |
– |
VCC |
– |
||||
|
|
|
|
|
|
|
|
|
36 |
A0 |
Output |
A0 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
37 |
A1 |
Output |
A1 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
38 |
A2 |
Output |
A2 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
39 |
A3 |
Output |
A3 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
40 |
A4 |
Output |
A4 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
41 |
A5 |
Output |
A5 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
42 |
A6 |
Output |
A6 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
43 |
A7 |
Output |
A7 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
44 |
VSS |
– |
GND |
– |
||||
|
|
|
|
|
|
|
|
|
45 |
A8 |
Output |
A8 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
46 |
A9 |
Output |
A9 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
47 |
A10 |
Output |
A10 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
48 |
A11 |
Output |
A11 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
49 |
A12 |
Output |
A12 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
50 |
A13 |
Output |
A13 |
HIGH |
||||
|
|
|
|
|
|
|
|
|
10 |
CITIZEN |
CBM-202PC-04 User’s Manual
Pin No. |
Signal |
I/O |
Function |
Logic |
|
|
|
|
|
51 |
A14 |
Output |
A14 |
HIGH |
|
|
|
|
|
52 |
A15 |
Output |
NC |
– |
|
|
|
|
|
53 |
A16 |
Output |
NC |
– |
|
|
|
|
|
54 |
A17 |
Output |
NC |
– |
|
|
|
|
|
55 |
A18 |
Output |
NC |
– |
|
|
|
|
|
56 |
A19 |
Output |
NC |
– |
|
|
|
|
|
57 |
VSS |
– |
GND |
– |
|
|
|
|
|
58 |
P60 |
Output |
NC |
– |
|
|
|
|
|
59 |
P61 |
Output |
NC |
– |
|
|
|
|
|
60 |
P62 |
Output |
NC |
– |
|
|
|
|
|
61 |
φ |
Output |
Clock output |
HIGH |
|
|
|
|
|
62 |
STBY |
Input |
(Pull up to VCC at 10kΩ) |
LOW |
|
|
|
|
|
63 |
RES |
Input |
Reset input |
LOW |
|
|
|
|
|
64 |
NMI |
Input |
(Pull up to VCC at 10kΩ) |
LOW |
|
|
|
|
|
65 |
VSS |
– |
GND |
– |
|
|
|
|
|
66 |
EXTAL |
– |
EXTAL (16MHz) |
– |
|
|
|
|
|
67 |
XTAL |
– |
XTAL (16MHz) |
– |
|
|
|
|
|
68 |
VCC |
– |
VCC |
– |
|
|
|
|
|
69 |
P63 |
Output |
NC |
– |
|
|
|
|
|
70 |
RD |
Output |
RD |
LOW |
|
|
|
|
|
71 |
HRW |
Output |
HRW |
LOW |
|
|
|
|
|
72 |
P66 |
Output |
NC |
– |
|
|
|
|
|
73 |
MD0 |
Input |
(Pull up to VCC at 10kΩ) |
HIGH |
|
|
|
|
|
74 |
MD1 |
Input |
(Pull down to GND at 10k Ω) |
LOW |
|
|
|
|
|
75 |
MD2 |
Input |
(Pull up to VCC at 10kΩ) |
HIGH |
|
|
|
|
|
11 |
CITIZEN |
CBM-202PC-04 User’s Manual
Pin No. |
Signal |
I/O |
Function |
Logic |
|
|
|
|
|
76 |
AVCC |
– |
VCC |
– |
|
|
|
|
|
77 |
VREF |
– |
VCC |
– |
|
|
|
|
|
78 |
THERM |
Input |
Head temperature detection terminal |
– |
|
|
|
|
|
79 |
NC |
Input |
(Pull down to GND at 10k Ω) |
– |
|
|
|
|
|
80 |
DETECV |
Input |
Voltage detection terminal |
– |
|
|
|
|
|
81 |
NC |
Input |
(Pull down to GND at 10k Ω) |
– |
|
|
|
|
|
82 |
NC |
Input |
(Pull down to GND at 10k Ω) |
– |
|
|
|
|
|
83 |
NC |
Input |
(Pull down to GND at 10k Ω) |
– |
|
|
|
|
|
84 |
NC |
Input |
(Pull down to GND at 10k Ω) |
– |
|
|
|
|
|
85 |
NC |
Input |
(Pull down to GND at 10k Ω) |
– |
|
|
|
|
|
86 |
AVSS |
– |
GND |
– |
|
|
|
|
|
87 |
STB |
Input |
Parallel data interrupt |
LOW |
|
|
|
|
|
88 |
HEADUP |
Input |
Head up detection terminal |
LOW |
|
|
|
|
|
89 |
CS2 |
Output |
Gate Array chip select |
LOW |
|
|
|
|
|
90 |
CS1 |
Output |
RAM chip select |
LOW |
|
|
|
|
|
91 |
CS0 |
Output |
Kanji ROM chip select |
LOW |
|
|
|
|
|
92 |
VSS |
– |
GND |
– |
|
|
|
|
|
93 |
NC |
Output |
NC |
– |
|
|
|
|
|
94 |
STRB1 |
Output |
Head strobe 1 |
HIGH |
|
|
|
|
|
95 |
STRB2 |
Output |
Head strobe 2 |
HIGH |
|
|
|
|
|
96 |
STRB3 |
Output |
Head strobe 3 |
HIGH |
|
|
|
|
|
97 |
STRB4 |
Output |
Head strobe 4 |
HIGH |
|
|
|
|
|
98 |
STRB5 |
Output |
Head strobe 5 |
HIGH |
|
|
|
|
|
99 |
STRB6 |
Output |
Head strobe 6 |
HIGH |
|
|
|
|
|
100 |
DSR |
Input |
Serial DSR (RS-232C) |
HIGH |
|
|
|
|
|
12 |
CITIZEN |
CBM-202PC-04 User’s Manual
Pin No. |
Signal |
I/O |
Function |
Logic |
|
|
|
|
|
44 |
D7 |
Input |
Parallel input data D7 |
HIGH |
|
|
|
|
|
45 |
D6 |
Input |
Parallel input data D6 |
HIGH |
|
|
|
|
|
46 |
D5 |
Input |
Parallel input data D5 |
HIGH |
|
|
|
|
|
47 |
D4 |
Input |
Parallel input data D4 |
HIGH |
|
|
|
|
|
48 |
D3 |
Input |
Parallel input data D3 |
HIGH |
|
|
|
|
|
49 |
D2 |
Input |
Parallel input data D2 |
HIGH |
|
|
|
|
|
50 |
D1 |
Input |
Parallel input data D1 |
HIGH |
|
|
|
|
|
51 |
D0 |
Input |
Parallel input data D0 |
HIGH |
|
|
|
|
|
52 |
STROBE |
Input |
Parallel STROBE |
LOW |
|
|
|
|
|
55 |
BUSY |
Output |
Parallel BUSY |
HIGH |
|
|
|
|
|
58 |
PAO7 |
Output |
NC |
– |
|
|
|
|
|
59 |
ACK |
Output |
Parallel ACK |
– |
|
|
|
|
|
61 |
PE |
Output |
Parallel paper end |
HIGH |
|
|
|
|
|
62 |
FAULT |
Output |
Parallel FAULT |
LOW |
|
|
|
|
|
63 |
CUTTERA |
Output |
Cutter A |
– |
|
|
|
|
|
64 |
CUTTERB |
Output |
Cutter B |
– |
|
|
|
|
|
65 |
CUTTERC |
Output |
Cutter C |
– |
|
|
|
|
|
67 |
CUTTERD |
Output |
Cutter D |
– |
|
|
|
|
|
13 |
CITIZEN |
CBM-202PC-04 User’s Manual
The reset state is effectuated by setting the RES terminal to "Low." To surely reset, it is necessary to set it to "Low" at least for 20ms at power -on and for 625ns while operating.
If an external reset is not used, the parts enclosed by dotted lines are not required.
14 |
CITIZEN |
CBM-202PC-04 User’s Manual
The oscillation circuit incorporates a clock oscillator which generates a system clock and an internal clock. There are two methods to supply a clock; one is to connect a ceramic oscillator, and the other is to input an external clock.
When using the ceramic oscillator, we recommend the CSTCS16.00MXOC3 (With capacitor) made by MURATA. When inputting the external clock, you may either open the XTAL terminal or input an antiphase clock to the XTAL terminal.
15 |
CITIZEN |
CBM-202PC-04 User’s Manual
4.7Head-up Detection Circuit
Print head up/down is detected by a head-up sensor built in the printer so that the printer will not be energized on with the head up. The circuit is "opened" when the print head is up, and "closed" when down.
When the print head is up, HEADUP (Pin 88) of the CPU is turned to "High," and if the printer is printing, it will immediately stop printing and output an error. It resumes printing when the print head is down.
16 |
CITIZEN |
CBM-202PC-04 User’s Manual
VP is controlled in order to prevent electrolytic corrosion of the printing head. HVC(Pin-4) of the Gate Array is turned to "HIGH" when turning on VP, and turned to "LOW" when turning it off.
A temperature detection circuit is provided in order to prevent deterioration of the printing quality or breakage of the printing head due to a temperature. This function detects a temperature by means of a thermistor included in the printer and determines according to that temperature how much energy should be applied to the printing head. If a temperature of the printing head exceeds 60•, it will stop printing to prevent breakage of the printing head.
As a protection when the CPU crashes, connect in such a manner that the Gate Array will be reset by an output from the watchdog timer of the CPU. The CPU itself has been set so that it will be reset. So that the head strobe will not be turned to ON at that time, be sure to insert one pull -up resistor into STRB1 through STRB3, respectively.
17 |
CITIZEN |
CBM-202PC-04 User’s Manual
A paper sensor built in the printer detects whether there is the printing paper, so that the printer will not be turned on when it has no paper.
When the printer has no paper,PAPER (P in 7) of the CPU is turned to "HIGH." If printing is under way, it will stop after printing that line, and output an error. When the paper is set, printing is automatically resumed.
18 |
CITIZEN |
CBM-202PC-04 User’s Manual
Avoid running the motor continuously for 15 minutes or more.
19 |
CITIZEN |
CBM-202PC-04 User’s Manual
This CPU has a function to control the auto cutter, using the Pin 33 of the Gate Array.
When the auto cutter is not used, set the Pin 33 of the Gate Array to "HIGH." If se t to "LOW," the printer will not function properly, resulting in an alarm.
20 |
CITIZEN |
CBM-202PC-04 User’s Manual
The Gate Array ports are mainly used to provide an 8-bit parallel interface.
When the parallel interface is not used, pull up STB(Pin 52) of the Gate Array with a 10kΩ resistor. STB(Pin 87) of the CPU should be connected to INTR(Pin 56) of the Gate Array or pulled up with a 10kΩ resistor.
1) Circuit
21 |
CITIZEN |
CBM-202PC-04 User’s Manual
2) Gate Array Signals and Their Functions
Signal |
Pin No. |
I/O |
Function |
|
|
|
|
|
|
STROBE |
52 |
Input |
A signal to read in the data.(Negative logic) |
|
|
|
|
|
|
D0 |
51 |
|
|
|
|
|
|
|
|
D1 |
50 |
|
|
|
|
|
|
|
|
D2 |
49 |
|
|
|
|
|
|
|
|
D3 |
48 |
Input |
Input data (Positive logic) |
|
|
|
|||
D4 |
47 |
|||
|
|
|||
|
|
|
|
|
D5 |
46 |
|
|
|
|
|
|
|
|
D6 |
45 |
|
|
|
|
|
|
|
|
D7 |
44 |
|
|
|
|
|
|
|
|
ACK |
59 |
Output |
A signal to indicate that the data has been read. (Negative |
|
logic) |
||||
|
|
|
||
BUSY |
55 |
Output |
A signal to indicate that the data cannot be received. (Positive |
|
logic) Send the data when at "LOW." |
||||
|
|
|
||
PE |
61 |
Output |
A signal to be output when the paper runs out. (Positive logic) |
|
FAULT |
62 |
Output |
A signal to indicate a printer error. (Negative logic) |
|
|
|
|
|
|
GND |
|
|
|
|
|
|
|
|
3)Timing chart
T1, T2, T3 |
: 0.5 s |
MIN |
T4 |
: 270 ns |
MAX |
T5 |
: 2.3 s |
TYP |
T6 |
: 500 ms |
MIN |
22 |
CITIZEN |
CBM-202PC-04 User’s Manual
A serial interface is an asynchronous serial system. When the serial interface is not used, pull up RXD (Pin 15) and DSR (Pin 100) of the CPU with a 47kΩ resistor.
1) Circuit
2) Signal names and their functions
Signal Name |
Pin No. |
Input/Output |
Function |
|
|
|
|
Transmits the status. |
|
TXD |
13 |
Output |
If data reception is disabled when XON/XOFF is |
|
selected, XOFF(13H) will be transmitted, and if data |
||||
|
|
|
||
|
|
|
reception is enabled, XON(11H) will be transmitted. |
|
RXD |
15 |
Input |
Received data signal. If a framing error or parity |
|
error occurs, the relevant data will be printed "?". |
||||
|
|
|
||
|
|
|
With DTR/DSR selected, if this signal is "LOW," the |
|
DSR |
100 |
Input |
data will be transmitted from the CPU. If "HIGH," |
|
the data will be transmitted after the signal is turned |
||||
|
|
|
||
|
|
|
to "LOW." |
|
|
|
|
Transmit the data when this signal is "LOW." If |
|
DTR |
12 |
Output |
written when it is "HIGH," an overrun error will |
|
|
|
|
result, ignoring the data. |
23 |
CITIZEN |
CBM-202PC-04 User’s Manual
The printer has a switch input function for paper feed. Also provided is a function to perform self -printing, using this switch. (Turn on the power while holding down this switch, or apply a reset with this switch held down when the power has been already turned on. The printer automatically starts self-printing and returns to the normal waiting state after printing is completed.)
24 |
CITIZEN |
CBM-202PC-04 User’s Manual
The printer has two kinds of error outputs. (Up to a current of 10mA is available in order to mainly indicate with the LEDs. If this limit is exceeded, the CPU may be destroyed. Select the current control resistors, LEDs, etc. carefully.)
LEDPE(Pin 4) of the CPU is a paper error exclusive output. "LOW" is output when the printing pap er runs out, and "HIGH" is output when new printing paper is set. LEDER(Pin 3) of the CPU outputs other errors in the following patterns.
1) |
Error output pattern |
|
|
|
|
|
|
|
|
|
Error |
|
Display Pattern |
Description |
Memory error |
|
|
Blinks at intervals of 200 ms |
|
|
|
|
||
|
|
|
|
|
Cutter lock |
|
|
Blinks at intervals of 150 ms(6 times) and 500 |
|
(Cutter error) |
|
|
ms(1 time) as one cycle. |
|
|
|
|
|
|
Head-up |
|
|
Illuminated until the error is reset. |
|
|
|
|
||
|
|
|
|
|
VH voltage error |
|
|
Illuminated until the error is reset. |
|
|
|
|
||
|
|
|
|
|
Head temperature |
|
|
Blinks at intervals of 1 sec. |
|
error |
|
|
|
|
Macro execution wait |
|
|
Blinks at intervals of 500 ms |
|
|
|
|
||
|
|
|
|
|
2) |
Error descriptions |
|
|
|
|
|
|
|
|
|
Error |
|
Description |
|
|
|
|||
Head-up |
The head-up lever has been shifted up. |
|||
|
|
|||
VH voltage error |
When the VH voltage is beyond an allowable range (4.2 ~ 8.5V) |
|||
|
|
|||
Head temperature error |
When a head temperature is less than 0°C or 65°C or more |
|||
|
|
|||
Cutter lock |
When the cutter is locked due to an external factor (Paper jam, etc.) at cutter |
|||
(ASC-220-5V) |
drive time |
|
Note) The upper-limit voltage of 8.5V for the VH voltage error is a voltage assumed only immediately after charging the battery when the battery power is used and cannot be normally used. A maximum normal voltage is 7.2V.
25 |
CITIZEN |
CBM-202PC-04 User’s Manual
3) Resetting methods
Error |
Resetting Method |
|
|
|
|
No-paper |
Set the paper. See Note 1. |
|
|
|
|
Head-up |
Shift down the head-up lever. |
|
|
|
|
VH voltage error |
Set the VH voltage to within the allowable range(4.2 ~ 8.5 V) and turn on the |
|
power again, or set the LFSW(Pin-2) of the CPU to Active. See Note 2. |
||
|
||
Head temperature error |
At the lower limit(Less than 0°C), printing is enabled at 0°C or more. |
|
At the upper limit(65°C or more), printing is enabled at 60°C or less. |
||
|
||
Cutter lock(ACS-220-5v) |
Eliminate the paper jam and set LFSW(Pin-2) of the CPU to Active or turn |
|
on the power again. |
||
|
||
Note) |
|
1.If auto loading has not been selected with the function selection J4(Jumper), set the paper manually. If it has been selected, the auto loading function will be enabled to facilitate paper replacement.
2.The upper-limit voltage of 8.5V for the VH voltage error is a voltage assumed only immediately after charging the battery when the battery power is used and cannot be normally used. A maximum normal voltage is 7.2V.
26 |
CITIZEN |
CBM-202PC-04 User’s Manual
The input port of the Gate Array has function selecting terminals. When connecting the DIP switch, and so on, connect them as they are. When fixing with a Jumper, and so on, only the terminals you want to set to "LOW" should be connected to GND.
|
Gate Array |
Function |
“LOW” |
|
“HIGH” |
|
|
|
|
|
|||
Pin No. |
|
Signal |
||||
|
|
|
|
|
||
|
|
|
|
|
|
|
33 |
|
PAI0 |
Auto cutter |
Enabled |
|
Disabled |
|
|
|
|
|
|
|
32 |
|
PAI1 |
CR change |
LF operation |
|
Ignored |
|
|
|
|
|
|
|
31 |
|
PAI2 |
Printing density |
See Table (3) |
|
|
|
|
|
|
|
|
|
30 |
|
PAI3 |
DTR/XON – XOFF |
XON – XOFF |
|
DTR/DSR |
|
|
|
|
|
|
|
29 |
|
PAI4 |
|
|
|
|
|
|
|
|
|
|
|
28 |
|
PAI5 |
Interface |
See Table (1) |
|
|
|
|
|
|
|||
27 |
|
PAI6 |
|
|||
|
|
|
|
|
||
|
|
|
|
|
|
|
26 |
|
PAI7 |
|
|
|
|
|
|
|
|
|
|
|
PAI3 is valid only when the serial interface is used.
|
Gate Array |
Function |
“LOW” |
“HIGH” |
|
|
|
|
|||
Pin No. |
|
Signal |
|||
|
|
|
|
||
|
|
|
|
|
|
43 |
|
PBI0 |
|
|
|
|
|
|
International |
See Table (2) |
|
42 |
|
PBI1 |
|||
|
characters selection |
||||
|
|
|
|
|
|
39 |
|
PBI2 |
|
|
|
|
|
|
|
|
|
38 |
|
PBI3 |
Auto loading |
Enabled |
Disabled |
|
|
|
|
|
|
37 |
|
PBI4 |
Drive system |
Dynamic drive |
Fixed division |
|
|
|
|
|
|
36 |
|
PBI5 |
Printing density |
See Table (3) |
|
|
|
|
|
|
|
35 |
|
PBI6 |
Unused |
– |
– |
|
|
|
|
|
|
34 |
|
PBI7 |
Unused |
– |
– |
|
|
|
|
|
|
PAI6 is valid only when the serial interface is used.
27 |
CITIZEN |