Citizen CBM-202PC-04 User manual

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
2 CITIZEN
<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 erroror 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.

CBM-202PC-04 User’s Manual
3 CITIZEN
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

CBM-202PC-04 User’s Manual
4 CITIZEN
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

CBM-202PC-04 User’s Manual
5 CITIZEN
1. OUTLINE
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.
1.1 Applicable Printer
LSI Name Applicable Mechanism
CBM-202PC-04 LT-286

CBM-202PC-04 User’s Manual
6 CITIZEN
2. MAINTENANCE AND SERVICE
For the information onmaintenance 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

CBM-202PC-04 User’s Manual
7 CITIZEN
3. BASIC SPECIFICATIONS
3.1 Shape and Dimensions (Refer to the “8. SPECIFICATIONS OF PACKAGE”.)
100-pin flat package
3.2 Structure
C-MOS LSI
3.3 Data Transfer Method
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
3.4 Printing Function
(1) Printing columns and printing speed
Model Digits Total Dots Character Size (mm) Printing Speed (m/s)
32 1.25×3.00(Font A)
LT-286 42 384 0.88×3.00(Font B) 50
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
3.5 Operating Voltage and Power Consumption
• Voltage : 5V DC ±5%
• Current consumption : 80mA at maximum
3.6 Operating Frequency
• 16 MHz

CBM-202PC-04 User’s Manual
8 CITIZEN
4. HARDWARE SPECIFICATIONS
4.1 Absolute Maximum Ratings
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
4.2 Electrical Characteristics
Item Symbol MIN MAX Unit Condition
RES,STBY,NM1
MD0,MD1,MD2 Vcc–0.7 Vcc+0.3 V
EXTAL Vcc×0.7 Vcc+0.3 V
THEM 2.0 AVcc+0.3 V
Input
"HIGH"
Level
Others
VIH
2.0 Vcc+0.3 V
Input
"LOW"
level All input terminals VIL –0.3 0.5 V
Output
"HIGH"
level All output terminals V0H 3.5 – V IOH =–1
mA
RESO – 0.4 V IOH = 2.6mA
LEDER,LEDPE – 1.0 V IOL =10
mA
Output
"LOW"
level Others
V0L
0.4 V IOL = 1.6mA

CBM-202PC-04 User’s Manual
9 CITIZEN
4.3 Terminal Layout and Functions
PinNo. 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
5NC–NC –
6 LATCH Output Head latch signal LOW
7 PAPER Input Paper end input NC HIGH
8 DRQ Input DMA request LOW
9NC–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.

CBM-202PC-04 User’s Manual
10 CITIZEN
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

CBM-202PC-04 User’s Manual
11 CITIZEN
PinNo. 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 (PulluptoVCCat10kΩ)LOW
63 RES Input Reset input LOW
64 NMI Input (PulluptoVCCat10kΩ)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 (PulluptoVCCat10kΩ)HIGH
74 MD1 Input (Pull down to GND at 10kΩ)LOW
75 MD2 Input (PulluptoVCCat10kΩ)HIGH

CBM-202PC-04 User’s Manual
12 CITIZEN
PinNo. 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

CBM-202PC-04 User’s Manual
13 CITIZEN
4.4 Gate Array (CBM202LA) Terminal Layout and Functions
PinNo. 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 –

CBM-202PC-04 User’s Manual
14 CITIZEN
4.5 Reset Circuit
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.

CBM-202PC-04 User’s Manual
15 CITIZEN
4.6 Oscillation Circuit
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.

CBM-202PC-04 User’s Manual
16 CITIZEN
4.7 Head-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.

CBM-202PC-04 User’s Manual
17 CITIZEN
4.8 Head Control Circuit
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.

CBM-202PC-04 User’s Manual
18 CITIZEN
4.9 Paper End Detection Circuit
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 (Pin 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.

CBM-202PC-04 User’s Manual
19 CITIZEN
4.10 Motor Control Circuit
Avoid running the motor continuously for 15 minutes or more.

CBM-202PC-04 User’s Manual
20 CITIZEN
4.11 Auto Cutter Control Circuit
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.
Other manuals for CBM-202PC-04
1
Table of contents
Other Citizen Printer Accessories manuals

Citizen
Citizen DP-505 User manual

Citizen
Citizen PPU-700 User manual

Citizen
Citizen CBM-202LA s User manual

Citizen
Citizen CBM-202PC Series User manual

Citizen
Citizen PMU3300 User manual

Citizen
Citizen PPU-700 User manual

Citizen
Citizen PHU Series s User manual

Citizen
Citizen BD2-2860 User manual

Citizen
Citizen PMU2300III User manual

Citizen
Citizen PPU PPU-700 User manual