background image

7

EA KIT129-6

Font 1: 4x6

INTEGRATED FONTS

5 character sets are integrated in each graphics
unit as standard. Each character set can be
used at its normal height or at up to 8 times this
height. Independently of the height, the width can
also be increased two to eight times.

Each character can be positioned with 

pixel

accuracy

. Text and graphics can be combined

as required. Several different font sizes can
also be displayed together.

Each text can be output left justified, right
justified or centered. 90° rotation (for vertical
installation of the display) is also possible.
Macro programming permits the inclusion of
up to 11 additional fonts and the complete
redesign of the individual characters. A font
editor on the EA DISKFONT1520 floppy disk
allows you to create and program in any font
you like with a size of up to 16x16 pixels.

Font 5: 8x16

Font 3: 6x8

Nr.

Char.

Height

Lines x

Chars.

Size in

pixels

ASCII-

area

Note

1

2,6 mm

13 x 40

4 x 6

32 - 95

Micro

2

2,6 mm

13 x 32

5 x 6

32 - 158

Mini

3

3,6 mm

10 x 26

6 x 8

32 - 158

Normal

4

3,6 mm

10 x 20

8 x 8

32 - 158

Bold

5

7,2 mm

5 x 20

8 x 16

32 - 158

Big

TIP: FONT EFFECTS

With large fonts, you can use the command ESC L TEXT mode (link,
pattern) to produce interesting effects through overlaying (writing and
offsetting a word several times).

Original font 8x16 with ZOOM 3
at 

position 0,0

 with black pattern

"Outline font" produced by
overlaying 

(EXOR)

 at 

pos. 1,1

Overlaying 

(EXOR)

 of the "outline font" at

pos. 2,2

. results in an "outline font with fill"

Overlaying (

OR

) with 50% gray pattern of

the "outline font" at 

pos. 0,0

. results in a

"font with pattern fill"

Summary of Contents for EA KIT129-6

Page 1: ...A AND OR EXOR BARGRAPH UPTO256MACROSPROGRAMMABLE COMBINATIONOFTEXTANDGRAPHICSALLTHETIME BUILTINSOFTWARESUPPORTSTOUCHPANEL OPERATINGTEMPERATURERANGE 20 70 C STORAGE 30 70 C ACCESSORIES WITHTOUCHPANEL5x3AREAS ANTI GLAREANDSCRATCH PROOF FLOPPYDISKFORMACROPROGRAMMING PCDOS WIN EADISK240 CABLE 1 5m FORCONNECTIONTO9 PINSUB D RS 232FEMALE EAKV24 9B ORDERINGINFORMATION 128x64WITHTOUCHPANEL5x3 LED B L BLUE...

Page 2: ... keys and the labeling or grouping of several fields is handled by the integrated software SOFTWARE The graphic kits are programmed by means of commands such as Draw a rectangle from 0 0 to 64 15 Noadditionalsoftwareordriversarerequired Stringscanbeplacedwithpixelaccuracy Text and graphics can be combined at any time Up to 16 different character sets can be used Thus when the 8 times zoom is used ...

Page 3: ...rs convenient commands supporting this touch panel It is possible for example to group a number of touch fields to form a single large key and then draw and label the key Youcanalsoassignarecordcode 1 255 tothekeyyouhavedefined Ifareturncodeof0isassigned the key is disabled and has no effect when it is pressed When the touch keys are touched they can be automatically inverted and a tone can sound ...

Page 4: ...240 zip BAUDRATES The baud rate can be set by means of the 3 DIP switches on the left 9 600 baud issetatthefactory DIP 3ON Pleasenotethattheinternaldatabufferonlyholds 16bytes ItisthereforeimperativethattheRTShandshakelinebequeried alevel of 10Vmeansdatacanbeaccepted alevelof 10Vmeansthedisplayisbusy The data format is fixed at 8 data bits 1 stop bit and no parity WRITEPROTECTIONFORPROGRAMMEDMACRO...

Page 5: ...dforslowoperations inotherwords morethan 3changespersecondcannotbeeasilyexecuted Ifaninputisleftopen itislogical high internalypulled upvia100kOhm 8outputs Writing the command ESC Y M anz will redefine one or more line as an output Upper lines will be outputsandlowerlinesstayasinputs Command ESCYM2 forexample defines IO8 and IO7 as output lines and IO1 6 will stay as inputs Each re defined line ca...

Page 6: ...ble software such as Windows Paint or Photoshop CREATINGINDIVIDUALMACROS To create your own macros you need the following the EA DISK240 floppy disk which contains the compiler examples and fonts a PC with a COM1 or COM2 serial interface and approximately 500KB hard disk space a text editor such as WordPad or Norton Editor To define a sequence of commands as a macro all the commands are written to...

Page 7: ...rs A font editor on the EA DISKFONT1520 floppy disk allows you to create and program in any font you like with a size of up to 16x16 pixels Font 5 8x16 Font 3 6x8 Nr Char Height Lines x Chars Size in pixels ASCII area Note 1 2 6 mm 13 x 40 4 x 6 32 95 Micro 2 2 6 mm 13 x 32 5 x 6 32 158 Mini 3 3 6 mm 10 x 26 6 x 8 32 158 Normal 4 3 6 mm 10 x 20 8 x 8 32 158 Bold 5 7 2 mm 5 x 20 8 x 16 32 158 Big T...

