O
pe
ra
to
r
P
an
el
P
ro
gr
am
m
in
g
E
xa
m
ple
s
5--11
Programming Examples
This example is similar to the previous one, except that it gets its value from two PLC
registers instead of a constant value. The third line uses data display message #7,
which has been configured as a floating point display message. Remember, floating
point numbers require two 16-bit registers and they must be read together. In this
example, the data is loaded from V3010 and V3011 using an LDR (load real number)
instruction to the third line display registers V2010 and V2011. The top and bottom
lines use message #140, which has been configured as a blank text message. The
second line uses message #8, a text message.
C104
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 from V3010 and
V3011 into display registers V2010 and V2011.
OUT
V2002
LDR
V3010
OUTD
V2010
This selects message #7 to be displayed in the
third line.
Avg Part/Hr +1.69E+05
Process Step 1
Displaying
Floating Point
Numbers
Example 2