Specifications

sigmadue - IEC 61131-3 Function Block Library
94
Output parameter
Description
This function block provides the functionalities of a complete double action regulator.
It needs as input the process variables (
SP
and
MEAS
) in engineering format (the
range is passed as input from the variables P
V_LO
and
PV_HI
), the Ascon PID
parameters (
PB, TI, TD, RCG, FFWD, M_RES, OC, OCRB
), the tuning commands
(
TRUN
and
AUTOUPDATE
), and the signals for the manual access of the block
(
TRK, AUX,DTRK,DAUX,DAM and AM_VAL
). As output it provides the control values
for the two actions (
OUTH
and
OUTC
, limited using the values
OUTH_HI
and
OUTC_HI
), an output (
OUTHC
with range [-OUTC_HI…
+OUTH_HI
]) devoted to the
visualization, and all the parameters calculated from the tuning parameters (
TPB, TTI,
TTD, TRCGA, AT_STS, AT_FAIL
).
The parameters
PB, TI, TD, RCGA,
here indicated as inputs, in the FB code are
declared as
IN_OUT
parameters:
THIS MEANS THAT YOU ALWAYS MUST
PROVIDE AN INPUT CONNECTION WITH A PROCESS VARIABLE FOR EACH OF
THEM,
and please note that when you create an instance, you will have the same
parameters as input and as output.
AM_VAL REAL Output Auto/Manual value [%] -100.0…100.0
DAUX BOOL Output Digital Auxiliary command
AUX REAL Output Auxiliary Signal [%]
-OUTC_HI
OUTH_HI
PV_LO REAL PV input Low range value [e.u.]
PV_HI REAL PV input High range value [e.u.]
OUTH_HI REAL Heat Control Output High limit value [%] 0… 100.0
OUTC_HI REAL Cool Control Output High limit value [%] 0… 100.0
Label Type Description Range
OUTH REAL
Heat Control Output value [%]
0... OUTH_HI
OUTC REAL
Cool Control Output value [%]
0... OUTC_HI
OUTHC REAL
Full range Output value [%]
OUTC_HI...
+OUTH_HI
OVERLAP BOOL
Active if both OUTH and OUTC are active
TPB REAL
Tuning Result - Calculated Proportional Band [%]
TTI REAL
Tuning Result - Calculated Integral Time [s]
TTD REAL
Tuning Result - Calculated Derivative Time [s]
TRCGA REAL
Tuning Result - Calculated Relative Cool Gain
Parameter [num]
AT_STS BOOL
This output is true during tuning activities
AT_FAIL BOOL
This output is set to false at the beginning of
tuning processand true in case process fails
Label Type Description Range