EA KIT129-6 6.2005 CONTROL PANEL WITH FONTS, GRAPHICS COMMANDS AND MACROS ./o. w and a n e l h t wi c h P Tou EA KIT129J-6LWTP EA KIT129-6LWTP Dimensions 75x60x24mm Viewing area 61x 38 mm TECHNICAL DATA * * * * * * * * * * * * * * LCD GRAPHIC DISPLAY WITHVARIOUS GRAPHIC FUNCTIONS AND BUILT IN FONTS 128x64 PIXELSWITH LED ILLUMINATION, BLUE NEGATIVE OR BLACK ANDWHITEWITHWHITE LED-BACKLIGHT POWER SUPPLY 5V/170mA OR 9~35V OPTIONALLY RS-232WITH BAUDRATES 1,200..
EA KIT129-6 GENERAL The EA KIT129 graphics kit is a fully assembled control and operating unit with a variety of integrated functions. The display has very compact dimensions and offers excellent super-twist contrast, which means the unit can be put into operation immediately. It is controlled via the standard RS-232 or RS-422 interface. In addition to complete graphics routines for display output, the graphics kit also contains a wide variety of fonts.
EA KIT129-6 EXTERNLA KEYBOARD(EA KIT129-6LW ONLY) A keyboard (anything from individual keys to a 3x5 matrix keyboard, J4) can be connected at the plug-in connection. The connected keys are debounced by means of software. Please note that it is only possible to connect an external keyboard to versions without an integrated touch panel. Each key is switched between an output and an input. Each input has a 100kΩ pullup. Up to 5 keys can be connected at each output.
EA KIT129-6 BAUD RATES The baud rate can be set by means of the 3 DIP switches on the left. 9,600 baud is set at the factory (DIP 3 ON). Please note that the internal data buffer only holds 16 bytes. It is therefore imperative that the RTS handshake line be queried (a level of +10V means data can be accepted; a level of -10V means the display is busy). The data format is fixed at 8 data bits, 1 stop bit and no parity.
EA KIT129-6 DIGITL INPUTS AND OUTPUTS EA KIT129 provides 8 digital in- or outputs (5V CMOS level, grounded). Definition for each line as an In- or Output can be done at any time. Connection will be done via J120 as a 2x5 double row pin header.
EA KIT129-6 MACRO PROGRAMMING Single or multiple command sequences can be grouped together in macros and stored in the EEPROM. You can then start them by using theExecute macrocommands. There are 4 different types of macros: Touch macros (1..255) These are started when you touch a touch field (in versions with a touch panel - TP) or when you operate an external key/matrix keyboard. Touch macro no. 0 is different: It is started when you release any key. Port macros (0..
EA KIT129-6 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. Font 1: 4x6 Nr. Char. Height Lines x Chars.
EA KIT129-6 ALL COMMANDS AT A GLANCE After power-on cursor flashes at the top left of display. It is ready for some commands. All received characters will be displayed as ASCII codes (see page 7: Font 1..Font 5). Exceptions are: CR, LF, FF, ESC. Line Feed is done by code ´LF´. After sreen is full, cursor will jump to top left corner again. Code ´FF´ (Formfeed) will clear display. All other commands (place cursor, set font, graphic functions, ...) will be startet by ESCAPE-code (27dec. / $1B hex).
EA KIT129-6 Bar graph commands Define bar graph ESC B Draw bar graph R L O U no no value x1 y1 x2 y2 sv ev pat Defines a bar graph to the left (L), right (R), top (O) or bottom (U with the number no (1..16). x1,y1,x2,y2 define the rectangle enclosing the bar graph. sv,ev are the values for 0% and 100%. pat=pattern (0..7) Sets the bar graph with the number no (1..
EA KIT129-6 PARAMETERS The graphics kit can be programmed by means of various integrated commands. Each command begins with ESC followed by one or two command letters and then parameters. All the commands and their parameters, such as coordinates and other transfer values, are always expected as bytes. No separating characters, such spaces or commas, must be used between them. The commands require no final byte such as a carriage return (except for the string $00). A..Z, L/R/O/U ............................
EA KIT129-6 DESCRIPTIONS OFTHEVARIOUS GRAPHICS FUNCTIONS On the following pages you will find detailed descriptions of all of the functions in alphabetical order. In each case, an enlarged section of the image, 50x32 pixels in size, is shown as a hard copy example, indicating the contents of the display after the command is executed. The bytes to be transferred are shown as hex values in the examples. ESC B L/R/O/U no x1 y1 x2 y2 sv ev pat Define bar graph Up to 2 bar graphs (no=1..2) can be defined.
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.
EA KIT129-6 ESC L n1 pat Set text mode Sets the link mode (n1) and pattern (pat) for the string output text function (ESC Z). Example: $1B $4C $03 $03 Sets the link mode for all subsequent text functions to gray characters (pattern 3 = 50% gray) inverted with the background.
EA KIT129-6 ESC O n1 n2 Position cursor Sets the cursor to column n1 and row n2 for terminal operation. The origin in the upper left corner is 1,1. Example: $1B $4F $03 $05 Sets the cursor to the 3rd column in row 5. ESC P x1 y1 Set dot Sets a pixel at x1,y1 taking into account the graphics set mode 'ESC V' (set/delete/ invert). Example: $50 $11 $0D Sets the pixel at 17,13. ESC Q C n1 Cursor on/off n1=1: Switches the cursor on; it flashes at the current position on the terminal.
EA KIT129-6 ESC R L x1 y1 x2 y2 Delete area Deletes the area from the upper left corner (x1,y1) to the lower right corner (x2,y2). Example: $1B $44 $53 $1B $52 $4C $06 $04 $28 $19 The display is filled with ESC D S and then deleted from 6,4 to 40,25. ESC R I x1 y1 x2 y2 Invert area Inverts the area from the upper left corner (x1,y1) to the lower right corner (x2,y2) (black pixels turn white and vice versa).
EA KIT129-6 ESC T H/V f1 f2 ret frm text... NUL Define touch key Defines a touch key and labels it with the current font. H=horizontal or V=vertical labeling (rotated 90°). Several touch fields can be grouped together to form a single touch key (f1=upper left touch field; f2=lower right touch field of the new touch key). This touch key is assigned a return code with ret (1..255).
EA KIT129-6 ESC U E x1 y1 n1 Load image from EEPROM Displays the image saved in the EEPROM with the number n1 (0..255) at position x1,y1. Example: $1B $55 $45 $02 $03 $0E Displays image number 14 from the EEPROM at position 2,3. ESC U L x1 y1 data... Upload image Displays an image at position x1,y1. data..: - 1 byte for the image width in pixels - 1 byte for the image height in pixels - Image data: number = ((height+7) / 8) * width bytes BYTE NR.
EA KIT129-6 ESC X n1 Wait/pause This command suspends the EA KIT129 for n1/10 seconds. Example: $1B $58 $0A After this command the EA KIT129 waits for a second before the next command is processed. ESC Y M n1 Define as an output n1=count of I/O lines will be defined as an output (starting at I/O8 downwards). If n1=0, all lines I/O1~I/O8 are switched as input lines (=default after power-on and after reset); see also application page 5. Example: $1B $59 $4D $03 sets I/O lines 6, 7 and 8 as output.
EA KIT129-6 ESC Z L/Z/R x1 y1 text... NUL Horizontal string Writes the string text... left justified (L), centered (Z) or right justified (R) at position x1 taking into account the set text mode (ESC L). Multi-line text can also be output, with the lines separated by the character '|' (=$7C). The string must be concluded with NUL= $00. Position y1 is the upper edge of the 1st line. Example 1: Writes the text "Left|Ok" left justified at 0,0.
EA KIT129-6 DIMENSIONS 75,0 1,6 69,0 4x 2,7 38,0 128x64 blue-white MOUNTING BEZEL 11,3 10,8 0,44 56,30 61,0 with touch panel EA KIT129-6LWTP w./.o. touch panel EA KIT129-6LW 0,50 0,42 0,52 all dimensions are in mm 11,5 max. 45,8 31,0 33,26 60,0 54,0 38,0 CUT OUT all dimensions are in mm HINTS FOR HANDLING AND OPERATING - The module can be destroyed electrically by mispoled or overvoltaged power supply, wrong polarity, overvoltage or static discharge on inputs or shortened outputs.