Printing and typographical errors reserved.
ELECTRONIC ASSEMBLY reserves the right to change specifications without prior notice.
Page 28
EA eDIPTFT32-A
MACROS
Single or multiple command sequences can be grouped together in macros and stored in the data
flash memory. You can then start them by using the Run macro commands. There are different types
of macro (compiler directive marked in
green
letters):
Normal macro
Macro:
These are started by means of an ‘ESC MN xx’ command via the serial interface or from another
macro. A series of macros occurring one after the other can be called cyclically (movie, hourglass,
multi-page help text). These automatic macros continue to be processed until either a command is
received via the interface or a touch macro with a corresponding return code is activated.
Touch macro
TouchMacro:
Started when you touch/release a touch field (only in versions with a touch panel - TP) or issue an
‘ESC MT xx’ command.
Bit macro
BitMacro:
will be started by a single line IN 1..8 (bit) will change or by command 'ESC MB xx'. Bit- Macro 1..8
are good for falling edge and Bit Macro 9..16 are good for rising edge at input 1..8. It is possible to
change the assignment between Bitmacro and intput with command ‘ESC YD n1 n2 n3’ (see page
17).
Port macro
PortMacro:
These are started when voltage (binary) is applied to IN 1..8 or by command 'ESC MP xx'.
Matrix macro
MatrixMacro:
Matrix Macro 1..64: start when keypressed or by command 'ESC MX xx'. Matrix Macro 0: start after
release of key or by command. It is possible to change the assignment between keynumber and
Matrixmacro with command ‘ESC YX n1 n2 n3’ (see page 17).
Analogue macro
AnalogMacro:
will start whenever voltage changes or limit exceeds or by command
'ESC MV xx'. See table at the right: It is possible to change the
assignment between analoguemacrofunction and
Analoguemacronumber with command ‘ESC VM n1 n2’ (see page
15).
Process Makro
ProcessMacro:
automatic start at fixed periode (0.1s up to 25s) or by command
'ESC MC xx'. Up to 4 individual process may be defined by command
'ESC MD ..'. These Process Makro will never be stopped by other
commands or activities.
Power-on-macro
PowerOnMacro:
Started after power-on. You can switch off the cursor and define an opening screen, for example.
Reset-macro
ResetMacro:
Started after an external reset (low level at pin 5).
Watchdog-macro
WatchdogMacro:
Started after a fault/error (e.g. failure).
Brown-out-macro
BrownOutMacro:
Started after a voltage drop under 3.0V (typ.).
Important:
If a continuous loop is
programmed in a power-on, reset, watchdog
or brown-out macro, the display can no longer
be addressed. In this case, the execution of
the power-on macro must be suppressed. You
do this by wiring DPOM:
- PowerOff - connect pin 13 (DPOM) to GND
- PowerOn - open pin 13 (DPOM) again.
Analogue Macro
Macro No.
Macro starts at
AIN1 AIN2
0
10
every change of input voltage
1
11
falling input voltage
2
12
rising input voltage
3
13
below lower limit
4
14
above lower limit
5
15
below upper limit
6
16
above upper limit
7
17
outside of both limits
8
18
inside of both limits
9
19
lower than other channel