Description
Original instructions
Function description
The function block replicates a three-point step controller, and exhibits a PD-like behavior due to a dynamic feedback path.
NOTE: This function block performs an internal initialization in the first program cycle after a warm start or cold start (e.g. application download or power cycle) of the PLC program.
Due to this, you have to make sure that the function block is invoked in the first program cycle. In case of inkoving the function block in a later program cycle, the internal initialization will not be performed and the ouputs may deliver wrong values.
WARNING
UNEXPECTED OUTPUT BEHAVIOUR
Make sure that the function block is always invoked in the first program cycle.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
EN and ENO can be configured as additional parameters.
Properties
The function block SCON3 has the following properties:
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL SCON3_Instance (SP:=SetpointInput, PV:=ProcessVariable, 
    PARA:=Parameters, R:=ResetModeFlag, 
    Y_POS=>PosManipulated_ERR_EFF, 
    Y_NEG=>NegManipulated_ERR_EFF, 
    ERR_EFF=>EffectiveError)
Representation in ST
Representation:
SCON3_Instance (SP:=SetpointInput, PV:=ProcessVariable, 
    PARA:=Parameters, R:=ResetModeFlag, 
    Y_POS=>PosManipulated_ERR_EFF, 
    Y_NEG=>NegManipulated_ERR_EFF, 
    ERR_EFF=>EffectiveError) ;
SCON3 parameter description
Description of input parameters:
Parameter
Data type
Description
SP
Setpoint input
PV
REAL
Actual value input
PARA
Parameter
R
"1" = Reset mode
Description of output parameters:
Parameter
Data type
Description
Y_POS
BOOL
"1" = positive manipulated variable at output ERR_EFF
Y_NEG
BOOL
"1" = negative manipulated variable at output ERR_EFF
ERR_EFF
REAL
Effective switch value
Parameter description Para_SCON3
Data structure description
Element
Data type
Description
gain
Proportional action coefficient (gain)
ti
Integral time
t_proc
TIME
Nominal actuating time of the controlled valve
hys
REAL
Hysteresis from three point switch
db
REAL
Dead zone
Runtime error
If hys > 2 * db, an error message is shown in the diagnostic viewer (Tools → Diagnostic viewer).
NOTE: For a list of all block error codes and values, see CLC_PRO.
Warning
In the following cases, a warning is shown in the diagnostic viewer (Tools → Diagnostic viewer):
NOTE: For a list of all block error codes and values, see CLC_PRO.