Datasheet
EA uniTFT Vorläufig
MACROS
General information on macros can be found here.
Parameters that are written in GREY in the command tables are considered optional details, and partially have default values. The default values are
given in brackets behind the corresponding parameters. Parameters written in BLACK on the other hand, must be assigned values. Commands that
may contribute towards changing parameters can only be used if the corresponding parameters have already previouslybeen defined. Some com-
mands allow for entering several object IDs. Should these objects be in numerical sequence, the range may be specified with the “-” sign, e.g. 1-5, instead
of 1,2,3,4,5.
EXECUTING MACROS
Designation Command code Description
Execute macro #MRN "Makroname" The "Macro Name” macro (file name) is
executed.
Execute macro with con-
dition
#MRC Condition, "Makroname" true;, "Makro-
name" false(Kein Makro)
The "Macro Name” macro (true) is exe-
cuted if the condition Condition is fulfilled.
Otherwise, 'Macro Name'(false) is exe-
cuted.
Execute port macro #MRP Port The port macro for the port Port(0-15) is
executed.
Execute bit macro #MRB Bit, Edge The bit macro for the bit Bit(0-127) with the
flank Edge(0= Falling; 1= Increasing) is
executed.
Execute touch macro #MRT Object-id, TouchState The touch macro, which is defined by the
touch function Touch State(1= Not Pres-
sed; 2= Pressed; 4= Drag) in the touch
object Object ID, is executed.
End macro file prematurely #MFE Condition(wahr) Ends the macro prematurely if the condition
Condition is fulfilled.
Skip macro file lines #MFS Condition(wahr), Lines(1) Skips lines Lines in the macro if the con-
dition Condition is fulfilled.
Set macro file marker #MFM Marker-nr(0) Sets a marking in the macro file Marker
No.(0-9).
Jump from macro file to mar-
ker
#MFJ Condition, Marker-nr(0) Jumps to the previously defined marking
Marker No.(0-9) if the condition Condition
is fulfilled.
Delete macro definitions #MCD Mask Delete all macro definitions. Through Mask,
it is established which group of macros is
deleted (1=Second; 2= Process; 4= Port;
8= Bit;16= Analogue; 32= Touch; 64= Ope-
ration). The addition of the individual flag in
the Mask results in the combined deletion
of the respective macro groups. Thus,
when entering Mask=3, second and pro-
cess macros are deleted.
Technische Änderung vorbehalten.
Wir übernehmen keine Haftung für Druckfehler und Applikationsbeispiele..
Seite 74