UM353-1
3.2.69 ON/OFF - On/Off Controller
ON/OFF is an on/off controller with deviation function. It
is one of five controller types that can be used on a one per
loop basis.
When P-S (Process - Setpoint) reaches the HDEV limit, the
Boolean output HO will go high (1) and when S-P (Setpoint
- Process) reaches the LDEV limit, the output LO will go
high (1). When the deviation drops to less than the
DEADBAND setting, the outputs will go low (0).
Derivative action is added to the process variable when the
TD parameter is other than 0.0.
When single ended action (gap action) is desired, set the
DEADBAND equal to the gap and the HDEV parameter for
half the gap. For example, if DEADBAND = 20.0, set
HDEV to 10. If the setpoint S is 50.0, output HO will go
high (1) when P equals 60.0 and HO will go low (0) when P
equals 40.0.
Input E asserted high (1) will enable the block outputs; when low (0) all outputs will be set low (0).
The process range pointer parameter points to another function block that has range scaling, such as the analog
input that is providing the process variable. This enables the controller to normalize the tuning parameters for the
range of the process input. If this parameter is not configured, the controller will use a range scaling of 0.0 - 100.0.
POWER UP - During a warm start, outputs and comparator functions will be initialized at the state prior to power
down and all dynamic elements will be initialized at the current input on the first scan. During a cold start all
outputs and comparator states will be set to zero, to be activated by the block functions. All dynamic elements will
be initialized at the current input on the first scan.
Process
Engineering
P
INput units
scaling
t
D S
t
D
S
D G
Lead
+
-
Engineering
S
INput units
scaling
.
Setpoint
Absolute Value
March 2003
ON_OFF Controller
+
+
+ 1
Engineering
+
High
INput units
DEViation
scaling
+
+
Engineering
Low
INput units
DEViation
-
scaling
RanGe PoinTeR
Abolute Error
BLOCK DIAGRAM
AE
ON_OFF CONTROLLER
ONOFF
ESN = 000
Range
R
P
ON_OFF
Process
CONTROLLER
Setpoint
S
E
Enable
R
G
P
T
R
RanGe PoinTeR
T D
Time - Derivative
D G
Derivative Gain
H D E V
High DEViation
L D E V
Low DEViation
D
E
A
D
B
A
N D
DEAD BAND
I N P U T
P
INPUT P
(H)
I
N
P
U
T
S
INPUT S
(H)
I
N
P
U
T
E
INPUT E
(H)
E
S
N
Exec. Seq. No.
A
HI Comparator
H
IF A>=B THEN H=100
B
IF A>=(B-DB) AND A<B THEN H=H
1
IF A<(B-DB) THEN H=0
Engineering
DB
Dead
INput units
Band
scaling
A
LO Comparator
L
IF A<=B THEN L=100
B
IF A<=(B+DB) AND A>B THEN L=L
1
IF A>(B+DB) THEN L=0
Function Blocks
AE
Absolute Error
HO
High Output
O1
Output 1
LO
Low Output
..................
(S)
loop tag.block tag
(null)
........... 0.00 to 100.00 min
(0.00)
(S)
....................... 1.00 to 30.00
(S)
(10.00)
.................................... Real
(S)
(5.00)
..................................... Real
(S)
(5.00)
....................................... Real
(0.5)
(S)
.....................
loop tag.block tag.output
(null)
.....................
loop tag.block tag.output
(null)
.....................
loop tag.block tag.output
(null)
........................... 001 to 250
(H)
AND
HO
OR
AND
O1
AND
LO
Enable
.
E
3-73