Technical Manual and Communication Functions Reference Manual
%+FT"Q/U
The EZ HMI (Human-Machine Interface) is a general
purpose display and input terminal designed with microcontroller applications in mind. Users can display
messages and data through its LCD display, and
get alphanumeric input from users with the use of
just a few simple commands. It even features a self
contained menu driven function that allows users to
set, edit, and save to its non volatile memory dataherein referred to as Parameters, for later retrieval
and use by the user application programs.
A user interface function that carries these features
usually requires lengthy codes (it does). Now that
these functions are already built-in features of the
EZ HMI, there goes one detail you no longer need to
worry about- you can put all your programming effort
on the application project.
Figure 1. EZ HMI Display Terminal Module.
Figure 2. EZ HMI Display Terminal with LCD
display module removed. You can use a VFD
display module in place of the LCD if you want
a high brightness- high contrast display.
user inputted data simple.
!"C+2-"K/.F+2"N=/=9+;+/"O2;/4"8-2<;.12"=3lows the user to enter non-volatile data for
later retrieval and use by the host MCU using
just a simple set of functions.
!"O2<1K+/"0P.;<:"=331P0"+2;/4"18"2-9+/.<"=2K"
alphanumeric data, including selected symbols.
!"QR"<:=/=<;+/0">4"5"3.2+0"SDG"1/"@)G"K.0play.
!")1-/"7-0:">-;;12"M+40"-0+K".2"7=/=9+;+/"
entry and dialog mode are free to use for
other purposes in your program.
translation. It must be supplied with a voltage input
+,-=3";1";:+"@<<"0-7734"18";:+"+c;+/2=3":10;"<12;/13ler. This will ensure logic level compatibility between
the host and EZ HMI.
O[D6GO%"]a'&DE
The encoder switch is a special rotary switch that
inputs. Data is generally selected by rotating the
shaft. Pushing the shaft will launch a predetermined
set of actions, which may vary according to the functions using it.
Figure 5. The encoder switch provides a user intuitive way of inputting data. Numeric and alphanumeric
inputs is possible, replacing multikey ASCII keyboard.
Figure 6. UART wiring interface with a 5V logic microcontroller host
with separate power source.
+5V
TXD
RXD
GND
JUMPERINSTALLED
ONJP15VPOSITION
GND
7.5-9.0VDC
DCINPUT
HOST CONTROLLER(MICROCONTROLLER)
with5VSupplyVoltagedrawnfromEZHMI
Figure 7. The EZ HMI +5V, when routed through UART V+ by installing a
jumper at JP1 +5V position, can be used to power UART connected device,
such as the host MCU, or even wireless UART devices.
dozen or so functions, users can effortlessly display
messages and other info.
!")-2<;.12"ec” erases the whole content of LCD
display.
!")-2<;.12"e>” is use to set the cursor to any location
within the displayable area. This allows you to start
printing anywhere on the LCD display screen.
2. PARAMETERS AND PARAMETER ENTRY
MODE
The EZ HMI Parameter Entry Mode is a built-in function that allows you to set, modify, and save to EZ
HMI non-volatile memory up to 48 data sets; we will
refer to these data sets as parameters here on. This
function will be useful for applications where parameters need to be adjusted by the user from time to
time. Example applications includes (and not limited to) temperature control, process control, timer,
instrumentation - to name just a few.
!")-2<;.12"e1f"=2K"e2” allows you to display message
on the top line and bottom line respectively. Portions
of LCD display not overwritten with the new message will remain unaffected.
!")-2<;.12"e3f"=2K"e4”, allows you to display mes-
0=L+"=0".2"e1f"=2K"e2f*"+c<+7;";:+"3.2+".0"<3+=/+K"g/0;"
of its old display before putting in the new message.
Scrolling Message
'8"41-/"9+00=L+".0";11"312L";1"g;".20.K+";:+"QR"
characters display area, you can use the scrolling
message functions to display your long messages.
]</133.2L"8/19"/.L:;";1"3+8;*"8-2<;.12"em” displays your
0</133.2L"9+00=L+"=;";:+";17"3.2+*"P:.3+"8-2<;.12"eM”
use the bottom line to display. You can display mes-
in display that appears to overlap on top of each
other, hence, may be hard to read. To minimize this,
adjust the LCD contrast until an acceptable scrolling
display is obtained. This may result in lower over-
until the cursor coincides with the desired
response.
5T5TQB" N/+00"]a?";1"+2;+/";:+"<:1.<+"=2K"+c.;T
PMyParameter10
Val:3726<
SW4“<”ORSW5“>”
TOMOVECURSORPOSITION
]a5""""""]a?""""""j"]aY"""""]aB"k
_
Exit Selection:
Yes – To save all changes to non-volatile
memory
No – To exit without saving to non-volatile
memory. The edited data will remain in effect
but will be reset to the last saved values once
;:+"71P+/".0"<4<3+K"6))";1"6[T
Cancel"n"%+A+2;+/"7=/=9+;+/"+K.;"91K+T
Important: The edit parameter mode exits with a
cleared LCD display. User application program must
reload the display to its previous condition upon
exiting this function. User application program can
detect this condition by using the T test function as
described in the communications section.
applications programs to collect user input data. You
<=2"3=-2<:".;"P.;:"=24"7/197;"9+00=L+"41-"3.M+*"3.9ited only by the 16 characters the LCD can display.
It can accept numeric and alphanumeric user input
up to 14 characters in length.
The Dialog function can only be launched under a
user application program control. It has two operat-
LCD display. User application program must reload
the display to its previous condition upon exiting this
function. User application program can detect this
condition by using the T test function as described in
Message can contain any printable characters up
to 16 characters long. Long messages will be automatically truncated to 16 characters.
)-2<;.120"1 and 2 will simply write over any pre-
+c.0;.2L"9+00=L+"12"="3.2+*";=M.2L";:+"07=<+"18"1234"
;:10+"2++K+K">4";:+"3=;+0;"9+00=L+T")1/"+c=973+*".8"
41-/"7/1L/=9"K.073=4+K"e];/.2L"&:+1/4f"12"3.2+"Q">+81/+:=2K*"=2K"41-"7/.2;"=21;:+/"9+00=L+"=0"eQ5?f*"
;:+"/+0-3;"P.33">+"eQ5?.2L"&:+1/4fT"&:.0"8+=;-/+".0"
useful for programs that need to refresh just a small
portion of the displayed message from time to time.
';":+370"/+K-<+"0</++2"/+8/+0:"|.<M+/T"
Use functions 3 and 4 if you want to erase all preexisting message on a line before printing the new
message.
Use >"N/.2;"];=/;"N10.;.12"8-2<;.12">+81/+"<=33.2L"=24"
one of the printing functions if you want to start printing on any arbitrary position along the line.
Note: This function is not available while the EZ HMI
.0".2"N=/=9+;+/"O2;/4"("OK.;"C1K+T
&:+"67+2"="G.=31L")-2<;.12"7/1F.K+0"=2"+=04"P=4"
for a user to interact with a host controller. Using this
function, the user can easily display a prompt message, and then get the user respond, which may be
This feature is useful in preventing the host controller from unintentionally repeating the execution of
019+";=0M".2"/+07120+";1"="M+4"<310-/+T
#0+";:+"3+F+3"91K+"Z".8"41-"P=2;";1"/+=K";:+"<-//+2;"
0;=;+"18";:+"=KK/+00+K"M+4T"&:=;".0*"=0"312L"=0";:+"
=KK/+00+K"M+4".0"7/+00+K*"%+=K"Z+4"K will report it
.2"eQf"0;=;+"=;"+F+/4"/+,-+0;T"$0"=3P=40*".8";:+"M+4".0"
21;"7/+00+K*".;"P.33">+"/+71/;+K".2"eUf"0;=;+T