Description
Original instructions
Function description
This function block serves as the control of a numerical output, which can be switched off via the function block PWM1 controlled analog output, server motor or controlling element. The control can appear via server dialog or direct via the PLC software.
In general a control function block is used to control a digital output. The MS block should then be used, if the control output should be uncoupled from the control of the analog output.
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, 
    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, 
    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
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
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)