Specifications CONTROL BOARD MODEL BD2-2220/2221 Rev. 1.
Revision Rev. 1.00 Date 2006.10.10 Comment Newly issued CITIZEN is a registered trade mark of CITIZEN WATCH CO., LTD., Japan. CITIZEN es una marca registrada de CITIZEN WATCH CO., LTD., Japón.
CONTENTS 1. GENERAL OUTLINE...................................................................................... 1 1.1 1.2 1.3 1.4 2. FEATURES ................................................................................................................1 ACCESSORIES ..........................................................................................................2 MODEL CLASSIFICATION............................................................................................
6. INTERFACES .............................................................................................. 28 6.1 BIDIRECTIONAL PARALLEL INTERFACE (IEEE1284) ...................................................28 6.1.1 6.1.2 6.1.3 Specification ..................................................................................................................28 Description of Input/Output Signals .................................................................................
1. GENERAL OUTLINE ・This control board is used for controlling LT222X/232X through computer, etc. ・As it has a variety of functions, it can meet various kinds of applications. * This specification applies only to control board BD2-2220/2221 * The information contained herein is subject to change without prior notice. * Transfer, copy, reproduction, or alteration of this document is prohibited without permission of Citizen Systems Japan Co., Ltd. 1.
1.2 Accessories After unpacking the product, make sure the following components are present. Control board ... 1 Interface cable ... 1 (A cable of 300 mm long)* Mech FFC ... 1 (With 100-mm-long cable) * Mini-USB cable is not supplied for USB model. 1.
1.4 Configuration (Block Diagram) BD2-2220/2221 BLOCK DIAGRAM MECHANISM HEAD Thermistor CUTTER CUTTER MOTOR CUTTER SW HEAD UP SENSOR PE SENSOR PRINTER HEAD DRIVER STEPPING MOTOR DRIVER ERROR LED FLASH MEMORY 8Mbit: Foreign 16Mbit: Domestic CPU SDRAM 16Mbit PE LED PNE SENSOR FEED SW DC3.3V DC5.0V DC24.0 V OSC POWER SUPPLY DIP SW RESET VOLT SENSOR Serial Interface RS-232C INTERFACE Parallel Interface IEEE1284 Centronics USB Interface Ver 1.1 3 DC24.0V DC5.
2. BASIC SPECIFICATIONS 2.1 Printing Specifications 1) Print method: Line thermal print method (Thermal printing system) 2) Dot configuration: LT222X: 432 dots/line, LT232X:576 dots/line 3) Dot density: 8 dots/mm (203 dpi) 4) Print area: LT222X: Max. 54 mm, LT232X: Max. 72 mm 5) Number of print columns: LT222X: Max. 36 columns, LT222X: Max. 48 columns, LT222X: Max. 54 columns, LT222X: Max. 18 columns, LT222X: Max. 27 columns, LT232X: LT232X: LT232X: LT232X: LT232X: Max. Max. Max. Max. Max.
2.
2.3 Print Paper Specifications (Thermal Paper) 1) Paper width : LT222X: 58 +0,-1mm, LT232X: 80 +0,-1mm 2) Paper thickness : 60µm ~ 150µm 3) Recommended paper Nippon Paper Industries Mitsubishi Paper TF50-KS-E2D P220AC Or equivalent Print density setting should be changed according to the type and thickness of paper. Change the density setting by the Customize value setting GS ( E command. (See “7.3 Memory Switch”.) *When paper other than the specified, difference in print density may occur.
2.4 Mechanism and Peripherals Used The following mechanism and peripheral units can be connected to this control board. 1) Thermal mechanism 58 mm Paper: LT222X 80 mm Paper: LT232X 2) Auto cutter ACS-220/230 series 3) Paper near-end sensor (Option) * For the details of specification, etc., refer to the relevant manual. 2.5 Power Supply 2.5.1 Specifications 1) Operating voltage Driver power supply Vp:+24.0 VDC ±5% Logic unit power supply Vdd:+5.0 VDC ±5% :+3.3 VDC ±5% (*+5.
Cautions ・Using the power supply other than specified, bad effect may occur in printing operation, etc. ・Using the current without removing peak current may result in degradation of printing quality depending on the printing status or occurrence of low-voltage error. ・Use the power supply that can be turned off easily to prepare for emergencies. ・Power supply with overvoltage protection, overcurrent protection, and various protection circuits is recommended.
3. APPEARANCE SPECIFICATIONS Weight : Approx. 37g (Only main body) Dimensions Unit: mm * Board size and screw hole position are common to all models.
4. Connector Connection 4.1 Interface Connectors 4.1.1 Interface Connector Pin Assignment (CN1) Pin assignment Pin Signal Name RS PA Input/Output UB RS PA 1-2 3-4 5-10 11-16 17 Vdd GND Vp P-GND nFEED-SW - - - - Input 18 nERROR Output 19 nPEOUT Output 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 DTR TXD RXD DSR N.C N.C N.C N.C N.C N.C N.C N.C N.C N.C N.C N.C N.C N.C N.C N.C N.C Connector used Cable supplied Housing Terminal used Cable used Cable length N.C N.C N.C N.
4.1.2 USB Interface Connector Pin Assignment (CN8) * Only USB model Pin assignment 1 2 3 4 Signal Name VBus(+5V) -Data(D-) +Data(D+) N.C 5 GND Pin 1 2 3 4 5 Series Min B plug * Do not use a cable of longer than 5 m.
4.1.3 CN1 Connection Example * For each interface connection, refer to each item. CN1 1、2 3、4 Vdd 5~10 11~16 Vdd AC100~240V +5V GND GND Constant +24V voltage PS GND Vp P-GND 10kΩ 17 1000pF FEED SW 100Ω GND for power supply or CN1-3, 4 SW +5V 330Ω 18 330Ω 19 ERROR LED PEOUT LED 5V line of PS or CN1-1, 2 Control Board Notes: 1) As resistance 330Ω is inserted in the circuit so that current value of ERROR LED and PEOUT LED is 10 mA, use the LED with forward voltage of 2 V or so.
4.2 Mechanism Connector (CN2) 4.2.1 Mechanism Connector Pin Assignment (CN2) Pin assignment Pin 1~4 5 6 7 8 9 10 11 ~ 19 20 21 22 23 24 25 ~ 28 Signal Name Input/Output LT222X LT232X LT222X LT232X Vp N.C CLK Output LAT Output N.C STB2 Output STB1 Output TM GND TM Vdd STB3 STB4 Output STB2 STB3 Output DI Output Vp - Connector used: Function LT222X LT232X Thermal head PS N.C Clock signal for data transmission Print data latch signal N.
4.2.2 FFC-compliant Cable 36.25±0.1 33.75±0.1 1.25±0.05 0.8±0.03 0.3±0.05 Conductive side Min.4 7 Reinforcing board dimension Unit: mm 4.
4.4 Motor Connector (CN4) Pin assignment Signal Input/Output Name 1 MOTOR A+ Output 2 MOTOR BOutput 3 MOTOR AOutput 4 MOTOR B+ Output Connector used: 53047-0410 (Molex) Pin Function Motor driving signal A+ Motor driving signal BMotor driving signal AMotor driving signal B+ 4.
4.6 Paper Near-End Sensor Connector (CN6) * Option 4.6.1 Paper Near-End Sensor Connector Pin Assignment (CN6) Pin assignment Signal Input/Output Name 1 PNE-A Output 2 PNE-C Input - 3 GND Connector used: 5267-03A-X (Molex) Pin Function Photo interrupter anode Photo interrupter collector Photo interrupter cathode, emitter * At the time of shipment, pins 2 and 3 are short-circuited by JP5 and paper detection is disabled (always paper present is defined). In actual use, purchase the above connector. 4.6.
5. OPERATION PANEL 5.1 Output LED 1) PE LED ON : Paper-End detection OFF : Paper Present detection 2) ERROR LED ON : Head Up (LT2220/2320 is used), Platen Open (LT2221/2321 is used). Paper-End Blinking : Hex dump mode, memory switch setting mode, various errors, waiting for macro execution OFF : Normal operation 5.2 Details on Error and LED Indication 1) Error to recover automatically (1) Head overheat error Explanation: For overheat protection, when the temperature of head increases (approx.
(2) Head Up error (LT2220/2320 is used and MSW3-8 OFF is set.) Explanation: ERROR LED blinks during printing and when Head Up is set (with Head Up lever raised). PE LED: OFF ERROR LED: Blinks with long illumination at ON Restore Condition: Set Head Down (with Head Up lever down). PE LED ERROR LED OFF Blinks with long illumination at ON (3) Platen Open Error (LT2221/2321 is used and MSW3-8 OFF is set.
2) Restorable error (1) Head Up error (LT2220/2320 is used and MSW3-8 ON is set.) Explanation: ERROR LED blinks during printing and with Head Up. PE LED: OFF ERROR LED: Blinks with long illumination at ON Restore Condition: After Head Down, clear the error by a command. * For details of DLE ENQ 1, DLE ENQ 2, and DLE DC4 (fn=8), refer to Command Reference. PE LED ERROR LED OFF Blinks with long illumination at ON (2) Platen Open error (LT2221/2321 is used and MSW3-8 ON is set.
(3) Cutter lock error Explanation: Cutter operation is disabled. PE LED: Abnormality occurred. OFF ERROR LED: ERROR LED repeats blinking 2 times fast and blinking 1 time slow. Restore Condition: Remove the fault and restore by pressing the FEED switch (with MSW3-1 set to OFF) or by DLE EMQ 1 or 2 command (with MSW3-1 set to ON). PE LED ERROR LED OFF Repeats blinking 2 times fast and blinking 1 time slow. 3) Error impossible to restore (1) Memory check error Explanation: CPU self-diagnoses the circuit.
(2) Low voltage error Explanation: Occurs when the Vp voltage supplied to the printer is lowered. If occurred, immediately turn the power OFF. PE LED: OFF ERROR LED: ERROR LED repeats blinking 3 times fast and blinking 1 time slow. Restore Condition: Irreparable However, it can be restored by turning the power OFF and then raising the Vp voltage to the range of DC 16.9 to 27.8 V. PE LED ERROR LED OFF Repeats blinking 3 times fast and blinking 1 time slow.
4) Others (1) Paper near-end Explanation of status: When the diameter of the roll paper deceases to a certain degree (* differs with the status of using Near-End sensor), the Paper Near-End sensor responds and allows PE LED to light to indicate roll paper is low. PE LED: ON ERROR LED: OFF Restore Condition: Set another paper roll.
(3) Head Up (when LT2220/2310 is used) Explanation: When Head Up is set, ERROR LED lights. PE LED: OFF ERROR LED: ON Restore Condition: Set Head Down. PE LED ERROR LED OFF ON (3) Platen Open (when LT2221/2321 is used) Explanation: When Platen is opened, ERROR LED lights. PE LED: OFF ERROR LED: ON Restore Condition: Close Platen. PE LED ERROR LED OFF ON (4) Waiting for a macro execution Explanation: The printer is waiting for a macro execution by ESC/POS’s commands.
5.3 Feed Switch Function • When pressed once, paper feed of one line occurs based on the amount of line feed set by ESC 2 and ESC 3. However, paper feed is not available in the following cases. (1) When the FEED switch is set to disable by ESC c 5 (2) When paper-end detector detected no paper (3) With Head Up.
5.3.1 Self-printing 1) Function Function to enable the printer setting status to be verified by printing 2) Start of self-printing When the power is turned on with the FEED switch pressed and held in print ready state, printer status is printed on the roll paper. Explanation of printed item is as shown below. (1) Printer type name BD2-2220 (2) ROM version VX.
5.3.2 Hexadecimal Dump Printing 1) Function Prints the data sent from the host in hexadecimal code and the corresponding characters. 2) Starting hexadecimal dump With paper set and Head Up (or Platen Open), turn the power on while pressing and holding the FEED switch. Set Head Down (or Platen Close). Then “HEX dump print mode” is printed on the roll paper followed by the printing of data received thereafter in hexadecimal numbers and corresponding characters.
5.3.3 Memory Switch Setting Mode 1) Settable memory switch MSW1、MSW2、MSW3 2) Starting memory switch setting mode With paper set and Head Up (or Platen Open), turn the power on while pressing and holding the FEED switch and then press the FEED switch twice, set Head Down (or Platen Close) to start the setting mode. After the setting mode is started, the guidance of setting content and operation method is printed.
6. INTERFACES 6.1 Bidirectional Parallel Interface (IEEE1284) 6.1.1 Specification 1) Compatibility Mode (Host → Printer Communication: Centronics Compliant) (1) Outline Compatibility Mode is a standard of Centronics interface that has been used for long. (2) Specification Data transfer system: 8 bit parallel Synchronization: By the nStrobe signal supplied from outside Handshake: By the nAck signal and Busy signal Signal level: All signals are TTL compatible.
6.1.2 Description of Input/Output Signals 1) Input/Output Signals Explanation of input/output signals [1] Input/Output Signals (Compatibility Mode) (1) Input signals to the printer ・DATA0 ~ 7: 8 bit parallel signal (positive logic) ・nSTROBE: Strobe signal for reading out 8-bit data (negative logic) ・nRESET: Applies reset by the nRESET signal in Compatibility Mode. (Can be disabled by the setting:Msw3-3) Reset signal is invalid for nSelectIn/1284-Active “HIGH”.
・SELECT: Always non-active (“LOW”). ・nFAULT: Signal to set “LOW” when the printer is in the error state (negative logic). ・PE: Signal to be output with No paper or near-end state (by command setting) (positive logic) Note: When using a command followed by FROM writing, printer may temporarily become BUSY (DTR) at the time of write operation. In this case, as the printer cannot make any processing, data transmitted may possibly be discarded.
3) Timing chart (Compatibility Mode) Data input and print timing Power supply DATA T2 nSTROBE T6 T1 T3 T4 BUSY nACK (Note) T5 T1,T2,T3 T4 T5 T6 : : : : 0.5 µs MIN 270ns MAX 2.3 µs TYP 1200ms MIN (At power on) Figure Timing Chart Note: ACK output position can be changed to ACK in BUSY, ACK while BUSY, or ACK after BUSY by the setting of customize value. 4) Buffer full state Buffer full state is when the remaining capacity of input buffer is as shown below.
5) Reverse Mode (Nibble/Byte) mode allows status to be transmitted from the printer. (Using GS a, DLE EOT n, GS r, of GS I command) ・The transmitting buffer of the printer is 99 bytes. The host must transfer to Reverse Mode to prevent loss of status. Being in the Reverse Idle state is desired when using ASB. If this is not possible, always monitor the presence or absence of the transmitting data from the printer. The ASB not transmitted but accumulated is transmitted together (OR) with the latest status.
6.2 RS-232C Serial Interface 6.2.1 Specification 1) Synchronization: Asynchronous 2) Baud rate 2400, 4800, 9600, 19200, 38400, 57600, 115200 bps (User selection) 3) Word configuration Start bit: 1 bit Data bit: 7 bits or 8 bits (User selection) Parity bit: Odd, even, or no parity (User selection) Stop bit: 1 bit or more 4) Signal polarity RS-232C ・Mark =Logic ”1” (-3V to-12V) ・Space =Logic ”0” (+3V to +12V) 6.2.
・State to become BUSY 1.Period from Reset (including reset by NV memory write command, I/F signal, and test print command) or just after printer power on to printer operation ready state. 2.Under test printing 3.Input buffer full state (Refer to “(2) Buffer full state”.) 4.During Head Up (or Platen Open) 5.Under line feeding with FEED switch 6.Waiting for pressing FEED switch at the execution of macro 7.No paper state 8.Error state BUSY regardless of memory SW setting under the above 1 to 3 conditions.
2) Buffer full state Buffer full state is when the remaining capacity of input buffer is as shown below. Table Input Buffer Full Set Value Buffer Full Clear 4K bytes Remaining 128 bytes Remaining 256 bytes 45 bytes Remaining 16 bytes Remaining 26 bytes ・When the remaining capacity of input buffer is 0 byte, data received is read and discarded. 3) Data receive error When any of the following error occurs, data is printed as “?” or read and discarded (Msw1-4).
6.2.3 Connection to Serial Port 1) Connection to 25-pin/9-pin serial port CN1 25-pin Serial interface CN1 9-pin Serial interface *The above wiring is an example of standard connection to the host. If the cable is relayed, it is necessary to take such measures as connecting DTR/DSR and RXD/TXD reversely, etc. 2) Connection to other serial port To connect to the connector other than the above, verify the status of various signals and connect properly. 6.
7. Function Selection When using this control board, some functions can be set to default. 7.1 Jumper Turn the printer power off before changing jumper setting. Jumper No. JP1 JP2 JP3 JP4* JP5 Function Auto cutter Mechanism used Auto loading Platen Open sensor PNE sensor Open Enable ●LT2220/2221 ●Enable ●Enable Enable Short ●Disable LT2320/2331 Disable Disable ●Disable * Disabled (Short) for BD2-2221. ●Default (factory setting) 7.
7.3 Memory Switches Memory switch is a generic name for the following: Memory switches MSW1, MSW2, and MSW3 Customize value Serial Interface Communication Conditions 1) Memory switches MSW1, MSW2, and MSW3 No.
2) Customize value Customize value can be set by the GS (E command.
8.
○ Line Feed Span Commands Control Function Command ESC 2 Specifying 1/6-inch line feed rate ESC 3 Setting line feed rate of minimum pitch ○ Bit Image Commands Control Function Command ESC * Specifying the bit image mode GS * Defining the download bit image GS / Printing the downloaded bit image GS v 0 Printing of raster bit image ○ Status Commands Control Function Command DLE EOT Sending status in real-time GS a Enabling/disabling ASB (Automatic Status Back) GS r Sending status ○ Paper Detecting Commands Co
○ Bar Code Commands Control Function Command GS H Selecting of printing position of HRI characters GS f Selecting the font of HRI characters GS h Specifying the height of the bar code GS k Printing the bar code GS w Specifying the horizontal size (magnification) of bar code ○ Commands for Flash Memory Control Function Command FS p Printing the bit image in flash memory FS q Defining the bit image in flash memory ○ Printer Setting Commands Control Function Command GS ( E User-defined command GS ( K Selectin
9. CHARACTER CODE TABLE 9.1 Code Page 9.1.
9.1.
9.1.
9.1.
9.1.
9.1.
9.1.
9.1.
9.1.
9.1.
9.1.11 Codepage 00H to 7FH & WPC1252 3 4 5 6 7 8 0 @ P ` p € ! 1 A Q a q " 2 B R b r XOFF # 3 C S c DC4 $ 4 D T % 5 E 6 & 6 7 ' 0 0 1 NUL DLE 1 XON 2 3 4 EOT 5 ENQ 8 CAN 2 9 A B C D E F ° À Ð à ð ‘ ¡ ± Á Ñ á ñ ¸ ’ ¢ ² Â Ò â ò s ƒ “ £ ³ Ã Ó ã ó d t ,, ” ¤ ´ Ä Ô ä Ô U e u ...
9.1.
9.