Page 19
Printing and typographical errors reserved.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice.
EA eDIPTFT32-A
RESPONSE OF THE EA EDIPTFT32-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.
TOUICH 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).
Responses of the EA eDIPTFT32-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/switch. It is onl
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 must be
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
must be activated (see the 'ESC A Q n1' command).
ESC
P
1
value
After the input port is changed, the new 8-bit value is transmitted. The automatic port scan must be activated. See the 'E
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 transmitted. Only
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 is drag with
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
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 all 8 inputs.
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 characters (length
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 eDIPTFT43-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)