Customer Pole Display SERIES 8034 Operation Manual Version 1.
This equipment has been tested and found to comply with the limits for Class A digital device. Pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses, and if not installed and used in accordance with the instructions may cause harmful interference will not occur in a particular installation.
Contents 1. Before You Instal 2. Installing Model 8034 3. Programming Commands 4.
1 Before You Install • • • • • • • This manual describes functions and usage of the Model 8034 customer pole display. The 8034 is a 2x20 alphanumeric customer pole display designed with multi-languages for retail and industrial environments. Its outstanding features include high quality vacuum fluorescent display in blue-green color, RS232 interface, easy to use and powerful programming features. The 8034 can also attach to any brand of serial receipt printer.
2 Installing Model 8034 • • • • • • • This chapter describes the procedures for installing the 8034 pole display by using RS232C interface. Step 1: Turn off your computer If you have not already done so, turn off your computer to avoid any accidental damage to the pole display and computer. Step 2: Decide on baud rate, character set and command type There are some functions such as baud rate, character set and command type are selected by Dip switch.
Installing Model 8034 Step 3: Bulid up your 8034 Plug into 8Pin Phone Jack Socket 5
Installing Model 8034 Step 4: Decide on power access The RS232 connection requires power +12V DC. This may be provided through an internal connection in your computer or through an external connection to a 110/ 220V adapter. The components for an internal connection are provided. If you are using an external connection, be sure that your adaptor confirms with the specifications listed in Appendix I, then go to step 6. Step 5: Using internal power source Refer to the installation diagram as below.
Installing Model 8034 Step 6: Connect to printer If you are not going to use 8034 pass through function, please go to step 7. If you are using a serial printer to work with 8034, please connect the Y cable (GC-8034YW) to serial RS232 port, receipt printer and 8034 display. (please refer to figure as below) NOTE: Please make sure the pinout of interface are matched between receipt printer and DB-25M connector.
Installing Model 8034 Step 8: Turn on your computer Turn on your computer. It should boot up normally. The pole display will show a self-diagnostic status and then the display will be blank. Step 9: Turn to Chapter 3 You are now ready for operation, please refer to Chapter 3 for programming to meet the specific requirement of your application environment.
3 Programming Commands • • • • • • • Introduction There are four programming modes available for model 8034 which are mode, ESC/POS mode, UTC standard mode and UTC w/pass through mode. In this Chapter, we will always use mode as an example and the command codes for other modes, please refer to Appendix II. For multi-languages, please refer to Appendx III and IV for details. The basic function of the 8034 display is comparable to the display programming by your software should be as easy.
Programming Commands Example: OPEN “COM1: 9600, N, 8, 1, DS0” FOR OUTPUT AS #1 PRINT #1, “Hello World!” CLOSE #1 Programming using DOS routines You can also generate a display output using the simple DOS routines. Example: MODE COM1: 9600, N, 8, 1 ECHO Hello! >COM1: Control characters and special functions For special display functions, there are some commands which will be explained in this chapter. Some of the commands consist of one ASCII-CTRL-code, others are command strings, introduced by ESC.
Programming Commands WRONG: PRINT #1, CHR$(27)+“=”; PRINT #1, 19;1 :REM command ESC = :REM parameter column 19, line 1 CORRECT: PRINT #1, CHR$(27)+“=”; PRINT #1, CHR$(48+19)+“1” :REM or CHR$(48+19)+CHR$ (48+1) Below is a list of command sequences for user to design an interface to the 8034 customer pole display. Please note that pole display is default with 9600 bps baud rate, no parity, 8 data bits, 1 stop bit.
Programming Commands COMMANDS FUNCTION DESCRIPTION Cursor Move CTRL H Move cursor left one column Code: 008 This is simply the BACK SPACE function, though characters are not deleted as you back space over them. When you reach the beginning of a line, the cursor will wrap to end of the previous line until cursor = 0,0 is met. CTRL J Scroll (line feed) Code: 010 This is the LINE FEED function. It will move the cursor down one line. It will always scroll the screen if at the bottom.
Programming Commands COMMANDS CTRL M FUNCTION DESCRIPTION Move cursor to column 0 Code: 013 This is CARRIAGE RETURN function which returns the cursor’s horizontal location to the first position, on the same line. NOTE: In BASIC, after a PRINT#-command, a CR is always sent to the display if you do not add an “; ” to the end of the command. The CR command is normally used for the line switching.
Programming Commands COMMANDS FUNCTION DESCRIPTION Automatic Scrolling lines With the following commands, you can define up to 8 scrolling strings. Using another command, you can then start and stop them in a certain display line. Your PC does not have to care about this. The display does the scrolling on its own until it receives the stop command.
Programming Commands COMMANDS FUNCTION DESCRIPTION PARAMETER FORMAT : ESC ) RANGES : LINE : "0" (048) = first line "1" (049) = second line DIRECTION : "0" = right "1" = left SPEED : 0 to 16 (048-064). BLOCK_NO : "1" to "8" (049-056) EXAMPLE : PRINT #1, CHR$(27) + ")0041" or PRINT #1, CHR$(27)+CHR$(41)+CHR$(48)+CHR$(48)+CHR (52)+CHR$(49) This commands start the scrolling in the first line from the left to the right with the speed 4 using the scrolling text no.
Programming Commands COMMANDS FUNCTION DESCRIPTION Clear character CTRL Z or ESC : Home cursor, clear characters to nulls Code: 026 Code: 027, 058 This function will clear all the characters to blank character and returns the cursor to 0, 0.
Programming Commands COMMANDS ESC R FUNCTION Delete an entire line Code: 027, 082 DESCRIPTION This function will delete the current line at cursor "Y" All data below this line will move up and the last line will be blank. Line Scroll ESC E Insert line of space characters Code: 027, 069 This function will insert a line of space characters at the current vertical position. Data on this line and underneath will scroll downward.
Programming Commands COMMANDS FUNCTION DESCRIPTION Set cursor position ESC = Move cursor to X,Y It will address the Code: 027, 061 cursor to an X, Y location on display. PARAMETER FORMAT : ESC = RANGES : COLUMN X : “0”-“19” (048-067). ROW Y : “0”-“1” (048-049). EXAMPLE : PRINT #1, CHR$(27)+“=11”; Sets the cursor to the second line, second cell.
Programming Commands COMMANDS FUNCTION ESC_D Disable printer, enbale display Code: 027, 095, 068 DESCRIPTION This command quits the printer mode and return to display mode. The following data will be displayed, not printed. EXAMPLE: PRINT #1, CHR$(27)+“*”; PRINT #1,“Display”; PRINT #1, CHR$(27)+“_P” PRINT #1,“Printer is active.”+CHR$(13) +CHR$(13)+CHR$(13)+CHR$(13) PRINT #1, CHR$(27)+“_D” PRINT #1, “again.” Misc.
Programming Commands COMMANDS FUNCTION ESC H CTRL B Turn on special character mode Code: 027,072,002 ESC H CTRL C Turn off special character mode Code: 027,072,003 Macro DESCRIPTION The special character mode allows you to use the 8 user definable characters, you also must add DEC 32 or Hex 20 to the character. Return the display to normal display mode. programming You can define up to 16 function blocks (macros) with a length of up to 127 byte.
Programming Commands COMMANDS FUNCTION DESCRIPTION This is only useful upon power up, because if you have data in the next block, its data will be overwritten. Therefore it is suggested these blocks are unutilized as one of the first steps to use the display. To link blocks, simply add a function call, from within a block, to the block that you wish to use. PARAMETER FORMAT : ESC “ RANGES : BLOCK-NO : 0 - 15 (048 - 063) ESC EOT: 027, 004.
Programming Commands COMMANDS ESC # FUNCTION Execute a programmed function block Code: 027,035 DESCRIPTION This function allows the programmer to call one of the function blocks for execution. PARAMETER FORMAT : ESC # RANGES : BLOCK-NO : 0 - 31 (048 - 079) EXAMPLE : Starts the Block-NO, that has been defined in the example above. PRINT #1, CHR$(27)+“#0” ESC_D To select to print out the data from display. If you send <_> then the pole display will display “Hello”.
4 Sample Program • • • • • • • 10 20 30 40 50 60 70 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270 280 290 300 310 320 330 340 ’Sample program for 8034 series ’ ’ RESET:CLEAR:SCREEN 0:COLOR 7,0:CLS ’ OPEN “COM1:9600, N, 8, 1, CS0" AS #1 ’: Set RS232 Options E$=CHR$(27) ’: Set E$= "[ESC]" ’Clear Screen & Set cursor off PRINT #1,E$+":"+E$+"`"+CHR$(1) ’ ’Demp program ’ LOCATE 7,20:PRINT “Testing 8004 Series..." LOCATE 8,35:PRINT “[ESC] to Stop ...
350 360 370 380 390 400 410 420 430 440 450 460 470 480 490 500 510 520 530 540 550 560 570 PRINT #1,ED$+"7"+E$+"`"+CHR$(7)+EN$ PRINT #1,ED$+"8"+E$+"`"+CHR$(8)+CHR$(13)+"Turn LCD screen ON"+EN$ PRINT #1,ED$+"9"+E$+"`"+":"+"Move cursor :"CHR$(2)+EN$ PRINT #1,ED$+":"+E$+"B0"+EN$ PRINT #1,ED$+";"+E$+";1"+EN$ PRINT #1,ED$+"<"+E$+"=31"+EN$ ’ ’Excute Program Block ’ FOR I=48 TO 61:PRINT #1,E$+"#"+CHR$(I):GOSUB 540:NEXT PRINT #1,E$+"`"+CHR$(1) ’ ’Program a Message For the Scrolling Lines & Start a Line Scrolling
A Appendix I • • • • • • • Specifications Display • Type: alphanumeric dot matrix vacuum fluorescent display • Text mode: 20 characters x 2 lines • Character size: 6.4(W) x 9.2mm(H), 5x7 dots • Display color: blue green • Brightness: 700 cd/m2 Case • Dimension: 311mm(L) x 217mm(W) x 50mm(H) o o o • Adjustable angle: 270 swivl, 9 forward and 45 backward • Pole height: 140mm • Material: ABS Bottom Plate • ABS with metal plate.
8034 Specifications 8034 Y cable pinout DB-9F Pin No. Signal --2 RX 5 GND 9 ---6 DSR 8 CTS 3 TX --- DB-25M -2 7 -3 ---20 Dip Switch Setting SWITCH SW1 OFF ON OFF ON RJ-45 8P Pin No.
Specifications Dip Switch Setting International character set SWITCH CHARACTER SET SW3 SW4 SW5 SW6 International character Code table ASCII code 20H-7FH ACSII code 80H-FFH U.S.A PC-437 OFF OFF OFF OFF (USA standard Europe) ON OFF OFF OFF FRANCE PC-850 OFF ON OFF OFF GERMANY PC-850 ON ON OFF OFF U.K.
A Appendix II • • • • • • • The table indecates EPSON ESC/POS command list Command Code description(Hex) Function ESC t n 1B 74 n 0<=n<=7 Select code table (Refer Item I as bellow) ESC R n 1B 52 n 0<=n<=12 Select international character set(Refer Item II) I. Select code table for ESC/POS n 0 1 2 3 4 5 Code Table ASCII (80H~FFH) PC437:U.S.A.
II. Set international character set for ESC/POS International character set n 0 1 2 3 4 5 6 7 8 9 10 ASCII (20H~FFH) U.S.A FRANCE GERMANY U.K.
A Appendix III • • • • • • • Code Table Selection This chapter introduce you how to define/setup the font table on the 8034 either through switch 3, 4, 5, 6 setting or EEPROM programming. The Switch Setting Step 1: Turn off your computer If you have not already done so, turn off your computer to avoid any accidental damage to the pole display and computer.
Code Table Selection Step 4: Turn on your computer Turn on your computer. It should boot up normally. The pole display will show a self-diagnostic status and then the display will be blank.
A Appendix IV • • • • • • • The Code Table HEX 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH 0FH CODE NULL MD1 MD2 MD3 MD4 MD5 MD6 MD7 BS,MD8 HT LF HOM CLR CR SLE1 RS,SLE2 HEX 10H 11H 12H 13H 14H 15H 16H 17H 18H 19H 1AH 1BH 1CH 1DH 1EH 1FH Table IV-1: Control code set This is reserved by the 8034 32 CODE DLE DC1 DC2 DC3 DC4 CAN ESC SF1 US,SF2
The Code Table International Characters Set 20h 30h 0 1 ..... ..... ..... ..... ..... ..... ..... ..... .. .... ..... ..... .. . ..... . ... .... .... .... .... .. .. ... ...... ..... ..... ..... ..... ..... ...... .... .... .... .. .. .. .. .. .. .. .. ..... ..... .. .. .. .. ... .. .. .. .. .. .. .. . ... ...... .... ... ... ... ..... ... ..... ..... ..... ..... . . .... .... . ..... ...... ... ..... ....
The Code Table International USA FRANCE GERMANY U.K. DENMARK SWEDEN ITALY SPAIN JAPAN NORWAY DENMARK SLAWIEN RUSSIA 23 24 40 5B 5C 5D 5E 60 7B 7C 7D 7E .. .. .. ... .. .. .. .. .. .. ... .. .. .. .. .. .. ... .. .. .. .. .. .. ... .. .. .. .. .. .. I ... .. .. .. .. .. .. ... .. .. .. .. .. .. ... .. .. .. ..... .. ... .. .. .. .. .. ... .. .. .. .. .. .. ... .. .. .. ... I I .. .. .. .. .. .. .. .. .. ... .. .. .. .. .. .. ... .. .. .. .... .. . .... .. .. ... .. .. .. . .... .. .. ... .. .. .. . ....
The Code Table 80h 0 1 2 3 4 5 6 7 8 9 A B C D E ..... .... ..... .. .. . ... ... .. ... ..... .... ...... .. ...... . .... ..... ... ....... ... .. .. .. .. .. .. .. ..... ..... ..... ... ... ... ..... ..... ..... .... ..... .. .. ....... ..... ..... ..... ..... ..... ...... .. ... ... .. . . ..... ..... .. .. .. ... . ... .. ... ..... ... .. .. .. . ... ....... ..... ..... .. .. .. .. .. .. ..... ..... ..... ..... ..... ..... .. .. .. .. . ... .. .. ... .. .. .... ..... .. .. .. .. .. .. ..
The Code Table 0 1 2 3 4 5 6 7 8 .... ..... .. .. .. ..... .. ... .. ... .. .. ... ... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... .. .. .. ... ... . ... ....... ..... ....... ..... .... .. .. .. .. .. .. .. .. .. .. ..... ... .. ...... ..... .. . ... .. . .. .. ... ... ..... ..... ...... . ..... ..... ..... ..... . .. .. .. .... .. . .. . .. .. .. .. . ... ...... .. .. .. .. .. .. . ... ..... .. .. ..... ... ... .... .. .. .. .. .. ... .. .. .. . .. .. ....
The Code Table 0 ..... ... ... ... ... . ... .... .... .... .... ..... ..... ....... ... .. . . ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ...... ... .... .... .... ..... .... .... ..... 1 2 .... ..... ... ... . ..... .... .... .... ..... ..... ..... ..... .... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ...... .... .... .... ...... ... ... .
The Code Table 80h 90h A0h 0 1 2 3 4 5 ..... .... ....... .. . ... ...... .. ..... .... .. .. .. .. .. .. ..... .. .. .. .. .. .. ..... ..... ..... ... .. .. .. .. .. .. .. ..... ..... ..... ... ... ... ..... ..... ..... .... ..... .. .. ....... ..... ..... ..... ..... ...... .. ... ... ... .. . . ...... .. ..... .... ...... .. ..... . .. .. .. .. . ... ....... ..... ..... .. .. .. .. .. .. ..... ..... ..... ..... ..... ..... .. .. .. .. . ... .. .. ... .. .. .... ..... .. .. .. .. .. .. .. ..
ISSUED: October'2002 - V 2.