USER’S MANUAL Model : CBM-202PC Series Control LSI for Citizen Thermal Printer Mechanism Rev. 1.0, November 1st, 1996 Rev. 1.1, February 2nd, 1997 Japan CBM Corporation Information Systems Div.
CBM-202PC User’s Manual NOTICE 1. Description in this manual are subject to changes without prior notification. 2. Upon finding of any inappropriateness, error, or omission concerning contents of this manual, please contact us at any time. 3. Notwithstanding the above Item 2, we will not be responsible for the influences of employment of this manual.
CBM-202PC User’s Manual CONTENTS 1.OUTLINE ................................................................................................................................................................5 1.1 MODEL CLASSIFICATIONS.....................................................................................................................5 2. GENERAL SPECIFICATIONS .............................................................................................................................5 2.
CBM-202PC User’s Manual 8.2 INTERNATIONAL CHARACTER CODE TABLE..................................................................................
CBM-202PC User’s Manual 1.OUTLINE This LSI, through use of the Japan CBM Corp. gate array, serves to control CITIZEN line thermal printer, being featured by the following: (1) (2) (3) (4) (5) High print quality due to a detector which detects temperature to adjust print density automatically. Both parallel and serial interfaces are available. Print density can be freely selected with the function selection terminal. Bar-code printing is available.
CBM-202PC User’s Manual 2.4 PRINT FUNCTION (1) No. of Print Columns and Print Speed Machine Type Total No of Dots 448 Character Size (mm) Print Speed (m/s) LT-282 No of Digits 37 1.25×3.00 (Font A) 50 LT-283 34 416 0.88×2.13 (Font B) 50 LT-380 48 576 50 LT-381 48 576 50 2.5 OPERATING VOLTAGE AND CURRENT CONSUMPTION Voltage : DC 5V± 5% Current consumption : Max. 80mA 2.
CBM-202PC User’s Manual 3. HARDWARE SPECIFICATIONS 3.1 ABSOLUTE MAXIMUM RATINGS ITEM SYMBOL RATINGS Supply voltage VCC -0.3 to+7V Input voltage Vi -03 to Vcc+0.3V Reference supply voltage VREF -0.3 to AVcc+0.3V Analog supply voltage AVCC -0.3 to+7V Analog input voltage VAN -0.3 to AVcc+0.3V Operating temperature Topr -20 to+75℃ Storage temperature Tstg -55 to+125℃ 3.
CBM-202PC User’s Manual 3.3 TERMINAL PIN CONFIGURATION PIN NO.
CBM-202PC User’s Manual PIN NO.
CBM-202PC User’s Manual PIN NO. SIGNAL NAME I/O FUNCTION LOGIC 51 A14 O A14 HIGH 52 A15 O NC − 53 A16 O NC − 54 A17 O NC − 55 A18 O NC − 56 A19 O NC − 57 VSS − GND − 58 P60 O NC − 59 P61 O NC − 60 P62 O NC − 61 φ O Clock output HIGH 62 STBY I (Pull up in VCC with 10KΩ.) LOW 63 RES I Reset input LOW 64 NMI I (Pull up in VCC with 10K Ω.
CBM-202PC User’s Manual PIN NO. SIGNAL NAME I/O FUNCTION LOGIC 76 AVCC − VCC − 77 VREF − VCC − 78 THERM I Head temperature detection terminal − 79 NC I (Pull down in GND with 10K Ω.) − 80 NC I (Pull down in GND with 10K Ω.) − 81 NC I (Pull down in GND with 10K Ω.) − 82 NC I (Pull down in GND with 10K Ω.) − 83 NC I (Pull down in GND with 10K Ω.) − 84 NC I (Pull down in GND with 10K Ω.) − 85 NC I (Pull down in GND with 10K Ω.
CBM-202PC User’s Manual Pin Arrangement and Functions of Gate Array(CBM-202LA) PIN NO.
CBM-202PC User’s Manual 3.4 RESET CIRCUIT With RES terminal set to "Low", reset state is created. In order to assure resetting, it is necessary to hold "Low" for min. 20ms on supply of power and for min. 625ns while in operation. When external reset is not used, those parts inside the broken lines are not required.
CBM-202PC User’s Manual 3.5 OSCILLATION CIRCUIT A clock oscillator, being installed, generates a system clock and an internal clock. Two clock supplying methods are available including one to connect a ceramic oscillator and the other to input an external clock. When using a ceramic oscillator, you are recommended to use CSTCS16.00MX0C3 (with a condenser) manufactured by Murata Mfg. Co..
CBM-202PC User’s Manual 3.6 HEAD-UP DETECTION CIRCUIT Up/down state of the head is detected so that no power is supplied in head-up state, with the head-up sensor installed in the printer. With head UP, it becomes "OPEN". With head DOWN, it becomes "CLOSE". In head UP state, CPU's HEADUP (Pin 88) gets "HIGH", where printing is immediately stopped with error output if it is while in print operation. Printing is resumed when it becomes head DOWN.
CBM-202PC User’s Manual 3.7 HEAD DETECTION CIRCUIT VP is controlled so as to prevent the head from electrolytic etching. When turning ON the VP, set 11VC (Pin 4) of the gate array (CBM-202LA)to "HIGH". When turning it OFF, set the HVC to "LOW". It is also provided with a temperature detection circuit which serves to prevent print quality from being deteriorated or destroyed by temperature.
CBM-202PC User’s Manual 3.8 PAPER END DETECTION CIRCUIT Existence of printing paper is detected by the paper sensor which is installed in the paper not to supply power when paper runs our. Without printing paper, CPU PAPER (Pin 99) gets "HIGH". When this takes place while in printing operation, the operation stops at the end of the line, sending an error output. Printing is automatically resumed when paper is supplied.
CBM-202PC User’s Manual 3.9 MOTOR CONTROL CIRCUIT Except while in paper feed, the motor is held unexcited by CPU INH (Pin 97) so that heating of the motor is prevented. While INH is held in "HIGH", the motor is maintained unexcited. On supply of power, 4 dot lines of line feed is performed to meet the motor phase. Avoid continuous printing over 15 min.
CBM-202PC User’s Manual 3.10 AUTO CUTTER CONTROL CIRCUIT This CPU, by using the gate array (CBM-202LA), has auto cutter control function. When an auto cutter is not used, set DS1-1 to OFF. When DS1-1 is ON, alarm state is created where normal operation is interrupted.
CBM-202PC User’s Manual 3.11 PARALLEL INTERFACE CIRCUIT This circuit performs 8-bit parallel interface by mainly using the gate array ports. When the parallel interface is not used, pull up STB (Pin 52) of the gate array (CBM-202LA) through use of 10KΩ resistance. Also, either connect CPU's STB (Pin 87) to INTR (Pin 56) of the gate array or pull it up with 10K Ω resistance.
CBM-202PC User’s Manual Gate Array Signal Names and Functions SIGNAL NAME PIN NO. I/O FUNCTION STROBE 52 Input The signal to read data (negative logic) D0 51 D1 50 D2 49 D3 48 D4 47 Input Input data (positive logic) D5 46 D6 45 D7 44 ACK 59 Output Signal to indicate that data have been read. (negative logic) BUSY 55 Output Signal to indicate that data receiving is possible. (positive logic) Send data while it is in "LOW".
CBM-202PC User’s Manual 3.12 SERIAL INTERFACE CIRCUIT Serial interface applies asynchronous serial system. When not using serial interface, pull up, CPU's RXD (Pin 15) and DSR (Pin 100) with 10K Ω resistance.
CBM-202PC User’s Manual Signal Names and Functions SIGNAL NAME TXD PIN NO. 13 I/O FUNCTION Output Transmits status. When data receiving is not available while in XON/XOFF, XOFF (13H) is transmitted. When receiving is made possible, XON (11H) is transmitted. RXD 15 Input Receiving data signal. On occurrence of a framing error or parity error, the data are printed in "?".
CBM-202PC User’s Manual 3.13 SWITCH CIRCUIT This circuit is provided with switch input function for printer paper feeding. Also, a function for self printing is equipped through use of this switch. (Either supply power as pushing this switch or apply resetting in power supplied state as pushing this switch. Self printing starts automatically and, on completion of printing, normal standby state is recovered.
CBM-202PC User’s Manual 3.14 ERROR OUTPUT CIRCUIT Two kinds of error output are held for output of various errors. (Max. 10mA current can be taken for display with mainly LED, etc.. When this level is exceeded, however, CPU may be destroyed. Pay attention, therefore, to select an appropriate current control resistance, LED, etc..) CPU's LEDPE (Pin 4) is exclusively for output of paper error. When printing paper has got scarce, "LOW" is output automatically. When paper is supplied, it becomes "HIGH".
CBM-202PC User’s Manual 3.15 FUNCTION SELECTION CIRCUIT The gate array input ports have terminals for function selection. To connect a DIP switch, etc., do it as it is. When fixing with a jumper, etc., connect to GND only for those to be set to "LOW". GATE ARRAY FUNCTION “LOW” “HIGH” PAI0 Auto cutter Equipped None 32 PAI1 CR Selection LF Ignored 31 PAI2 Print density 30 PAI3 DTR/XON-XOFF 29 PAI4 28 PAI5 27 PAI6 26 PAI7 PIN NO.
CBM-202PC User’s Manual ①Interface INPUT SYSTEM PARITY Parallel − None Serial Odd Even BAUD RATE PAI7 PAI6 PAI5 PAI4 − HIGH HIGH HIGH HIGH 1200 HIGH HIGH HIGH LOW 2400 HIGH HIGH LOW HIGH 4800 HIGH HIGH LOW LOW 9600 HIGH LOW HIGH HIGH 19200 HIGH LOW HIGH LOW 1200 HIGH LOW LOW HIGH 2400 HIGH LOW LOW LOW 4800 LOW HIGH HIGH HIGH 9600 LOW HIGH HIGH LOW 19200 LOW HIGH LOW HIGH 1200 LOW HIGH LOW LOW 2400 LOW LOW HIGH HIGH 4800 LOW LOW
CBM-202PC User’s Manual ②International Characters International Characters PBI2 PBI1 PBI0 Japan (JIS) HIGH HIGH HIGH Japan (Shift JIS) HIGH HIGH LOW Sweden HIGH LOW HIGH Denmark I HIGH LOW LOW U.K. LOW HIGH HIGH Germany LOW HIGH LOW France LOW LOW HIGH U.S.A.
CBM-202PC User’s Manual 3.16 EXTERNAL RAM INTERFACE An external SRAM of 32 K bytes is always necessary for printing. connected, normal operation cannot be obtained.
CBM-202PC User’s Manual Bus Timing VCC=5.0V±10%, AVCC=5.0V±10%, VF=4.5V∼AVCC, VSS=AVSS=0V, φ2∼16MHz, TA=−20∼+75℃ ITEM SYMBOL MIN MAX 500 Clock cycle time tcyc 62.
CBM-202PC User’s Manual 31 CITIZEN
CBM-202PC User’s Manual 4.
CBM-202PC User’s Manual 5.
CBM-202PC User’s Manual 6. SPECIAL REMARKS FOR MOUNTING 6.1 CAUTIONS As relative humidity gets low, static electricity tends to be charged. Although surface mount type packages need to be stored in dry environments not to be affected by humidity, there is no worry for charging as the packages in storage are not subject to friction.
CBM-202PC User’s Manual 1) Thermal Gradient 1 On a sudden temperature increase, unevenness in temperature is produced among package parts of a surface mounting device, where difference in thermal expansion coefficients of materials can cause a warp in the package, resulting in damaged chips. Attention, therefore, should be paid to the upper limit for the increase speed. The lower limit is based on operation efficiency of the reflow device.
CBM-202PC User’s Manual 6.4 CLEANING METHOD As flux residue from soldering adversely affects reliability of parts and base PCB, it should be normally removed by cleaning. Ultrasonic cleaning, for example, is performed in the following conditions, for which cares should be taken to an applied frequency, electricity (especially, peak power), time and device resonance to prevent the device from breakage: Frequency Ultrasonic output Time Others ..... 28 to 29KHz (Device should not resonate.) .....
CBM-202PC User’s Manual 7. COMMAND LIST 1 2 3 4 5 6 7 FUNCTION CONTROL CODE HT Horizontal tab command CR Print command LF Printing and paper feed ESC SP Setting the right space amount of the character ! Collective specifying printing mode % Specifying/canceling download character set & Defining download characters CODE 09H 0DH 0DH 1BH 20H n 1BH21H n 1BH25Hn 1BH26H5nm [ap1p2...
CBM-202PC User’s Manual 31 32 33 34 35 36 37 38 39 40 41 42 w h H f * / : ^ ESC = a i m Selecting the horizontal size (scale factor) of bar code 1DH77n Selecting the height of the bar code Selecting of print position of HRI code Selecting the font of HRI code Defining the download bit image Printing the download bit image Starting/ending macro definition Executing the macro Data input control Aligning the characters Activating auto cutter (Full cut) Activating auto cutter (Partial cut) 1DH68Hn 1DH48Hn
CBM-202PC User’s Manual 8. CHARACTER CODE TABLE 8.
CBM-202PC User’s Manual 8.