Page 8: ...te 3 inverse 4 replace 5 inverse replace Set point ESC P x1 y1 Sets a pixel at position x1 y1 Draw straight line ESC G x1 y1 x2 y2 Draws a straight line from x1 y1 to x2 y2 Continue straight line ESC W x1 y1 Draws a straight line from the last end point to x1 y1 Rectangle commands Draw rectangle ESC R R x1 y1 x2 y2 Draws a rectangle frame from x1 y1 to x2 y2 Draw rounded rectangle N x1 y1 x2 y2 Dr...

Page 9: ... add Activates the kit with the address n1 n1 255 all D add Deactivates the kit with the address n1 n1 255 all A add Assigns a new address add in the power on macro for example Wait pause ESC X n1 Wait n1 tenths of a second before the next command is executed Buzzer on off ESC J n1 n1 0 tone off n1 1 tone on n1 2 255 for n1 1 10s long on Send bytes ESC S num data Sends num 1 255 0 256 bytes at the...

Page 10: ... ev value pat ret frm data Numerical values are transferred with 1 byte Example n1 15 dec 0F PROGRAMMINGEXAMPLE Thefollowing tableshowsanexampleinwhichthestring Test isoutputleftjustifiedatcoordinate7 3 Example Codes to be output In ASCII ESC Z L BEL ETX T e s t NUL In hex 1B 5A 4C 07 03 54 65 73 74 00 In decimal 27 90 76 7 3 84 101 115 116 0 For Turbo Pascal write aux chr 27 Z L chr 7 chr 3 Test ...

Page 11: ...graph but does not display it Example 1B 42 4F 01 04 02 09 1E 04 14 01 Bar graph no 1 which extends upwards is defined When it is fully extended it takes up an area from 4 2 to 9 30 The start and end values correspond to a 4 20 mA display The diagram shows the bar graph fully extended as represented with 42 01 14 ESC B no value Draw bar graph The bar graph with the number n1 1 2 is set to the new ...

Page 12: ... x2 y2 Create hard copy of display contents Requests the area from the upper left corner x1 y1 to the lower right corner x2 y2 The graphics chip then immediately sends the width and height of the image section followed by the image data See the upload image command U for the structure of the image data Example 1B 48 00 00 1F 0F The upper left part of the screen 32 x 16 pixels is sent via RS 232 ES...

Page 13: ...D 4E 0F The normal macro with the number 15 is executed ESC M T n1 Call touch macro Calls the touch macro with the number n1 0 255 Example 1B 4D 54 03 The normal macro with the number 3 is executed ESC M P n1 Call port macro Calls the port macro with the number n1 0 255 Example 1B 4D 50 01 The normal macro with the number 1 is executed ESC M A J n1 n2 n3 Execute macros automatically Calls the norm...

Page 14: ...rsor Example 1B 51 44 00 0F 07 10 Defines the flashing area from 0 15 to 7 16 ESC Q Z n1 Set flashing time Sets the flashing time to n1 1 15 tenths of a second When n1 0 the flashing function is deactivated and the original screen restored Example 1B 51 5A 03 Sets the flashing time to 0 3 seconds ESC R R x1 y1 x2 y2 Draw rectangle Draws a rectangle from the upper left corner x1 y1 to the lower rig...

Page 15: ...lower right corner x2 y2 with the pattern pat taking into account the set graphics mode ESC V set delete invert replace inverse replace Example 1B 52 4D 05 01 2D 1A 07 Fills the area with the pattern 7 45 cross from 5 1 to 45 26 ESC R O x1 y1 x2 y2 pat Draw box Draws a rectangle from the upper left corner x1 y1 to the lower right corner x2 y2 with the pattern pat The background of the box is delet...

Page 16: ... word TEST ESC T P R Preset reset touch fields Assigns P ascending return code 1 60 or R reset all touch fields to all 60 touch fields In the latter case all touch fields receive the return code 0 i e they are deactivated Example 1B 54 52 All touch fields are deactivated by this command and no longer recognized ESC T I S n1 Touch key response These commands set the automatic response of the touch ...

Page 17: ... P Set point ESC G Draw straight line ESC W Continue straight line ESC R R Draw rectangle ESC R N Draw rounded rectangle ESC R M Fill area with pattern Example 1B 56 03 Sets the link mode to inverse By way of example a rectangle is drawn alongside with the link modes set delete and inverse on an existing background Link mode n1 1 set black pixels irrespective of the previous value OR 2 delete whit...

Page 18: ...cation on page 5 Example 1B 59 57 02 01 Switches the output port I O2 to high level ESC Y A n1 Automatic port query on off Each change at the input port 8 bit binary value I O8 I O1 can call a port macro 0 255 This command activates n1 1 or deactivates n1 0 the automatic port query After power on the current port status is read and the associated port macro executed immediately Example 1B 59 41 01...

Page 19: ...xample 3 Writes the text Right Ok right justified at 49 0 1B 5A 52 31 00 52 69 67 68 74 7C 4F 6B 00 ESC Z O M U x1 y1 text NUL Vertical string Writes the string text rotated by 90 degrees top justified O vertically centered M or bottom justified U at position y1 taking into account the text mode ESC L Multi line text can also be output with the lines separated by the character 7C The string must b...

Page 20: ...without using of chemical solvents Themoduleisdesignedforindooruseonly Foroperatinginoutside enviromentadequateprecautions mustbeundertaken Maximumoperatingtemperaturerangefrom 20 70 Cshouldbenotexceeded Please note that ambient temperature range is different because of self heating of module In humid atmosphereorincondensingsituationsthemodulefunctionsmaydropout Directsunexposuretothe display sho...

Reviews: