×
Siemens Industry Online Support
Siemens AG
  • Content
  • Search
  • Index
  • Advanced Process Library (V9.0 SP2)
    • Security information
    • Controller blocks
      • PIDConL - Continuous PID controller (Large)
        • Description of PIDConL
        • PIDConL modes
        • PIDConL functions
        • PIDConL error handling
        • PIDConL messaging
        • PIDConL I/Os
        • PIDConL block diagram
    (1)
    Rate

    Entry type: Manual, Entry ID: 109760968, Entry date: 08/24/2018

    SIMATIC Process Control System PCS 7 Advanced Process Library (V9.0 SP2)

    Document: Advanced Process Library (V9.0 SP2) (08/2018, English)
    Type of topic: Fact

    PIDConL functions

    Functions of PIDConL

    The functions for this block are listed below.

    Generation of manipulated variables

    The manipulated variable MV can be generated as follows:

    MV_ForOn

    Intlock

    ManAct

    MV_TrkOn

    AdvCoAct AND NOT

    AdvCoModSP

    MV =

    Limit monitoring

    State

    1

    -

    -

    -

    -

    MV_Forced

    none

    Forced tracking through constraint without limitation

    0

    1

    -

    -

    -

    Neutral position: depends on SafePos, SafePos2

    none

    Interlock state

    0

    0

    1

    -

    -

    Man

    ManHiLim

    ManLoLim

    Manual mode, set by the operator

    0

    0

    0

    1

    -

    MV_Trk

    MV_HiLim

    MV_LoLim

    Tracking with limitation

    0

    0

    0

    0

    1

    AdvCoMV

    MV_HiLim

    MV_LoLim

    Higher-level program mode

    0

    0

    0

    0

    0

    P_Part + I_Part + D_Part +

    FFwd

    MV_HiLim

    MV_LoLim

    Automatic mode (PID algorithm)

    If the controller is in "out of service" mode, the output parameter MV is set to the last valid value in manual mode or the neutral position manipulated variable depending on the Feature Bit (Neutral position manipulated variable takes effect at startup). Refer to the Out of service section for more on this.

    Tracking and limiting a manipulated variable

    The block provides the standard function Tracking and limiting a manipulated variable.

    Neutral position

    The block provides the standard function Neutral position for motors, valves and controllers.

    Group error

    This block provides the standard function Outputting group errors.

    The following parameters are taken into consideration when forming the group error:

    • CSF

    Outputting a signal for start readiness

    This block provides the standard function Outputting a signal for start readiness.

    "Actuator active" information

    If the manipulated variable MV is greater than the minimum manual limit ManLoLim, this is recognized as actuator active. This status can be used to indicate a customized symbol in the process image, for example, and is saved in the status word (see Status word section in Description of PIDConL).

    Limit monitoring of position feedback

    The block provides the standard function Limit monitoring of the feedback.

    Group display SumMsgAct for limit monitoring, CSF and ExtMsgx

    The block provides the standard function Group display for limit monitoring, CSF and ExtMsgx.

    External/internal setpoint specification

    The block provides the standard function Setpoint specification - internal/external.

    Setpoint limiting for external setpoints

    The block provides the standard function Setpoint limiting for external setpoints.

    Gradient limit of the setpoint

    The block provides the standard function Gradient limit of the setpoint.

    Using setpoint ramp

    The block provides the standard function Using setpoint ramp.

    Tracking setpoint in manual mode

    The block provides the standard function Tracking setpoint in manual mode.

    Simulating signals

    The block provides the standard function Simulating signals.

    You can simulate the following values:

    • Process value (SimPV, SimPV_Li)
    • Position feedback (SimRbk, SimRbkLi)

    Bypass function

    This block provides the standard function Bypassing signals.

    Limit monitoring of the process value

    The block provides the standard function Limit monitoring of the process value with the alarm delay type Two time values per limit pair. With the Feature Bit Separate delay times for each alarm, the alarm delay type Two time values for each individual limit can be activated.

    Providing PV limit at the output

    For further connections to the other blocks, the following input parameters are also displayed with the corresponding output parameters:

    • PV_HysOut := PV_Hyst
    • PV_AH_Out := PV_AH_Lim
    • PV_WH_Out := PV_WH_Lim
    • PV_TH_Out := PV_TH_Lim
    • PV_TL_Out := PV_TL_Lim
    • PV_WL_Out := PV_WL_Lim
    • PV_AL_Out := PV_AL_Lim

    Error signal generation and dead band

    The block provides the standard function Error signal generation and dead band.

    The Feature.Bit14 can be used to feedforward an external error signal ER_Ext. When the external error signal is activated, ER_Ext affects both the dead band and the error signal alarm generation.

    Delay alarm for control deviation at setpoint step changes

    The block provides the standard function Delay alarm for control deviation at setpoint step changes.

    Limit monitoring of error signal

    The block provides the standard function Limit monitoring of setpoint, manipulated variable and control deviation. The monitoring of error signal works with the alarm delay type Two time values per limit pair. With the Feature Bit Separate delay times for each alarm, the alarm delay type Two time values for each individual limit can be activated.

    Inverting control direction

    The block provides the standard function Inverting control direction.

    Physical standardization of setpoint, manipulated variable and process value

    Controller gain Gain is entered either using a physical variable or as standardized value.

    Gain as a physical variable:

    The standardized variables retain their default values:

    • NormPV.High = 100 and NormPV.Low = 0
    • NormMV.High = 100 and NormMV.Low = 0

    The effective gain is:

    GainEff = Gain

    Entering a standardized Gain (dimensionless):

    Change the standardized variables to the actual range of the process values and manipulated variables.

    • Internal and external setpoints; the process value and corresponding parameters are entered according to the physical measuring range of the process value.
    • The manual value, the tracking value of the manipulated variable, feedforward control and the corresponding parameters are set according to the physical measuring range of the manipulated variable.

    The effective gain is:

    GainEff = (NormMV.High - NormMV.Low) / (NormPV.High - NormPV.Low) · Gain

    Selecting a unit of measure

    The block provides the standard function Selecting a unit of measure.

    PID algorithm

    The manipulated variable is generated in automatic mode according to the following algorithm:

    MV = GainEff · (1 + 1 / (TI · s) + (TD · s) / (1 + TD / DiffGain · s)) · ER

    Where:

    s = Complex number

    The following step response occurs:


    Note

    The formula describes a standard application where P, I and D components are activated and the P and D components are not in the feedback circuit (PropSel = 1, TI <> 0 and IntSel = 1, TD <> 0 and DIffSel = 1, DiffToFbk = 0 and PropFacSP = 1).



    The D component delay is derived from TD / DiffGain.

    • The P component is displayed at the P_Part I/O and can be deactivated using PropSel = 0 .
    • The I component is displayed at the I_Part I/O and can be deactivated using TI = 0 or IntSel = 0. In deactivated state, I_Part is specified by MV_Offset and added to the manipulated variable. Make a selection for this value so that the remaining control deviation equals zero at the control loop's typical operating point, at least. IntSel is used for temporary deactivation of the I component. The I component is not reactivated until TI <> 0 and IntSel = 1. After the I component is activated, the integrator continues working starting from MV_Offset.
    • The D component is displayed at the D_Part I/O and can be deactivated using TD = 0 or DiffSel = 0.

    Structure segmentation at controllers

    The block provides the standard function Structure segmentation at controllers.

    Anti-windup

    The controller has an anti-windup function. The I component is frozen after the manipulated variable has reached limits (MV_HiLim or MV_LoLim).

    Feedforwarding and limiting disturbance variables

    The block provides the standard function Feedforwarding and limiting disturbance variables.

    Control zone

    The block provides the standard function Using control zones.

    Forming the signal status for blocks

    The block provides the standard function Forming and outputting the signal status for technologic blocks.

    • Signal status for the process value PV_Out:

      The signal status of the output parameter PV_Out always corresponds to the signal status of input parameter PV or, if the block is in simulation mode, 16#60.

    • Signal status for the setpoint value SP:

      The signal status of the SP output parameter is always equivalent to the signal status of input parameter SP_Ext or SP_Int, depending on how the setpoint is specified. If the internal setpoint SP_Int is used, the signal status is always output as 16#80.

    • Signal status of the error signal ER:

      The signal status of output parameter ER is obtained from the worst signal status of the two output parameters PV_Out and SP and is output.

      The signal status 16#60 (external simulation) is suppressed because the block acts as a sink with external simulation.

      If the external error signal is activated (Feature.Bit14 = 1), the signal status of ER_Ext.ST is applied.

    • Signal status for the manipulated variable MV:

      The signal status of output parameter MV is obtained in "automatic mode" or in "program mode" with default setpoint from the worst signal status of the two parameters FFwd and ER and is output. In "manual mode", the signal status is output as good. The signal status 16#60 (external simulation) is suppressed because the block acts as a sink with external simulation. In "manual mode", the signal status is output as good.

    • Signal status for position feedback RbkOut:

      The signal status of RbkOut always corresponds to the signal status of input parameter Rbk or, if the block is in simulation mode, 16#60.

    • Worst signal status:

      The worst signal status ST_Worst for the block is formed from the following parameters:

      Feature.Bit14 = 1 (external error signal)

      • - ER_Ext.ST;
      • - FFwd.ST;
      • - RbkOut.ST;
      • - MV_ChnST.ST;

      Feature.Bit14 = 0 (external error signal)

      • - SP.ST;
      • - PV_Out.ST;
      • - FFwd.ST;
      • - RbkOut.ST;
      • - MV_ChnST.ST;

    Configurable reactions using the Feature parameter

    You can find an overview of all reactions provided by the Feature parameter in the Configurable functions using the Feature I/O . The following functionality is available for this block at the relevant bits:

    Configurable reactions using the Feature2 parameter

    Operator permissions

    The block provides the standard function Operator control permissions.

    The block has the following permissions for the OS_Perm parameter:

    Bit

    Function

    0

    1 = Operator can switch to "automatic mode" AutModOp

    1

    1 = Operator can switch to "manual mode" ManModOp

    2

    1 = Operator can switch to "Out of service" mode OosOp

    3

    1 = Operator can switch to "program mode" AdvCoEn

    4

    1 = Operator can switch the setpoint to "external" SP_ExtOp

    5

    1 = Operator can switch the setpoint to "internal" SP_IntOp

    6

    1 = Operator can change the internal setpoint SP_Int

    7

    1 = Operator can change the manual parameter Man

    8

    1 = Operator can change operation high limit of the setpoint SP_InHiLim

    9

    1 = Operator can change operation low limit of the setpoint SP_InLoLim

    10

    1 = Operator can change the operation high limit of the manipulated variable ManHiLim

    11

    1 = Operator can change the operation low limit of the manipulated variable ManLoLim

    12

    1 = Operator can enable the setpoint's gradient limitation function SP_RateOn

    13

    1 = Operator can change the setpoint's high limit for the ramp SP_UpRaLim

    14

    1 = Operator can change the setpoint's low limit for the ramp SP_DnRaLim

    15

    1 = Operator can switch between the time value or the value for the ramp SP_RmpModTime

    16

    1 = Operator can change the ramp time SP_RmpTime

    17

    1 = Operator can change the target setpoint SP_RmpTarget for the setpoint ramp

    18

    1 = Operator can enable the setpoint ramp function SP_RmpOn

    19

    1 = Operator can permit the PID optimization function OptimEn

    20

    1 = Operator can enable the track setpoint in "manual mode" function SP_TrkPV

    21

    1 = Operator can enable the bumpless switchover from external to internal SP_TrkExt

    22

    1 = Operator can change the gain parameter Gain

    23

    1 = Operator can change the integral time parameter TI

    24

    1 = Operator can change the derivative time parameter TD

    25

    1 = Operator can change the derivative gain parameter DiffGain

    26

    1 = Operator can change the dead band parameter DeadBand

    27

    1 = Operator can change the control zone parameter ConZone

    28

    1 = Operator can change the derivative gain parameter ER_AH_DFac

    29

    1 = Operator can change the derivative gain parameter ER_AL_DFac

    30

    Not used

    31

    Not used

    The block has the following permissions for the OS1Perm parameter:

    Bit

    Function

    0

    1 = Operator can change the limit (process value) PV_AH_Lim for the high alarm

    1

    1 = Operator can change the limit (process value) PV_WH_Lim for the high warning

    2

    1 = Operator can change the limit (process value) PV_TH_Lim for the high tolerance

    3

    1 = Operator can change the hysteresis (process value) PV_Hyst

    4

    1 = Operator can change the limit (process value) PV_TL_Lim for the low tolerance

    5

    1 = Operator can change the limit (process value) PV_WL_Lim for the low warning

    6

    1 = Operator can change the limit (process value) PV_AL_Lim for the low alarm

    7

    1 = Operator can change the limit (error signal) ER_AH_Lim for the high alarm

    8

    1 = Operator can change the hysteresis (error signal) ER_Hyst

    9

    1 = Operator can change the limit (error signal) ER_AL_Lim for the low alarm

    10

    1 = Operator can change the limit (position feedback) RbkWH_Lim for the high warning

    11

    1 = Operator can change the hysteresis (position feedback) RbkHyst

    12

    1 = Operator can change the limit (position feedback) RbkWL_Lim for the low warning

    13

    "Interlock" button is disabled

    14

    1 = Operator can activate bypass functionality

    15

    1 = Operator can deactivate bypass functionality

    16

    1 = Operator can activate the Simulation function SimOn

    17

    1 = Operator can activate the Release for maintenance function MS_RelOp

    18

    1 = Operator can activate / deactivate messages via PV_AH_MsgEn

    19

    1 = Operator can activate / deactivate messages via PV_WH_MsgEn

    20

    1 = Operator can activate / deactivate messages via PV_TH_MsgEn

    21

    1 = Operator can activate / deactivate messages via PV_TL_MsgEn

    22

    1 = Operator can activate / deactivate messages via PV_WL_MsgEn

    23

    1 = Operator can activate / deactivate messages via PV_AL_MsgEn

    24

    1 = Operator can activate / deactivate messages via ER_AH_MsgEn

    25

    1 = Operator can activate / deactivate messages via ER_AL_MsgEn

    26

    1 = Operator can activate / deactivate messages via RbkWH_MsgEn

    27

    1 = Operator can activate / deactivate messages via RbkWL_MsgEn

    28

    1 = Operator can change the simulation value SimPV

    29

    1 = Operator can change the simulation value SimRbk

    30

    1 = Operator can activate the derivative action to the feedback path DiffToFbk

    31

    1 = Operator can change the proportional action to the feedback path PropFacSP


    Note

    If you interconnect a parameter that is also listed in OS_Perm as a parameter, you have to reset the corresponding OS_Perm bit.



    Interlocks

    This block provides the following interlocks:

    • Interlock without reset ("Interlock")

    If interlock is active without forcing (MV_ForOn =0) the manipulated value MV.Value is set to the neutral position value ( Neutral position for motors, valves and controllers ).

    You can find additional information on this in the section Interlocks.

    Disabling interlocks

    This block provides the standard function Disabling interlocks.

    Release for maintenance

    The block provides the standard function Release for maintenance

    Generating instance-specific messages

    The block provides the standard function Generating instance-specific messages without the time stamp function in the I/O.

    Suppressing messages using the MsgLock parameter

    This block provides the standard function Suppressing messages using the MsgLock parameter.

    Button labels

    This block provides the standard function Labeling of buttons and text.

    Instance-specific text can be configured for the following parameters:

    • AutModOp
    • ManModOp
    • AdvCoOn
    • OosOp
    • SP_ExtOp
    • SP_IntOp

    Specifying the display area for process and setpoint values as well as operations

    This block provides the standard function Display and operator input area for process values and setpoints.

    Opening additional faceplates

    This block provides the standard function Opening additional faceplates.

    SIMATIC BATCH functionality

    This block provides the standard function SIMATIC BATCH functionality.

    Connection of the time-stamped messages from EventTs or Event16Ts

    This block provides the standard function Connection of the time-stamped messages from EventTs or Event16Ts.



     

    Support to the statistics
    With this function the IDs found are listed according to number (format .txt).

    Generate list
    Copy URL
    Display page in new design
    mySupport Cockpit