S
ys
te
m
S
et
up
Yo
ur
P
an
el
C
on
fig
ur
in
g
P
ro
gr
am
m
in
g
E
xa
m
pl
es
5--10
Programming Examples
This example uses a floating point number in the third line display message. The
third line uses data display message #7, which has been configured as a floating
point display message. Since the data is a floating point number, it uses two 16-bit
registers. The two registers have to be looked at together, not individually, for the
data to be understandable. In this example, the data is a constant number (168932)
which is loaded into the third line data display registers using an LDR (load real
number) instruction. The top and bottom lines use message #140, which has been
configured as a blank text message. The second line is text message #8.
C103
LD
K140
OUT
V2000
This selects message #140 (blank) to be displayed in
the top and bottom lines.
OUT
V2003
LD
K8
OUT
V2001
LD
K7
This selects message #8 to be displayed in the
second line.
This puts the floating point value 168932 into the
third line data field. Notice that the displayed value
is truncated.
Avg Part/Hr +1.69E+05
Process Step 1
OUT
V2002
LDR
R168932
OUTD
V2010
This selects message #7 to be displayed in the
third line.
Displaying
Floating Point
Numbers
Example 1