Datasheet

EA eDIPTFT70-A
Page 19
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical errors reserved.
EA eDIPTFT70: menu commands
after
reset
Command Codes Remarks
Settings for menu box / touch menu
Set menu colors
ESC
F N fg bg fc Colors 1..32; fg=for characters; bg=for background; fc=for frame 8,1,8
Set menu font
ESC
N
F n1 Set font with the number n1 (0 to 31) for menu display 5
Menu font zoom factor Z n1 n2 n1 = X-zoom factor (1x..8x); n2 = Y-zoom factor(1x..8x) 1,1
Additional character
width/height
Y n1 n2 n1=0..15: additional width left/right; n2=0..15: additional height top/bottom 0, 0
Menu angle W n1 Menu display angle n1=0: 0°; n1=1: 90°; n1=2: 180°; n1=3: 270° 0
Touch menu automation T n1
n1=1: Touch menu opens automatically
n1=0: Touch menu does not open automatically; instead the request 'ESC T 0' to open is sent to the
host, which can then open the touch menu with 'ESC N T 2'
1
Menu commands (control with keys not by touch)
Define and display menu
ESC
N
D
xx1 yy1 nr
Text
...
NUL
A menu is drawn at corner xx1,yy1 with the current menu font.no=currently inverted entry (e.g.: 1 =
first entry). "text.."=string with menu items, the different items are separated by the character '|'
($7C,dec:124) (e.g. "item1|item2|item3"). The background of the menu is saved automatically.If a
menu is already defined, it is automatically canceled+deleted
next item N The next item is inverted or remains at the end
previous item
P The previous item is inverted or remains at the beginning
End of menu / send S
The menu is removed and replaced with the original background. The current item is send as a
number (1 to n) (0=no menu displayed)
End of menu / macro M n1
The menu is removed and replaced with the original background. Menu macro n1 is called from
item1, menu macro nr+1 for item2...
End of menu / cancel A The menu is removed and replaced with the original background.
TOUCH ADJUSTMENT
The touch panel is perfectly adjusted and immediately ready for operation on delivery. As a result of
aging and wear, it may become necessary to readjust the touch panel:
1a. Send Command 'ESC A@' or
1b. Touch the touch panel at power-on and keep it depressed. After the message “touch adjustment
?” appears, release the touch panel. Touch the touch panel again within a second for at least a
second.
2. Follow the instructions for adjustment (press the 2 points upper left and lower right corner).
EA eDIPTFT70-A: Commands for the touch panel
after
reset
Command Codes Remarks
Global settings
Touch query on/off
ESC
A A n1 Touch query is deactivated (n1=0) or activated (n1=1)
1
Touch key response
ESC
A
I n1 Automatic inversion when touch key touched: n1=0=OFF; n1=1=ON; 1
S n1 Tone sounds briefly when a touch key is touched: n1=0=OFF; n1=1=ON
1
Touch key vibration
response
ESC
A * n1
n1=0: vibration off
n1=1..3: vibration intensity 1=low, 2= mid, 3=high
Touch key sound response
ESC
A - n1 n2 n3
Set touch sound:
n1=0: all types n1=6: free area (#AH)
n1=1: key (#AT/#AU) n1=7: make menu(#AM)
n1=2: switch (#AJ/#AK) n1=8: menu box(change menu entry)
n1=3: bar (#AB) n1=9: keyboard (#KS)
n1=4: instrument (#A+) n1=10: edit box (#ET)
n1=5: all types draw (#AD)
n2=1..80: sound number (0=no sound; 255=no change)
n3=0..7: sound volume (255 no change)
1,19,7
2,50,7
3,23,6
4,24,4
5,23,6
6,23,6
7,43,7
8,14,6
9,9,5
10,51,6
Send bar value on/off
ESC
A Q n1
Automatic transmission of a new bar graph / instrument value by touch input is n1=0: deactivated;
n1=1: is placed in the sendbuffer once at the end of input
n1=2: changes are placed continious in the sendbuffer during input
1
Other functions
Invert touch key
ESC
A
N code The touch key with the assigned return code is inverted manually
Set touch switch P code n1 The status of the switch is changed by means of a command (n1=0=off; n1=1=on)
Query touch switch X code The status of the switch with the return code (off=0; on=1) is placed in the sendbuffer
Query radio group G n1 down code of the activated switch from the radio group n1 is placed in the sendbuffer
Delete touch area
ESC
A
L
code
n1
The touch area with the return code (code=0: all touch areas) is removed from the touch query.
n1=0 the area remains visible on the display; n1=1, the area is deleted.
V xx1 yy1 n1
remove the touch area that includes the coordinates xx1,yy1 from the touch query.
n1=0: area remains visible; n1=1: Delete area