Datasheet
EA eDIPTFT70-A
Page 11
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical errors reserved.
>
<DC2> 3 D
packet size for
send buffer
timeout bcc
<
<ACK>
>
<DC2> 1 R bcc
<
<ACK>
<
<DC1>
<DC2>
len data... bcc
Repeat the last package
Protocol settings
<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
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
<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
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>)
or the buffer/protocol information (<DC2>).
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.
This command can be used to select or
deselect the eDIP with the address adr.
Request for protocol settings
<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 (eDIPTFT70-A = 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
>
<DC2> 1 P bcc
<
<ACK>
<
<DC2> 3
max.
packet size
akt. send
packet size
akt. timeout bcc
This command is used to query protocol
settings.
>
<DC2> 1 I bcc
<
<ACK>
<
<DC2> 2
send buffer
bytes ready
receive buffer
bytes free
bcc
Request for buffer information
<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
This command queries whether user data is
ready to be picked up an how full the display's
receive buffer is.