Datasheet

EA eDIPTFT70-A
Page 16
ELECTRONIC ASSEMBLY reserves
the right to change specifications
without prior notice. Printing and
typographical errors reserved.
EA eDIPTFT70-A: Macro commands
after
reset
Command Codes Remarks
Macro commands
Run macro
ESC M
N no Call the (normal) macro with the number no (max. 7 levels)
Run touch macros
T no Call the touch macro with the number no (max. 7 levels)
Run menu macro
M Call the menu macro with the number no (max. 7 levels)
Run port macro
P no Call the port macro with the number no (max. 7 levels)
Run bit macro
B no Call the bit macro with the number no (max. 7 levels)
Run matrix macro
X no Call the matrix macro with the number (max. 7 levels)
Run process macro
C no Call the process macro with the number (max. 7 levels)
Run analogue macro
V no Call the analogue macro with the number no (max. 7 levels)
Disable macros
ESC M
L type n1 n2
Macros of the type'N','T','P','B','X','C', 'M' or 'V' (type 'A' = all macro types) are disabled from the
number n1 to n2; i.e. no longer run when called.
Enable macros
U type n1 n2
Macros of the type 'N','T','P','B','X','C', 'M' or 'V' (type 'A' = all macro types) are enabled from
number n1 to n2; i.e. run again when called.
Select macro/image page
ESC M
K n1
A page is selected for macros and images n1=0 to 15. if a macro/image is not defined in the
current page 1 to 15, this macro/image is taken from page 0 (e.g. to switch languages or for
horizontal/vertical installation).
Save macro/image page
W the current macro/image page is saved (when used in process macros)
Restore macro/imagepage
R the last saved macro/image page is restored
Automatic (normal-) macro
Macro with delay
ESC M
G n1 n2
Call the (normal) macro with the number n1 in n2/10s. Execution is stopped by commands (e.g.
receipt or touch macros).
Autom. macros once only
E n1 n2 n3
Automatically run macros n1 to n2 once only; n3=pause in 1/10s. Execution is stopped by
commands (e.g. receipt or touch macros).
Autom. macros cyclical
A n1 n2 n3
Automatically run macros n1 to n2 cyclically; n3=pause in 1/10s. Execution is stopped by
commands (e.g. receipt or touch macros).
Autom. macros ping pong
J n1 n2 n3
Automatically run macros n1 to n2 to n1 (ping pong); n3=pause in 1/10s. Execution is stopped,
for example, by receipt or touch macros.
Macro processes
Define macro process
ESC M
D no type n3 n4 zs
A macro process with the number no (1 to 4) is defined (1=highest priority).
The process macros n3 to n4 are run successively every zs/10s.
type: 1=once only; 2=cyclical; 3=ping pong n3 to n4 to n3
Macro process interval
Z no zs
a new time zs in 1/10s is assigned to the macro process with the number no (1 to 4).
if the time zs=0, execution is stopped.
Stop macro processes
S n1
All macro processes and animations are stopped with n1=0 and restarted with n1=1 in order,
for example, to execute settings and outputs via the interface undisturbed
1
EA eDIPTFT70-A: Analogue input AIN1, AIN2 commands
after
reset
Command Codes Remarks
Commands for analogue inputs
Calibration
ESC
V @ ch xx1
Calibration procedure is as follows:
1.) Apply defined voltage (3..5V) to AIN1 (channel1) or AIN2 (channel2)
2.) Run this command with channel information ch=1..2 and xx1=voltage value [mV] (16-Bit)
e.g. 4.0V on AIN1; Command: '#V@1,4000;'
not
calib
rated
Enable/disable AIN scan
ESC
V
A n1 n1=0 disables input scan for AIN1 and AIN2; n1=1 enable input scan 0
Send analog value D ch Voltage in [mV] will be sent (to sendbuffer) for channel ch=1..2
Limit for analog macro K ch n1 n2 n3
Sets two limits for channel ch=1..2.
n1=lower limit [mV/20]; n2=upper limit [mV/20]; n3=hysteresis [mV]
Related to this limits serveral analogmacros can be started automatically.
0
Redefine analoguemacro
(since V1.1)
ESC
V M n1 n2 Assign analoguemacrofunction n1=0..19 with analoguemacro number n2=0..255.
Bargraph for AIN1/AIN2
ESC
V
B ch no
Assigns bargraph no=1..20 to analogue input ch=1..2
(it is possible to assign more than one bargraph to an anlogue input).
Define start- endvalues (sv, ev) for bargraph in [mV/20] (see comand 'ESC B RLOU')
Instrument for AIN1/AIN2 + ch no
Assigns instrument no=1..4 to analogue input ch=1..2
Define start- endvalues (sv, ev) for bargraph in [mV/20]
Redraw bargraph
R ch Redraw all bar graphs defined for channel ch=1..2
User values - Format text output
User value color
ESC
F V ch fg bg Set color for string output of channel ch=1..2; fg= foreground, bg= background color 8,1
User value Font
V
F ch n1 Set font n1 for channel ch=1..2 5
User value zoom Z ch n1 n2 Set zoom factor for channel ch=1..2; n1=X-Zoom 1x..8x; n2=Y-Zoom 1x..8x 1,1
User value additional
width/height
Y ch n1 n2
n1=0..15: additional width left/right;
n2=0..15: additional height top/bottom for channel ch=1..2;
0, 0
User value angle W ch n1 Set writing angle for channel ch=1..2; n1=0: 0°; n1=1: 90°; n1=2: 180°; n1=3: 270°; 0
User values / scaling
ESC
V E ch
format string
...
NUL
Set user value for channel ch=1..2.
Format String: "mV1=uservalue1;mV2=uservalue2". 'NUL' ($00) = termination
Assign two voltages (0..5000mV) to user defined values
max. range: 4 1/2 digits 19999 + decimal point ('.' oder ',') + sign
e.g. display for 2000 mV input should be "-123.45" and "0.00" for 1000mV
Format String: "2000=-123.45;1000=0"
0
=0.00
5000
=5.00
Send user value
ESC
V
S ch This will send current voltage as formated string for channel ch=1..2 to sendbuffer
Display on terminal T ch Show formated string of channel ch=1..2 on termial window
Display user value G ch xx1 yy1 Show formated string of channel ch=1..2 at coordinate xx1,yy1