Description
Original instructions
Function description
This function block is used to split a digital output. A common usage is duplicating a PID output to an actuator.
A dead band can be applied to the deviation between the IN input and the positional copy.
The manual operating mode enables the control to operate with or without positional feedback (by feeding the output to the input, no deviation will occur on changeover to auto; therefore the start will be smooth).To switch smoothly from manual mode to auto mode in servo control, feed an increasing or decreasing ramp to the setpoint input.
EN and ENO can be configured as additional parameters.
Application possibilities
The function block will mainly be used with the following applications:
Representation in FBD
Representation:
Representation in LD
Representation:
Representation in IL
Representation:
CAL MS_Instance (IN:=Instruction, FORC:=OperatingModeFlag, 
    MA_FORC:=OperatingModeFORC_1, 
    MAN_AUTO:=OperatingModeFORC_0, PARA:=Parameters, 
    TR_I:=InitializationInput, TR_S:=InitializationType, 
    RCPY:= PositionalCopy, 
    OUT:=AbsoluteOutput, OUTD=>IncrementalOutput, 
    MA_O=>CurrentBlockOperatingMode, STATUS=>StatusWord)
Representation in ST
Representation:
MS_Instance (IN:=Instruction, FORC:=OperatingModeFlag, 
    MA_FORC:=OperatingModeFORC_1, 
    MAN_AUTO:=OperatingModeFORC_0, PARA:=Parameters, 
    TR_I:=InitializationInput, TR_S:=InitializationType, 
    RCPY:= PositionalCopy, 
    OUT:=AbsoluteOutput, OUTD=>IncrementalOutput, 
    MA_O=>CurrentBlockOperatingMode, STATUS=>StatusWord) ;
Parameter description MS
Input parameter description:
Parameter
Data type
Meaning
IN
Manipulated variable used in automatic mode
FORC
"1": The mode manual/automatic will be entered via MA_FORC
"0": The mode manual/automatic will be entered via MAN_AUTO
MA_FORC
BOOL
Mode manual/automatic (if FORC = 1)
"1": Automatic operating mode
"0": Manual mode
MAN_AUTO
BOOL
Mode manual/automatic (if FORC = 0)
"1": Automatic operating mode
"0": Manual mode
PARA
Parameter
TR_I
REAL
Initialization input
TR_S
BOOL
Initialization command
RCPY
REAL
Positional feedback (0 to 100%)
Input / output parameter description:
Parameter
Data type
Meaning
OUT
REAL
Absolute output
Output parameter description:
Parameter
Data type
Meaning
OUTD
REAL
Incremental output: Difference between the present output and the output of the previous execution
MA_O
BOOL
Current mode of the function block (0: Manual, 1: Automatic)
STATUS
Status word
Parameter description Para_MS_DB
Data structure description
Element
Data type
Meaning
out_min
lower limit value of the output
out_max
REAL
upper limit value of the output
inc_rate
REAL
Increasing ramp at the changeover manual/automatic (units per second)
dec_rate
REAL
Decreasing ramp at the changeover manual/automatic (units per second)
outbias
REAL
Value of the bias
use_bias
"1": Enable the bias
bumpless
BOOL
"1": Settings of the bias with changeover manual/automatic (bumpless)
dead_band
REAL
Dead zone on deviation
en_rcpy
BOOL
"1": Function with positional feedback (including RCPY)