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--4
Programming Examples
The OP--414 continuously updates the registers of all setpoints with each setpoint’s
current value. To read a setpoint, simply access the register(s) that correspond to
each setpoint. The data can be copied to another register for manipulation or it can
be accessed in its field point register(s).
Again, notice that the base address is V2000, so V2000 is M+0.
Also, field point 1
has been configured as a setpoint in BCD format with no digits after the decimal. In
this example, field point 1 is a High Limit setpoint. When C71 is active, the program
below compares the setpoint 1 (BCD long value held in V2000 and V2001) with the
value held in V4065 and V4066. If the value exceeds the setpoint, Y10 will be
turned on.
To read a setpoint configured as Binary, configure the field point for setpoint, Binary,
and the required number of digits after the decimal. Then, use the LD and CMP
instructions instead of LDD and CMPD, since the Binary data type only uses one
register. Be sure the CMP is a decimal value.
C71
LDD
V2000
CMPD
V4065
This rung loads the value
from V2000 & V2001, and
compares it to the value in
V4065 & V4066.
If V4065 & V4066 is greater
than setpoint 1, this rung
turns on output Y10.
SP60
Y10
Field point 3 data cell 2 (long BCD)
Field point 1 data cell
Field point 1 data cell 2 (long BCD)
Field point 2 data cell
Field point 2 data cell 2 (long BCD)
Field point 3 data cell
Field point 4 data cell
Function
M+0
M+1
M+2
M+5
M+6
Register
M+3
M+4
PLC
Register
Field point 6 data cell 2 (long BCD)
Field point 4 data cell 2 (long BCD)
Field point 5 data cell
Field point 5 data cell 2 (long BCD)
Field point 6 data cell
Field point force data cell
M+7
M+8
M+11
M+12
M+9
M+10
Field point force data cell 2 (long BCD)
Force control
M+13
M+14
Address
Example
V2000
V2001
V2002
V2005
V2006
V2003
V2004
V2007
V2010
V2011
V2014
V2015
V2012
V2013
V2016
Reading a Setpoint