©2012 by e-Gizmo Mechatronix Central
N=L+"Q5"18"QR"7=L+0
EZ HMI Display Terminal
Oc=973+"5W"G.073=4"eE+331"a1/3Kzf"12";17"3.2+
&/=209.00.12")1/9=;W"
q]&Xr
1
E+331"a1/3Kz
qO&Xr
@.0-=3"v=0.<W
ASCII
]&X
1
H
e
l
l
o
a
o
r
l
d
z
ETX
Hex
UcU5 Uc?Q UcYi UcRB UcR< U<R< UcR8
Uc5U UcBh UcR8
Uch5 UcR< UcRY Uc5Q UcU?
]+/.=3QT7/.2;H<:/H5JIf
1
E+331"a1/3KzfI<:/H?JJ"
Arduino:
"
]+/.=3TP/.;+HUcU5Jx"
"
((
q]&Xr
"
]+/.=3T7/.2;He
1
E+331"a1/3KzfJx"" ((QE+331"a1/3Kz
"
]+/.=3TP/.;+HUcU?Jx"
"
((
qO&Xr
$3;+/2=;+34*"41-"<=2"-0+";:+"D($/K-.21"e{f"17+/=;1/"
;1"0+2K";:+"$]D''"<1K+"18"
q]&Xr
and
qO&Xr
, together
with the function and data:
"
]+/.=3T7/.2;He{UU5
1
E+331"a1/3Kz{UU?fJx"
P:+/+W"e{UU5f"y"
q]&Xr
*"e{UU?f"y"
qO&Xr
Notice that in both example, only the
q]&Xr
and
qO&Xr"
9=/M+/"2++K";1">+"<12F+/;+K"9=2-=334";1";:+./"$]D''"
code, for the simple reason that they have no equiv-
alent printable characters. The three line implemen-
;=;.12"H312L":=2K"81/9=;J"9=4"9=M+"41-/"7/1L/=9"
longer, but is more human readable. Hence, for clar-
ity, all example codes given are shown in the long
81/9=;T"a+"3+=F+".;"-7";1"41-".8"41-"P=2;";1"<1K+".;".2"
short format.
Function Description
4.1.
c
- Clear LCD
Clear LCD display
Note:
This function is not available while the EZ HMI
.0".2"N=/=9+;+/"O2;/4"("OK.;"C1K+"1/"P:.3+".2"G.=31L"
mode.
)1/9=;W""
q]&Xr
c
qO&Xr
%+07120+W"H[1;+W"a/=77+K"P.;:"
q]&Xr
&
"qO&Xr
)
"
6Z"n"%+=K4
Example (Arduino):
"
]+/.=3TP/.;+HUcU5Jx"
((
STX code
"
]+/.=3T7/.2;He
c
fJx"
((
c – Clear LCD function
"
]+/.=3TP/.;+HUcU?Jx"
((
ETX code
YT5T"
>
"A"]+;"N/.2;.2L"];=/;"N10.;.12"
Note:
This function is not available while the EZ HMI
.0".2"N=/=9+;+/"O2;/4"("OK.;"C1K+"1/"P:.3+".2"G.=31L"
mode.
)1/9=;W"
q]&Xr
>
nn
qO&Xr
a:+/+W"
"
22"y"0;=/;"7/.2;"710.;.12*"UAQB
"
"
U"A"3+8;"910;"710.;.12
"
"
QB"n"/.L:;910;"710.;.12
"
"
G+8=-3;"F=3-+yU
%+07120+W"H[1;+W"a/=77+K"P.;:"
q]&Xr
&
"qO&Xr
)
"
6Z"n" %+=K4
"
O%%"A""N/.2;"];=/;"710.;.12".2F=3.K
Example:
]+;"7/.2;"0;=/;"710.;.12";1"QU;:"<:=/=<;+/".2"="3.2+
(Arduino):
"
]+/.=3T7/.2;HUcU5Jx"
((q]&Xr
"
]+/.=3T7/.2;He
>
”);
"
]+/.=3T7/.2;HeQUfJx
"
]+/.=3T7/.2;HUcU?Jx"
((qO&Xr