Description
Original instructions
Function description
This function block allows the selection of setpoint value types used in the servoloop:
Setpoint value type
Explanation
Remote setpoint
(SP_RSP = 1)
The Setpoint comes from a block external calculation using the input RSP (remote setpoint). The input value RSP leads to the SP output.
Local setpoint
(SP_RSP = 0)
The setpoint must be modified directly by the user (Local setpoint). In this operating mode the output SP is not entered using the function block, the variable attached to the SP is modified by the user.
EN and ENO can be configured as additional parameters.
Properties
The function block SP_SEL has the following properties:
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL SP_SEL_Instance (RSP:=RemoteSetPoint, 
    SP_RSP:=TypeOfSetPoint, PARA:=Parameters, 
    PV:=ControlledVariable, MA_I:=OperatingMode, 
    SP:=SetPoint, LSP_MEM=>LocalSetPointMemory, 
    STATUS=>StatusWord)
Representation in ST
Representation:
SP_SEL_Instance (RSP:=RemoteSetPoint, 
    SP_RSP:=TypeOfSetPoint, PARA:=Parameters, 
    PV:=ControlledVariable, MA_I:=OperatingMode, 
    SP:=SetPoint, LSP_MEM=>LocalSetPointMemory, 
    STATUS=>StatusWord) ;
Parameter description SP_SEL
Input parameter description:
Parameter
Data type
Meaning
RSP
Remote setpoint
SP_RSP
Setpoint type used by the controller
"1" : Remote setpoint
"0" : Local setpoint
PARA
Parameter
PV
REAL
Variables to be controlled
MA_I
BOOL
Operating mode of the linked controller
"1" : Automatic operating mode
"0" : Manual mode
Input / output parameter description:
Parameter
Data type
Meaning
SP
REAL
Setpoint used by the controller
Output parameter description:
Parameter
Data type
Meaning
LSP_MEM
REAL
Local setpoint MEMory
STATUS
Status word
Parameter description Para_SP_SEL
Data structure description
Element
Data type
Meaning
sp_min
Lower threshold for setpoint used
sp_max
REAL
Upper threshold for setpoint used
bump
During remote/local changeover:
"1" : the SP output is forced with the value of LSP_MEM
"0" : bumpless changeover
track
BOOL
"1" : the values of SP and PV are brought into line in manual mode (local setpoint only)
rate
REAL
SP increase during local/remote changeover in units per second (≥0)