6.2017 EA uniTFT101-A Preliminary OBJECT BASED HMI UNIT – 10.1“ TFT FEATURES WITH and WITHOUT TOUCHPANEL ANALOGUE RESISTIVE TOUCH OR CAPACITIVE - PCAP OBJECT BASED SCREEN DESIGN CHANGE OBJECTS: SIZE, SHAPE, COLOR, VISABILITY, CONTENT VECTOR GRAPHICS, LOSS FREE ROTATION AND ZOOM ALPHA BLENDING, MOVING OBJECTS VECTORIZED CHARACTER SET AS ASCII AND UNICODE SINGLE SUPPLY 3.
EA uniTFT TABLE OF CONTENT Features Ordering codes Table of content Revision General information Method of working of the display Objects Styles Drawing style and line style Text style Button style Styles and objects Command syntax Command parameters Angels Comments Object area Entering figures Entering strings String file Path details, Files and Formatting Path details Data Types Formatted strings Date and Time Images Image formats Polyline and polygons Segment Indicators Directions of movement and arcs An
EA uniTFT Video input/camera AnalogUE Input Pulse width modulation (PWM) Input/Output (I/O) Short Protocoll & Small Protocoll Short Protocoll Small Protocoll Checksum calculation Short Protocoll Small Protocoll Commands Command overview Terminal Images/vector graphics Add image/vector graphic.
EA uniTFT Video and Audio RS232 Master interface Spi Master interface I²c System commands Boot menu and touch adjustment through gestures File access SD-Card File time Responses Examples of commands Operation and animation Bild / Vektorgrafiken Ein- und Ausgänge Instruments Keyboard String Zeichenkettenbefehle Editbox Style sheets Terminal commands Touch control objects/touch control functions Time Drawing/graphic primitives Segementtypen Commands for the examples Operation and animation Instruments Keyboar
EA uniTFT Vorläufig REVISION Datum 23.08.2016 Version / Firmware 0.9 Beschreibung First release Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig GENERAL INFORMATION METHOD OF WORKING OF THE DISPLAY The representation on the display is effected based on the commands given by the user. Every item on the display is an independent object and can be manipulated. The appearance, i.e. the colour data, the fonts, the line strengths, etc. is merged to form styles . OBJECTS In order to generate various objects, the corresponding commands are available. Every image, every text and every button is a so-called object.
EA uniTFT Vorläufig deleted in a targeted manner, and others can remain in place. Below is an example, to make it clear how handling objects works. Once the display has been started, a main menu is opened, with a background (ID=100), Logo(ID=101) and two touch buttons(ID= 1,2) for selecting the sub-menu. A button style(number=1) is, furthermore, defined for the touch control buttons. The background, logo and button style should also be present in the sub-menus.
EA uniTFT Vorläufig l Individual command to generate Line Style 1 #CLS1 $3B7EAE,100,1,0,1(Line Feed) l Multiple commands to generate an animation of Object 1 #AOA1 501,0 (Line Feed) #AOT1 1,250,100,100 (Line Feed) There are commands which relate to files. Those are likewise written in quotation marks or inverted commas. These commands have recorded in them, as their reference point, the default folder, and thus an automated path specification.
EA uniTFT Vorläufig COMMENTS The option exists to add comments in the command input in macro files. Considerations concerning command sequences can be explained thereby, and a better understanding ensured. A comment begins with#-(hash key minus) and applies until the end of the line, i.e. once the comment line is supposed to contain a wrap, the next line likewise has to begin with #- in order to continue the comment.
EA uniTFT Vorläufig ENTERING FIGURES Input Definition 123 Decimal handover as ASCII character/s $5A Hexadecimal handover as ASCII character/s %101001 Binary handover as ASCII character/s ?x Code of a character (Unicode /ASCII) R0..R255 Handover of the register value Q0..Q255 Accept register value indexed = R(R0..255). (...) Accept result of the calculation string G len32 data...
EA uniTFT Vorläufig SiIt serves the purpose of using multilingualism in regard to the statement “Hello, World”. The text file is first of all loaded through #VFL "Hallo". Should a string now be placed by the commandl #SSP 1, 1, 400, 240, 5 !German! "|" !English!, the result looks as follows: The pipe sign | is necessary for the line break.
EA uniTFT Vorläufig PATH DETAILS, FILES AND FORMATTING PATH DETAILS There are two ways of indicating the path. In absolute and relative terms, respectively. Designation Example Absolute path details Relative path details <.../Unterordner> The absolute path details should be used to work with files outside the project path set. The project path, which is defined by the command XPS serves to simplify matters. It is not necessary to specify the superordinate directories.
EA uniTFT Vorläufig The same occurs with macros, string files (rather than strings), patterns, buttons (images), sounds, instruments and fonts. The default folders may never be changed. Sub-folders in the default folders are allowed, however need to be specified as well in file names. DATA TYPES Zur Verwendung von Bild- oder Sounddateien müssen diese umgewandelt beziehungsweise konvertiert werden.
EA uniTFT Vorläufig DATE AND TIME The file format is a special form of the formatted string and describes the date, including the time. A further explanation on the date format can be found here (#WDF). In the table below, the input commands for the file format are listed.
EA uniTFT Vorläufig IMAGES The module internally uses a special image format (*.epg). The conversion needs to be done externally. The Windows program EA uniSketch offers the most comfortable option to have most image formats converted. Some commands make it possible to save the screen content on the SD card or transfer image data directly via the serial interface. Various image formats are available here.
EA uniTFT Vorläufig POLYLINE AND POLYGONS With the polyline (#GPL) and polygon (#GPF) commands, virtually all desired forms can be generated. Each section is designated a segment. SEGMENT A segment is generally a section or a part of something whole. In the present command application, the segments fulfil two primary aspects. Firstly, graphics, and, secondly, operational paths, can be created, segment by segment. As a result, freely selectable forms find their way into the design of the layout.
EA uniTFT Vorläufig Highlighting the arcs and directions of movement 0: Small anti-clockwise arc #GPP1, 1, 390, 380, ?E0, 200, 70, 25, 340, 260 1: Small clockwise arc #GPP2, 2, 390, 380, ?E1, 200, 70, 25, 340, 260 #GPP3, 3, 390, 380, ?E2, 200, 70, 25, 340, 260 2: Large anti-clockwise arc #GPP4, 4, 390, 380, ?E3, 200, 70, 25, 340 ,260 3: Large clockwise arc Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig ANCHOR All objects can be created at a position (x, y). By specifying the anchor numbers, it can now be determined whether the object is e.g. with the upper left corner (anchor 1), or e.g. exactly in the middle (anchor 5). In the case of multiline texts, there are further anchors (11-19) which refer to the baseline of the text.
EA uniTFT Vorläufig GROUPS Groups simplify the simultaneous handling of several objects. The desired objects are grouped together in an object group, but they retain their individual functions and definitions. The advantage is that all objects of the group can be affected at the same time, for example a shift, a rotation or a fade-out. In addition to the simple object groups, there are also groups for touch switches.
EA uniTFT Vorläufig CALCULATION Each numerical parameter can be replaced by a calculation. The calculation needs to be enclosed in brackets ().
EA uniTFT Vorläufig Name Command Description bit(a) Bit value analog(a) Analogue port value Current date in seconds date() Current date Day in seconds date(D) Current day Day + month + year (1932 - 2067) in seconds date(D,M,Y) Any date desired Current time in seconds time() Current time Hour to seconds time(h) Current hour Hour + mins to seconds time(h, m) Current hour and minute Hour + min. + sec.
EA uniTFT Vorläufig Name Command Description 24-bit colour green channel getG(x) Determine colour portion green 24-bit colour bluec hannel getB(x) Determine colour portion blue 24-bit colour RGB RGB(R, G, B) Determine colour completely Displays RGB of ramp number rampRGB(nr, offset) Displays colour of colour gradient Displays transparency of ramp number rampO(nr,offset) Displays transparency of colour gradient Display width scrW() Width of the display Display height scrH() Height of th
EA uniTFT Vorläufig Name Command Description Instrument bar of drawn value objID(id) Drawn instrument value Instrument bar of end value objIE(id) End value of the instrument Instrument bar start value objIS(id) Start value of the instrument Displays the length of the action path pathL(id) Länge des Aktionspfades Displays relative X co-ordinates from the beginning of the action path pathX(id,distance) X position beginning of path Displays relative Y co-ordinates from the beginning of the ac
EA uniTFT Vorläufig Name Display float calculation as an integer Command float(calculation) Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig ACTION AND ANIMATION Actions and animations can be used to "bring life" to objects or graphics on the display. There are significant differences between an action and an animation. ACTION Actions are used to change objects. or example, objects can be moved or their transparency can be changed. Accordingly, an apparent or vanishing behaviour can also be defined. If an action affects the parameters of an object, they remain on the newly assigned value.
EA uniTFT Vorläufig l l The screen of the unit may be damaged. Bending or deforming can damage both the device and parts thereof. Only use approved original spare parts. Do not use the unit when the display is cracked or broken. Do not use the appliance for purposes other than those intended. Handle memory cards with care. l l Do not remove a memory card from the device while data is being read or stored on the card. Failure to do so may result in data loss or damage to the card or device.
EA uniTFT Vorläufig HARDWARE PIN ASSIGNMENT An overview on the pin assignment of the display is shown below. Pin 1 2 Symbol I/O GND Ground 0 V VDD 3 Beschreibung Power Supply 3,3 V I !Reset Pin 27 28 29 Symbol I/O Beschreibung I/O 1.7 I/O Input/Output 1.7 (Bit 15) I/O SDA I/O Port Expander Serial Data I/O 1.6 I/O Input/Output 1.6 (Bit 14) I/O SCL I/O Port Expander Serial Clock I/O 1.5 I/O Input/Output 1.
EA uniTFT Vorläufig RS232 RS232 is a standard for a serial interface. Data is transmitted serially in an asynchronous manner. The data is thus converted into a bit stream and transmitted. No common clock line exists. In other words, every bus subscriber needs to work with the same transmission rate (the so-called “baud rate”). RS232 is a voltage interface. That means that the data is transmitted via a voltage level.
EA uniTFT Vorläufig APPLICATION EXAMPLES RS232 V24 - CONNECTION TO A PC RS485 - BUS SYSTEM Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig SPI Das Serial Peripheral Interface is a bus system for a serial synchronous data transmission between various ICs. The bus consists of the following lines: l l l l MOSI (Master Out → Slave In) otherwise known as SDO (Serial Data Out) or DO MISO (Master In ← Slave Out) also known as SDI (Serial Data In) or DI SCK (Serial Clock) - shift clock SS (Slave Select → Addressing the partner), also known as CS (Chip Select) SPI works with a bidirectional transmission principle, i.e.
EA uniTFT Vorläufig CPO-CPHL A Mo-(Clo- (Clo- DORD(0) de ck ck MSB first Pola- Phasrity) e) 0 Low stei(0) gende Flanke (0) 1 Low fal(0) lende Flanke(1) 2 High fal(1) lende Flanke(0) 3 High stei(1) gende Flanke(1) Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig I²C I²Cstands Inter-Integrated Circuit and is a serial data bus developed by Phillips. The bus designed as a masterslave bus requires 2 signal lines: l l SCL (Serial Clock Line) SDA (Serial Data Line) The electrical specification provides that both lines are terminated with a pull-up resistor to VDD, since all devices connected to the bus have open-collector outputs.
EA uniTFT Vorläufig USB Der Universal Serial Busis a serial bus system for connecting with a computer or other device. It is based on differential data transmission. The bus topology is a strict master/slave communication (exception: “On the Go” devices). In the case of the EA uniTFT050, it is always the PC/Master which has to lead the communication.
EA uniTFT Vorläufig SD CARD The module has a removable micro SD card (up to 32GB). The micro SD card must be formatted with FAT32. The memory is used for all project data, e.g. Different styles, objects, and images. The memory may additionally be used e.g. for data log functions at runtime. VIDEO INPUT/CAMERA The module has an analogue video input and supports three colour systems: PAL (Phase Alternating Line), Secam (Séquentiel couleur à mémoire) and NTSC (National Television Systems Committee).
EA uniTFT Vorläufig ANALOGUE INPUT The module has 4 analog inputs with a resolution of 12 bits. The values can be used for further processing. The crossing or subtraction of a boundary region can also trigger an alarm. Measuring range: 0V to 3.3 V. The supply voltage is used as reference input for the ADC. Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig PULSE WIDTH MODULATION (PWM) The module has the possibility to control external components via a PWM signal (pulse width modulation). The duty ratio of the rectangular pulse is changed at a constant frequency (adjustable from 2 Hz to 1 MHz with the command Beispiel siehe S. 91). The duty ratio between on / off time can be changed, too. Electromechanical components, e.g. Motors or a quasi-analog voltage can be driven and generated.
EA uniTFT Vorläufig INPUT/OUTPUT (I/O) The module has 16 digital I/O's build in. The input voltage range is between 0..3,3V. All 16 I/O's are configured as 100kOhm Weak Pull-up at start up. Through the use of one or more external port-expanders MCP23017 (16 I/O for each IC) the number of the entire I/O can be extended up to 128-3. For this purpose, the ports "I/O 1.5 to 1.7" (pin 27 to 29) are switched over and used as serial data lines for the Portexpanders (see application example).
EA uniTFT Vorläufig SHORT PROTOCOLL & SMALL PROTOCOLL In order to ensure secure data transmission, 2 differently complex transmission protocols are integrated. In both protocols, the user data is embedded into a packet by adding a start and a final sequence. We recommend to use the short protocol, but for compatibility with the EA eDIPxxx series you can continue with the small protocol. For initial tests on the serial interface, the protocol can also be switched off completely (Pin 22 "DPROT" to low).
EA uniTFT Vorläufig Action Short Protokoll Small Protokoll Sending Receiption Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig SHORT PROTOCOLL Command Display Byte 0 1 2 3 4 5 6 Send commands / data to dis-send play receive DC31 len2 data ... ... crc163 Repeat last packet send DC4 1 0 'S' send ACK receive DC3 len data ... crc16 send DC4 1 0 'R' send ACK receive DC3 len data ...
EA uniTFT Vorläufig 3 crc: Checksum over all transmitted bytes, including DC3/4 and length bytes. CRC16-CCITT's start value is 0xFFFF. Low byte is transmitted first 4Maximum buffer size is 2042 5Delay in [10ms] till deletion of data packet. The default is 200 = 2 seconds. 6Delay in [10us] till EA uniTFT RS485-direction is altered. Default is 0 = immediately. 7active: 0=ALLE, 1=RS232, 2=SPI, 3=I²C, 4=USB 8 mask: 1=break wait-command (#XXW), 2=actual macros, 4=Clear send buffer, 8=Clear receive buffer.
EA uniTFT Vorläufig SMALL PROTOCOLL Command Display Byte 0 1 2 3 4 5 Send commands / data to dis-receive play send DC11 len2 data ... ... bcc3 Call the display's send buffer receive DC2 1 'S' bcc ... bcc Repeat last packet Protocoll settings Request buffer information Request protocoll infromation Adressing RS485 send ACK send DC1 len data ... receive DC2 1 'R' bcc send ACK send DC1 len data ... ...
EA uniTFT Vorläufig 6Delay in [10us] till EA uniTFT RS485-direction is altered. Default is 0 = immediately. 7active: 0=ALLE, 1=RS232, 2=SPI, 3=I²C, 4=USB 8 mask: 1=break wait-command (#XXW), 2=actual macros, 4=Clear send buffer, 8=Clear receive buffer. The individual bits can be OR-combined. 9 option: 1=Testmode, 2=Disable PowerOnMacro, 3=Disable defaults 4=Boot menu CHECKSUM CALCULATION In the following two sample functions, checksum calculation for Short or Small protocol, are shown.
EA uniTFT Vorläufig SMALL PROTOCOLL For the calculation of the checksum, a simple 8-bit sum check (modulo 256) is performed for this protocol type.
EA uniTFT Vorläufig COMMANDS COMMAND OVERVIEW The module is controlled by a series of graphic commands. They allow the creation of a screen as a macro as well as via the serial interfaces. The following tables explain each command with the necessary and optional parameters. TERMINAL Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters.
EA uniTFT Vorläufig Designition Display string Command code #YPA Clear terminal Show time/date #YPD Display string in a formatted #YPF manner Description 'String' Displays the character string 'String' in the terminal window. This command may, for example, be used in the output of the Stringregister. 0x12(FF, Formfeed) Clears the terminal and puts the cursor in the top left corner. DateFormat(#WDF), Date32(actual time) Displays the time in the terminal window.
EA uniTFT Vorläufig IMAGES/VECTOR GRAPHICS The module internally uses a special image format (*.epg). The conversion needs to be done externally. The Windows program EA uniSketch offers the most comfortable option to have most image formats converted. Some commands make it possible to save the screen content on the SD card or transfer image data directly via the serial interface. Various image formats are available here.
EA uniTFT Vorläufig TYPES OF ANIMATION Animations relate to objects of the type of origin .GIF or animated gradients. Designation Parameter Description Stop 0 Defines an animation end. Cyclical 1 Defines a cyclical animation. Cyclical, backwards 2 Defines a cyclical animation moving in the opposite direction. Oscillating 3 Defines an oscillating animation. Oscillating, backwards 4 Defines an oscillating animation moving in the opposite direction. One-off 5 Defines a one-off animation.
EA uniTFT Vorläufig STYLE SHEETS Allgemeine Informationen zu den Styles befinden sich hier. Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined.
EA uniTFT Vorläufig Designition Define filling colour Command code #CFC Drawstyle-nr, RGB, Opacity(100) Description Defines a drawing style Drawing Style No. with a plain colour filling RGB(e.g. $FF0000 for red), as well as its transparency Opacity(0...100). Beispiel siehe S. 118 Linear colour gradient #CFL Drawstyle-nr, Ramp-nr, Angle(0) Defines a drawing style Drawing Style No . with linear colour gradient Ramp No. and its Angle(0...360).
EA uniTFT Vorläufig Designition Command code Description Filling with a pattern #CFP Drawstyle-nr, 'Pattername', Size(0), Angle(0), Repeat/Reflekt(0), FocusX (5000), FocusY(0), AnchorP(5) Defines a Drawing Style No. with a pattern 'Pattern name' that depends upon the Size(proportional), the Angle(0...360) and the representation Repeat/Reflect(Repeat= 0; Reflect= 1). The focal position FocusX,Y(0...100) defines, as a percentage, the starting point of the gradient.
EA uniTFT Vorläufig Designition Command code Description Define line style #CLS Drawstyle-nr, RGB, Opacity(100), Width(1), Joint(0), Dash-nr(0) Defines a drawing style Drawing Style No. with a border, depending upon its RGB colour (e.g. $FF0000 for red), transparency Opacity(0..100), width Width (in pixels), rounding off Joint(Angular = 0; Round = 1) and dash pattern Dash No.. To use the dash pattern, the latter needs to have been pre-defined.
EA uniTFT Vorläufig Designition Change text orientation Command code #CTA Description Textstyle-nr, Align Changes the orientation Align(0=On the left; 1=Centred; 2=On the right) of the text style Text Style No.. Change text character style #CTC Textstyle-nr, Drawstyle-nr Changes the drawing style Drawing Style No. of the text style Text Style No.. Change text slant #CTI Textstyle-nr, Italic Changes the italic angle Italic of the text style Text Style No..
EA uniTFT Vorläufig Designition Command code Description Touch button disabled #CBG Buttonstyle-nr, DisableR(-30), DisableG(DisableR), DisableB (DisableR) Defines a deactivated/greyed out button style Button Style No., depending upon a subtraction of the colour portions red DisableR(-100...0), green DisableG(100...0)and blue DisableB(-100...0). Sound relating to touch button #CBS Defines a sound in the button style Button Style No. with the audio file “Sound Name”.
EA uniTFT Vorläufig DRAWING/GRAPHIC PRIMITIVES Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined.
EA uniTFT Vorläufig Designition Command code Description Polygon(geometric) #GGP Object-id, Drawstyle-nr, PosX, PosY, Defines as an object Object ID a polygon, Anchor, Radius, NumberCorners, Bor- depending upon the drawing style Drawing derWidth(0), Angle(0) Style No., the position points, PosX, PosY, the anchor , Anchor(0...9), of the radius Radius (in pixels), the number of corners NumberCorners, the border width Border Width (0...100) and the angle Angle (0...360).
EA uniTFT Vorläufig Designition Command code Description Straight cut #GES Object-id, Drawstyle-nr, PosX, PosY, Acnhor, Radius 1, Radius2(Radius1), StartAngle(0), StopAngle(360), Angle (0) Defines as an object Object ID a cut circle, depending upon the drawing style Drawing Style No., the position points, PosX, PosY, the anchor Anchor(0...9),the length radius Radius1 (in pixels), the height radius Radius2, the starting angle Starting Angle (0...360), the stop angle Stop Angle (0...
EA uniTFT Vorläufig SEGMENT TYPES General information on the segments can be found here. Designation Horizontal line Parameter ?H, x Description Defines the position x for a horizontal line point. Beispiel siehe S. 127 Vertical line ?V, y Defines the position y for a vertical line point. Beispiel siehe S. 127 Freehand line ?L, x, y Defines the position x, y for the next line point. Beispiel siehe S.
EA uniTFT Vorläufig STRINGS AND CHARACTER STRING COMMANDS Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined.
EA uniTFT Vorläufig Designation Place date/time string Command code #SDP Object-id, Textstyle-nr, PosX, PosY, Anchor, DateFormat (Date), Date32 (acutal time) Description Defines as an object Object ID a string and places it, depending upon the text style Text Style No ., the postion PosX, PosY and the anchor Anchor. The content of the string is determined by the choice of date format DateFormat (#WDF), the current time and the current date Date32. The time is updated automatically.
EA uniTFT Vorläufig Designation Command code Enable edit box for key- #SEA Object-id board Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele.. Description Activates an edit box Object ID for the linked keyboard. That means that one of the edit boxes allocated to the keyboard can be activated for processing. Always only one edit box is active. Object ID= 0 disables all edit boxes. Beispiel siehe S.
EA uniTFT Vorläufig TOUCH OBJECTS / TOUCH FUNCTIOS Two types of operation are available for touch areas: Touch button (B) = Pushing, they jump into the non-pressed state as soon as the actuation is finished. Touch switch(S) = Switching on, the state is changed once Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters.
EA uniTFT Vorläufig Designition Convert Object to a touch switch / button Command code #TBO #TSO Object-id, Buttonstyle-nr, 'Text'(normal), 'Text'(down) Description converts any object into a touchable object element Object-id . All the additional information required for creating a touch area is taken from the button style Buttonstylenr . The text for the unpressed 'Text'(normal) and pressed state Text(down) are handeld over, too. You have to define a button style before using this command.
EA uniTFT Vorläufig Designition Check the active switch of the radio group Command code #TQR Group-id ... Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele.. Description Sends the status of one or more radio goups Group-id. A more precise description of the system response can be found in the chapter Responsens.
EA uniTFT Vorläufig BAR GRAPHS AND INSTRUMENTS Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined.
EA uniTFT Vorläufig Designation Command code Description Bar graph - arc #IBA Object-id, Drawstyle-Front, Drawstyle- Defines a curved bar graph as an object Back, PosX, PosY, Anchor, Radius, Object ID, depending upon the drawing Borderwidth, Startangle, Stopangle, style of the foreground Drawstyle Startvalue(0), Endvalue(100), Direc- Front, the drawing style of the backtion(1) ground Drawstyle Back, the position PosX, PosY, the anchor Anchor(0...
EA uniTFT Vorläufig Designation Command code Description Object-id, Current, Time(0), ActionCurve(0) Setzt das Instrument Object-id auf einen Wert Current . Die Animation der Werteinstellung wird durch die Dauer Time(hs) und die Aktionskurve ActionCurve(1...10) bestimmt. Automatically change value #IVA Object-id, BarCalculation, Time(0), ActionCurve(0) Sets the instrument Object ID to a value BarCalculation .
EA uniTFT Vorläufig OBJECTS Allgemeine Informationen zu den Objekten befinden sich hier. Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined.
EA uniTFT Vorläufig Designation Command code Description Draw object frame #OFP Drawstyle-nr, addL/R, addT/B, Object- Draws a frame around the object Objectid , Object-id... iddepending on the style Drawstyle-nr and additional dots around the object left/right addL/R and top/bottom addT/B. The Object-id = 0, means that the command is used for all defined objects You can also input a range :("ID1 - ID10"). The order of processing depends on the specification of the two object IDs.
EA uniTFT Vorläufig Designation Command code Description Change size relativ #OSR Width, Height, Object-id, Object-id... Changes width Width and height Height with additionor subtraction of one ore more objects Object-id. The Object-id = 0, means that the command is used for all defined objects You can also input a range : ("ID1 - ID10"). The order of processing depends on the specification of the two object IDs. Change shear absolut #OHA ShearX, ShearY, Object-id, Objectid...
EA uniTFT Vorläufig Designation Command code Description Change transparency relative #OOR Opacity, Object-id, Object-id... Changes the transparency relativelyOpacity of one ore more objects Object-id. The Object-id = 0, means that the command is used for all defined objects You can also input a range :("ID1 - ID10"). The order of processing depends on the specification of the two object IDs. Change Draw-/Text-/Buttonstyle #OCS Style-nr, Object-id, Object-id...
EA uniTFT Vorläufig VARIABLES AND REGISTERS Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined.
EA uniTFT Vorläufig Designition Command code Description Set register (Integer) #VRI Register-id, Integer, Integer(id +1) Saves an integer value or calculation outputInteger to register Register-id. Further values are stored in the following registers Set register (Float) #VRF Register-id, Float, Float(id +1) Saves a float value or calculation outputfloat to register Register-id.
EA uniTFT Vorläufig MACROS General information on macros can be found here. Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined.
EA uniTFT Vorläufig DEFINITION OF MACRO PROCESSES AND TOUCH MACROS Designation Command code Description Macro process #MPD Prozess-nr, Time, "Makroname"; , Defines a process macro with the process Startnr(Keine), Endnr(Startnr), Type(1) number Process No.(1-10). The "Macro Name" macro is accessed at time intervals Time(hrs). Multiple macros can, optionally, be executed. For this purpose, the "Macro Name" needs to end with at least one figure.
EA uniTFT Vorläufig Designation Command code Description Define port macro #MHP Port, "Makroname"(delete old macro) Should the status of the I/O pins of the port Port(0-15) be altered, the macro is accessed "Macro Name". Should the command be executed without a "Macro Name", the current macro definition is deleted. Define bit macro #MHB Bit, Edge, "Makroname"(delete old macro) Defines the macro "Macro Name” for the port pin Pin(0-127) and the flank Edge (0= Falling; 1= Increasing).
EA uniTFT Vorläufig Designation Parameter Description Change 0 The macro is accessed with any changes in value. Reduction 1 The macro is accessed when there are changes in value. Increase 2 The macro is accessed when there are increases in value. Fail to reach lower limit 3 The macro is accessed when failing to reach the lower limit.
EA uniTFT Vorläufig TIME AND DATE Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined. Some commands allow for entering several object IDs.
EA uniTFT Vorläufig ACTION Allgemeine Informationen zu Aktionen befinden sich hier. Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined.
EA uniTFT Vorläufig Designition Command code Description Define relative action #AOR Object-id, Action, Action2, ... Defines an operation action for an object Object ID relatively. For an explanation of the operations possible, see definition an action.
EA uniTFT Vorläufig DEFINE ACTIONS Designation Parameter Description Position curve 101-110 PosX, PosY Defines the position PosX, PosY. The object is moved in a straight line to the point specified. Beispiel siehe S. 107 Position curve path 151-160 Actionpath-nr, Offset The object follows the operational path Action Path No., or is placed on the latter. The starting value Offset (0...100) determines the starting point on the operational path on a percentage basis. Beispiel siehe S.
EA uniTFT Vorläufig ACTION TYPE Example on contemplating the types of operation #AOT id, X, 100 The parameter “X” corresponds to the parameters of the types of operation in the following table. Designition Parameter Description Appearing 1 efines an appearing behaviour for the operation selected. The object is generated at its generation point (400,240), depending upon the definition of the operation.
EA uniTFT Vorläufig PRE-DEFINED ACTION CURVES The course of the operation can be defined in the case of the operational curves. The chronological course of 0 to 100% can be found on the X axis. The Y axis specifies the corresponding allocated value. The latter concerns a cubic spline with two supporting points. The EA uniSketch Windows program offers help in generating one’s own curve. Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig Action curve Curve points 1: Linear X1 = 10; Y1 = 10; X2 = 90; Y2 = 90 2: Accelerating → linear X1 = 40; Y1 = 0; X2 = 60; Y2 = 40 Visualisation 3: Linear → reducing speed X1 = 40; Y1 = 60; X2 = 60; Y2 = 100 Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig Action curve Curve points Visualisation 4: Accelerating → linear → X1 = 40; Y1 = 0; X2 = 60; Y2 = 100 reducing speed 5: Undershooting → linear X1 = 30; Y1 = 0; X2 = 30; Y2 = -60 6:Linear → overshooting X1 =70; Y1 = 160; X2 = 70; Y2 = 100 Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig Action curve Curve points 7: Undershooting → linear → overshooting X1 = 30; Y1 = -60; X2 = 70; Y2 = 160 8:Oscillating → linea X1 = 40; Y1 = 40; X2 = 20; Y2 = -100 9: Linear → oscillating X1 = 80; Y1 = 200; X2 = 60; Y2 = 60 Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig Action curve 10: Linear → oscillating → linear Curve points Visualisation X1 = 60; Y1 = 200; X2 = 40; Y2 = -100 Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig KEYBOARD To generate special keys, such as Shift, Backspace or CAPSLOCK, corresponding parameters need to be set in the "Button String". So that the parameters find their application, a Backslash '\' needs to be placed in front of them. The "Button String" command describes the sequence of the keys within a line. In order to insert more lines, the latter need to be separated by entering '|' or ';' at the end of the line.
EA uniTFT Vorläufig Designation Command code Description Define keys #KDB Group-id, Nr, "ButtonStringLine1", "But-Defines as an object group Group ID the tonStringLine2"... key sequence of the keyboard "Button String Line", depending upon the keyboard number No. and the sequence of the keys. Further key sequences may be specified. Should the same key be entered several times in a row, then the width of the key generated changes in proportion. The latter shall also apply to spaces. Beispiel siehe S.
EA uniTFT Vorläufig PERIPHERALS - INTERFACE The module has various interfaces: - 4 analogue inputs (12-bit precision) - 1 PWM output (16-bit precision) - Video input (PAL/SECAM Analogue) - Audio output (8-ohm loudspeaker, max. 1 W) - 16 digital I/O, extendable to up to 128 (max. 20 mA) - 3 serial interfaces RS232, SPI, I²C Parameters that are written in GREY in the command tables are considered optional details, and partially have default values.
EA uniTFT Vorläufig PULSE WIDTH MODULATION (PWM) Designation Command code Description PWM output frequency #HFO Frequency32Bit , OnTime(no change), Defines the frequency Frequency(2HzTotalTime(no change) 1MHz) of the PWM output. Internal splitters lead to not every frequency being precisely adjustable. The ratio of on time to off time is determined by the two parameters OnTime/TotalValue. Beispiel siehe S.
EA uniTFT Vorläufig Designation Read port pin input Command code #HBR Pin(0), Number(16) Description Scans the port pin Pin (0-127). Multiple port components can be scanned with the number Number(1-128). A more precise description of the system response can be found in the chapter Responsens. (#HAR) (#HBR) VIDEO AND AUDIO Designation Command code Play sound #HTP Stop sound #HTS Video input window #HVB "Soundname" Description Plays back the sound file with the name Sound Name. Only *.
EA uniTFT Vorläufig Designation RS232 parameter Command code #HRP Baudrate32Bit Description Baud rate setting Baud rate of the master RS232 interface with 8-N-1. Baud rates: Baudrates Error rate in % 9600 +0,04 19200 -0,08 38400 +0,16 57600 -0,08 115200 +0,64 230400 -0,80 460800 +2,08 921600 -3,68 SPI MASTER INTERFACE Designation Command code Description Send ASCII #HSA "string" Sends a text 'string' via the SPIMaster Interface as ASCII code.
EA uniTFT Vorläufig Designation SPI parameter Command code #HSP Frequency32Bit (in Hz), SPI Mode, DataOrder Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele.. Description Defines the parameters of frequency Frequency(15.6kHz-1MHz), mode SPI Mode (0-3) and data sequence Dataorder(0= MSB (Most Significant Bit)) of the SPI.
EA uniTFT Vorläufig I²C Designation Command code Description Send ASCII #HIA "string" Sends a text 'string' via the I²C Master Interface as ASCII code. Send Unicode #HIU "string" Sends a text 'string' via the I²C Master Interface as Unicode. Send binary code #HIS len32Bit, Data Sends binary data data having the lenghth len via the I²C Master Interface. The length needs to be under 1 kB. Send file #HIF Sends a file via the SPI Master Interface.
EA uniTFT Vorläufig SYSTEM COMMANDS Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined. Some commands allow for entering several object IDs.
EA uniTFT Vorläufig Bezeichnung Befehlscode Beschreibung RS232 slave parameter #XCR Baudrate, RS485 Adress(no change), Flash(0) Defines the parameters for the RS232 slave: Baud rate (default = 115200) and RS485 Address (default = 7). The value can be saved in the flash memory Flash (0= Do not save; 1= Save). The format for the data transmission is 8-N-1. Dhe available baud rates are listed here .
EA uniTFT Vorläufig Bezeichnung Interrupt program sequence Befehlscode #XXW Wait Touch adjustment (only resis- #XXT tive) Firmware reboot (HW-Reset) #XFB Beschreibung Stops the program sequence for the duration of the waiting period Wait(hrs). This command is suitable for debugging purposes. The module works does not process any further commands during this period. Starts the adjustment of the resistive touch. The user needs to touch two predefined points on the screen.
EA uniTFT Vorläufig The boot menu is divided into three areas. On the left are the various projects that can be started by dialling. On the lower right-hand side all macros can be deactivated, the test mode started or the accessing of the boot menu interrupted. On the right-hand side at the top, the option of a one-off or permanent (saved) accessing of the corresponding selection is selected by pressing. Technische Änderung vorbehalten.
EA uniTFT Vorläufig FILE ACCESS Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined. Some commands allow for entering several object IDs.
EA uniTFT Vorläufig Designation Command Description Write (Unicode) content into #FWU "String" file The Unicode string String is written into the open file.. Close writeable file #FWC Closes the file that is presently open and writeable. Open file for reading #FRO , Pos (0) Open file with the name File Name for reading, optionally specifying the path Path at the position Pos. Read content of file #FRD Anz (gesamtes File) Reads the content of the open and readable file.
EA uniTFT Vorläufig Designation File/directory Change properties Command #FFA , Fileattribute Description Sets a new attribute for the Path file specified. The File Attribute parameter is designed as follows: Write-protected 0x01 Hidden 0x02 System 0x04 Archive 0x20 The flag attributes can be combined through simple bit ORing. Saving a uniTFT file #FSO , File-Data Saves an object file of the uniTFT's (e.g. *.epg) in the specified path Path.
EA uniTFT Vorläufig RESPONSES General information on macros can be found here.. Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that may contribute towards changing parameters can only be used if the corresponding parameters have already previously been defined.
EA uniTFT Vorläufig Designation Read directory Command code #FDR NameString , 0, Filesize 32Bit, Fileattribute8Bit, Modified Time 16Bit, Modified Date16Bit, ..., ..., 0=ENDE Description Reads the content of the directory with name Name String, size File Size and properties, File Attributes . The file attributes can be combined through bit ordering. Write-protected 0x01 Hidden 0x02 System 0x04 Archive 0x20 Read directory (ASCII) #FDA SizeString, Datestring, Timestring, Namestring, 0x0D, 0x0A, ..
EA uniTFT Vorläufig Designation Command code Description Master SPI data #HSR Len 32Bit, Data Return of the data received via the MasterSPI , Data, with the length Len. Master I²C data #HIR Len 32Bit, Data Return of the data received via the MasterI²C, Data, with the length Len. String file - number #VFC Number 16Bit Displays the number, Number, of the strings contained in the string file.
EA uniTFT Vorläufig EXAMPLES OF COMMANDS In the following, most of the graphical commands are illustrated by brief examples. Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig OPERATION AND ANIMATION Position curve, scale curve Operational path with change of position Draw a straight line in order to visualise the operational path #GPL 1, 2, 100,100, 700,200 Insert a circle with a filling #GET 2, 1, 100, 100, 5, 60 Move operatoin via Path 1 #AOA 2, 101, 700, 200 Define type of operation and time of operation #AOT 2, 5, 500 For the complete set of commands of the sample image see p. 131.
EA uniTFT Vorläufig Rotation Curve, Shear Curve Rotation Define rectangle as being horizontal #GRR 1, 1, 50,100,4, 300,40,5 Operational rotation through 90° anti-clockwise #AOA 1, 301, 90 Define type of operation and time of operation #AOT 1, 4, 500 For the complete set of commands of the sample image see p. 132.
EA uniTFT Vorläufig Opacity curve, colour offset curve Opacity Define square #GRR 1, 1, 100,100,5, 80,80,5 Operation: change the alpha channel #AOA 1, 501, 20 Define type of operation and time of operation #AOT 1, 4, 500 For the complete set of commands of the sample image see p. 130.
EA uniTFT Vorläufig BILD / VEKTORGRAFIKEN Bilder / Vektorgrafiken Plazierung eines (Vektor-)Bildes Tiger platzieren, Größe proportional skalieren #PPP 1, "tiger"; 400, 240, 5, 150 Platzierung einer Animation mit Typänderung Erde platzieren, Größe proportional skalieren #PPP 1, "Erde"; 400, 240, 5, 150 Zyklische Animation in eine Ping-Pong-Animation (pendelnd) ändern #PPA 1,3 Video Plazierung eines Videobildes Video platzieren, Größe proportional skalieren #PVP 1, 400, 240, 5, 300 Technische Änderung vorb
EA uniTFT Vorläufig EIN- UND AUSGÄNGE PWM PWM Ausgang PWM Frequenz 1 kHz, 100 μs high, 900 μs low #HFO 1000,10, 100 I/O Port Port Control Port 0 abwechselnd als Ein und Ausgang, Port 1, 2 Aus, 6 Eingänge #HPC 0, $AA, $03 Port Ausgänge Port 0 abwechselnd als Ein und Ausgang,Port 1, 2 Aus, 6 Eingänge #HPC 0, $AA, $03 Verfügbare Ausgänge Abwechselnd An und Ausschalten #HPW 0, $44, $A8 Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig INSTRUMENTS #IBR, IBT, IBA, IGM, IGS, IPP, IVA, Bar graph with rounded corners #IBR #IVS Bar graph with green gradient as a foreground, inclusive of the white frame. Background plain blue. 1, 1, 2, 150, 70, 4, 300, 50, 15 Set bar graph to the value 70. 1, 70 For the complete set of commands of the sample image see p. 136. Triangular bar graph #IBT #IVS Bar graph with green gradient as a foreground, inclusive of the white frame. Background plain blue.
EA uniTFT Vorläufig #IBR, IBT, IBA, IGM, IGS, IPP, IVA, Object group as a slider Defines Object Group 3 as a slider #IGS 3, 1, 2, 0, 0, 100 For the complete set of commands of the sample image see p. 138. Wattmeter as an instrument Place instrument file; original image size, start value =0, end value =500 #IPP 1, "Wattmer"; 400,200,5,0,0,0,500 Set bar graph to 70% (0.7x500) #IVS 1, 350 For the complete set of commands of the sample image see p. 136.
EA uniTFT Vorläufig KEYBOARD #KDB, KDL, KDC, KPK Object group as a keyboard field Define Object Group 5 as a keyboard field Generating the keyboard field for Keyboard1 #KDB 5, 1,"^1234567890ß\8\C"; "\6qwertzuiopü+\D\D"; "\5asdfghjklöä#\N"; "YXCVBNM;:_"; " " For the complete set of commands of the sample image see p. 139.
EA uniTFT Vorläufig STRING ZEICHENKETTENBEFEHLE #SSP, SFP, SAP Zeichenkette platzieren Platzierung einer einfachen Zeichenkette #SSP 1, 1, 50, 50, 17, "Hello World" Formatierte Zeichenkette platzieren Platzierung einer formatierten Zeichenkette #SFP 1, 1, 50,50,17, "Int: %d, Float: %.3f, Hex: 0x%02X"; 3, 3.14, 13 Formatierte sich selbst erneuernde Zeichenkette plazieren Sobald sich der Analogeingang 0 ändert wird diese Zeichenkette neu dargestellt #SAP 1, 1, 50,50,17, "Analog In 0: %.2f V"; (3.
EA uniTFT Vorläufig EDITBOX #SEP, SEK, SEA Platzierung Editbox Platzierung von drei Editboxen #SEP 6, 20, 400, 280, 8, 300, 50, 6, 21, -5, -3 #SEP 7, 20, 400, 340, 8, 300, 50, 6, 22, 5, -3 #SEP 8, 20, 400, 400, 8, 300, 50, 6, 23, 5, -3 For the complete set of commands of the sample image see p. 140. Zuweisung von drei Editboxen auf eine Tastatur Editboxen 6-8 der Tasttatur 9 zuweisen #SEK 9, 6-8 For the complete set of commands of the sample image see p. 140.
EA uniTFT Vorläufig STYLE SHEETS Farbverlauf und Linienmuster Farbverlauf Erstellung eines Gradientenverlaufs mit 3 Stützpunkten RGB, wobei Grün leicht durch den Alphakanal abgedunkelt wird. #CCR 1, 0,$FF0000,100, 50,$00FF00,70, 100,$0000FF,100 For the complete set of commands of the sample image see p. 141. Linienmuster Erstellung eines Linenmusters (Dash pattern), #CDP 1, 0, 20,10, 5,10 For the complete set of commands of the sample image see p. 141. Technische Änderung vorbehalten.
EA uniTFT Vorläufig Füllungen Einfarbige Füllung Füllfarbe definieren, der Alphakanal ist optional, #CFC 1, $00FF00 For the complete set of commands of the sample image see p. 142. Lineare Farbverlaufsfüllung Gradientenverlauf als linearen Verlauf nutzen - um 45° geneigt #CFL 1, 1, 45 For the complete set of commands of the sample image see p. 142. Radiale Farbverlaufsfüllung Gradientenverlauf als radialen Verlauf nutzen.
EA uniTFT Vorläufig Füllungen Musterfüllung Füllung mit sich selbst wiederholendem Muster #CFP 1, "marmor02" For the complete set of commands of the sample image see p. 142. Linienstyle Linienfarbe und -dicke Keine Füllung definieren #CFD 1 grüne Linie mit 5 Pixel dicke #CLS 1, $00FF00,100, 5 Rechteck zeichnen #GRR 1,1, 50,50,7,200,100 For the complete set of commands of the sample image see p. 143.
EA uniTFT Vorläufig Buttonstyle Touchbutton als Bild Zwei Bilder als Touchbuttonstyle definieren #CBP 1, "Padlock_closed"; "Padlock_opend" For the complete set of commands of the sample image see p. 144. Touchbuttonstyle für geometrische Objekte Touchbuttonstyle mit 200 Breite, 50 Höhe und Eckenradius 50 #CBD 1, 5,6, 200,50,10 For the complete set of commands of the sample image see p. 144.
EA uniTFT Vorläufig TERMINAL COMMANDS Terminal window (Re-)define terminal window Small terminal window with 40 characters and 20 lines #YDW 1, 30,30,7, 40,20 For the complete set of commands of the sample image see p. 145. Terminal window foreground/background colour Small terminal window with 40 characters and 20 lines Font colour blue, window colour yellow, non-transparent #YDC $0000FF,100, $FFFF00,100 For the complete set of commands of the sample image see p. 145. Technische Änderung vorbehalten.
EA uniTFT Vorläufig TOUCH CONTROL OBJECTS/TOUCH CONTROL FUNCTIONS Touch control zones Rectangular touch button Set touch control switch to position 400,240. External dimensions are defined by the button style #TSR 1, 1, "Normal"; "Pushed"; 400,240 For the complete set of commands of the sample image see p. 146. Elliptical touch button Set touch control switch to position 400,240.
EA uniTFT Vorläufig TIME #WGC Object group as a clock Define Object Group 10 as a clock Objects 6, 7 and 8 form the clock hands #WGC 10, 6, 7, 8 For the complete set of commands of the sample image see p. 147. Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig DRAWING/GRAPHIC PRIMITIVES Rounded rectangle with border Rounded rectangle with border Rounded rectangle with border, a type of picture frame #GRR 1,1, 400,240,5, 200,100,20, 15 For the complete set of commands of the sample image see p. 148. Polyline - Santa Claus house Draw a Santa Claus house with the aid of a polypath #GPL 1,1,20,20, 20,100, 70,100, 70,20, 20,20, 70,100, 45,130, 20,100, 70,20 For the complete set of commands of the sample image see p. 148.
EA uniTFT Vorläufig Graphic drawing objects Polypath - Draw a car Draw a car with path segments #GPP 1,1, 50,200, ?v-50, ?h150, ?c0,70,130,0, ?h200, ?c0,70,130,0, ?h90, ?v100, ?h-85, ?l-40,65, ?h-220, ?q-40,0,-145,-75, ?h-130, ?z Course of the relative polypath: The line is drawn vertically, 50 pixels downwards from the starting point. A horizontal alignment then follows towards the right. The wheels are drawn between the three horizontal segments using segments of a circle.
EA uniTFT Vorläufig Graphic drawing objects Tyres A circle with a hole #GET 1, 1 400,240,5, 100,100, 30 For the complete set of commands of the sample image see p. 149. Graphic drawing objects Arc of a circle Draw a letter “C” as an arc of a circle #GEA 1, 1 400,240,5, 100,100, 45,-45, 30 For the complete set of commands of the sample image see p. 149.
EA uniTFT Vorläufig SEGEMENTTYPEN Segmente H(orizontal), V(ertikal), L(inear) Polypfad Horizontal Horizontale Linie als Polypfad erzeugen #GPP 1, 1, 10, 50, ?H 300 For the complete set of commands of the sample image see p. 151. Polypfad Vertikal Vertikale Linie als Polypfad erzeugen #GPP 1, 1, 50, 50, ?V 150 For the complete set of commands of the sample image see p. 151. Polypfad Linie Linie als Polypfad erzeugen #GPP 1, 1, 50,50, ?L 250,100 For the complete set of commands of the sample image see p.
EA uniTFT Vorläufig Segmente C(ircle), E(llipse) Polypfad Kreissegment Kreissegment gegen den Uhrzeigersinn mit dem Radius 120. Der Radius muss mindestens Abstand/2 betragen #GPP 1, 5, 200,200,?C0,120,400,200 For the complete set of commands of the sample image see p. 152. Polypfad Ellipse Ellipse durch die beiden Punkte #GPP 1, 5, 200,300,?E,110,150,0,400,300 For the complete set of commands of the sample image see p. 152.
EA uniTFT Vorläufig Segmente T, S(pline) Polypfad Spline Spline zeichnen #GPP 1, 5, 100,50,?S150,100,250,100,300,50 For the complete set of commands of the sample image see p. 155. Polypfad geglättete kubische Bézierkurve Die geglättete kubische Bézierkurve übernimmt von dem vorhergegangen Pfad den letzten Stützpunkt und spiegelt diesen am Startpunkt der eigenen Kurve. Es ergibt sich so ein tangentialer also glatter Übergang zwischen beiden Segmenten.
EA uniTFT Vorläufig COMMANDS FOR THE EXAMPLES The complete commands which are necessary for the creation of the sample images are shown below.
EA uniTFT Vorläufig Position Curve, Scale Curve Operation path with change of position Draw a straight line in order to visualise the operation path #GPL 1, 2, 100,100, 700,200 Insert a circle with a filling #GET 2, 1, 100, 100, 5, 60 Move operation via Path 1 #AOA 2, 101, 700, 200 Define type of operation and time of operation #AOT 2, 5, 500 Set integer register #VRI 0, 3, 1,10 Define white filling #CFC 4, $FFFFFF, 60 Define circles with filling, as well as their type of operation and time of operation #GE
EA uniTFT Vorläufig Position Curve, Scale Curve Changing the size and position Add an ellipse polypath in order to visualise the operation path #GPP 1, 2, 400, 80 ?E0, 300, 150, 0, 400, 380 ?E0, 300, 150, 0, 400, 80 Insert a circle with a filling #GET 2, 1, 400, 80, 5, 60 Define operational path of ellipse The path corresponds to Object 1 #APD 1, 400, 80 ?E0, 300, 150, 0, 400, 380 ?E0, 300, 150, 0, 400, 80 Operation path: Change size #APD 2, 100, 100 ?L, 30, 30 ?L, 100, 100 Operation: Moving and changing th
EA uniTFT Vorläufig Position Curve, Scale Curve Elliptical operation path with change of position Insert an ellipse polypath in order to visualise the operation path #GPP 1, 2, 400, 80 ?E0, 300, 150, 0, 400, 380 ?E0, 300, 150, 0, 400, 80 Insert a circle with a filling #GET 2, 1, 400, 80, 5, 60 Define ellipse and line operation path.
EA uniTFT Vorläufig Position Curve, Scale Curve Changing the rotation and position Insert an ellipse polypath in order to visualise the operation path #GPP 1, 2, 400, 80 ?E0, 300, 150, 0, 400, 380 ?E0, 300, 150, 0, 400, 80 Insert a circle with a filling #GRR 2, 1, 400, 80, 5, 20,100,2 Define operational path of ellipse.
EA uniTFT Vorläufig INSTRUMENTS #IBT, IBR, IVA, IPP, IBA, IGM, IGS Triangular bar graph Define green colour gradient #CCR 1 , 0 , $005f00 , 100 , 50 , $00Bf00 , 100 , 100 , $005f00 , 100 Refrain from defining an outline #CLD 1 Define monochrome blue filling #CFC 2, $008dd3, 100 Define line style for outline #CLS 2 , $ffffff , 100 , 2 Define colour gradient as linear with 90° torsion #CFL 1, 1, 90, Bar graph with green gradient as a foreground. Background plain blue.
EA uniTFT Vorläufig #IBT, IBR, IVA, IPP, IBA, IGM, IGS Bar graph with rounded corners Define green colour gradient #CCR 1 , 0 , $005f00 , 100 , 50 , $00Bf00 , 100 , 100 , $005f00 , 100 Refrain from defining an outline #CLD 1 Define monochrome blue filling #CFC 2, $008dd3, 100 Define line style for outline #CLS 2 , $ffffff , 100 , 2 Define colour gradient as linear with 90° torsion #CFL 1, 1, 90, Rectangular bar, with start and end value, adjusted to seconds #IBR 1, 1, 2, 150, 70, 4, 300, 50, 15 Change bar
EA uniTFT Vorläufig #IBT, IBR, IVA, IPP, IBA, IGM, IGS Arc - bar graph Define green colour gradient #CCR 1 , 60 , $005f00 , 100 , 70 , $00Bf00 , 100 , 100 , $005f00 , 100 Refrain from defining an outline #CLD 1 Define monochrome blue filling #CFC 2, $008dd3, 100 Define line style for outline #CLS 2 , $ffffff , 100 , 2 Define colour gradient as being radial #CFR 1, 1 Bar graph with green gradient clockwise as a foreground. Background plain blue.
EA uniTFT Vorläufig #IBT, IBR, IVA, IPP, IBA, IGM, IGS Object group as a slider Define green colour gradient #CCR 1 , 0 , $005f00 , 100 , 50 , $00Bf00 , 100 , 100 , $005f00 , 100 Refrain from defining a line style and colour gradient distorted by 90° #CLD 1 #CFL 1, 1, 90 Define blue filling and white line style for bar graph #CFC 2, $008dd3, 100 #CLS 2, $ffffff , 100 , 2 Define line style for slider path #CLS 3, $606060, 100, 5 Refrain from defining a line style and red filling for slider #CLD 4 #CFC 4, $A5
EA uniTFT Vorläufig KEYBOARD #KDB, KDL, KDC, KPK Place object group as a keyboard #CLD #CFC #CLD #CFC #CCR #CFL #CLS #CFL #CLS #CTF #CTF #CTF #CTF #CBT #CBT #CBD #CBD #CBO #CBO #KDC #KDB #KDB #KDL #KPK #CLD #CFC #OFP Define line styles, colour gradient and fillings for keys 11 11, $FFFFFF, 100 12 12, $00FF00, 100 1, 0, $0000FF, 100, 80, $5555FF, 100, 100, $0000FF, 100 15, 1, 90 15, $555555, 100, 1 16, 1, 270 16, $555555, 100, 1 Define text styles 11, ;34, 1, 11 12,
EA uniTFT Vorläufig CHARACTER STRING COMMANDS IN A STRING #SDP, SEP, SEK, SEA Date and time Placing a formatted date #SDP 1, 1, 50, 50, 17, "%W the %D. %3N %Y, %1h:%m" Changing the formatted date #SDC 1, (datetime(11, 37, 0, 21, 4, 2016)) Edit box in combination with a keyboard Define text style for the keyboard #CLD 1 #CFC 1, $FFFF00,100 #CTF 1,
EA uniTFT Vorläufig STYLE SHEETS Colour gradient and dash pattern(s) Colour gradient Define colour gradient #CCR 1, 0,$FF0000,100, 50,$00FF00,70, 100,$0000FF,100 Define colour gradient as being linear #CFL 1, 1, Refrain from defining any line style #CLD 1 Create square #GRR 1,1, 50,50,7,200,100 Dash pattern(s) Define a dash pattern #CDP 1, 0, 20,10, 5,10 Define line style #CLS 1, $00FF00,100, 5,0 1 Refrain from defining a filling #CFD 1 Draw a polyline #GPL 1,1, 50,50,400,50 Technische Änderung vorbehalte
EA uniTFT Vorläufig Fillings Monochrome filling Define a background colour, wherein the alpha channel is optional #CFC 1, $00FF00 Refrain from defining any line style #CLD 1 Create square #GRR 1,1, 50,50,7,200,100 Linear colour gradient filling Define colour gradient #CCR 1, 0,$FF0000,100, 50,$00FF00,70, 100,$0000FF,100 Define colour gradient as being linear and inclined at an angle of 45° #CFL 1, 1, 45 Refrain from defining any line style #CLD 1 Create square #GRR 1,1, 50,50,7,200,200 Radial colour gradi
EA uniTFT Vorläufig Linen style Line colour and thickness Green line with a thickness of 5 pixels #CLS 1, $00FF00,100, 5 Line joint style Refrain from defining any line style #CLD 1 Define filling font #CFC 1,$FFFFFF,100 Define text style #CTF 1,
EA uniTFT Vorläufig Button style Touch button as an image Define two images as a touch button #CBP 1, "Padlock_closed"; "Padlock_opend" Define text style for touch button #CBT 1, 1,1,-10,-70 Define images for touch button #TSP 1, 1, "Closed"; "Opened"; 400,240,7 Change touch button proportion upon pressing it Change text orientation #CTA 1,1 Generate colour gradients for touch button #CCR 5, 0,$00007F,100, 50,$0000FF,100, 100,$00007F,100 #CCR 6, 0,$7F7F00,100, 50,$FFFF00,100, 100,$7F7F00,100 Create line st
EA uniTFT Vorläufig TERMINAL COMMANDS Termianl window (Re-)define terminal window Font colour blue, window colour yellow, non-transparent #YDC $0000FF,100, $FFFF00,100 Small terminal window with 40 characters and 20 lines #YDW 1, 30,30,7, 40,20 Technische Änderung vorbehalten. Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
EA uniTFT Vorläufig TOUCH CONTROL OBJECTS/TOUCH CONTROL FUNCTIONS Touch control zones Rectangular touch button Change text orientation #CTA 1,1 Define touch button colour gradients for normal and pressed down states #CCR 5, 0,$00007F,100, 50,$0000FF,100, 100,$00007F,100 #CCR 6, 0,$7F7F00,100, 50,$FFFF00,100, 100,$7F7F00,100 Define touch button line style for normal and pressed down states #CLS 5, $FFFFFF,100,1 #CLS 6, $FFFFFF,100,1 Define touch button colour gradients as being linear with 90° torsion #CFL 5
EA uniTFT Vorläufig TIME #WGC Object group as a clock Refrain from defining a line style and white filling for hour hand #CLD 11 #CFC 11, $FFFFFF, 100 Refrain from defining a line style and grey filling for minute hand #CLD 12 #CFC 12, $E0E0E0, 100 Refrain from defining a line style and red filling for second hand #CLD 13 #CFC 13, $FF0000, 100 Create colour gradient #CCR 9, 0,$0,100 100, $A0A0A0, 100 Define colour gradient and no line style for connecting point #CFR 14, 9 #CLD 14 Set integer register #VRI 1
EA uniTFT Vorläufig DRAWING/GRAPHIC PRIMITIVES Graphic drawing objects Rounded rectangle with border Define line style #CLS 1, $00FF00,100, 5 Define filling #CFC 1, $FF0000,100 Rounded rectangle with border, a type of picture frame #GRR 1,1, 400,240,5, 200,100,20, 15 Polyline - Santa Claus house Define line style #CLS 1, $00FF00,100, 2 Refrain from defining a filling #CFD 1 Draw a Santa Claus house with the aid of a polypath #GPL 1,1,20,20, 20,100, 70,100, 70,20, 20,20, 70,100, 45,130, 20,100, 70,20 Fille
EA uniTFT Vorläufig Graphic drawing objects Hexagon Define line style #CLS 1, $00FF00,100, 3 Define filling #CFC 1, $FF0000,100 A hexagon rotated by 90° #GGP 1, 1 400,240,5, 100,6,0, 90 Five-point star Define line style #CLS 1, $00FF00,100, 3 Define filling #CFC 1, $FF0000,100 Draw a filled-in star #GGS 1, 1 400,240,5, 100,50, 5 Tyres Define line style #CLS 1, $00FF00,100, 3 Define filling #CFC 1, $FF0000,100 Draw a circle with a hole #GET 1, 1 400,240,5, 100,100, 30 Arc of a circle Define line style #CL
EA uniTFT Vorläufig Graphic drawing objects Cut segments of a circle Define line style #CLS 1, $00FF00, 100, 3 Define filling #CFC 1, $FF0000, 100 Draw two cut segments of a circle #GES 1, 1, 400, 200, 5, 100, 100, 90, 0 #GES 2, 1, 450, 200, 5, 100, 100, 180, 60 Piece of cake Define line style #CLS 1, $00FF00,100, 3 Define filling #CFC 1, $FF0000,100 Draw a piece of cake #GEP 1, 1 400,240,5, 100,100, 135,225 Technische Änderung vorbehalten.
EA uniTFT Vorläufig SEGEMENT TYPES Segments H(orizontal), V(ertical), L(inear) Horizontal polypath Define line style #CLS 1, $00FF00,100, 3 Refrain from defining an outline #CFD 1 Generate a horizontal line as a polypath #GPP 1, 1, 10, 50, ?H 300 Vertical polypath Define line style #CLS 1, $00FF00,100, 3 Refrain from defining a filling #CFD 1 Generate a vertical line as a polypath #GPP 1, 1, 50, 50, ?V 150 Line polypath Define line style #CLS 1, $00FF00,100, 3 Refrain from defining an outline #CFD 1 Gener
EA uniTFT Vorläufig Segmente C(ircle), E(llipse) Circle segment polypath Define green line style #CLS 5, $00FF00,100, 3 Refrain from defining a filling #CFD 5 Define grey line style #CLS 6, $BFBFBF,100, 1 Define a grey filling #CFC 6, $7F7F7F,100 Draw a polypath as a circle segment #GPP 1, 5, 200,200,?C0,120,400,200 Create dots/circles #GET 2, 6, 200,200,5, 5 #GET 3, 6, 400,200,5, 5 #GET 6, 6, 300,311,5, 5 #GET 7, 6, 300,89,5, 5 Draw a grey arc #GEA 4, 2, 200,200,0, 150,150 -65, 65 #GEA 5, 2, 400,200,0, 150
EA uniTFT Vorläufig Segmente Q(uadratische Bézier Kurve), R Polypfad quadratische Bézierkurve Grünen Linienstyle definieren #CLS 5, $00FF00,100, 3 Keine Umrandung definieren #CFD 5 Grauen Linienstyle definieren #CLS 6, $BFBFBF,100, 1 Graue Füllung definieren #CFC 6, $7F7F7F,100 Integer Register setzen #VRI 0,250,200 Quadratische Bezierkurve zeichen #GPP 1, 5, 200,300,?QR0,R1,400,300 Punkte/Kreise setzen #GET 2, 6, 200,300,5, 5 #GET 3, 6, 400,300,5, 5 #GET 4, 6, R0,R1,5, 5 Geraden zeichnen #GPL 5, 2, 200,3
EA uniTFT Vorläufig Segmente Q(uadratische Bézier Kurve), R Polypfad quadratische Bézierkurve mit Hilfspunkt Grünen Linienstyle definieren #CLS 5, $00FF00,100, 3 Keine Füllung definieren #CFD 5 Grauen Linienstyle definieren #CLS 6, $BFBFBF,100, 1 Graue Füllung definieren #CFC 6, $7F7F7F,100 Integer Register setzen #VRI 0,210,200,300,300,460 Grünen Polypfad zeichnen #GPP 1, 5, 200,R3,?QR0,R1,R2,R3, ?RR4,R3 Grauen Polypfad zeichnen #GPL 2, 2,200,R3, R0,R1, R2,R3, (2*R2-R0),(2*R3-R1), R4,R3 Punkte/Kreise erz
EA uniTFT Vorläufig Segmente T, S(pline) Polypfad Spline Grünen Linienstyle definieren #CLS 5, $00FF00,100, 3 Keine Füllung definieren #CFD 5 Grauen Linienstyle definieren #CLS 6, $BFBFBF,100, 1 Graue Füllung definieren #CFC 6, $7F7F7F,100 Spline zeichnen #GPP 1, 5, 100,50,?S150,100,250,100,300,50 Geraden Zeichnen #GPL 2, 6, 100,50,150,100 #GPL 3, 6, 300,50,250,100 Punkte/Kreise erzeugen #GET 4, 6, 150,100,5, 5 #GET 5, 6, 250,100,5, 5 #GET 6, 6, 100, 50,5, 5 #GET 7, 6, 300, 50,5, 5 Textgröße ändern #CTS 1,
EA uniTFT Vorläufig Segmente T, S(pline) Polypfad geglättete kubische Bézierkurve Grünen Linienstyle definieren #CLS 5, $00FF00,100, 3 Keine Füllung definieren #CFD 5 Grauen Linienstyle definieren #CLS 6, $BFBFBF,100, 1 Graue Füllung definieren #CFC 6, $7F7F7F,100 Integer Register setzen #VRI 0, 200,200, -10,80, 60,40, 80,0, 70,-35, 100,0 Grünen Polypfad erzeugen #GPP 1, 5, R0,R1,?sR2,R3,R4,R5,R6,R7, ?tR8,R9,R10,R11 Polypfad aus Geraden erzeugen #GPL 9, 2, R0,R1, (R0+R2),(R1+R3), (R0+R4),(R1+R5), (R0+R6),
EA uniTFT Vorläufig Segmente Z, M Polypfad schließen Grünen Linienstyle definieren #CLS 5, $00FF00,100, 3 Keine Füllung definieren #CFD 5 Grauen Linensytle definieren #CLS 6, $BFBFBF,100, 1 Graue Füllung definieren #CFC 6, $7F7F7F,100 Integer Register setzen #VRI 0, 200,200, 100,70,200,0 Polypfad mit Pfadstop deinieren #GPP 1, 5, R0,R1,?e1,R2,R3,0,R4,R5, ?Z Punkte/Kreise zeichnen #GET 2, 6, R0,R1,5, 5 #GET 3, 6, (R0+R4),(R0+R5),5, 5 Textgröße ändern #CTS 1, 28 Strings platzieren #SSP 10, 1, (R0-10),(R1),6,
EA uniTFT Vorläufig ELECTRICAL SPECIFICATION Value Condition min. typ. max. Unit Operating temperature -20 +70 °C Storage temperature -30 +80 °C 90% RH @ 60°C 3.5 V Storage humidity Operating voltage Supply current 3.1 3.3 Backlight 100% 750 mA Backlight 0% 350 mA Input low voltage (except USB, I/O) -0.3 Input high voltage (except USB, I/O) VDD*0.7 Output low voltage (except USB, I/O) - 0.3*VDD V VDD+0.3 V - 0.4 V VDD-0.5 - - V Input low voltage I/O - - 0.
EA uniTFT101-A Preliminary DIMENSION Page 159 Printing and typographical errors reserved. ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice.