Datasheet

EA eDIPTFT70-A
Page 21
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical errors reserved.
Responses of the EA eDIPTFT70-A
Id num data Remarks
automatic responses (placed into sendbuffer)
ESC A
1 code
Response from the analog touch panel when a key/switch is pressed. code = down or up code of the key/swi
t
transmitted if no touch macro with the number code is defined !
ESC B
2 no value
When a bargraph is set by touch, the current value of the bar no is transmitted. Transmission of the bar balue
activated (see the 'ESC A Q n1' command).
ESC F
2 no value
When a instrument is set by touch, the current value of the instrument no is transmitted. Transmission of the
intstrument value must be activated (see the 'ESC A Q n1' command).
ESC K
1 code
Response of the touch keyboard; code = keycode. It's only transmitted if there is no MatrixMacro defined and
box.
ESC P
1 value
After the input port is changed, the new 8-bit value is transmitted. The automatic port scan must be activated.
A n1' command. It is only transmitted when there is no corresponding port/bit macro defined !
ESC M
1 no
When a keystroke of the external matrix keyboard is detected, the newly pressed key number no is transmitt
e
transmitted if no corresponding matrix macro is defined !
ESC H
5 type xLO xHI yLO yHI
The following is transmitted in the case of a free touch area event: type=0 is release; type=1 is touch; type=2
free touch area at the coordinates xx1, yy1
Response only when requested by command (placed into sendbuffer)
ESC B
2 no value After the 'ESC B S n1' command, the current value of the bar with the number no is transmitted.
ESC F
2 no value After the 'ESC I S n1' command, the current value of the instrument with the number no is transmitted.
ESC X
2 code value After the 'ESC A X' command, the current status (value=0 or 1) of the touch switch code is transmitted.
ESC G
2 no code After the 'ESC A G nR' command, the code of the active touch switch in the radio group no is sent.
ESC E
num no edit box string
After the 'ESC E G nr' command or sending the code '13' to the active edit box ('ESC E B code'), the content
nr= number of the edit box (string length=num-1)
ESC Y
2 no value
After the 'ESC Y R' command, the requested input port is transmitted. no=0: value is an 8-bit binary value of
a
no=1..8: value is 0 or 1 depending on the status of the input no
ESC D
3 ch LOval HIval After the 'ESC V D ch' command, the requested voltage of channel ch=1..2 will be sent (value = 0..5000mV)
ESC W
num ch scaled ASCII string...
After the 'ESC V S ch' command, the requested voltage of channel ch=1..2 will be set as scaled ASCII chara
c
string = num-1).
ESC V
num version string...
After the 'ESC S V' command, the version of the edip firmware is transmitted as a string
e.g. "EA eDIPTFT70-A V1.0 Rev.A TP+"
ESC J
num projectname string... After the 'ESC S J' command, the macro-projectname is transmitted. e.g. "init / delivery state"
ESC I
21
X-dots, Y-dots, Version, Touchinfo,
CRC-ROM, CRC-ROMsoll
DF in KB,
CRC-DF, CRC-DFsoll, DFlen
after the 'ESC S I' command, internal information is sent by eDIP (16-Bit integer values LO-HI Byte)
Version: LO-Byte = version number Software; HI-Byte = Hardware revison letter touch
Touchinfo: LO-Byte = '-|+' X direction detected; HI-Byte = '-|+' Y direction detected
DFlen: number of user bytes in data flash memory (3 Bytes: LO-, MID- HI-Byte)
Responses without length specification (num)
ESC U
L xx1 yy1
image data...
(G16-FORMAT)
after the 'ESC UH....' command, a hard copy is sent in G16-format.
xx1,yy1 = Start coordinates of the hard copy (upper left corner)
RESPONSE OF THE EA EDIPTFT70-A VIA SERIAL INTERFACE
The table below contains all response codes. Some response data will come automatically some
others on request. In addition to that with command 'ESC SB ...' user is able to transmit individual data
packages. All reponses are placed into the sendbuffer. With the smallprotocol command ’Request for
content of send buffer’ (see page10) the host can read out the sendbuffer. This can be done per polling,
alternativly pin 20 ’SBUF’ shows with LO-signal that data is ready to transmit.