Datasheet
EA eDIPTFT70-A
Page 12
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical errors reserved.
USING THE SERIAL INTERFACE
The operating unit can be programmed by means of various integrated commands. Each command
begins with ESCAPE followed by one or two command letters and then parameters.
There are two ways to transmit commands:
1. ASCII mode
- The ESC character corresponds to the character ‘#’ (hex: $23, dec: 35).
- The command letters come directly after the ‘#’ character.
- The parameters are transmitted as plain text (several ASCII characters) followed by a separating
character (such as a comma ‘,’) - also after the last parameter e.g.: #GD0,0,799,479,
- Strings (text) are written directly without quotation marks and concluded with CR (hex: $0D) or LF
(hex: $0A).
2. Binär mode
- The escape character corresponds to the character ESC (hex: $1B, dec: 27).
- The command letters are transmitted directly.
- The coordinates xx and yy are transmitted as 16-bit binary values (first the LOW byte and then the
HIGH byte).
- All the other parameters are transmitted as 8-bit binary values (1 byte).
- Strings (text) are concluded with CR (hex: $0D) or LF (hex: $0A) or NUL (hex: $00).
No separating characters, such as spaces or commas, may be used in binary mode.
The commands require no final byte, such as a carriage return (apart from the string $00).
Terminal-Font 2: 8x16
TERMINAL MODE
When you switch the unit on, the cursor flashes in the
first line, indicating that the display is ready for
operation. All the incoming characters are displayed
in ASCII format on the terminal (exception:
CR,LF,FF,ESC,’#’). The prerequisite for this is a
working protocol frame or a deactivated protocol (see
pages 10 and 11).
Line breaks are automatic or can be executed by
means of the ‘LF’ character. If the last line is full, the
contents of the terminal scroll upward. The ‘FF’
character (page feed) deletes the terminal. The
character ‘#’ is used as an escape character and thus
cannot be displayed directly on the terminal. If the
character ‘#’ is to be output on the terminal, it must be
transmitted twice: ‘##’. The size of the terminal-
window can be set by command 'ESC TW'.
Attention: The terminal has its own level for displaying
and is thus entirely independent of the graphic
outputs. If the graphics screen is deleted with ‘ESC DL’, for example, that does not affect the contents
of the terminal window.