User Manual December 2010 Revision 2.1 OCD 100 / 150 Customer Display Copyright 2010 March. All Rights Reserved Manual Version 2.0 The information contained in this document is subject to change without notice. We make no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. We shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material. This document contains proprietary information that is protected by copyright. All rights are reserved. No part of this document may be photocopied, reproduced or translated to another language without the prior written consent of the manufacturer. General Notice: All the company names used herein are for identification purposes only and may be trademarks of their respective companies. 2 Safety IMPORTANT SAFETY INSTRUCTIONS 1. To disconnect the machine from the electrial power supply, turn off the power switch and remove the power cord plug from the wall socket. The wall wall socket must be easily accessible and in close proximity to the machine. machine. 2. Read these instructions carefully. Save these instructions for future reference. 3. Follow all warnings and instructions marked on the product. 4. Do not use this product near water. 5. Do not place this product on an unstable cart,stand,or table.The product may fall, causing serious damage to the product. 6. Slots and openings in the cabinet and the back or bottom are provided for ventilation;to ensure reliable operation of the product and to protect it from overheating. These openings must not be blocked or covered.The openings should never be blocked by placing the product on a bed, sofa, rug, or other similar surface.This product should never be placed near or over a radiator or heat register,or in a built-in installation unless proper ventilation is provided. 7. This product should be operated from the type of power indicated on the marking label.If you are not sure of the type of power available, consult your dealer or local power company. 8. Do not allow anything to rest on the power cord. Do not locate this product where persons will walk on the cord. 9. Never push objects of any kind into this product through cabinet slots as they may touch dangerous voltage points or short out parts that could result in a fire or electric shock.Never spill liquid of any kind on the product. FCC This device complies with part 15 of the FCC rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference (2) This device must accept any interference received, including interference that may cause undesired operation. CE Mark This device complies with the requirements of the EEC directive 2004/108/EC with regard to ŖElectromagnetic compatibilityŗ and 2006/95/EC ŖLow Voltage Directiveŗ. 3 LEGISLATION AND WEEE SYMBOL 2002/96/EC Waste Electrical and Electronic Equipment Directive on the treatment, collection, recycling and disposal of electric and electronic devices and their components. The crossed dustbin symbol on the device means that it should not be disposed of with other household wastes at the end of its working life. Instead, the device should be taken to the waste collection centers for activation of the treatment, collection, recycling and disposal procedure. To prevent possible harm to the environment or human health from uncontrolled waste disposal, please separate this from other types of wastes and recycle it responsibly to promote the sustainable reuse of material resources. Household users should contact either the retailer where they purchased this product, or their local government office, for details of where and how they can take this item for environmentally safe recycling. Business users should contact their supplier and check the terms and conditions of the purchase contract. This product should not be mixed with other commercial wastes for disposal. 4 Revision History Revision Description Number Revision Date 1.0 First release 2007/12/12 1.1 Add OCD150 model 2009/05/13 2.0 2.1 Update for new VFD module: - configuration by software (no dip-switches) - non volatile EEPROM to store configuration - supports user defined character set - software utilities to configure VFD, define character set and update firmware - Added dimensional drawings Add Odd parity option Update AEDEX command set 2010/03/31 2010/12/27 Table of Contents 1. CHECKLIST ........................................................................................................ 7 2. FEATURES .......................................................................................................... 8 3. SPECIFICATION ................................................................................................. 9 4. DIMENSIONS .................................................................................................... 10 4.1 4.2 OCD 100 .............................................................................................................. 10 OCD 150 .............................................................................................................. 11 5. COLOR CLIP INSTALLATION .......................................................................... 12 6. INTERFACE ...................................................................................................... 13 6.1 6.2 6.3 7. 7.1 7.2 SPECIFICATION ...................................................................................................... 13 DISPLAY BASE ....................................................................................................... 13 CONNECTOR .......................................................................................................... 14 DRIVER INSTALLATION................................................................................... 16 DRIVER LIST .......................................................................................................... 16 USB DRIVER INSTALLATION .................................................................................... 16 8. SOFTWARE UTILITY ........................................................................................ 17 9. SOFTWARE STATUS SETTING COMMANDS ................................................. 17 9.1 9.2 9.3 9.4 9.5 9.6 9.7 9.8 9.9 9.10 BAUD RATE SETTING COMMAND ............................................................................. 17 PARITY CHECK SETTING COMMAND......................................................................... 17 DATA LENGTH SETTING COMMAND .......................................................................... 18 INTERNATIONAL CHARACTER SET SETTING COMMAND.............................................. 19 SELECT INTERNATIONAL CHARACTER SET COMMAND ............................................... 20 SELECT CHARACTER CODE TABLE COMMAND .......................................................... 20 COMMAND TYPE SETTING COMMAND ...................................................................... 21 RUN DEMO MESSAGE ............................................................................................. 21 SHOW FIRMWARE VERSION .................................................................................... 21 USER-DEFINE CHARACTER COMMAND-SET ............................................................. 22 10. COMMAND LIST TABLE .................................................................................. 23 11. COMMAND DETAILS ........................................................................................ 25 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 POS7300 SERIES COMMAND LIST .......................................................................... 25 CD5220 STANDARD MODE COMMAND LIST ............................................................. 28 UTC STANDARD MODE COMMAND LIST ................................................................... 31 UTC ENHANCED MODE COMMAND LIST .................................................................. 31 AEDEX/EMAX MODE COMMAND LIST .................................................................... 32 ADM787/788 MODE COMMAND LIST ........................................................................ 32 DSP800 MODE COMMAND LIST .............................................................................. 33 EPSON ESC/POS COMMAND LIST ........................................................................ 34 12. CHARACTER SET ............................................................................................ 36 12.1 12.2 CHARACTER CODES 20H Ŕ 7FH ............................................................................. 36 CHARACTER CODES 80H Ŕ FFH ............................................................................. 37 APPENDIX A - COMMAND DETAILS ...................................................................... 44 APPENDIX B - CONTROL CODE SET .................................................................... 46 6 1. Checklist Customer Display ( OCD100) USB Cable RS232 Cable Power Adapter Driver Bank CD 3 pieces of Colour Bezel (purple, orange, green) 7 (OCD150) 2. Features 1. Data is displayed on 20 columns x 2 lines. 2. BlueŔgreen color and large characters are easy to see. 3. No dip switches to set options: the system settings are stored in a non-volatile EEPROM. 4. Command emulation modes: POS7300, EPSON ESC/POS, ADM787/ ADM788, DSP800, AEDEX/ EMAX, UTC, and CD5220. 5. The display area can be controlled by a window function. 6. RS-232C interface, with baud rate from 4800 to 38400 bps. 7. USB Interface support (virtual COM port, need to install the provided USB to COM driver) 8. Reverse characters can be specified using the Epson command set. 9. Supports user-defined characters and downloading setup parameters to the display. User-defined characters are stored in non-volatile EEPROM. 10. Software utilities provided to configure the customer display, design user-defined characters and update the firmware. 8 3. Specification NO Item Description 1 Display method Vacuum fluorescent display 2 Number of characters 40 characters (20 columns x 2 lines) 3 Character font 5 x 7 Dot matrix 4 Display color Blue green 5 Brightness 700 cd /m2 6 Character type 96 alphanumeric 25 kinds of international character sets 1 kind of user defined character set 7 Tilt angle 20 degrees 8 Character size 9.0mm x 5.25mm 9 Power External +12V / 6W power adapter 10 Dimensions 224(w) x 119(h) x 124(d) mm 11 Operating temperature 5 Ŕ 45 oC 12 Operating Humidity 30%-85% 13 Storage Temperature -10 - 55 oC 14 Storage Humidity 10%-85% 15 MTBF 25,000 hours 9 4. Dimensions All dimensions in mm 4.1 OCD 100 10 4.2 OCD 150 11 5. Color Clip Installation Below Installation procedure are applicable to both OCD100 and OCD150. B B A A CLIPS (A AND B LOCATION) ON THE FRONT BEZEL OF THE VFD. A A B B Make sure the clips align correctly to the front bezel. Press the clip properly fix to the bezel 12 6. Interface 6.1 Specification Data transmission Serial / USB Synchronization Asynchronous Handshaking DTR / DSR MARK = -3 to Ŕ15 V (logic Ŗ1ŗ) Signal level SPACE = +3 to +15 V (logic Ŗ0ŗ) Baud rates 4800,9600,19200,38400 bps Parity None, even Bit length 7 or 8 bits Stop bits 1 bit 6.2 Display Base The picture below shows the configuration of the stand alone VFD Pole Display base. VFD Pole Display Base RS232 configuration USB configuration 13 6.3 Connector USB RJ45 POWER PWR: Power input connector from adapter Connector type: DC jack (5.5mm/2.1mm) Pin assignment No + - Signal Vin GND USB connector: Connector type: USB type B Pin assignment Pin 1 Pin 3 +5V_Bus USB_P+ Pin 2 Pin 4 USB_PGND 14 COM RJ45: Connect to display panel Connector type: Phone-jack 10P/8C 10 1 Pin assignment Pin 1 Pin 3 Pin 5 Pin 7 Pin 9 +5V_VBus +12V RS232_DTR RS232_DSR# RS232_RX# Pin 2 Pin 4 Pin 6 Pin 8 Pin 10 +12V GND USB_PRS232_TX# USB_P+ COM: RS232C link to PC/HOST connector (9-pin) Connector type: D-sub 9 pin female Pin assignment Pin 1 Pin 3 Pin 5 Pin 7 Pin 9 +12V_COM RS232_TX# GND RS232_RTS# N/C Pin 2 Pin 4 Pin 6 Pin 8 RS232_RX# RS232_DTR RS232_DSR# RS232_DSR# 15 7. Driver Installation 7.1 Driver List Folder/File File Description <CD>:\OCD100_150.htm OCD 100/150 Driver List <CD>:\Common\USB2COM\PL-2303HX USB-VFD PL2303 Driver 7.2 USB Driver Installation a. Double click b. Click Next. PL2303_Prolific_DriverInstaller_v10518 to start the driver installation c. Click the Finish button. The driver will be installed on the first free COM port in the system. In general this will be COM7, but the actual number may be different, depending on your system configuration. You can check the actual COM port used by the customer display in the Windows Device Manager. 16 8. Software Utility A Customer Display configuration utility is provided on the driver CD at <CD>:\Common\CustomerDisplay. The utility also includes a font editor and provides firmware update functionality. 9. Software Status Setting Commands The Software Status Setting Commands described below are applicable to OCD100 and OCD150. When the system is powered on, it will read the EEPROM setting to set the Command Type, Baud Rate, Parity, Data Length, Demo Mode setting and International Character Set. The user can change the Software Status Setting Commands using the command sequences described below: 9.1 Baud Rate Setting Command STX 05 B n ETX ASCII Format Dec. Format Hex. Format Description n 31h 30h 37h 36h /Change the baud rate setting/ STX 05 B n ETX [02] [05] [66] n [03] [02h][05h][42h] n [03h] n=30h, 31h, 36h or 37h Change the display communication baud rate. The baud rate setting can be selected from 4800 to 38400. Baud rate 4800 9600 19200 38400 9.2 Parity Check Setting Command STX 05 P n ETX ASCII Format Dec. Format Hex. Format Description n 31h 33h 35h /Change the Parity check setting/ STX 05 P n ETX [02] [05] [80] n [03] [02h][05h][50h] n [03h] n=31h, 33h, 35h Change the display communication parity. Set 8 data bit and the parity set for even or non-parity. Parity check None Even Odd 17 9.3 Data Length Setting Command STX 05 L n ETX ASCII Format Dec. Format Hex. Format Description /Change the Data Length Setting/ STX 05 L n ETX [02] [05] [76] n [03] [02h][05h][4Ch] n [03h] n=37h, 38h Change the display communication data length. Set 8-bits or 7-bits data length. n 37h 38h Data Length 7 bits 8 bits 18 9.4 International Character Set Setting Command STX 05 S n ETX ASCII Format Dec. Format Hex. Format Description n /Change the international character set/ STX 05 S n ETX [02] [05] [83] n [03] [02h][05h][53h] n [03h] 30h≦n≦4Fh Change the display international character font. Character Set (20h – 7Fh) 30h U.S.A. 31h 32h 33h 34h 35h 36h 37h 38h 39h 3Ah 3Bh 3Ch 3Dh 3Eh 3Fh 40h 41h 42h 43h 44h 45h 46h 47h 48h 49h 4Ah ~ 4Eh 4Fh FRANCE GERMANY U.K. DENMARK I SWEDEN ITALY SPAIN JAPAN NORWAY DENMARK II Slawie RUSSIA U.S.A. U.K. U.S.A. U.S.A. U.S.A. U.S.A. U.S.A. U.S.A. U.S.A. U.S.A. U.S.A. U.S.A. U.S.A. Reserved Code Table (80H-FFH) CP-437 (USA, Standard Europe) CP-858 (Multilingual + Euro Symbol) Katakana CP-858 (Multilingual+ Euro Symbol) CP-860 (Portuguese) Greek CP-852 (Hungary) CP-862 (Hebrew) CP-863 (Canadian-French) CP-865 (Nordic) CP-866 (Cyrillic) Windows-1251 (Cyrillic) Windows-1252 (West European Latin) Windows-1255 (Hebrew) Windows-1257 (Baltic) Windows-1253 (Greek) Windows-1250 (East European Latin) Reserved User-Defined Character Set 19 Note 9.5 Select International Character Set Command STX 05 T n ETX ASCII Format Dec. Format Hex. Format Description /Select International Character Set Command/ STX 05 T n ETX [ 02] [05] [84 ] n [0 3] 00h≦n≦1Fh [02h][05h][54h] n [03h] Select International Character Set Select international character set (20H~7Fh) by command ŖSTX 05 T n ETXŗ n 00h 01h 02h 03h 04h 05h International character set U.S.A. FRANCE GERMANY U.K. DENMARK I SWEDEN n International character set 06h ITALY 07h SPAIN 08h JAPAN 09h NORWAY 0Ah DENMARK II 0Bh SLAVONIC n International character set 0Ch RUSSIA 0Dh Not used 0Eh Not used 0Fh Not used 1Fh User-Defined 9.6 Select Character Code Table Command STX 05 U n ETX ASCII Format Dec. Format Hex. Format Description /Select Character Code Table Command/ STX 05 U n ETX [ 02] [05] [85 ] n [0 3] 00h≦n≦1Fh [02h][05h][55h] n [03h] Select Character Code Table Select character code table (80H~FFh) by command ŖSTX 05 U n ETXŗ n Character code table n Character code table n Character code table CP-437 00h 07h Russia 0Fh Windows-1257 (Baltic) (USA, Standard Europe) Windows-1252 01h Katakana (for Japan) 08h Greek 10h (West European Latin) 02h CP-850 (Multilingual) 09h CP-852 (Hungary) 11h Windows-1253 (Greek) 03h CP-860 (Portuguese) 0Ah CP-862 (Hebrew) 12h 04h CP-863 (Canadian-French) 0Bh CP-866 (Cyrillic) Windows-1250 (East European Latin) CP-858 (Multilingual+ 13h Euro Symbol) 05h CP-865 (Nordic) 0Ch Windows-1251 (Cyrillic) 1Fh User-Define 06h Slawie 0Eh Windows-1255 (Hebrew) 20 9.7 Command Type Setting Command STX 05 C n ETX ASCII Format Dec. Format Hex. Format Description n 30h 31h 32h 33h /Change the command type setting/ STX 05 C n ETX [02] [05] [67] n [03] [02h][05h][43h] n 30h≦ n≦37h [ 0 3 h ] This command will change the command type and initialize the display. The display emulation mode is based on DSP800/ ESC/ ADM 787/ POS7300/ AEDEX/ UTC/ CD5220 mode. Command Type DSP800 ESC/POS POS7300 ADM 787 n 34h 35h 36h 37h Command Type AEDEX UTC/P UTC/S CD5220 9.8 Run Demo message STX 05 D 08 ETX ASCII Format Dec. Format Hex. Format Description /Run demo message/ STX 05 D 08 ETX [02][05][68][08][03] [02h][05h][44h][08h][03h] Run demo message for the display. The demo message is available in POS7300, DSP800, EPSON ESC/POS and CD5220 command modes. 9.9 Show Firmware Version STX 05 V 01 ETX ASCII Format Dec. Format Hex. Format Description /Show Firmware Version/ STX 05 V 01 ETX [02][05][86][01][03] [02h][05h][56h][01h][03h] Show firmware version. 21 9.10 User-Define Character Command-Set Function Command Del 1 Character [02h][FDh][55h][00h][n] Del All Characters [02h][FDh][55h][01h][00h] Set 1 Character [02h][FDh][55h][02h][n] [m1][m2][m3][m4][m5] Read 1 Character [02h][FDh][55h][03h][n] Read All Characters [02h][FDh][55h][04h][00h] Description Delete one user defined character data [n] = 20h ~ FFh for displayable character codes Delete All User-Define Characters Set one user defined character [n] = 20h ~ FFh for displayable character codes [m1]~[m5] = Character data byte 1 ~ 5 Ref. table in bellow Read one user define character data [n] = 20h ~ FFh for displayable character codes Read all user defined character data (Character 20h ~ FFh) Set User-Define Character 5x7 dot layer out Bit assignment: bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit0 5x7 dot bit assignment: 1 means fill dot, 0 means empty dot. Ex: character Ŗ0ŗ m1 byte data = 0x74 m2 byte data = 0x67 m3 byte data = 0x5C m4 byte data = 0xC5 m5 byte data = 0xC0 m1 bit 7 m1 bit 6 m1 bit 5 m1 bit 4 m1 bit 3 m1 bit 2 m1 bit 1 m1 bit 0 m2 bit 7 m2 bit 6 m2 bit 5 m2 bit 4 m2 bit 3 m2 bit 2 m2 bit 1 m2 bit 0 m3 bit 7 m3 bit 6 m3 bit 5 m3 bit 4 m3 bit 3 m3 bit 2 m3 bit 1 m3 bit 0 m4 bit 7 m4 bit 6 m4 bit 5 m4 bit 4 m4 bit 3 m4 bit 2 m4 bit 1 m4 bit 0 m5 bit 7 m5 bit 6 m5 bit 5 22 10. Command List Table Command Set Command Move cursor right Move cursor left Move cursor up Move cursor down Move cursor to right-most position Move cursor to left-most position Move cursor to home position Move cursor to bottom position Move cursor to specified position Clear display screen Clear cursor line Brightness adjustment Blink display screen Initialize display Select character code table Select international character set Select/cancel reverse character Overwrite mode Vertical scroll mode Horizontal scroll mode Set/cancel the window range Select peripheral device Set starting/ending position of macro definition Execute and quit macro Execute self-test Display time Display time continuously Display position Cursor on/off Change to UTC enhanced mode Change to UTC standard mode Write string to upper line Upper line message continuous scroll Bottom line message scroll continuously Message vertical down scroll continuously Message vertical upper scroll continuously Carriage return Line feed Back space Horizontal tab Command type select Upper line message scroll once pass Change attention code Two line display Clear upper line and move cursor to upper left-end position Clear bottom line and move cursor to bottom left-end position Set period to upper line, last n position Set line blinking, upper line Clear line blinking, upper line Clear field 1 and move cursor to field 1, first position Clear field 2 and move cursor to field 2,first position POS 7300 O O O O O O O O O O O O O O O O O O O O O O CD 5220 O O O O O O O O O O O O O O O O O O O O O EPSON D101 O O O O O O O O O O O O O O O O O O O O O O UTC/S UTC/P AEDEX ADM 788 DSP 800 O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O 23 Command Set Command Clear display range from n position to m position and move cursor to n position Save the current displaying data to n layer for demo display Turn annunciator on/off Specify period Specify comma Specify semicolon (period + comma) Set/Cancel User-Define Character Set Create User-define Character Delete All User-Define Character Store User-Define Character to EEPROM Load User-Define Character from EEPROM Delete 1 User-Define Character POS 7300 CD 5220 EPSON D101 UTC/S UTC/P AEDEX ADM 788 DSP 800 O O O O O O O O O O O O O O O O O 24 11. Command Details 11.1 POS7300 Series Command List POS7300 Standard Mode Command List-1 Command ESC F A [DATA] CR ESC F B [DATA] CR ESC F D [DATA] CR ESC F O [DATA] CR Code (hex) 1B 46 41 [DATA] 0D 1B 46 42 [DATA] 0D 1B 46 44 [DATA] 0D 1B 46 4F [DATA] 0D ESC P x y 1B 50 x y ESC _ n 1B 5F n ESC DC1 ESC DC2 ESC DC3 ESC @ 1B 11 1B 12 1B 13 1B 40 US MD1 n 1F 01 n US MD2 n 1F 02 n US DC1 n 1F 11 n US DC2 n 1F 12 n US # n x 1F 23 n x US , n 1F 2C n US . n 1F 2E n US ; n 1F 3B n US @ 1F 40 US E n 1F 45 n US T h m 1F 54 h m Function Description Write string to upper line Maximal [DATA] length is 40 Write string to lower line Maximal [DATA] length is 40 Upper line message scroll continuously Maximal [DATA] length is 40 Bottom line message scroll continuously Maximal [DATA] length is 40 Move cursor to specified position x = 1 ~ 14h, for columns location. y = 1 ~ 2, for lines location. Set cursor on/off n = 00 ~ 01 Overwrite mode Vertical scroll mode Horizontal scroll mode Initialize display Message vertical upper scroll continuously n = 01 ~ 0Ch Message vertical down scroll continuously n = 01 ~ 0Ch Set line blinking n = ř1ř ~ ř2ř n = ř1ř up line n = ř2ř low line Clear line blinking n = ř1ř ~ ř2ř n = ř1ř up line n = ř2ř low line Turn annunciator on/off. n = 0 for annunciator off n = 1 for annunciator on x = 1 ~ 14h, for columns location. Specify comma n = a displayable character code Specify period n = a displayable character code Specify semicolon (period + comma) n = a displayable character code Execute self - test Blink display screen n = 00h ~ FFh n = 0 for no blink Display time 0 ≦ h ≦ 17h, for hours setting. 0 ≦ m ≦ 3Bh, for minutes setting. 25 Command US U Code (hex) 1F 55 US X n 1F 58 n US r n 1F 72 n NULL H NULL K NULL M NULL P NULL G NULL O BS HT LF HOM US B CLR CLR CR CAN 0 48 0 4B 0 4D 0 50 0 47 0 4F 08 09 0A 0B 1F 42 0C 12 0D 18 DLE n 10 n ESC W n s x1 y1 x2 y2 1B 57 n s x1 y1 x2 y2 ESC R n 1B 52 n ESC t n 1B 74 n ESC = n 1B 3D n Function Description Display time continuously Brightness adjustment n=1~ 4 Select/cancel reverse character. n = 00,01 Move cursor up Move cursor left Move cursor right Move cursor down Move cursor to left-most position Move cursor to right-most position Back space Horizontal tab Line feed Move cursor to home position Move cursor to bottom position Clear display screen Carriage return Clear cursor line, and clear string mode Display position n = 0 ~ 27h, for location. Set or cancel the window range n = 1 ~ 4, for window number s = 0: cancel s = 1: set 1 ≦ x1 ≦ x2 ≦ 14h, for columns location. 1 ≦ y1 ≦ y2 ≦ 2, for lines location. Select international character set (20H~7Fh). n = 00 ~ 1Fh. See note *1 Select character code table (80H~FFh). n = 00 ~ 1Fh. See note *2 Select peripheral device, display or printer n = 1~3 n = '1': enable printer only n = '2': enable display only n = '3': enable both of printer and display Note: 1. Select international character set (20H~7Fh) by command ŖESC R nŗ n 00h 01h 02h 03h 04h International character set U.S.A. FRANCE GERMANY U.K. DENMARK I n International character set 05h SWEDEN 06h ITALY 07h SPAIN 08h JAPAN 09h NORWAY 26 n International character set 0Ah DENMARK II 0Bh SLAVONIC 0Ch RUSSIA 1Fh User Defined 2. Select character code table (80H~FFh) by command ŖESC t nŗ n Character code table n Character code table n Character code table CP-437 00h 07h Russia 0Fh Windows-1257 (Baltic) (USA, Standard Europe) Windows-1252 01h Katakana (for Japan) 08h Greek 10h (West European Latin) 02h CP-850 (Multilingual) 09h CP-852 (Hungary) 11h Windows-1253 (Greek) Windows-1250 03h CP-860 (Portuguese) 0Ah CP-862 (Hebrew) 12h (East European Latin) CP-863 CP-858 (Multilingual+ 04h 0Bh CP-866 (Cyrillic) 13h (Canadian-French) Euro Symbol) 05h CP-865 (Nordic) 0Ch Windows-1251 (Cyrillic) Windows-1255 06h Slawie 0Eh 1Fh User Defined (Hebrew) 27 11.2 CD5220 Standard Mode Command List Command ESC DC1 US SOH ESC DC2 US STX ESC DC3 US ETX Code (hex) 1B 11 1F 01 1B 12 1F 02 1B 13 1F 03 ESC Q A [DATA] CR 1B 51 41 [DATA] 0D ESC Q B [DATA] CR 1B 51 42 [DATA] 0D ESC Q D [DATA] CR ESD [ D BS ESC [ C HT ESC [ A US LF ESC [ B LF ESC [ H HOM ESC [ L CR ESC [ R US CR ESC [ K US B 1B 51 44 [DATA] 0D 1B 5B 44 08 1B 5B 43 09 1B 5B 41 1F 0A 1B 5B 42 0A 1B 5B 48 0B 1B 5B 4C 0D 1B 5B 52 1F 0D 1B 5B 4B 1F 42 ESC # n 1B 23 n US @ 1F 40 US E n 1F 45 n ESC I x y 1B 6C x y US $ x y 1F 24 x y ESC # n 1B 23 n US E n 1F 45 n ESC I x y 1B 6C x y ESC @ 1B 40 Function Description Overwrite mode Vertical scroll mode Horizontal scroll mode Set the string display mode, write string to upper line. *1 Maximal [DATA] length is 20 Set the string display mode, write string to lower line. *1 Maximal [DATA] length is 20 Upper line message scroll continuously. *1 *2 Maximal [DATA] length is 40 Move cursor left Move cursor right Move cursor up Move cursor down Move cursor to home position Move cursor to left-most position Move cursor to right-most position Move cursor to bottom position Command type select n = 30h ~ 37h Execute self test Blink display screen n = 00h ~ FFh n = 0 for no blink Move cursor to specified position x = 1 ~ 14h, for columns location. y = 1,2, for lines location. Command type select n = 30h ~ 37h Blink display screen n = 00h ~ FFh n = 0 for no blink Move cursor to specified position x = 1 ~ 14h, for columns location. y = 1,2, for lines location. Initialize display 28 Command Code (hex) ESC W s x1 x2 y 1B 57 s x1 x2 y CLR CAN ESC * n US X n 0C 18 1B 2A n 1F 58 n ESC _ n 1B 5F n ESC f n 1B 66 n ESC c n 1B 63 n ESC = n 1B 3D n Function Description Set or cancel the window range at horizontal scroll mode 1 ≦ x1 ≦ x2 ≦ 14h, for columns location. y = 1~2, for lines location. s = 0: cancel s = 1: set Clear display screen, and clear string mode Clear cursor line, and clear string mode Brightness adjustment n = 1 ~ 4, n = 4 for highest brightness Set cursor on/off n = 1: cursor on n = 0: cursor off Select international Character About n, refer. *3 Select character code table About n, refer. *4 Select peripheral device, display or printer n='1': enable printer only n='2': enable display only n='3': enable both of printer and display Note: 1. While using command ŖESC Q Aŗ or ŖESC Q Bŗ, other commands cannot be used except when using command ŖCLRŗ or ŖCANŗ to change operating mode. 2. When using command ŖESC Q Dŗ, the upper line message will scroll continuously until a new command is received, it will then clear the upper line and move the cursor to the upper left-end position. 3. Select the international Character set (20h Ŕ 7Fh) by command ŖESC f nŗ. Parameter “n” Parameter “n” International International Character Set Character Set Character Hex Character Hex ŘAř 41h U.S.A. ŘNř 4Eh Norway ŘGř 47h Germany ŘWř 57h Sweden řIř 49h Italy ŘDř 44h Denmark I ŘJř 4Ah Japan ŘEř 45h Denmark II ŘUř 55h U.K. ŘLř 4Ch Slavonic ŘFř 46h France ŘRř 52h Russia ŘSř 53h Spain 1Fh User-Define 29 4. Select character code table (80H-FFH) by command ŖESC c nŗ. Parameter “n” character Code Table Character Hex ŘAř 41h Compliance with ASCII code (CP-437) ŘJř 4Ah Compliance with JIS code (Katakana) ŘLř 4Ch Compliance with Slawie code ŘRř 52h Compliance with RUSSIA code ŘMř 4Dh CP-850 (Multilingual) ŘPř 50h CP-858 (Multilingual+ Euro Symbol) Řpř 70h CP-860 (Portuguese) ŘFř 46h CP-863 (Canadian-French) ŘNř 4Eh CP-865 (Nordic) Řuř 75h CP-852 (Hungary) ŘHř 48h CP-862 (Hebrew) ŘCř 43h CP-866 (Cyrillic) ŘGř 47h Greek Řcř 63h Windows-1251 (Cyrillic) ŘWř 57h Windows-1252 (West European Latin) Řhř 68h Windows-1255 (Hebrew) ŘBř 42h Windows-1257 (Baltic) Řgř 67h Windows-1253 (Greek) ŘEř 45h Windows-1250 (East European Latin) 1Fh User Defined 30 11.3 UTC Standard Mode Command List Command Code (hex) BS HT LF CR 08 09 0A 0D DLE n 10 n DC1 DC2 DC3 DC4 US ESC d 11 12 13 14 1F 1B 64 Function Description Back space Horizontal tab Line feed Carriage return Display position n = 0 ~ 27h, for location. Over write display mode Vertical scroll mode Cursor on Cursor off Clear display Change to UTC enhanced mode 11.4 UTC Enhanced Mode Command List Command ESC u A [DATA] CR ESC u B [DATA] CR ESC u D [DATA] CR ESC u E h h : m m CR ESC u F [DATA] CR ESC u H n m CR ESC u I [DATA] CR ESC RS CR Code (hex) 1B 75 41 [DATA] 0D 1B 75 42 [DATA] 0D 1B 75 44 [DATA] 0D 1B 75 45 h h ':' m m 0D 1B 75 46 [DATA] 0D 1B 75 48 n m 0D 1B 75 49 [DATA] 0D 1B 0F 0D Function Description Upper line display Maximal [DATA] length is 20 Bottom line display Maximal [DATA] length is 20 Upper line message scroll continuously Maximal [DATA] length is 40 Display time h, m = '0' ~ '9' Upper line message scroll Once pass Maximal [DATA] length is 40 Change attention code n = 1 ~ 20h m = 1 ~ 20h Two line display Maximal [DATA] length is 40 Change to UTC standard mode 31 11.5 AEDEX/EMAX Mode Command List Command !#1 [DATA] CR !#2 [DATA] CR !#4 [DATA] CR !#5hh:m m CR !#8nm CR !#9 [DATA] CR !#6 [DATA] CR Code (hex) 21 23 31 [DATA] 0D 21 23 32 [DATA] 0D 21 23 34 [DATA] 0D 21 23 35 h h ':' m m 0D 21 23 38 n m 0D 21 23 39 [DATA] 0D 21 23 36 [DATA] 0D Function Description Upper line display Maximal [DATA] length is 20 Bottom line display Maximal [DATA] length is 20 Upper line message scroll Maximal [DATA] length is 60 Display time h, m = '0' ~ '9' Change attention code n, m = 1 ~ 20 Two line display Maximal [DATA] length is 40 Upper line message scroll once pass Maximal [DATA] length is 60 11.6 ADM787/788 mode command list Command CLR CR Code (hex) 0C 0D SLE1 0E SLE2 0F DC0 n 10 n DC1 n 11 n DC2 n 12 n SF1 1E SF2 1F Function Description Clear display Carriage return Clear upper line and move cursor to upper left-end position Clear bottom line and move, Cursor to bottom left-end position Set period to upper line last n position n = 31H ~ 37H Set line blinking, upper line n = '1' ~ '2' n = '1': up line n = '2': low line Clear line blinking, upper line n = '1' ~ '2' n = '1': up line n = '2': low line Clear field 1 and move cursor to field 1, first position Clear field 2 and move cursor to field 2, first position 32 11.7 DSP800 Mode Command List Command EOT SOH I n ETB EOT SOH P n ETB Code (hex) Function Description Select international character set n = 00 ~ 1Fh or 30 ~ 4Fh See note *1 Move cursor to specified position n = 31h ~ 58h Clear display range from n position to m position and move cursor to n position 31h ≦ n ≦ m ≦ 58h Save current view message to n layer for demo view data n = 31h ~ 35h Display the saved demo message n = 31h ~ 4Fh m = 31h ~ 33h 04 01 49 n 17 04 01 50 n 17 EOT SOH C n m ETB 04 01 43 n m 17 EOT SOH S n ETB 04 01 53 n 17 EOT SOH D n m ETB 04 01 44 n m 17 EOT SOH A n ETB EOT SOH F n ETB EOT SOH # n ETB EOT SOH % ETB EOT SOH @ ETB 04 01 41 n 17 n =31h-34h 04 01 46 n 17 00h≦n≦FFh 04 01 23 n 17 n =30~37h 04 01 25 17 04 01 40 17 EOT SOH & n [m1~m5] ETB 04 01 26 n [m1~m5] 17 EOT SOH ? n ETB 04 01 3F n 17 EOT SOH = n ETB 04 01 3D n 17 Brightness adjustment Blink display Screen n = 00h ~ FFh, n = 0 for no blink Command type select Initialize display Execute self-test Set One User-Define Character n = 20h ~ FFh for displayable character code [m1 ~ m5] Byte1~Byte5 Define Character Delete One User-Define Character n = 20h ~ FFh for displayable character code Select peripheral device, display or printer n = '1': enable printer only n = '2': enable display only n = '3': enable both of printer and display Note: n 00h 01h 02h 03h 04h 30h 31h 32h 33h 34h 1. Select international character set (20H~7Fh) by command ŖEOT SOH I n ETBŗ International character International character International character n n set set set 05h SWEDEN 0Ah DENMARK II U.S.A. 06h ITALY 0Bh SLAVONIC FRANCE 07h SPAIN 0Ch RUSSIA GERMANY 08h JAPAN U.K. 09h NORWAY 1Fh User-Define DENMARK I 35h SWEDEN 3Ah DENMARK II U.S.A. 36h ITALY 3Bh SLAVONIC FRANCE 37h 3Ch RUSSIA GERMANY SPAIN 38h JAPAN U.K. 39h NORWAY 4Fh User-Define DENMARK I 33 11.8 EPSON ESC/POS Command List Command Code (hex) US r n 1F 72 n US MD1 US MD2 US MD3 CAN 1F 01 1F 02 1F 03 18 ESC # n 1B 23 n US # n x 1F 23 n x US C n 1F 43 n BS HT US LF LF US CR CR HOM US B 08 09 1F 0A 0A 1F 0D 0D 0B 1F 42 US $ x y 1F 24 x y CLR 0C US E n 1F 45 n ESC @ 1B 40 US , n 1F 2C n US . n 1F 2E n US ; n 1F 3B n US : 1F 3A US ^ n m 1F 5E n m US @ 1F 40 US T h m 1F 54 h m US U 1F 55 Function Description Select/cancel reverse character. n = 00,01 Specify overwrite mode. Specify vertical scroll mode. Specify horizontal scroll mode. Clear cursor line Command type select n = 30h ~ 37h Turn annunciator on/off. n = 0 for annunciator off n = 1 for annunciator on x = 1 ~ 14h, for columns location. Set cursor on/off n = 00, 01 Move cursor left Move cursor right Move cursor up Move cursor down Move cursor to right-most position Move cursor to left-most position Move cursor to home position Move cursor to bottom position Move cursor to specified position x = 1 ~ 14h, for columns location. y = 1 ~ 2, for lines location. Clear display screen Blink display screen n = 00h ~ FFh n = 0 for no blink Initialize display Specify comma n = a displayable character code Specify period n = a displayable character code Specify semicolon (period + comma) n = a displayable character code Set starting/ending position of macro definition. Ex.: 1F 3A … (macro string) … 1F 3A Execute and quit macro. Itřs an interval of n between the two words. Itřs an interval of m between the two strings. 00 ≦ (n, m) ≦ FFh n = Word time m = show string time Execute self - test Display time 0 ≦ h ≦ 17h, for hours setting. 0 ≦ m ≦ 3Bh, for minutes setting. Display time continuously 34 Command Code (hex) US X n 1F 58 n ESC W n s x1 y1 x2 y2 1B 57 n s x1 y1 x2 y2 ESC R n 1B 52 n ESC t n 1B 74 n ESC = n 1B 3D n ESC % n 1B 25 n ESC & SOH n m [b1~b5] * K 1B 26 01 n m [b1 ~ b5] * K ESC ? ESC s SOH ESC d SOH 1B 3F 1B 73 01 1B 64 01 Function Description Brightness adjustment n=1~4 Set or cancel the window range n = 1 ~ 4, for window number s = 0: cancel s = 1: set 1 ≦ x1 ≦ x2 ≦ 14h, for columns 1 ≦ y1 ≦ y2 ≦ 2, for lines . Select international character set (20H~7Fh). n = 00 ~ 1Fh. See note *1 Select character code table (80H~FFh). n = 00 ~ 1Fh. See note *2 Select peripheral device, display or printer n = '1': enable printer only n = '2': enable display only n = '3': enable both of printer and display Set/Cancel User-Define Character Set n = 0: Cancel User-Defined Character Set n = 1: Set User-Define Character Set Create User-define Character 20h ≤ n ≤ m ≤ FFh [b1 ~ b5] Byte1~Byte5 Define Character (Ref. User-Define Character Command-Set 5x7 dot layout ) K = (m-n+1) → 1 ~ 5, Max. 5 character. Delete User-Define Character Store User-Define Character in EEPROM Load User-Define Character from EEPROM Note: 1. Select international character set (20H~7Fh) for command ŖESC R nŗ n 0h 1h 2h 3h 4h 5h international character set U.S.A. FRANCE GERMANY U.K. DENMARK I SWEDEN n 6h 7h 8h 9h Ah Bh international character set ITALY SPAIN JAPAN NORWAY DENMARK II SLAVONIC n Ch Dh Eh Fh international character set RUSSIA No used No used No used 2. Select character code table (80H~FFh) for command ŖESC t nŗ n character code table 0h CP-437 (USA, Standard Europe) 1h Katakana (for Japan) 2h CP-850 (Multilingual) 3h CP-860 (Portuguese) 4h CP-863 (Canadian-French) 5h CP-865 (Nordic) n character code table 6h Slawie n character code table Ch Windows-1251 (Cyrillic) 7h 8h 9h Ah Eh Fh 10h 11h Russia Greek CP-852 (Hungary) CP-862 (Hebrew) Bh CP-866 (Cyrillic) 35 Windows-1255 (Hebrew) Windows-1257 (Baltic) Windows-1252 Windows-1253 (Greek) 13h CP-858 (Multilingual+ Euro Symbol) 12. Character Set 12.1 Character Codes 20H – 7FH 12.1.1 International Character Sets Character Code Number Country Hex 23 24 40 5B 5C 5D 5E 60 7B Dec 35 36 64 91 92 93 94 96 123 124 125 126 # # # £ # # # Pt # # # # # $ $ $ $ $ ¤ $ $ $ ¤ $ $ $ @ à § @ @ É @ @ @ É É @ @ [ ° Ä [ Æ Ä ° ¡ [ Æ Æ [ [ \ ç Ö \ Ø Ö \ Ñ ¥ Ø Ø \ \ ] § Ü ] Å Å é ¿ ] Å Å ] ] ^ ^ ^ ^ ^ Ü ^ ^ ^ Ü Ü ^ ^ ` ` ` ` ` é ù ` ` é é ` ` { é ä { æ ä à ¨ { æ æ { { U.S.A France Germany U.K Denmark I Sweden Italy Spain Japan Norway Denmark II Slavonic Russia 7C ¦ ù ö ¦ ø ö ò ñ ¦ ø ø ¦ ¦ 7D } è ü } å å è } } å å } } 7E ~ ¨ β ~ ~ ü ì ~ ~ ü ü ~ ~ 12.1.2 USA, Standard Character Sets 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 20h 30h 40h 50h 60h 70h 0 @ P ` p ! 1 A Q a q Ŗ 2 B R b r # 3 C S c s $ 4 D T d t % 5 E U e u & 6 F V f v Ř 7 G W g w 36 ( ) * 8 9 : H I J X Y Z h i j x y Z + ; K [ k { , - . / < = > ? L M N O \ ] ^ _ l m n o ¦ } ~ 12.2 Character Codes 80H – FFH 12.2.1 CP-437 (USA, Standard Europe) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h C0h D0h E0h F0h Ç É á ⍏ ⌦ ⍅ Ş ≡ ü æ í ⍐ ⌫ ⍁ ß ± é Æ ó ⍑ 〉 ⍂ ś ≥ â ô ú ⌣ ⌨ ⌶ π ≤ ä ö ñ 〈 ⌢ ⌵ ⌠ à ò Ñ ⌾ ⌬ ⌯ š ⌡ å û ª ⌿ ⌻ ⌰ κ ÷ ç ù º ⌳ ⌼ ⍈ Ţ ≈ ê ÿ ¿ ⌲ ⌷ ⍇ ŝ ° ë Ö ⌐ ⍀ ⌱ ⌧ ζ • è Ü ¬ ⌮ ⍆ ⌤ Ω · ï ¢ ½ ⌴ ⍃ ⍌ ş √ î £ ¼ ⌺ ⌽ ⍋ ∞ n ì ¥ ¡ ⌹ ⌭ ⍍ ø ² Ä Pt « ⌸ ⍉ ⍎ Š ⍒ Å ƒ » ⌥ ⍄ ⍊ ∩ 12.2.2 CP-850 (Multilingual) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h C0h D0h E0h ü æ í ⍐ ⌫ Ĉ ß ± é Æ ó ⍑ 〉 Ê ô = â ô ú ⌣ ⌨ Ë ò ¾ ä ö ñ 〈 ⌢ È õ ¶ à ò Ñ Á ⌬ l Õ § å û a  ã Í κ ÷ ç ù o À à Πþ , F0h Ç É á ⍏ ⌦ ð ó ¯ ê ÿ ¿ © ⌷ Ï Þ ˚ ë ö ® ⍀ ⌱ ⌧ Ú ¨ è Ü ¬ ⌮ ⍆ 「 Û ˙ ï ø ½ ⌴ ⍃ ⍌ Ù 1 î £ ¼ ⌺ ⌽ ⍋ ý 3 ì Ø ¡ ¢ ⌭ ¦ Ý 2 Ä Å × ƒ « » ¥ ⌥ ⍉ ¤ Ì ⍊ ¯ ´ ⍒ 12.2.3 CP-858 (Multilingual + Euro Symbol) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h C0h D0h E0h ü æ í ⍐ ⌫ Ĉ ß ± é Æ ó ⍑ 〉 Ê ô = â ô ú ⌣ ⌨ Ë ò ¾ ä ö ñ 〈 ⌢ È õ ¶ à ò Ñ Á ⌬ € Õ § å û a  ã Í κ ÷ ç ù o À à Πþ , F0h Ç É á ⍏ ⌦ ð ó ¯ 37 ê ÿ ¿ © ⌷ Ï Þ ˚ ë ö ® ⍀ ⌱ ⌧ Ú ¨ è Ü ¬ ⌮ ⍆ 「 Û ˙ ï ø ½ ⌴ ⍃ ⍌ Ù 1 î £ ¼ ⌺ ⌽ ⍋ ý 3 ì Ø ¡ ¢ ⌭ ¦ Ý 2 Ä Å × ƒ « » ¥ ⌥ ⍉ ¤ Ì ⍊ ¯ ´ ⍒ 12.2.4 Katakana for Japan 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h Ş £ A0h β γ ⊿ ђ ε ζ § IE IR ∫ x Ā 。 「 」 、 ‧ ι -1 κ π ξ š τ У Ω ∑ ² ³ x ½ 1/ √ ± ⍒ B0h C0h D0h E0h F0h ≤ " ∘ ŗ Ŗ « » ∴ ∵ ⊕ Ŝ ≥ ≠ ∶ ⌮ ⌣ ⊥ ∞ Ş ~ ~ ≣ 〒 12.2.5 Slawie 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h Ç ü é é č í á í ó ⍏ ⍐ ⍑ C0h D0h E0h F0h Ť ó Ŕ â ô ú ⌣ ä ö ą 〈 ⌢ Ť ć ë ć β ô ń ń ̃ ˇ ˘ Ŕ ď ą á ⌬ ņ ņ § š ĭ ņ â ă í ń ÷ ç Ŏ ņ ĕ ă î ń د Į ë õ õ Ŏ Ö Ü Œ Ċ Ċ Ř ş Č Ŋ ˚ ú ¨ Ŋ ˙ Ř ł ş ŧ ⌭ ⍌ ⍋ Ő ũ ý ý ũ Ō Ō î Œ ţ ä ф « ŧ š ţ » ¤ Ŕ ⍊ Ő ́ ⍒ 12.2.6 Russia 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h Џ А Б В Г Д Е Ж з И Й К Л М Н О П Р С Т У Ф Х Ц Ч Ш Щ Ъ Ы Ь Э Ю Я а б в г д е ж з и й к л м н о B0h C0h D0h E0h F0h п р с т у ф х ц ч ш щ ъ ∂ Ғ Қ Ң ζ Ұ Y Һ ∂ ғ қ ң 38 ы ζ Ь э ұ Y ю 12.2.7 CP-860 (Portuguese) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h C0h D0h E0h F0h Ç É á ⍏ ⌦ ⍅ Ş ≡ ü À í ⍐ ⌫ ⍁ β ± é È ó ⍑ 〉 ⍂ ś ≥ â ô ú ⌣ ⌨ ⌶ π ≤ ã õ ñ 〈 ⌢ ⌵ ⌠ à ò Ñ ⌾ ⌬ ⌯ š ⌡ Á Ú a ⌿ ⌻ ⌰ κ ÷ ç ù o ⌳ ⌼ ⍈ Ţ ≈ ê Ì ¿ ⌲ ⌷ ⍇ У ° Ê Õ ® ⍀ ⌱ ⌧ ζ • è Ü ¬ ⌮ ⍆ ⌦ Ω · Í ¢ ½ ⌴ ⍃ ⍌ ş √ Ô £ ¼ ⌺ ⌽ ⍋ ∞ n ì Ù ¡ ⌹ ⌭ ⍍ ø ² à Pt « ⌸ ⍉ ⍎ ђ ⍒ Â Ó » ⌥ ⍄ ⍊ ∩ 12.2.8 Greek 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h Α Β ś Γ Δ Ε Ζ Ŝ Η Κ Λ Μ Ν Ξ Ο Π Ρ Σ Y ŝ Ф Ψ Ω Ş β γ ş Š δ ε ζ η θ ι κ λ μ ν π ξ š s Ţ υ ţ χ ψ B0h C0h D0h E0h ω £ F0h - 12.2.9 CP-852 (Hungary) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h C0h D0h E0h F0h Ç É á ⍏ ⌦ Ť Ó Ŕ Ŗ č í ⍐ ⌫ Ĉ ß ̃ é Ď ó ⍑ 〉 Ć Ô â ô ú ⌣ ⌨ Ë Ń ˇ ä ö Ą 〈 ⌢ ć ń ˘ Ŕ ď ą Á ⌬ Ņ ņ § š Đ Ņ Â Ä Í Ń ÷ ç ō ņ Ĕ ǎ Î ń د 39 ł Ŏ ĉ Ş ⌷ Č ʼn ˚ ë Ö Ċ ⍀ ⌱ ⌧ Ú ¨ Ň Ü ¬ ⌮ ⍆ в Ŋ ˙ ň ő Ř ⌴ ⍃ ⍌ ŕ ũ î Œ Ţ ⌺ ⌽ ⍋ ý ŋ ŗ Ł ş Ś ⌭ ŏ Ý Ō Ä x « Ś ⍉ œ Ő ⍒ Š Ţ » ⌥ ¤ ⍊ ´ 12.2.10 CP-862 (Hebrew) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h C0h D0h E0h F0h א נ á ⍏ ⌦ ⍅ Ş ≡ ב ס í ⍐ ⌫ ⍁ ß ± ג ע ó ⍑ 〉 ⍂ ś ≥ ד ף ú ⌣ ⌨ ⌶ π ≤ ה פ ñ 〈 ⌢ ⌵ ⌠ ו ץ Ñ ⌾ ⌬ ⌯ š ⌡ ז צ ª ⌿ ⌻ ⌰ µ ÷ ח ק º ⌳ ⌼ ⍈ Ţ ≈ ט ר ¿ ⌲ ⌷ ⍇ ŝ ° י ש ⌐ ⍀ ⌱ ⌧ Ŝ ∙ ך ת ¬ ⌮ ⍆ ⌤ Ω · כ ¢ ½ ⌴ ⍃ ⍌ ş √ ל £ ¼ ⌺ ⌽ ⍋ ∞ ⁿ ם ¥ ¡ ⌹ ⌭ ⍍ ţ ² מ ₧ « ⌸ ⍉ ⍎ Š ⍒ ן ƒ » ⌥ ⍄ ⍊ ∩ 12.2.11 CP-863 (Canadian- French) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h B0h C0h D0h E0h F0h ü È í ⍐ ⌫ ⍁ ß ± é Ê Ř ⍑ 〉 ⍂ ś ≥ â ô ó ⌣ ⌨ ⌶ π ≤ Â Ë ú 〈 ⌢ ⌵ ⌠ à Ï ¨ ⌾ ⌬ ⌯ š ⌡ ¶ û , A0h Ç É ¦ ⍏ ⌦ ⍅ Ş ≡ ⌿ ⌻ ⌰ µ ÷ ç ù ¯ ⌳ ⌼ ⍈ Ţ ≈ ê ¤ Î ⌲ ⌷ ⍇ ŝ ° ë Ô ⌐ ⍀ ⌱ ⌧ Ŝ ∙ è Ü ¬ ⌮ ⍆ ⌤ Ω · ï ¢ ½ ⌴ ⍃ ⍌ ş √ î £ ¼ ⌺ ⌽ ⍋ ∞ ⁿ = Ù ¾ ⌹ ⌭ ⍍ ţ ² Ä Û « ⌸ ⍉ ⍎ Š ⍒ § ƒ » ⌥ ⍄ ⍊ ∩ 12.2.12 CP-865 (Nordic) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h C0h D0h E0h F0h Ç É á ⍏ ⌦ ⍅ Ş ≡ ü æ í ⍐ ⌫ ⍁ ß ± é Æ ó ⍑ 〉 ⍂ Γ ≥ â ô ú ⌣ ⌨ ⌶ π ≤ ä ö ñ 〈 ⌢ ⌵ ⌠ à ò Ñ ⌾ ⌬ ⌯ š ⌡ å û a ⌿ ⌻ ⌰ κ ÷ ç ù o ⌳ ⌼ ⍈ η ≈ 40 ê ÿ ¿ ⌲ ⌷ ⍇ Φ ° ë Ö ® ⍀ ⌱ ⌧ ζ • è Ü ¬ ⌮ ⍆ ⌤ Ω · ï ø ½ ⌴ ⍃ ⍌ ş √ î £ ¼ ⌺ ⌽ ⍋ ∞ n ì Ø ¡ ⌹ ⌭ ⍍ ø ² Ä Pt « ⌸ ⍉ ⍎ ε ⍒ Å ƒ ¤ ⌥ ⍄ ⍊ ∩ 12.2.13 CP-866 (Cyrillic) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h C0h D0h E0h F0h Џ П Я ⍏ ⌦ ⍅ п Ё А Р а ⍐ ⌫ ⍁ р я Б С б ⍑ 〉 ⍂ с Є В Т в ⌣ ⌨ ⌶ т ђ Г У г 〈 ⌢ ⌵ у Ї Д Ф д ⌾ ⌬ ⌯ ф ї Е Х е ⌿ ⌻ ⌰ х Ѝ Ж Ц ж ⌳ ⌼ ⍈ ц ѝ З Ч з ⌲ ⌷ ⍇ ч ° И Ш и ⍀ ⌱ ⌧ ш ∙ Й Щ й ⌮ ⍆ ⌤ щ · К Ъ к ⌴ ⍃ ⍌ ъ √ Л Ы л ⌺ ⌽ ⍋ ы № М Ь м ⌹ ⌭ ⍍ ь ¤ Н Э н ⌸ ⍉ ⍎ э ⍒ О Ю о ⌥ ⍄ ⍊ ю 12.2.14 Windows-1250 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h € 90h Ř Ŗ ˇ Ł ° ± ˛ ł ʼn Á Â Ă Ð Ń Ņ Ó Ŋ á â ă Ť ń ņ ó A0h B0h C0h D0h E0h F0h ‚ ř ˘ „ ŗ ¤ ´ Ä Ô ä ô … • Ą µ † ‡ Ŕ ŕ ¦ § ¶ · č Š Ç Ň Ö × Ď š ç ň ö ÷ ‰ Ń ‹ ō ő Ņ ŗ ™ ń › Ŏ Œ ņ Ř ¨ © Ş « ¬ ® ř ¸ ą ş » ď ˝ Đ Ś Ţ É ĉ Ë ċ Í Î Ć ŋ œ Ú ŕ Ü Ý ŏ ß ţ é Ċ ë Č í î ć Ō Ŕ ú Ŗ ü ý Ő ˙ 12.2.15 Windows-1251 (Cyrillic) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h C0h D0h E0h F0h Ђ Ѓ ѐ Ř Ѝ ° ± Џ А П Р Я а п р ‚ ё „ … † ř Ŗ ŗ • Ŕ ѝ Ј ¤ џ ¦ І і Ѡ µ ¶ Б Г Г Д Е С Т У Ф Х б г г д е с т у ф х ‡ ŕ § · Ж Ц ж ц 41 € ‰ ™ Ё © я № З И Ч Ш з и ч ш Љ љ Є ђ Й Щ й щ ‹ › « » К Ъ к ъ Њ њ ¬ ј Л Ы л ы Ќ Ћ Ў ќ ћ ў ® Ї Ѕ ѓ ї М Н О Ь Э Ю м н о ь э ю 12.2.16 Windows-1252 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h € 90h A0h B0h C0h D0h E0h F0h ° À Ð à ð Ř ¡ ± Á Ñ á ñ ‚ ř ¢ ² Â Ò â ò ƒ Ŗ £ ³ Ã Ó ã ó „ ŗ ¤ ´ Ä Ô ä ô … • ¥ µ Å Õ å õ † Ŕ ¦ ¶ Æ Ö æ ö ‡ ŕ § · Ç × ç ÷ ˆ ˜ ¨ ¸ È Ø è ø ‰ ™ © ¹ É Ù é ù Ń ‹ Œ ń › œ ª « ¬ º » ¼ Ê Ë Ì Ú Û Ü ê ë ì ú û ü Ņ ņ ® ½ ¾ Í Î Ý Þ í î ý þ Ÿ ¯ ¿ Ï ß ï ÿ 12.2.17 Windows-1253 (Greek) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h C0h D0h E0h F0h ‚ ƒ „ „ ‟ “ ” ΅ Ά £ ¤ ± ² ³ ´ Ύ Ώ Γ ΐ Π Ρ Σ ή α ί ΰ δ π π ρ ζ η € … • ¥ µ Α Τ ε ς † Ŕ ¦ ¶ Β Φ α θ ‡ ŕ § · Γ Υ β σ ¨ · Θ Φ γ τ ‰ ™ © Έ Δ Χ δ υ ‹ › « Ή » Κ Λ Ψ Ω ε Λ φ ϋ ¬ Ί Μ Ϊ μ ό Ŕ ½ Ν Ϋ ν ύ ® Ξ ά ξ ώ ¯ Ό Ο έ ο 12.2.18 Windows-1255 (Hebrew) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h € 90h A0h B0h ° ‚ ƒ „ … Ř ř Ŗ ŗ • ¡ ¢ £ װ¥ ± ² ³ ´ µ † ‡ Ŕ ŕ ¦ § ¶ · ˆ ‰ ˜ ™ ¨ © × ¸ ¹ ÷ C0h D0h E0h F0h ׀ ׃ ו ה ד ג ב א ץ פ ף ע ס נ ׯ , : ך י ט ח ז ת ש ר ק צ 42 ‹ › « ¬ Ŕ ® ¯ » ¼ ½ ¾ ¿ ־ ; . ! ? ן מ ם ל כ 12.2.19 Windows-1257 (Baltic) 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 80h 90h A0h B0h C0h D0h E0h F0h € ‚ Ř ř ¢ ° ± ² Ą Į Ā Ń Ń Ľ ą į ā ń ń ľ Ŗ £ ³ Š Ó š ó „ ŗ ¤ ´ Ä Ō ä ō … † ‡ • Ŕ ŕ ¦ § µ ¶ · Å ĉ Ē Õ Ö × å Ċ ē õ ö ÷ 43 Ø ø Ţ Ų ţ ų ‰ ™ © ¹ É Ł é ł Ŗ ŗ ŗ ō Ř ō ‹ › « » Ė Ū ė ū ¬ ¼ Ģ Ü ģ ü ¨ ¯ Ŕ ½ Ķ ř ķ Ś ˇ ˛ ® ¾ Ī Ņ ī ņ ¸ Æ æ Ļ ß ļ ˙ Appendix A - Command Details A.1. Overwrite mode In this mode, the cursor will move towards the right and begin from the upper left position. When the cursor has reached the end of the upper line, the cursor will move down to the bottom left position to continue. When the cursor has reached the end of the bottom line, it will move to up the upper left position and overwrite the previous characters. A.2. Vertical scroll mode In this mode, the cursor will move towards the right. The cursor will begin from the upper left position until it has reached the end of the upper line. The cursor will then move down to the bottom left position to continue until it has reached the end of the bottom line. A.3. Horizontal scroll mode In this mode, the extent of the cursor activity is bound by a predefined range, limited to the upper line. (Please refer to Set or cancel window command), where the default window is the whole upper line. The cursor will begin from the left-end of the range and move rightward until it reached the end of the range, to continue, the characters that comes thereafter will start pushing the previous characters leftward from the right-end, scrolling the characters to the left. A.4. Set the string display mode and write string to display Set the string display mode, write to upper or lower line d1 d2 d3 … dn {1≦n≦ 20}. ŘAř stands for the upper line, ŘBř stands for the lower line. The string display mode will be cancelled and the display will return to the previous mode after receiving CLR or CAN. A.5. Upper line message continuous scroll The message (previously defined) will scroll continuously in the horizontal direction until a new command is received. A.6. Move cursor left When the current cursor is at the left-end position, this command operates differently depending on the display mode. Overwrite mode: When the cursor reached the left-end of the lower line, it will continue to the right-end of the upper line, overwrite previous characters. When it reached the left end of the upper line, it will continue to the right-end of the lower line. Vertical scroll mode: When the cursor reached the left-end of the lower line, the lower line will scroll up and replace the previous upper line, the lower line will be cleared and the cursor will continue to the right end of the lower line. Horizontal scroll mode: The cursor will remain stationary. 44 A.7. Move cursor right Move the cursor to the right. When the cursor has reached the right-end, this command operates differently depending on the display mode. Overwrite mode: When the cursor has reached the right-end of the lower line, it will continue to the left-end of the upper line and overwrite previous characters. When it has reached the right-end of the upper line, it will continue to the right-end of the lower line. Vertical scroll mode: When the cursor has reached the right-end of the lower line, the lower line will scroll up to replace the upper line, the lower line is cleared and ready to continue characters thereafter. Horizontal scroll mode: The cursor will remain stationary. A.8. Move cursor up Move the cursor up one line. When the cursor is on the upper line, this command operates differently depending on the display mode. Overwrite mode: The cursor is moved to the same column the lower line. Vertical scroll mode: The characters displayed on the upper line is scrolled to the lower line, and the upper line is cleared. The cursor will remain at the same position. Horizontal scroll mode: The cursor will remain stationary. A.9. Move cursor down Move the cursor down one line. When the cursor is on the lower line, this command operates differently depending on the display mode. Overwrite mode: The cursor is moved to the same column on the upper line. Vertical scroll mode: The characters displayed on the lower line are scrolled to the upper line, and the lower line is cleared. The cursor will remain at the same position. Horizontal scroll mode: The cursor will remain stationary. A.10. Move cursor to home position The cursor will move to the left-end position of the upper line. A.11. Move cursor to left-most position The cursor will be moved to the left-end position of the current line. A.12. Move cursor to right-most position The cursor will be moved to the right-end position of the current line. A.13. Move cursor to bottom position The cursor will be moved to the right-end position on the lower line. A.14. Move cursor to specified position The cursor will be moved to column x on line y. A.15. Initialize display The data in the input buffer will be cleared and reset from default. 45 A.16. Reset the window Reset the window on the display. When s=0, the window is cancelled (values: x1, x2, and y are not required.) When s=1, the window will be reset (values: x1, x2, and y are required.) The x1 and x2 set the position of the left column and right column, respectively, of the window. The y sets the upper line or the lower line of the window. This function is valid within the horizontal mode. A.17. Clear display screen and clear string mode All the display characters will be cleared, and the string mode will be cancelled. A.18. Clear current line and cancel string mode The current line is cleared, and the string mode is cancelled. A.19. Brightness adjustment Adjust the brightness of the vacuum fluorescent display. When n=3, brightness=70% When n=4, brightness=100% A.20. Set cursor ON or OFF When n=0, cursor is OFF When n=1, cursor is ON Appendix B - Control Code Set HEX 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH CODE NULL SOH, MD1 STX, MD2 ETX, MD3 EOT, MD4 ENQ, MD5 ACK, MD6 BEL, MD7 BS, MD8 HT LF VT, HOM FF, CLR CR SO, SLE1 SI, SLE2 HEX 10H 11H 12H 13H 14H 15H 16H 17H 18H 19H 1AH 1BH 1CH 1DH 1EH 1FH 46 CODE DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS, SF1 US, SF2
© Copyright 2024