background image

 12

EA KIT129-6

ESC

F

n1 n2

n3

Set font

Sets the font with the number 

n1

 (1=4x6 uppercase letters only !). In addition, an

enlargement factor (1..8 times) is set for the width (

n2

) and height (

n3

) separately.

Example:

$1B

$46 $02

$03

$04

The 6x8 with 3 times the width and 4 times the height is set with immediate effect.
In the adjacent figure, the character 'E' is shown in the 6x8 font and with various
enlargement factors.

ESC

F

T

n1

Set terminal font

Sets the font with the number 

n1

 for terminal operation. The font for the terminal is always used without zoom

and in REPLACE mode.

Example:

$1B

$46 $54

$03

The 6x8 font is set as the terminal font with immediate effect.

ESC

G

x1 y1

x2 y2

Draw straight line

A straight line is drawn from 

x1,y1

 to 

x2,y2

 taking into account the graphics mode set

'V' (set/delete/inverse).

Example:

$1B

$47 $03

$14

$28

$06

A straight line is drawn from 3,20 to 50,6.

ESC

H

x1 y1

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.

ESC

J

n1

Switch beep on/off manually

Switches the tone off (

n1

=0), on for an undefined period (

n1

=1) or on for n1/10 seconds (

n1

=2..255).

Example: $1B

$4A $0A

The tone sounds for 1 second after this command.

ESC

K

A

add

Assign address

Assigns an address to the EA KIT129 (

add

=0..254). The best place for this command is in the power-on macro.

Example: $1B

$4B $41

$01

The EA  KIT129 is assigned the address $01 with immediate effect.

ESC

K

S/Dadd

(De)select KIT129

Selects (

S

) or deselects (

D

) the EA KIT129 with the address 

add

 (0..254); the address 255=$FF is a master

address for all EA  KIT129 units.

Example: $1B

$4B $44

$01

All commands for the EA  KIT129 with the address $01 are ignored with immediate effect.

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: