English
Language : 

EAEDIP128B-6LW Datasheet, PDF (11/29 Pages) List of Unclassifed Manufacturers – OPERATING UNIT 128x64 with touch panel
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical errors reserved.
EA eDIP128-6
Page 11
Request for buffer information
> <DC2> 1
< <ACK>
< <DC2> 2
I
bcc
send buffer
bytes ready
receive buffer
bytes free
bcc
<DC2> = 18(dez.) = $12 1 = 1(dez.) = $01 I = 73(dez.) = $49
<ACK> = 6(dez.) = $06
send buffer bytes ready = count of bytes stored in send buffer
receive buffer bytes free = count of bytes for free receive buffer
bcc = 1 byte = sum of all bytes incl. <DC2>, modulo 256
Protocol settings
> <DC2> 3
D
packet size for
send buffer
timeout
bcc
< <ACK>
<DC2> = 18(dec.) = $12 3 = 3(dez.) = $03 D = 68(dez.) = $44
packet size for send buffer = 1..128 (standard: 128)
timeout = 1..255 in 1/100 seconds (standard: 200 = 2 seconds)
bcc = 1 byte = sum of all bytes incl. <DC2>, modulo 256
<ACK> = 6(dec.) = $06
This command queries whether user data is
ready to be picked up and how full the display's
receive buffer is.
This is how the maximum package size that can
be sent by the display can be limited. The default
setting is a package size with up to 128 bytes of
user data. The timeout can be set in increments
of 1/100 seconds. The timeout is activated
when individual bytes get lost. The entire
package then has to be sent again.
Request for protocol settings
> <DC2> 1
< <ACK>
< <DC2> 3
P
bcc
max.
packet size
akt. send
packet size
akt. timeout
This command is used to query protocol
settings.
bcc
<DC2> = 18(dez.) = $12 1 = 1(dez.) = $01 P = 80(dez.) = $50
<ACK> = 6(dez.) = $06
max. packet size = count of maximum user data for 1 package (eDIP128-6 = 255)
akt. send packet size = current package size for send
akt. timeout = current timeout in 1/100 seconds
bcc = 1 byte = sum of all bytes incl. <DC2>, modulo 256
Repeat the last package
> <DC2> 1
R
bcc
< <ACK>
<
<DC1>
<DC2>
len
data...
If the most recently requested package
contains an incorrect checksum, the entire
package can be requested again. The reply can
then be the contents of the send buffer (<DC1>)
bcc
or the buffer/protocol information (<DC2>).
<DC2> = 18(dez.) = $12 1 = 1(dez.) = $01 R = 82(dez.) = $52
<ACK> = 6(dez.) = $06
<DC1> = 17(dez.) = $11
len = count of user data in byte (without ckecksum, without <DC1> or <DC2>)
bcc = 1 byte = sum of all bytes incl. <DC2> and len, modulo 256
Adressing (only for RS232/RS485)
> <DC2> 3
A select or deselect
adr
bcc
< <ACK>
<DC2> = 18(dez.) = $12 3 = 3(dez.) = $03 A = 65(dez.) = $41
select or deselect: 'S' = $53 or 'D' = $44
adr = 0..255
bcc = 1 byte = sum of all bytes incl. <DC2> and adr, modulo 256
<ACK> = 6(dec.) = $06
This command can be used to select or
deselect the eDIP with the address adr.