English
Language : 

EAEDIP128B-6LW Datasheet, PDF (18/29 Pages) List of Unclassifed Manufacturers – OPERATING UNIT 128x64 with touch panel
EA eDIP128-6
Page 18
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical errors reserved.
RESPONSES OFTHE EA EDIP128-6VIA 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,
alternatively pin 20 ’SBUF’ shows with Low-level that data is ready to transmit.
Id
ESC A
ESC B
ESC N
ESC T
ESC P
ESC H
ESC N
ESC B
ESC X
ESC G
ESC Y
ESC V
ESC J
ESC I
ESC U
num
1
2
1
0
1
5
1
2
2
2
2
num
num
21
L
Responses of the eDIP
data
Remarks
automatic responses (placed into sendbuffer)
code
Response from the analog touch panel when a key/switch is pressed. code = down or up code of the key/switch. It is
only transmitted if no touch macro with the number code is defined !
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).
code
After a menu item is selcted by touch, the selected menu item code is transmitted. It is only transmitted if no touch
macro is defined with the number code.
If automatic opening of a touch menu is disabled (see 'ESC NT n1'), this request is sent to the host computer. The host
can then open the touch menu with the 'ESC N T 2' command.
value
After the input port is changed, the new 8-bit value is transmitted. The automatic port scan must be activated. See the
'ESC Y A n1' command. It is only transmitted when there is no corresponding port/bit macro defined !
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
within the free touch area at the coordinates xx1, yy1
Response only when requested by command (placed into sendbuffer)
no
After the 'ESC N S' command, the currently selected menu item is transmitted. no=0, no menu item is selected
no value
After the 'ESC B S n1' command, the current value of the bar with the number no is transmitted.
code value
After the 'ESC A X' command, the current status (value=0 or 1) of the touch switch code is transmitted.
no code
no value
After the 'ESC A G nR' command, the code of the active touch switch in the radio group no is sent.
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
version string...
After the 'ESC S V' command, the version of the edip firmware is transmitted as a string
e.g. "EA eDIP128-6 V1.0 Rev.A TP+"
projectname string...
X-dots, Y-dots, Version, Touchinfo,
CRC-ROM, CRC-ROMsoll
DF in KB,
CRC-DF, CRC-DFsoll, DFlen
After the 'ESC S J' command, the macro-projectname is transmitted. e.g. "init / delivery state"
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)
image
xx1 yy1 data...
(G16-F
after the 'ESC UH....' command, a hard copy is sent in BLH Format. xx1,yy1 = Start coordinates of the hard copy (upper
corner)
BLH-Data: 2 Byte: Width, height (in Pixel)+ amount of bytes of image data
amount = ((width+7)/8*height