0% found this document useful (0 votes)
38 views87 pages

04 MinLib Loop Objects

This document provides a comprehensive overview of the Minerals Library Loop Objects, specifically detailing the PIDCtrl, PIDAdvCtrl, RatioCtrl, and SplitRange control modules. It describes their functionalities, operation, and integration with other components in control systems, including structured data types for loop control connections. Additionally, it outlines the configuration options, modes of operation, and graphical representation of the control modules.

Uploaded by

Quan Nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
38 views87 pages

04 MinLib Loop Objects

This document provides a comprehensive overview of the Minerals Library Loop Objects, specifically detailing the PIDCtrl, PIDAdvCtrl, RatioCtrl, and SplitRange control modules. It describes their functionalities, operation, and integration with other components in control systems, including structured data types for loop control connections. Additionally, it outlines the configuration options, modes of operation, and graphical representation of the control modules.

Uploaded by

Quan Nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 87

Minerals Library Loop Objects


800xA – AC800M Connect - Minerals Library

Version 6p1s1

Rev. Ind. C
Prep. N.Carvalho 2020-01-23
Appr. G.Schuetz 2020-03-03

MinLib Loop Objects C 3BHS161562-611 1/87



Contents
SUMMARY ...................................................................................................................................................... 3

1.1 Loop Control connection ........................................................................................................................ 3

1.2 Operation ...................................................................................................................................................7

PIDCtrl .......................................................................................................................................................... 10

2.1 Basic Description ................................................................................................................................... 10

2.2 Control ..................................................................................................................................................... 10

2.3 Operation ................................................................................................................................................ 25

PIDAdvCtrl ................................................................................................................................................... 49

3.1 Basic Description ................................................................................................................................... 49

3.2 Control ..................................................................................................................................................... 49

3.3 Operation ................................................................................................................................................ 58

RatioCtrl....................................................................................................................................................... 70

4.1 Control ..................................................................................................................................................... 70

4.2 Operation .............................................................................................................................................73

SplitRange ................................................................................................................................................... 79

5.1 Control ..................................................................................................................................................... 79

5.2 Operation ............................................................................................................................................ 80

REVISION HISTORY..................................................................................................................................... 85

MinLib Loop Objects C 3BHS161562-611 2/87



SUMMARY
This document contains a detailed description of the following Loop objects:
• PIDCtrl
• PIDAdvCtrl
• RatioCtrl
• SplitRange
Loop objects are normally used in combination with:
• Analog Input (AIS)
• Group (Group, GrpCycleCtrl)
• Preselection Binary (Prebin))
• Consumer Objects (Actuator, MOT1_VVVF)

1.1 Loop Control connection

A structured Datatype LoopControlData is available with all Loop Objects and several
Consumer Objects, for building analog Control Loops with one Single Connection
between Blocks.
LoopControlData is split into Data transferred Forward, e.g. the Setpoint from PIDCtrl to
MOTP, and Backward, e.g. the Actuator Position. To have basic compatibility with the
Standard Libraries, the Control Part of Type ControlConnection is defined as additional
Level with its own Forward/Backward Part.
LoopControlData; components

Name Data Type Attributes Description


1 Forward LoopControlForward retain Setpoint Data to Consumer
2 Control ControlConnection retain Standard ControlConnection Variable
displayvalue
3 Backward LoopControlReverse retain reverse Feedback Data from Consumer

MinLib Loop Objects C 3BHS161562-611 3/87



LoopControlForward; components
Name Data Type Attributes Initial Val ISP Val Description
1 TagName string[32] retain Name of the Connected Equipment
for navigation
2 SwitchToM dint retain -1 -1 NOT USED: Command to switch to
ode external Mode - get out of
backtracking (Pulse generated if
Number changes >0)
3 AlarmAck dint retain -1 -1 NOT USED: AlarmAck (not
forwarded) - could be used for Auto
Ack but must not create a loop with
other connections
4 Connected dword retain 16#0 16#1 Additional Connected to allow check
for Comm Error
5 Fraction dint retain 1 Number of Decimals shown for
Control.Forward.Value

LoopControlBackward; components
Name Data Type Attributes Initial Val ISP Val Description
1 TagName string[32] retain TagName of the Value Consumer
2 Tripped bool retain false false NOT USED: Tripped Indication from
Value Consumer (Signal Error or
Motor Tripped).
3 IndTr dint retain 0 9 Indication Treatment from Value
Consumer (Alarm Indication Color)
4 Fraction dint retain 1 Number of Decimals shown for
Control.Forward.Value
5 ActPos real retain int Actuator Position, Feedback from
Consumer (=inf if not connected)

For a detailed Description of the ControlConnection Datatype, please refer the “AC800M
Binary and Analog Handling” Manual (3BSE035981).

MinLib Loop Objects C 3BHS161562-611 4/87



Following Figure shows an example for a Cascade PID Loop with two Actuators in
SplitRange Configuration. Besides the Group and I/O Parameter Connections, only
Connections of type LoopControlConnection need to be used, e.g. to connect the Setpoint
from PIDAdvCtrl at OUTCC to the SplitRange In Port and from the SplitRange Out1 and
Out2 to the External Setpoint Reference Input on the Actuator Blocks:

Parameters of Type LoopControlConnection can only be connected from one Block


producing an Analog Setpoint or Value, e.g. a PIDAdvCtrl, to a Consumer of an Analog
Setpoint, e.g. an Actuator. The Consumer can itself have Output Parameters of Type
LoopControlConnection, connected to other Consumers, e.g. for a Cascade Control Loop,
but there must never be a Feedback Loop Connection in the Control Application.
LoopControlConnections can be transferred via Communication Variables
between Diagrams and Applications. There is however no inbuilt error
handling for the Blocks connected via LoopControlConnection in case of
Signal Error (Timeout for the transfer of the Communication Variable), but
this must be added in the Application Logic.
Range and Unit of the Setpoint can be transferred in both directions,
where the Forward Direction always takes priority if the Values differ. PIDCtrl and
RatioCtrl Blocks allow to overwrite the Range and Unit for the Output from the Faceplate
as well.
The Actuator Position is transferred backwards as well and shown in the Faceplate for
information to the Operator as well. Range and Unit for the Actuator Position are always
defined equal to the Output Range and Unit.
Backtracking is an important Feature of the LoopControlConnection Concept. A Setpoint
Consumer always transmits the actually used Value in reverse direction so that the
producer can adjust for the Situation, to enable bumpless transfer between the Modes
and Anti-windup function in PIDAdvCtrl Control Loops.
Navigation between the Blocks connected by LoopControlConnection is available for the
Operator in the Faceplate. Any Alarm State of the Actuator with corresponding Color is
shown for the related Output Value in the Controller Faceplate as well.

MinLib Loop Objects C 3BHS161562-611 5/87


Figure 1 Loop Control Connections

1.1.1. Backtracking Examples

Weighfeeder Speed Control by PIDCtrl:

Figure 2 PIDCtrl Connection with MOT1VVVF

While the Weighfeeder is stopped (or tripped, local etc.), the PIDCtrl can stay in Auto Mode
but keeps the Weighfeeders’ Start Speed Setpoint (can be configured on the Weighfeeder
as constant, last Setpoint while running or set from the Application Logic). The Output of
the PIDCtrl will start changing again from the Start Speed Setpoint as soon as the
Weighfeeder is running again.

MinLib Loop Objects C 3BHS161562-611 6/87


Figure 3 LCC with WeighFeeder

If the PIDCtrl is in Manual Mode (Output Reference given in PIDCtrl Setpoint), Backtracking
can either overwrite the Manual Output Reference, or the PIDCtrl ignores the Backtracking
and continues with the given Reference Setpoint, depending on the “Man Backtracking”
Option set in the Faceplates “OUT Limits” Tab.

1.2 Operation

1.1.2. Graphic Elements: Bar

Presents the analogue value as bar graph. Alarm or process limits are graphical shown and
different bar graph appearances are possible. The Color of the Bar depends on the
indicated Value and can be customized, here the default for MV, green, is shown

Presentation
Appearance Description Example
Vertical Bar This is the standard appearance of the bar graph.
The value will be indicated in relation to the
maximum and minimum range. The green bar will
always start from the minimum range.

Horizontal Bar This is the standard appearance of the bar graph.


The value will be indicated in relation to the
maximum and minimum range. The green bar will
always start from the minimum range.

MinLib Loop Objects C 3BHS161562-611 7/87



Status
Example Object status Symbol color

Limit Alarm or process limit exceeded. Colored Alarm band on one side.

Alarm Blocked Yellow thin frame

Labels
Description Indication
Signal blocked

Limit High 2

Limit High 1

Limit Low 1

Limit Low 2

Rate of Change

Example:

Properties
Name DataType Default Value Description
Appearance Integer 0 0 = Standard, 1 = Start from Pivot, 2 = Inverse, 3 = Line
BarColorCustom Color BMIbarMV Bar color. Only applied if EnableLogicalColor is set to
false.
EnableLimitLabel Boolean True Show limit labels
EnableLogicalColor Boolean True If EnableLogicalColor is true, then all used colors are
logical colors. The logical color reference is equal to
the default logical color used in the color properties.
To use an individual color set it to false.
EnableManualRange Boolean False If set to true, the bar’s range can be set manually

MinLib Loop Objects C 3BHS161562-611 8/87



Name DataType Default Value Description
Pivot Real 0. Used together with Appearance = 1 (Start from Pivot).
The bar will start from the value set as Pivot.
RangeMax Real 100. Maximum range if EnableManualRange is true
RangeMin Real 0. Minimum range if EnableManualRange is true
SubscriptionRate Integer 0 The update rate for all aspect object properties
subscribed for
SymbolSize Integer 14 Symbol size in pixel: Little = 8, Small = 12, Standard =
14, Large = 18, XXL = 22
VerticalBar Boolean True VerticalBar: True = vertical appearance, false =
horizontal appearance.

The Action Property controls whether the button has direct or applied (two step
operation) action. If you choose Action = Applied you must confirm your action after
clicking the button with the enter-key or an apply-button on the graphic display. The
System Default can be set in Graphic Profile Values PG2 in the User Structure.

Figure 4 Action Property

MinLib Loop Objects C 3BHS161562-611 9/87



PIDCtrl

2.1 Basic Description

The Control Module Type PIDCtrl is used as a loop PID controller with proportional,
integration time and derivation time parameters that can be tuned manually or
automatically. It also contains a CON_PU Pulse Controller for 3-state control.
The PIDCtrl module for closed loop control, has the following options:
• Auto tuning of control parameters P, I and D
• Feed forward control
• Anti wind up and limited Backtracking support
• 2 external set point references, that can be written from the application
• 2 external controller output references, that can be written from the application
• Limit supervision of measured value and deviation, with integrated alarm
annunciation
• Alarm and event handling with 3 alarm priorities
• Set point high and low limitation
• Controller output high and low limitation
• Event logging for control mode changes and set point changes
• Balancing mode in case of Signal Error
• FF (Foundation Fieldbus) support: set FF Device to Cascade Mode automatically
when requested from faceplate or from the FF Function Block.
• Status of MV, ActuatorPos and OUTP signals. All Substatus for DP, PA and FF Field
Devices will generate error control when quality is Bad or Uncertain for MV and
OUTP
• Threshold detection and eventing on 2 Process Limit levels (PLow, PHigh)
• Alarm disabling/enabling of each alarm limit individually (from application program
/ Faceplate); generating events when blocked.
• Minerals Library Process Control Connection (PCC)
▪ Parameterized interlocks towards parent objects (MV and Deviation
Limits)
▪ Advanced alarm disabling from parent objects
• Operator Station Interface (graphic element and faceplate) including detailed alarm
and interlock indications, separated between the object and its TagName

2.2 Control

2.2.1. Library location

The Control Module Type for PIDCtrl is located in the library BMIStandard, its
corresponding Structured Data Types are defined in BMIConstAndVar.

MinLib Loop Objects C 3BHS161562-611 10/87



2.2.2 Modes

The PIDCtrl module has 2 different control modes Manual and Automatic, these modes are
selectable from the operator station. Additionally a Balancing Mode is provided to handle
Error State which is automatically triggered by Signal Error depending on the
Configuration.
The different control modes are:
Man: Loop Open
The controller output is set either from the operator station, via the faceplate (OUT) or
from the superior application program (E1M or E2M).
Auto: Loop Closed
The controller output is calculated according to the deviation between the set point and
the measured value, which means that the PID controller is regulating.
Set point can either be set from the operator station, via the faceplate (SP) or from the
superior application program (E1A or E2A).
While the PIDCtrl Module supports external Setpoints from the Application Logic, it can
not be used for Cascade Control Loops because of Limitations in the
Backtracking support. For Cascade Control Loops, the PIDAdvCtrl Module
shall be used instead.
Balancing: Signal Error
The controller output is set to the Balancing Reference Value, in case the Process
Feedback Measured Value or the Output Signal is in Error, or from the Application Logic.
By Default, Balancing Mode is kept for 10 seconds only, this can be changed with the
Project Constant cBMI.PID1.ClampToBalWhileSigErr, to stay in Balancing Mode until the
Signal Quality is ok again.

2.2.3 Automatic Alarm Disabling with PCC

The MV and Deviation Alarms are automatically disabled depending on the PCC Parent
state. The Project Constant cBMI.Std_Type is used to configure the behaviour.
cBMI.Std_Type: 0
Motor is not running, NC Valve is closed, NO Valve is Open, for PCC connected to Group: if
Group is not started
cBMI.Std_Type: 1
Same as Std_Type 0 but always alarm on all Objects if Group is started and Consumer
preselected. In case object is standby preselected alarm priority is automatically reduced
from Failure to Warning.
PCCAEListFrcEn = true
Automatic alarm disabling switched off. This option shall be used in cases a signal has to
alarm independent from the status of its parent.

2.2.4 Diagram Graphical Representation

The default view is shown, it’s possible to modify the visible ports in CBM.

MinLib Loop Objects C 3BHS161562-611 11/87


Figure 5 PIDCtrl Block

2.2.5 Parameter Description

No Name Data Type Initial Val Port Dir Description


1 Name string[24] ‘Name’ 1 in INIT: Tag name of the PIDCtrl ((allowed
deliminators are “.” and “-“, no blanks
“:” or “;” allowed)
2 Description string[40] ‘Description’ 1 in IN: Description text of the PIDCtrl
3 IO PIDCtrlData default 1 in_out IN/OUT: PIDCtrlData Variable
4 Group GrpDrvCon default 1 in_out IN/OUT: Connection to control module
GROUP (sequencer)
5 PCC PCCComDat default 1 out IN/OUT: Interlock Bus,
a PriorityCommand/Interlock to motors,
valves or groups
6 PCCAEListFr bool false 0 in IN: PCC AE List handling forced to be
cEn always on and not controlled by PCC
parent
7 MV RealIO 1 in_out IN/OUT: Measured process value (e.g.
an AIS or AIC signal). Please use
IO.FilteredSignal when noisy signal
8 MV_FieldDev dword 16#80C0 0 in IN: 2nd DWORD for MV Field Device
iceStatus Status Supervision e.g. Profibus PA
Devices etc. If value equals 16#80C0 the
FPL indication is hidden
9 OUTP RealIO default 0 out IN/OUT: Output signal of the PID Loop
to I/O (Use IO.<GRP>.<PID>.Out.OUTP
for glue logic)
10 OUTCC LoopControl default 1 out OUT: Output signal of the PID Loop for
Data connection to Consumer

MinLib Loop Objects C 3BHS161562-611 12/87



No Name Data Type Initial Val Port Dir Description
11 ActuatorPos RealIO default 1 in_out IN/OUT: Actuator Position. (Use
IO.<GRP>.<PID>.Out.OUTP in case no
Actuator position is available)
12 ShowActPos bool true 0 in IN bool: If true the actuator position is
presented in the faceplate.
13 BalRef real 0.0 1 in IN: BALancing REFerence input. Safety
value assigned to the OUTPut in case
I/O or HW error occurs.
14 GrpStep1 dint cBMI.DINT_0 1 in IN: Group Step 1 to to activate
GrpMode1 (during starting 1..999,
during stopping 1001-1999, 0 not used.
15 GrpMode1 dint 2 1 in IN: Mode selection for GrpStep1
[1=Man, 2=Auto, 3=ExtMan1,
4=ExtMan2, 5=ExtAuto1, 6=ExtAuto2]
16 GrpStep1Del time cBMI.Time0s 1 in IN: Activation / Deactivation delay for
ay Group Step 1
17 GrpPreSelec string[50] cBMI.Empty_st 1 in IN: PreBins the consumer is assigned
tion1 r to. Syntax: P1&P2|P3&N4 (= P1 AND P2
OR P3 AND NOT P4). AND before OR.
Max 5x OR. No Spaces allowed.
18 GrpStep2 dint cBMI.DINT_0 1 in IN: Group Step 2 to to activate
GrpMode2 (during starting 1..999,
during stopping 1001-1999, 0 not us
19 GrpMode2 dint 1 1 in IN: Mode selection for GrpStep2
[1=Man, 2=Auto, 3=ExtMan1,
4=ExtMan2, 5=ExtAuto1, 6=ExtAuto2]
20 GrpStep2Del time cBMI.Time0s 1 in IN: Activation / Deactivation delay for
ay Group Step 2
21 GrpPreSelec string[50] cBMI.Empty_st 1 in IN: PreBins the consumer is assigned
tion2 r to. Syntax: P1&P2|P3&N4 (= P1 AND P2
OR P3 AND NOT P4). AND before OR.
Max 5x OR. No Spaces allowed.
22 GrpStep3 dint cBMI.DINT_0 1 in IN: Group Step 3 to to activate
GrpMode3 (during starting 1..999,
during stopping 1001-1999, 0 not us
23 GrpMode3 dint 3 1 in IN: Mode selection for GrpStep3
[1=Man, 2=Auto, 3=ExtMan1,
4=ExtMan2, 5=ExtAuto1, 6=ExtAuto2]
24 GrpStep3Del time cBMI.Time0s 1 in IN: Activation / Deactivation delay for
ay Group Step 3
25 GrpPreSelec string[50] cBMI.Empty_st 1 in IN: PreBins the consumer is assigned
tion3 r to. Syntax: P1&P2|P3&N4 (= P1 AND P2
OR P3 AND NOT P4). AND before OR.
Max 5x OR. No Spaces allowed.
26 QstopMode dint 1 1 in IN: QuickStop Mode. [0= No Action,
1=Man, 2=Auto, 3=ExtMan1, 4=ExtMan2,
5=ExtAuto1, 6=ExtAuto2, 7=Balancing
27 AfterBalMod dint 1 1 in IN: After balance set mode. [0= Last
e Mode, 1=Man, 2=Auto, 3=ExtMan1,
4=ExtMan2, 5=ExtAuto1, 6=ExtAuto2]
28 SigErrBalCtrl dint 1 1 in IN: Balancing action in case of Signal
Error [0 = off, no action, 1 = default, go
to balancing for 10s, 2 = only when in
Auto Modes ]

MinLib Loop Objects C 3BHS161562-611 13/87



No Name Data Type Initial Val Port Dir Description
29 EnMan bool true 0 in IN true: Manual mode enabling (open
loop control)
30 EnAuto bool true 0 in IN true: Auto mode enabling (closed
loop control)
31 EnExtMan1 bool false 0 in IN false: External Manual 1 mode
enabling (open loop control with
external reference)
32 EnExtMan2 bool false 0 in IN false: External Manual 2 mode
enabling (open loop control with
external reference)
33 EnExtAuto1 bool false 0 in IN false: External Auto 1 mode enabling
(closed loop control with external
reference)
34 EnExtAuto2 bool false 0 in IN false: External Auto 2 mode enabling
(closed loop control with external
reference)
35 ExtMan1Txt string[35] cBMI.Empty_st 0 in IN: Description text for ExtMan1 Mode,
r for NLS support use ||AE_NLS_ 14oolea
and no space in the text
36 ExtMan2Txt string[35] cBMI.Empty_st 0 in IN: Description text for ExtMan2 Mode,
r for NLS support use ||AE_NLS_ 14oolea
and no space in the text
37 ExtAuto1Txt string[35] cBMI.Empty_st 0 in IN: Description text for ExtAuto1 Mode,
r for NLS support use ||AE_NLS_ 14oolea
and no space in the text
38 ExtAuto2Txt string[35] cBMI.Empty_st 0 in IN: Description text for ExtAuto2 Mode,
r for NLS support use ||AE_NLS_ 14oolea
and no space in the text
39 Class dint 1 0 in INIT: AE Class 1 … 9999 (Section)
40 MV_Lim2Tr dint 3 0 in INIT: Alarm limit treatment L2/H2: -1 no
AE; 0 = Event ; 1,2,3 = ALPrio#
(1=lowest)
41 MV_Lim1Tr dint 2 0 in INIT: Alarm limit treatment L1/H1: -1 no
AE; 0 = Event ; 1,2,3 = ALPrio#
(1=lowest)
42 MV_PlimTr dint 0 0 in INIT: Event limit treatment L1/H1: -1 no
AE; 0 = Event
43 MV_LogTr bool true 0 in INIT: Limit change treatment: true =
Event on limit value change, false =
Events on limit value change are
disabled.
44 DevTr dint 3 0 in INIT: Alarm treatment for deviation: -1
no AE; 0 = Event ; 1,2,3 = ALPrio#
(1=lowest)
45 ModeTr bool true 0 in IN: True enables events on mode
change [Man, Auto, Ext, etc.]
46 StatusTr bool true 0 in IN: True enables events on SP / OUTP
changes in Auto / Manual mode.
47 EnExtPIDSet bool false 0 in IN: false = settings from Faceplate, true
tings = external settings can be used (Auto
Tuning will not work
48 PID_ASPTrac bool true 0 in COLD INIT true: Init Par.for PID auto
king setpoint tracking. [true = auto setpoint
is tracking the MV or ExtRefAuto]

MinLib Loop Objects C 3BHS161562-611 14/87



No Name Data Type Initial Val Port Dir Description
49 PID_ASPSpe real 25.0 0 in COLD INIT 25.0: Initial value for the
ed maximum change rate of the setpoint
in closed loop mode [%/s]
50 PID_ASPTrac bool true 0 in COLD INIT: Faceplate parameter for PID
kingExtAuto auto setpoint tracking when leaving
ExtAutoModes [true = auto setpoint is
tracking the MV]
51 PID_BumpFr bool true 0 in COLD INIT true: Init par. BumpFree
ee transition on mode changes. [true =
ASPSpeed used for SP mode changes]
52 PID_MOUTP bool true 0 in COLD INIT true: Init Par.for PID Manual
Tracking Output tracking. [true = manual ouput
is tracking the OUTP or ExtRefMan]
53 PID_OUTPSp real 25.0 0 in COLD INIT 25.0: Initial value for the
eed maximum change rate of the output
signal [% / s], Minimum value can be 0.1
54 PID_Type dint 2 0 in COLD INIT 2: Initial parameter for PID
control type. [1=P, 2=PI, 3=PD, 4=PID]
55 PID_Direct bool false 0 in COLD INIT false: If direct = true output
is increasing (decreasing) on increasing
(decreasing) input
56 PID_Gain real 1.0 0 in COLD INIT 1.0: Initial value for the
normalized controller gain
57 PID_Ti real 20.0 0 in COLD INIT 20.0: Initial value for the
integration time
58 PID_Td real 0.0 0 in COLD INIT 0.0: Initial value for the
derivation time
59 PID_DerFilte real 0.0 0 in COLD INIT 0.0: Initial value for the Filter
rTime for the D-part.
60 PID_MVFilter real 0.0 0 in COLD INIT 0.0: Initial value for the
Time measured value input filter.
61 PID_DeadZo real 0.0 0 in COLD INIT 0.0: Initial value for the dead
ne zone of the control error
62 PID_FfGain real 0.0 0 in COLD INIT 0.0: Initial value for the
feedforward gain
63 EnExtPIDOff bool false 0 in IN: false = PID_Offset from Faceplate,
set true = parameter can be used as live
value (Auto Tuning will not work
64 PID_Offset real 50.0 0 in COLD INIT 0.0: Initial value for the
offset of the output for P- and PD-
controller
65 EnExtLimits bool false 0 in IN: false = MV / DEV limit settings from
Faceplate, true = COLD INIT can be
used as external limits
66 MV_ErrCtrl bool false no in IN: Action in case of Signal Error on MV:
false = no action; true = MV.Value is
forced to Err_Val
67 MV_ErrVal real 99999 no in IN: Error Value used in case of Err_Ctrl =
true
68 MV_HiLim2 real 100 0 in COLD INIT: Initial limit for High2 alarm.
69 MV_BlkHiLi bool false 0 in COLD INIT: Initial value for blocking of
m2 the limit high 2 handling

MinLib Loop Objects C 3BHS161562-611 15/87



No Name Data Type Initial Val Port Dir Description
70 MV_IntlkTyp dint No_Interlock 1 in INIT:
eHiLim2 PCC_Disabled;No_Interlock;PD_PrevDri
ve;IA_Process;IA_Process_RFS;IB_Equip
ment;IB_Equipment_RFS;IC_Safety;IC_S
afety_RFS;Auto_Start
71 MV_IntlkDir dint DirXY 1 in INIT: 1:DirX/Y/XY+noAck;
HiLim2 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirX
noAck,noAck=Acknowledge not need if
value back to NormPos
72 MV_HiLim1 real 100 0 in COLD INIT: Initial limit for High1 alarm.
73 MV_BlkHiLi bool false 0 in COLD INIT: Initial value for blocking of
m1 the limit high 1 handling
74 MV_IntlkTyp dint No_Interlock 1 in INIT:
eHiLim1 PCC_Disabled;No_Interlock;PD_PrevDri
ve;IA_Process;IA_Process_RFS;IB_Equip
ment;IB_Equipment_RFS;IC_Safety;IC_S
afety_RFS;Auto_Start
75 MV_IntlkDir dint DirXY 1 in INIT: 1:DirX/Y/XY+noAck;
HiLim1 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirX
noAck,noAck=Acknowledge not need if
value back to NormPos
76 MV_PhiLim real 90 0 in COLD INIT: Initial limit for Process High
alarm.
77 MV_BlkPHiLi bool true 0 in COLD INIT: Initial value for blocking of
m the limit Process High handling
78 MV_IntlkTyp dint No_Interlock 0 in INIT:
ePHiLim PCC_Disabled;No_Interlock;PD_PrevDri
ve;IA_Process;IA_Process_RFS;IB_Equip
ment;IB_Equipment_RFS;IC_Safety;IC_S
afety_RFS;Auto_Start
79 MV_IntlkDirP dint DirXY 0 in INIT: DirX; DirFBX; DirXStart; DirY;
HiLim DirFBY; DirYStart; DirXY; DirFBXY;
DirXYStart;
80 MV_PloLim real 10 0 in COLD INIT: Initial limit for Process Low
alarm.
81 MV_BlkPLoLi bool true 0 in COLD INIT: Initial value for blocking of
m the limit Process Low handling
82 MV_IntlkTyp dint No_Interlock 0 in INIT:
ePLoLim PCC_Disabled;No_Interlock;PD_PrevDri
ve;IA_Process;IA_Process_RFS;IB_Equip
ment;IB_Equipment_RFS;IC_Safety;IC_S
afety_RFS;Auto_Start
83 MV_IntlkDirP dint DirXY 0 in INIT: DirX; DirFBX; DirXStart; DirY;
LoLim DirFBY; DirYStart; DirXY; DirFBXY;
DirXYStart;
84 MV_LoLim1 real 0 0 in COLD INIT: Initial limit for Low1 alarm.
85 MV_BlkLoLi bool false 0 in COLD INIT: Initial value for blocking of
m1 the limit low 1 handling

MinLib Loop Objects C 3BHS161562-611 16/87



No Name Data Type Initial Val Port Dir Description
86 MV_IntlkTyp dint No_Interlock 0 in INIT:
eLoLim1 PCC_Disabled;No_Interlock;PD_PrevDri
ve;IA_Process;IA_Process_RFS;IB_Equip
ment;IB_Equipment_RFS;IC_Safety;IC_S
afety_RFS;Auto_Start
87 MV_IntlkDirL dint DirXY 0 in INIT: 1:DirX/Y/XY+noAck;
oLim1 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirX
noAck,noAck=Acknowledge not need if
value back to NormPos
88 MV_LoLim2 real 0 0 in COLD INIT: Initial limit for Low2 alarm.
89 MV_BlkLoLi bool false 0 in COLD INIT: Initial value for blocking of
m2 the limit low 2 handling
90 MV_IntlkTyp dint No_Interlock 0 in INIT:
eLoLim2 PCC_Disabled;No_Interlock;PD_PrevDri
ve;IA_Process;IA_Process_RFS;IB_Equip
ment;IB_Equipment_RFS;IC_Safety;IC_S
afety_RFS;Auto_Start
91 MV_IntlkDirL dint DirXY 0 in INIT: 1:DirX/Y/XY+noAck;
oLim2 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirX
noAck,noAck=Acknowledge not need if
value back to NormPos
92 MV_Hyst real 1.0 0 in COLD INIT: Initial for MV Hysteresis in
%
93 MV_AlarmDe time 0s 0 in COLD INIT: Initial time delay for the MV
lay limit level supervision
94 MV_EnIndivi bool cBMI.PID1.EnIn 0 in IN: Enables the individual alarm delay
dualAlarmDe dividualAlarm setting for all the 6 limits in the
lays Delays faceplate. If True, AlarmDelay has only
effect for upgrade.
95 DEV_HiLim real 50 0 in COLD INIT: Initial limit for deviation
high alarm in [%]
96 DEV_IntlkTy dint No_Interlock 0 in INIT:
peHiLim PCC_Disabled;No_Interlock;PD_PrevDri
ve;IA_Process;IA_Process_RFS;IB_Equip
ment;IB_Equipment_RFS;IC_Safety;IC_S
afety_RFS;Auto_Start
97 DEV_IntlkDir dint DirXY 0 in INIT: 1:DirX/Y/XY+noAck;
HiLim 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirX
noAck,noAck=Acknowledge not need if
value back to NormPos
98 DEV_LoLim real -50 0 in COLD INIT: Initial limit for deviation
Low alarm in [%]
99 DEV_IntlkTy dint No_Interlock 0 in INIT:
peLoLim PCC_Disabled;No_Interlock;PD_PrevDri
ve;IA_Process;IA_Process_RFS;IB_Equip
ment;IB_Equipment_RFS;IC_Safety;IC_S
afety_RFS;Auto_Start

MinLib Loop Objects C 3BHS161562-611 17/87



No Name Data Type Initial Val Port Dir Description
100 DEV_IntlkDir dint DirXY 0 in INIT: 1:DirX/Y/XY+noAck;
LoLim 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirX
noAck,noAck=Acknowledge not need if
value back to NormPos
101 DEV_Hyst real 1.0 0 in COLD INIT: Initial deviation hysteresis
in %
102 DEV_AlarmD time 0s 0 in COLD INIT: Initial time delay for the
elay deviation limit level supervision
103 IntlkStartInh time 0s 0 in INIT: Bypass Interlock for a certain time
ibit after start of PCC parent (MOTx, VLVx),
Start by Ord instead of Run where the
IntlkDir is DirFB#
104 IntlkLocStar bool false 0 in INIT: Bypass Interlock in LOC mode if
tOverride LCBStart is continuously pushed. All
PCC parents need to be in LOC.
105 EnExtSPLimi bool false 0 in IN: false = SP limit settings from
ts Faceplate, true = COLD INIT Values can
be used as external limits
106 SP_HiLim real 100 0 in COLD INIT: Initial limit for setpoint high
limit
107 SP_LoLim real 0 0 in COLD INIT: Initial limit for setpoint low
limit
108 EnExtOUTLi bool false 0 in IN: false = OUT limit settings from
mits Faceplate, true = COLD INIT Values can
be used as external limits
109 OUT_HiLim real 100 0 in COLD INIT: Initial limit for output high
limit
110 OUT_LoLim real 0 0 in COLD INIT: Initial limit for output low
limit
111 EnConPu bool false 0 in IN: enabling of ConPu 3 state position
controller. (Actuator Position required
!!)
112 EnExtPUSett bool false 0 in IN: false = settings from Faceplate, true
ings = external PU settings can be used
113 PU_DecIfNot bool false 0 in IN: true = Send a decrease command
Enabled for duration of PU_TravelTime in case
CON PU is disabled
114 PU_OrdInc bool false 1 out OUT: connection to 18oolean signal for
increasing of setpoint
115 PU_OrdDec bool false 1 out OUT: connection to 18oolean signal for
decreasing of setpoint
116 PU_DeadBan real 1.5 0 in COLD INIT: PU deadband in units, no
d corrective action if actual value –
setpoint is within deadband
117 PU_ReCalcTi time time#10s 0 in COLD INIT: Cycle time for re-calculation
me of pulse length. If 0, calculation of pulse
every task cycle
118 PU_MinPulse time time#0.2s 0 in COLD INIT: Miminum pulse length
Time
119 PU_GapTim time time#0s 0 in COLD INIT: Actuator gap. time which is
e added to the pulse when direction is
changed

MinLib Loop Objects C 3BHS161562-611 18/87



No Name Data Type Initial Val Port Dir Description
120 PU_TravelTi time time#1m 0 in COLD INIT: Total setpoint “travel” time
me (defined as time to change the setpoint
from 0 to 100 %)
121 PU_DirChgTi time cBMI.Time2s 0 in IN INIT: Waiting time when changing
me direction (INC/DEC). If 0, down time is
one task cycle
122 PU_GainInc real 1.0 0 in COLD INIT: Gain for pulse length
calculation when increasing the
setpoint
123 PU_GainDec real 1.0 0 in COLD INIT: Gain for pulse length
calculation when decreasing the
setpoint
124 AlarmAck bool false 0 in IN pulse: Acknowledge the alarms
125 GrpStep1Ov bool true 0 in IN true: If true, group does not go to
erride hold if PID is not in requested mode.
126 GrpStep2Ov bool true 0 in IN true: If true, group does not go to
erride hold if PID is not in requested mode.
127 GrpStep3Ov bool true 0 in IN true: If true, group does not go to
erride hold if PID is not in requested mode.
128 GrpReadyOn bool false 0 in IN false: If true, group shows ready even
SigError if a signal error exists.
129 ProcessRun bool true 0 in IN true: Used to disable simulation
ForSim from Process conditions (used for
Direct Closed Loops)

For Details on the PCC Interlock see Basic Objects Manual, chapter PCC, Interlock Bus
(Process Control Connection)

MinLib Loop Objects C 3BHS161562-611 19/87



2.2.6 Data Type description

Together with the PIDCtrl Control Module Type a Structured Data Type PIDCtrlData is
available, with three components In, Out and PCC. This Datatype contains all Variables
that are used in the Application Logic.
PIDCtrlData; components

Name Data Type Attributes Initial Val Description


1 In PIDCtrlInput retain Input variables to the PID
2 Out PIDCtrlOutput retain Output variables from the PID
3 PCC PCCComData retain IN Interlock Bus, PriorityCommand/Interlock from
Input modules to motor

PIDCtrlInput; components
Name Data Attributes Initial Val Description
Type
1 MV_EnHiL bool retain true IN true: Enables High Limit 2
im2 nosort
2 MV_EnHiL bool retain true IN true: Enables High Limit 1
im1 nosort
3 MV_EnPH bool retain true IN true: Enables Process High Limit
iLim nosort
4 MV_EnPL bool retain true IN true: Enables Process Low Limit
oLim nosort
5 MV_EnLo bool retain true IN true: Enables Low Limit 1
Lim1 nosort
6 MV_EnLo bool retain true IN true: Enables Low Limit 2
Lim2 nosort
7 AEListEn bool retain true IN true: External Alarm List Enabling of AIS, temporary
nosort disabling of unack alarming and entries in alarmlist, NOTE:
Overwritten by PCC
8 AlarmEn bool retain true IN true: External Enabling of PIDCtrl Limit and Deviation
Supervision, used to te
9 PreSelSte bool retain true IN true: true = PID is pre-selected for GrpStep1, connected
p1 hidden to PreBinData.PreSel in case parameterized PreSelection is
not used.
10 PreSelSte bool retain true IN true: true = PID is pre-selected for GrpStep2, connected
p2 hidden to PreBinData.PreSel in case parameterized PreSelection is
not used.
11 PreSelSte bool retain true IN true: true = PID is pre-selected for GrpStep3, connected
p3 hidden to PreBinData.PreSel in case parameterized PreSelection is
not used.
12 SetMan bool retain IN pulse: Set operation mode to Manual (open loop with
hidden output reference from FPL)
13 SetAuto bool retain IN pulse: Set operation mode to Auto (closed loop control
hidden with setpoint reference from FPL)
14 SetExtMa bool retain IN pulse: Set operation mode to external manual 1 (open
n1 hidden loop control with external output reference)
15 SetExtMa bool retain IN pulse: Set operation mode to external manual 2 (open
n2 hidden loop control with external output reference)
16 SetExtAut bool retain IN pulse: Set operation mode to external auto 1 (closed
o1 hidden loop control with external output reference)

MinLib Loop Objects C 3BHS161562-611 20/87



Name Data Attributes Initial Val Description
Type
17 SetExtAut bool retain IN pulse: Set operation mode to external auto 2 (closed
o2 hidden loop control with external output reference)
18 SetBalanc bool retain IN true: Set operation mode to balancing
ing hidden
19 EnModCh bool retain true IN true: External enabling of mode changes from FPL, used
ng to temporary disable mode changes
20 ExtRefMa real retain 0.0 IN: EXTernal REFerence Manual 1. Value is used as output if
n1 open loop control ExtMan1 is selected.
21 ExtRefMa real retain 0.0 IN: EXTernal REFerence Manual 2. Value is used as output if
n2 open loop control ExtMan2 is selected.
22 ExtRefAut real retain 0.0 IN: EXTernal REFerence Auto 1. Value is used as PID
o1 setpoint if closed loop control ExtAuto1 is sele
23 ExtRefAut real retain 0.0 IN: EXTernal REFerence Auto 2. Value is used as PID
o2 setpoint if closed loop control ExtAuto2 is sele
24 FeedForw real retain 0.0 IN: Feedforward signal value
ard

MinLib Loop Objects C 3BHS161562-611 21/87



PIDCtrlOutput; components
Name Data Type Attributes Initial Val Description
1 DEV real retain OUT: Actual deviation.
nosort
2 WSP RealIO retain OUT: Actual working setpoint of the PID CTRL
nosort
3 OUTP RealIO retain OUT: Actual output of the PID CTRL, can be
nosort connected to parameter OUTP in case no AOS is
used !!
4 PU_Dev real retain OUT: Deviation from integrated three state CON
nosort PU controller
5 PU_OrdInc bool retain OUT: connection to 22oolean signal for increasing
nosort of setpoint
6 PU_OrdDec bool retain OUT: connection to 22oolean signal for
nosort decreasing of setpoint
7 Backtracking bool retain OUT: indication of Backtracking state
nosort (independent of mode)
8 Balancing bool retain OUT: indication of operation mode BALancing.
nosort
9 Man bool retain OUT: indication of operation mode MANual.
nosort
10 Auto bool retain OUT: indication of operation mode AUTO.
nosort
11 ExtMan1 bool retain OUT: indication of operation mode ExtMan1.
nosort
12 ExtMan2 bool retain OUT: indication of operation mode ExtMan2.
nosort
13 ExtAuto1 bool retain OUT: indication of operation mode ExtAuto1.
nosort
14 ExtAuto2 bool retain OUT: indication of operation mode ExtAuto2.
nosort
15 MV_H2 BoolAL retain OUT: Indication of MeasValue > High 2
nosort
16 MV_H1 BoolAL retain OUT: Indication of MeasValue > High 1
nosort
17 MV_Phi bool retain OUT: Indication of MeasValue > Phi
nosort
18 MV_Plo bool retain OUT: Indication of MeasValue > Plo
nosort
19 MV_L1 BoolAL retain OUT: Indication of MeasValue < Low 2
nosort
20 MV_L2 BoolAL retain OUT: Indication of MeasValue < Low 1
nosort
21 OUTP_H bool retain OUT: Indication of output signal high limiting.
nosort
22 OUTP_L bool retain OUT: Indication of output signal low limiting.
nosort
23 SP_H bool retain OUT: Indication of SetPoint High Limit.
nosort
24 SP_L bool retain OUT: Indication of SetPoint Low Limit.
nosort
25 DEV_H BoolAL retain OUT: Indication of DEViation > High alarm limit
nosort

MinLib Loop Objects C 3BHS161562-611 22/87



Name Data Type Attributes Initial Val Description
26 DEV_L BoolAL retain OUT: Indication of DEViation < Low alarm limit
nosort
27 SigErr bool retain OUT: Indication MV or ActuatorPosition Signal
nosort Error, this sets Balancing
28 MVErr bool retain OUT: Indication MV Signal Error
nosort
29 ActPosErr bool retain OUT: Indication Actuator Position Signal Error,
nosort this stops CON PU
30 OutPErr bool retain OUT: Indication OUTP Signal Error
nosort
31 FirstOrMaxA string[32] retain ‘’ Tag Name of the IO Device with the first or
ETag nosort highest Alarm or Event causing an action on the
Motor, Group or Valve
32 FirstOrMaxA dint retain 0 Indication treatment of the first or highest Alarm
EIndTr nosort or Event causing an action 23ehavior23 to
Minerals Library Alarm Indication Standards

2.2.7 Project Constants

Name Data Type Default Value


1 cBMI.PID1.ClampToBalWhileSigErr bool (string): ‘Dev_H’
2 cBMI.PID1.Dev_H_txt string (string): ‘Dev_L’
3 cBMI.PID1.Dev_L_txt string (bool): false
4 cBMI.PID1.DisabledIntMaxIndTr dint (dint): 13
5 cBMI.PID1.EnIndividualAlarmDelays bool (string): ‘MV_H1’
6 cBMI.PID1.MV_H1_txt string (string): ‘MV_H2’
7 cBMI.PID1.MV_H2_txt string (string): ‘MV_L1’
8 cBMI.PID1.MV_L1_txt string (string): ‘MV_L2’
9 cBMI.PID1.MV_L2_txt string (string): ‘MV_Phi’
10 cBMI.PID1.MV_Phi_txt string (string): ‘MV_Plo’
11 cBMI.PID1.MV_Plo_txt string (string): ‘PID’
12 cBMI.PID1.NameExt string (bool): false
13 cBMI.SigErrBalTime time (time): 10s
14 cBMI.PID1.UncertainAsGood bool (string): ‘Dev_H’

2.2.8 Behavior of PIDCtrl with MV Signal Error

Default Behavior in case of Signal Error (IO.Out.SigErr set) is to apply Balance Mode and
BalRef is applied to the Output. The Parameters SigErrBalCtrl and AfterBalMode can be
used to configure the behaviour.
For (forced) setting PCC Interlocks with Signal Error, use MV_ErrCtrl and MV_ErrVal
instead. Note that the Error Value will be applied internally for the MV Value only, and not
written outside to the MV Parameter unlike the AIS behaviour with ErrCtrl and ErrVal
Parameters.

2.2.9 PCC Interlock Limitations for PIDCtrl

PIDCtrl supports the PCC Interlocks according the Description in the Manual for Basic
Objects with the following exceptions>

MinLib Loop Objects C 3BHS161562-611 23/87



PIDCtrl is not supporting the Option “Fast” assigned to MV limits and Deviation limits. If
any IntlkDir is configured with “Fast” (e.g. DirXFast, DirFBXFast), the Interlock will onlz
work as configured without Fast.
“Fast” interlock direction option will be removed from H2, H1, Phi, Plo, L1, L2, DEVH and
DEVL limits as in following example:

Figure 6 PID Block Limitation

The “noAck” interlock direction option does not change the ehavior for Phi and Plo limits
since these limits do not support Alarms, so no Acknowledge is needed for these
Interlocks to release in the standard configuration already.

MinLib Loop Objects C 3BHS161562-611 24/87



2.3 Operation

Four graphic elements are available for the PIDCtrl:


Graphic Element Description Example
PIDCtrl Displays object control information and up to 4 controller
values. Allows direct entry of set-point and manual
output.

MVBar Displays the Measured Value as Bar Graph

2.3.1 Graphic Element PIDCtrl

Displays object control information and up to 4 controller values. Allows direct entry of
set-point and manual output.

Presentation
To change the PIDCtrl presentation in common, change the Common NG Properties as
described in [1] Minerals Library Overview (3BHS 161555). However, it is possible to change
the settings per graphic item individual: Set the Customize property value to true, to
enable the Customize properties. If Customize is false, the Customize properties
(EnableDescription, EnableStatus, EnableTagName, EnableValue#Ind) have no impact on
the graphic item.

Figure 7 PIDCtrl Properties

MinLib Loop Objects C 3BHS161562-611 25/87



Property Example
EnableValue1Ind = true
EnableValue2Ind = true

EnableValue1Ind = true
EnableValue2Ind = true
EnableValue3Ind = true

EnableValue1Ind = true
EnableValue2Ind = true
EnableValue3Ind = true
EnableValue4Ind = true

Note: The type e.g. SP, MV, OUT etc. of the presented value can be selected by the
property Value#Indication see properties.
Direct Entry Example
Enabled

Disabled

Note: Direct entry for set point / output is possible when direct entry is enabled in the
Common NG Properties.

Labels
Labels Example
Operation Modes e.g. Manual

Signal Error – Signal Quality

Backtracking

Deviation High / Low

MinLib Loop Objects C 3BHS161562-611 26/87



Measured Value Limit Alarms

Properties
Name DataType Default Val Dynamicity Description
Customize Boolean False InitOnly False = General settings are used. True =
Customized settings are used.
EnableDescription Boolean True InitOnly Show value description, property
Customize must be true
EnableFitToBestSize Boolean True InitOnly Set best PID size
EnableLimitLabel Boolean True InitOnly Show limit labels
EnableMode- Boolean True InitOnly If true, the mode caption will be taken
CaptionOPC from OPC. If false the default NLS will be
taken.
EnableStatus Boolean True InitOnly Show status bar, property Customize
must be true
EnableTagName Boolean True InitOnly Show tag name, property Customize
must be true
EnableUnit Boolean True InitOnly Show units
EnableValue1Ind Boolean True InitOnly Enable Value1, property Customize must
be true
EnableValue2Ind Boolean True InitOnly Enable Value2, property Customize must
be true
EnableValue3Ind Boolean True InitOnly Enable Value3, property Customize must
be true
EnableValue4Ind Boolean True InitOnly Enable Value4, property Customize must
be true
NumberOfDigits Integer 4 InitOnly Number of presented digits
SubscriptionRate Integer 0 Dynamic The update rate for all aspect object
properties subscribed for
UnitSize Integer 8 InitOnly Unit size in pixel: 7 = Small, 8 = Standard,
10 = Large, 12= XXL
Value1Indication Integer 0 InitOnly 0 = Measured Value, 1 = Set Point, 2 =
Output, 3 = Actuator, 4 = Depending on
mode
Value2Indication Integer 4 InitOnly 0 = Measured Value, 1 = Set Point, 2 =
Output, 3 = Actuator, 4 = Depending on
mode
Value3Indication Integer 2 InitOnly 0 = Measured Value, 1 = Set Point, 2 =
Output, 3 = Actuator, 4 = Depending on
mode
Value4Indication Integer 3 InitOnly 0 = Measured Value, 1 = Set Point, 2 =
Output, 3 = Actuator, 4 = Depending on
mode
ValueSize Integer 12 InitOnly Value size in pixel: 8 = Small, 10 Medium,
12 = Standard, 14 = Large, 16 = XXL

For common settings please refer to [1] Minerals Library Overview (3BHS 161555).

MinLib Loop Objects C 3BHS161562-611 27/87



2.3.2 Graphic Element PIDIncDecButton

Command button to increase or decrease the setpoint or output value, depending on the
currently active Mode. Please refer Chapter 1.2.2 for a detailed description.

2.3.3 Graphic Element PIDActuator

This Element corresponds to the Status Graphic Element for the Consumer Objects. It
indicates Position X or Y depending on the ACT Value connected to the PIDCtrl and can be
used to represent an Actuator if it is controlled directly with the PIDCtrl without its own
Control Module.

Properties
Name DataType Default Val Dynamicity Description
IndicationType IndicationT B11_Damper InitOnly Symbol Type Selection: A02_Valve,
ypeEnum B11_Damper
StatusPosXLimit Real 98. Dynamic Actuator Position in Percentage of the Range
above which Pos X will be indicated
StatusPosYLimit Real 2. Dynamic Actuator Position in Percentage of the Range
below which Pos Y will be indicated
TagName String “” Dynamic TagName to show on Group’s
ShowTagName Function, overwrites the
PIDCtrl name

2.3.4 Graphic Element MVBar

This Element shows the MV Value as Bar Graph, refer Chapter 1.2.1 for a detailed
Description.

2.3.5 Graphic Element PIDLimitAndUnit

This Element shows the Limit Value and related Alarm Status Color for the MV, SP and OUT
Limits configurable in the PIDCtrl.

LimitValueEnum
The Value shown can be configured from the following Selection:
Value Description
A1_MV_Limit_H2 MV High 2 Limit
A2_MV_Limit_H1 MV High 1 Limit
A4_MV_Limit_PH1 MV Process High Limit
A5_MV_Limit_PL1 MV Process Low Limit
A7_MV_Limit_L1 MV Low 1 Limit
A8_MV_Limit_L2 MV Low 2 Limit
A9_MV_Limit_Hysteresis MV Limits Hysteresis Value
B1_SP_HighLimit Auto Setpoint High Limit
B2_SP_LowLimit Auto Setpoint Low Limit
B3_SP_Speed Auto Setpoint Rate of Change Limitation
C1_OUT_HighLimit Output High Limit
C2_OUT_LowLimit Output Low Limit
C3_OUT_Speed Output Rate of Change Limitation

MinLib Loop Objects C 3BHS161562-611 28/87



2.3.6 Faceplate

The PID Faceplate is divided into a Default View that includes only the basic information
and two extended views, one for all the operations (Limits, Groups) and the second for all
the regulation settings (P, I, D, DeadZone, …)
The following aspect view buttons are available on PID Faceplates

The following command buttons are available on PID Faceplates


Icon Operation Mode
Change Control Mode to Manual:
Controller output set from faceplate (not regulated).

Change Control Mode to Auto:


Closed Loop Setpoint set from faceplate.

Increase Setpoint or Output Value

Decrease Set point or Output Value

Change Control Mode to External Reference Auto 1:


Closed Loop Setpoint set from application

Change Control Mode to External Reference Auto 2:


Closed Loop Setpoint set from application

Change Control Mode to External Reference Manual 1:


Controller output set from application (not regulated).

Change Control Mode to External Reference Manual 2:


Controller output set from application (not regulated).

MinLib Loop Objects C 3BHS161562-611 29/87



Default View

Tag Name &


Description

Loop Settings

Value Indication
Graphical Bar

Control Output

Second
First Extended Extended View
View

Figure 8 PID default view

Block Input
Backtracking Indication

Mode
Sig Err
Indication
Indication

Following Indications are shown in the Default View:


Abbr. Description
Block Input Measured value is blocked / forced
Simulation Group Sequence is simulated, MV is forced
to simulated Value!
Block Limit Any MV Limit Value Alarm is disabled from
Application or by PCC Parent
Sig Err Bad indication for Measured Value
Backtracking The OUT Value is Backtracking
Min Reached The OUT Value is Low Limited
Max Reached The OUT Value is High Limited

Following abbreviations are used to describe bar and value indications:

MinLib Loop Objects C 3BHS161562-611 30/87



Abbr. Description
MV Measured value
SP Setpoint value
OUT Control output
ACT Actuator Position
Dev Deviation (MV – SP)

First Extended View

Figure 9 PIDCtrl Extended view

The faceplate first extended view gives more detailed info about the PIDCtrl, such as
Tab Description
Mode Available control modes and current mode
Trend Online trend of measured value, controller output and setpoint value
MV Limits Measure value limit and alarm settings
SP Limits Setpoint limit and setpoint tracking settings
Out Limits Output limit and manual output tracking settings
Dev Deviation limit and alarm settings
Block - Output Blocking/- Alarm Blocking
PCC Link to the connected PCC Parent Object
Group Corresponding Drive Group settings and link to the Group Sequence
MVStatus Substatus for DP, PA and FF Field Devices connected to MV

MinLib Loop Objects C 3BHS161562-611 31/87



Tab Description
IOStatus Substatus for DP, PA and FF Field Devices connected to Output and Actuator value
OUT Range Output Range Parameter Override settings

Mode
Available control modes and current mode

Selected Mode

Setpoint Entry

Figure 10 Mode Indication

Reference Table, Mode


Modes Description
Auto Set point is entered from the faceplate. PID controller is regulating.
Manual Controller output is set directly via the faceplate. PID controller is not regulating.
E1A External Reference Auto 1. Set point is written from the application and enabled if the parameter
ExtAuto1 is true. PID controller is regulating.
E2A External Reference Auto 2. Set point is written from the application and enabled if the parameter
ExtAuto2 is true. PID controller is regulating.
E1M External Reference Manual 1. Controller output is written from the application and enabled if the
parameter ExtMan1 is true. PID controller is not regulating.
E2M External Reference Manual 2. Controller output is written from the application and enabled if the
parameter ExtMan2 is true. PID controller is not regulating.

Trend
On-Line trend with measure value, setpoint and control output value. Moving over the
trend area a curser will appear, showing enabled traces’ value and record time.

Show/Hide Trace
MV: Filtered Signal

IO: Signal

ROC: Rate of Change

Record Time
Show/Hide Grid

Figure 11 Trend Indication

MinLib Loop Objects C 3BHS161562-611 32/87



MV Limits

Figure 12 MV Limits

Reference Table, Measured Value Limits


MV Limits Description
B Indication that the corresponding alarm limit has been blocked. Yellow means that the alarm limit is
blocked (disabled)
H2 2nd High limit for MV
H1 1st t High limit for MV
Phigh Process High Limit
Plow Process Low Limit
L1 1st Low limit for MV
L2 2nd Low limit for MV
Alarm Delay Time delay in sec. before alarm message will be send to the operator station
Hysteresis Alarm Hysteresis in %

When alarm limits are changed from the faceplate, you must take into consideration that
these values will be overwritten again with the initial values when a cold restart / reset is
performed and the coldretain files are not available for the corresponding controller.
To avoid this, you need to update the initial values for the corresponding PIDCtrl control
module instance with Control Builder, after changing the values from the Faceplate.
There is a build in Alarm indication on the Extended Faceplate MV Limits tab.
Following Alarms can be indicated:

• MV_HiLim2 Indication of limit for MV High2 alarm.


• MV_LoLim2 Indication of limit for MV Low2 alarm.
• MV_HiLim1 Indication of limit for MV High1 alarm.
• MV_LoLim1 Indication of limit for MV Low1 alarm.

MinLib Loop Objects C 3BHS161562-611 33/87



SP Limits

ROC Limitation
for SP

Figure 13 Set Point Limits

Reference Table, Setpoint Limits


SP Limits Description
High Limit Set point High limitation
Low Limit Set point Low limitation
Speed Rate of change Limitation for the Setpoint
Enable Auto Calc Auto Calculation sets the Stepsize to a multiple of 10 times 1 or 5 dependent on the Range of
for Inc/Dec Step the Setpoint
Inc/Dec Step If “Enable Auto Calc for Inc/Dec Step” is not set, the Stepsize used for the Inc/Dec Buttons and
the Direct Entry Window can be set manually
Enable relative If set, the Max Increase / Decrease Values are enforced
Limits for Entry
Window
Max Increase The Direct Entry Window’s high limit is set to the current Value plus the Value given here
Max Decrease The Direct Entry Window’s low limit is set to the current Value minus the Value given here
ASP Tracking Parameter for PID auto setpoint tracking. (true = auto setpoint is tracking the MV)
ASP Tracking Ext Parameter for PID auto setpoint tracking. (true = auto setpoint is tracking the ExtRefAuto1 or 2)
Auto

When limits are changed from the faceplate, you must take into consideration that these
values will be overwritten again with the initial values when a cold restart / reset is
performed and the coldretain files are not available for the corresponding controller.
To avoid this, you need to update the initial values for the corresponding PIDCtrl control
module instance with Control Builder, after changing the Values from the Faceplate.

MinLib Loop Objects C 3BHS161562-611 34/87



OUT Limits

ROC Limitation
for Output

Figure 14 Output Limits

Reference Table, Output Limits


Out Limits Description
High Limit Output High limitation
Low Limit Output Low limitation
Speed Rate of Change Limitation
Enable Auto Calc for Auto Calculation sets the Stepsize to a multiple of 10 times 1 or 5 dependent on the
Inc/Dec Step Range of the Output Value
Inc/Dec Step If “Enable Auto Calc for Inc/Dec Step” is not set, the Stepsize used for the Inc/Dec
Buttons and the Direct Entry Window can be set manually
Enable relative Limits for If set, the Max Increase / Decrease Values as set here are enforced
Entry Window
Max Increase The Direct Entry Window’s high limit is set to the current Value plus the Value given here
Max Decrease The Direct Entry Window’s low limit is set to the current Value minus the Value given here
Man Tracking OUT Parameter for PID manual output tracking. (true = manual output setpoint is tracking the
actual output)
Man Backtracking In Manual Mode, the OUT Value set from Faceplate is following the Backtracking Value in
case the PIDCtrl is in Backtracking

When limits are changed from the faceplate, you must take into consideration that these
values will be overwritten again with the initial values when a cold restart / reset is
performed and the coldretain files are not available for the corresponding controller.
To avoid this, you need to update the initial values for the corresponding PIDCtrl control
module instance with Control Builder, after changing the Values from the Faceplate

MinLib Loop Objects C 3BHS161562-611 35/87



Dev Limits

Figure 15 Deviation Limits

Reference Table, Deviation Limits


Dev Limits Description
High Limit Deviation High alarm limit
Low Limit Deviation Low alarm limit
Delay Time delay in sec. before alarm message will be send to the operator station
Hysteresis Alarm Hysteresis in %

When limits are changed from the faceplate, you must take into consideration that these
values will be overwritten again with the initial values when a cold restart / reset is
performed and the coldretain files are not available for the corresponding controller.
To avoid this, you need to update the initial values for the corresponding PIDCtrl control
module instance with Control Builder, after changing the Values from the Faceplate.

Block / Override
Block / Force Input

Figure 16 Block Input

Block Alarm

MinLib Loop Objects C 3BHS161562-611 36/87


Figure 17 Block Alarm

Reference Table, Block


Block Description
Block Input The analog input for the MV will be “forced” on controller hardware level.
The alarm limits remain active. Note in case PIDCtrl is in simulation, no value can be entered even
while the input is blocked.
Block Alarm All 4 alarm limits for the MV will be blocked. They are not taken into account anymore.

PCC
PCC interlock configuration for MV limits and Deviation limits

Figure 18 PCC Configuration

The PCC interlock configuration tab shows the actual configuration and a link to the
parent object.
There is a PCC parameter error handling for MV limits and Deviation limits. If any
parameter “IntlkType” or “IntlkDir” connected to the control module have incorrect Dint
values, a yellow coloured error message “PCC Intlk Param Error” will appear.

MinLib Loop Objects C 3BHS161562-611 37/87



Group

PID will be set to Auto Mode during


group start with group step 80 without
any delay.

Number of steps in the corresponding


Drive Group

Link to the corresponding Drive Group

Figure 19 Group Connection

Reference Table, Group


Step / Mode Description Delay Preselection
Control Mode 1st sequential mode order of the PID Delay for Preselection Condition
for Step 1 controller within the Drive Group Step 1 e.g P4
Control Mode 2nd sequential mode order of the PID Delay for Preselection Condition
for Step 2 controller within the Drive Group Step 2 e.g P5
Control Mode 3rd sequential mode order of the controller Delay for Preselection Condition
for Step 3 within the Drive Group Step 3 e.g P2 & P1 | P3 & ! P1
(P2 and P1) or (P3 and not P1)
No of Steps Max number of steps in the Drive Group n.a. n.a.
When a controller is not a member of a Drive Group, the Start Step and Stop Step are “0”

IOStatus and MVStatus


Substatus for Foundation Fieldbus and S800 Field Devices

Figure 20 IO/MV Status

An Aspect Link giving access to the “Device Management” Object can be configured via
the “BMI DTM Link” General Properties Aspect.

MinLib Loop Objects C 3BHS161562-611 38/87


Figure 21 General Properties

General Properties Property Description


Aspect
BMI DTM Link FPLAspectLink.DTM.*.ObjectName Name of the DTM Object
BMI DTM Link FPLAspectLink.DTM.*.AspectName Name of the DTM Aspect
BMI Overlap Link FPLAspectLink.DTM.DefaultAspectName Default Name of the DTM Aspect

The “Device Management” Button will be shown only if the Properties are not empty
Strings.

OUT Range

Figure 22 Ranges Tab

This Tab is only relevant in case the OUTCC is connected to a Block that does not feed
back the Range itself, like RatioCtrl or SplitRange. In these cases, the OUT Range can be
defined from the Faceplate by setting the “Override Range” Checkbox.
It is not allowed to connect both OUTCC and OUTP at the same time, as the
Parameters defined in OUTCC are written to OUTP as well. In case OUTP is
connected to a Hardware Output Channel directly, “Override Range” should
not be used as this will overwrite the Settings made in the Hardware Unit
and leads to problems on subsequent downloads because the Values will be overwritten
from the Channel again.
Reference Table, Group

Range Description
Override Range Set the OUTCC Range forwarded by the Values on this Tab
Range Min Range Minimum for OUT Value

MinLib Loop Objects C 3BHS161562-611 39/87



Range Description
Range Max Range Maximum for OUT Value
Unit Physical Unit of the OUT Value
Number of Decimals Number of Decimals shown in Graphic for OUT Value

Second Extended View

Figure 23 PIDCtrl Second Extended View

The faceplate second extended view gives more detailed info about the PID, such as.

Tab Description
Par PID Loop parameters and configuration
Par PU1 Built in Three State Controler configuration (only used in case loop is controlled by two digital
output signals increase / decrease)
Par PU2 Built in Three State Controler configuration (only used in case loop is controlled by two digital
output signals increase / decrease)
Tune Autotuning (Start / Stop)
Tune results Autotuning results

MinLib Loop Objects C 3BHS161562-611 40/87



Par

Figure 24 PID Tuning Parameters

Reference Table, Par


Par Description
Gain Value for the normalized controller gain
Ti Value for the integration time
Td Value for the derivation time
Dead Zone Value for dead zone of the control error
Offset Value for the offset of the output for P- and PD-controllers
Filter Value for the Filter of the Derivation-part.
Pv filter Value for the measured value input filter.
Feed gain Value for feedforward gain
P Controller Type Proportional
PI Controller Type Proportional Integral
PD Controller Type Proportional Differential
PID Controller Type Proportional Integral Differential
Direction Reverse Controller Type Direct or Reverse
Ext PID Settings External Controller Parameter settings.
false = P,I, and D are set from operator station via the faceplate
true = P,I, and D are written from the application
Auto Tuning will not work.
Bump Free Bump Free transition on mode changes. (true = ASPSpeed used for SP mode changes)

When PID parameters are changed from the faceplate, you must take into consideration
that these values will be overwritten again with the initial values when a cold restart /
reset is performed and the coldretain files are not available for the corresponding
controller.
To avoid this, you need to update the initial values for the corresponding PIDCtrl control
module instance with Control Builder, after changing the Values from the Faceplate.

MinLib Loop Objects C 3BHS161562-611 41/87



Par_PU1

Figure 25 PID Tuning Parameters 2

Reference Table, Par_PU1


Par_PU1 Description
Travel Time Total setpoint "travel" time (defined as time to change the setpoint from 0 to 100 %)
Gain Inc Gain for pulse length calculation when increasing the setpoint
Gain Dec Gain for pulse length calculation when decreasing the setpoint
DeadBand PU deadband in units, no corrective action if actual value - setpoint is within deadband
Recalc Time Cycle time for re-calculation of pulse length. If 0, calculation of pulse every task cycle
Min Pulse Time Minimum pulse length
Gap Time Actuator gap time which is added to the pulse when direction is changed.
Set new Times Used for recalculated the CON PU timers without download (warm restart). This is a
precondition to adjust CON-PU parameters from the faceplate.

When ConPu parameters are changed from the faceplate, you must take into
consideration that these values will be overwritten again with the initial values when a
cold restart / reset is performed and the coldretain files are not available for the
corresponding controller.
To avoid this, you need to update the initial values for the corresponding PIDCtrl control
module instance with Control Builder, after changing the Values from the Faceplate.

MinLib Loop Objects C 3BHS161562-611 42/87



Par_PU2

Figure 26 PID Modes

Reference Table, Par_PU2


Par_PU2 Description
Con Pu In this mode, a three state controller intended to control, by mean of pulses (increase, decrease), a
process via an integrating actuator such as a shifting motor or a solenoid valve.
Time Based In this mode, the Actuator Position is simulated according to the travel time. If limit switches are
reached or WorkingSetpoint is on the upper or lower limit, the ActuatorPosition is adaptative
corrected. This mode works fine in cases where a PID control in Auto Mode is used as Working
setpoint.
Fix Pulse In this mode, increase and decrease may be manually controlled by 3 buttons (Inc, Dec, Stop) in the
faceplate. Pulses with length of 1% of travel time and period of 3% of travel time are sent to the IO’s
as long as increment or decrement is active. This mode is preferably used in cases where INC/DEC
are directly connected to the PID (e.g. speed controlled drives)
Inc Connection to boolean signal for increasing the setpoint
Dec Connection to boolean signal for decreasing the setpoint
Stop Stop increase / decrease

When the ConPu modes are changed from the faceplate, you must take into consideration
that these values will be overwritten again with the initial values when a cold restart /
reset is performed and the coldretain files are not available for the corresponding
controller.
To avoid this, you need to update the initial values for the corresponding PIDCtrl control
module instance with Control Builder, after changing the values from the Faceplate.

MinLib Loop Objects C 3BHS161562-611 43/87



Autotuning

Restrict the OUT and SP


changes during Auto-Tuning

Start Auto
Tuning Process

Cancel the current Apply the Tuned


Tuning Process Parameter Values

Shows the Current State of the


Process while Auto-Tuning is
running

Reference Table, Autotuning Warning Messages


Warning Message Description
PV Max and PV Min not Measured Value is not inside configured Range or Range Parameters are not correct –
properly set correct the Parameter Settings for MV
PV far from SP Too big Deviation between MV and SP – get the loop in a stable state then start the Auto-
tuning again
Control Signal too Make sure the “Max relay amplitude” is set so that the Control Loop doesn’t get to a Range
close to limit Limit during the Auto-tuning process
Load Disturbance Problem with the Measurement or Unstable Control Loop behavior – get the loop in a stable
Controller Direction state then start the Auto-tuning again
might be wrong
Tuning stopped
Large Noise Level

MinLib Loop Objects C 3BHS161562-611 44/87



2.3.7 Faceplate Control Permission

Using the Property Attribute Override Aspect, the write Permissions for each PIDCtrl
Faceplate Data Entry can be set individually.

Figure 27 PID Faceplate permission

To be able to force the MV Value in the Faceplate, Write permission for MV.IOValue and
MV.Forced is needed, these are not set on IntPar Variables.

2.3.8 Alarm & Event List

All consumer objects in the Minerals library are able to provide a list of alarms and events.
These are accessible via 2 buttons in the faceplate.

MinLib Loop Objects C 3BHS161562-611 45/87


Figure 28 Alarm & Event list buttons

For the PIDCtrl the events that are tracked are for example, the mode changes (manual,
auto, auto external 1, auto external 2, manual external 1, manual external 2, balance mode),
forced conditions and actual value tracking which depends on the mode selection.
• Notice that the list you open from the faceplate will show only the alarms and
events of that PIDCtrl.
As an example, the following events happened in the PIDCtrl tag PID_09C_01.

Figure 29 Event List

• Manual mode was selected with Out value in 10.0


• Out value was changed from 10 --> 35.0
• Mode was changed from Manual to Auto with setpoint at 45.0
• Setpoint value was changed from 45.0 --> 55.0
• External Auto Mode 1 was selected with IO.In.ExtRefAuto1 in 50.0
• External Auto Mode 2 was selected with IO.In.ExtRefAuto2 in 60.0
• External Manual Mode 1 was selected with IO.In.ExtRefMan1 in 10.0
• External Manual Mode 2 was selected with IO.In.ExtRefMan2 in 20.0

Notice that the structure of the event message is always the same.
For the alarm list, differently from the event list, shows only the active alarm. This means
that when all alarm conditions are off the list will be blank.
The severity of the alarm can be changed thru the following parameters:
• MV_Lim2Tr: Alarm treatment for L2 and H2 limits
• MV_Lim1Tr: Alarm treatment for L1 and H1 limits
• MV_PLimTr: Alarm treatment for Process (PHi and PLo) limit
• DevTr: Alarm treatment for deviation limit
Following the same rule for Analog/Digital input and output objects, the following rule is
valid for the alarm treatment:
• 3 (default): Not acknowledged alarm
• 2: Not acknowledged warning
• 1: Warning auto acknowledged

MinLib Loop Objects C 3BHS161562-611 46/87



Notice that alarms for the PIDCtrl are created only in the following cases:
▪ Two levels detection for the measured value
▪ Process limit detection
▪ Deviation alarm, where it calculates the deviation from the actual
setpoint to the measured value and checks if this values is higher
than the limit defined in the faceplate over Lim2 tab.

Object Status and Modes


Object status and modes are presented on the event list. When ever the object changes its
status or mode the complete information of the object at the time of the change is logged
in the event list.
The PIDCtrl event message has a dynamic structure, this means that it can change
depending on the case you have.
The first case regards to mode changes. When a mode is changed from one type to the
other, and event is set and the structure for that case is the following:
[MODE] + [Backtrack] + Value: + [MODE VALUE]
[MODE] Description
Aut Auto mode selected
Man Manual mode selected
E1M External Manual 1 mode selected
E1M External Manual 2 mode selected
E1A External Auto 1 mode selected
E2A External Auto 1 mode selected
Bal Balance Mode selected
Backtracking is shown if the Object is in Backtracking status, otherwise this Field is
skipped.
The MODE VALUE depends on which mode the Object currently is in. This means that
when you select a specific mode the event message will show the value that is relevant for
that mode, which are
[MODE VALUE] Description
Value for Aut Auto setpoint value set from the faceplate
Value for Man Actual output value from its last mode
Value for E1M External Reference value (IO.In.ExtRefMan1)
Value for E2M External Reference value (IO.In.ExtRefMan2)
Value for E1A External Reference value (IO.In.ExtRefAuto1)
Value for E2A External Reference value (IO.In.ExtRefAuto2)
Value for Bal BalRef value as defined in the module parameters

The second case for events means when the relevant value for the mode changes. So for
example, an event is created when new setpoint value is set in Auto mode. In this case the
event message has the following structure:
[MODE] + Value: + [OLD VALUE] -> [NEW VALUE]
In this case the same modes described right before are valid. Also OLD VALUE and NEW
VALUE is the value relevant for the specific active mode.
The third case for eventing is when some limit value is changed for some limits from the
faceplate. In this case the structure for the event message is the following:
[LIMIT SHORT NAME] + Value: + [OLD VALUE] -> [NEW VALUE]

MinLib Loop Objects C 3BHS161562-611 47/87



[LIMIT SHORT NAME] Description
L1 Low limit 1
L2 Low limit 2
H1 High limit 1
H2 High limit 2
PHi Process limit high
PLo Process limit low
The OLD VALUE and NEW VALUE corresponds to the old and new Limit value itself.
The next case is when some limit is blocked from the faceplate. The structure for the
event message is the following:
Limit Blk: + [LIMIT NAME]
[LIMIT NAME] Description
MV_L1 Low limit 1 is blocked
MV_L2 Low limit 2 is blocked
MV_H1 High limit 1 is blocked
MV_H2 High limit 2 is blocked
MV_PHi Process limit high is blocked
MV_PLo Process limit low is blocked
The next and last case of our possible cases for events in PIDCtrl is when we have a forced
condition for the MV value. In this case three types of messages are possible:
• When the Forced flag is selected the message is:
• FRC Value: [VALUE]
• Where value is the actual value set for the MV value.
• When the Forced selection is undone the message is:
• FRC Deselected
• Or when MV value is changed under forced condition, the message is:
• FRC Value: [OLD VALUE] -> [NEW VALUE]

Alarm Messages
The PIDCtrl has 3 main causes for alarm messages
• Limit H2 or L2
• Limit H1 or L1
• Deviation High or Low
Notice that Process Limit (Plim) does not create any alarm. The maximum indication
treatment for the Process Limit is 0 (Event) as described in the parameter description in
Control Builder.
For the alarm limits the message will look like:
[LIMIT TYPE]: [LIMIT VALUE]
[LIMIT TYPE] Description
L1 Low limit 1 is reached
L2 Low limit 2 is reached
H1 High limit 1 is reached
H2 High limit 2 is reached
PHi Process limit high is reached
PLo Process limit low is reached
Dev High Deviation limit between MV (measured value) and SP (setpoint) is higher than defined over Lim2
Tab
Dev Low Deviation limit between MV (measured value) and SP (setpoint) is lower than defined over Lim2 Tab
Limit Value is the value defined in the Lim1 and Lim2 Tab for each Limit Type

MinLib Loop Objects C 3BHS161562-611 48/87



PIDAdvCtrl

3.1Basic Description

The PIDAdvCtrl Control Module is a PID Controller with advanced Features for Analog
Control Loops. It contains following Features in addition to the Features of the PIDCtrl
Module:
• Support for Cascade PID Loops via E1A, E2A Modes
• Integrated Gain Scheduling, Setpoint Ramping
• Adaptive PID Controller
• PPI Controller Mode (Dead Time Compensation)
• Detection of Sluggish Control and/or Oscillation in Control Output
The PIDAdvCtrl does not have a CON_PU Pulse Controller, for digital 3-state Control the
PIDCtrl Module should be used instead.

3.2 Control

3.2.1 Library location

The Control Module Type for PIDCtrl is located in the library BMIAdvancedAnalog, its
corresponding Structured Data Types are defined in BMIConstAndVar.

3.2.2 Diagram Graphical Representation

Figure 30 PIDAdvCtrl Block

3.2.3 Parameter Description

No Name Data Type Initial Val Port Dir Description


1 Name string[24] 'Name' yes in INIT: Tag name of the PIDCtrl (allowed
deliminators are "." and "-", no blanks ":" or ";"
allowed)
2 Descripti string[40] 'Descriptio yes in IN: Description text of the PIDCtrl
on n'
3 IO PIDAdvCtrl default yes in_ou IN/OUT: PIDCtrlData Variable
Data t

MinLib Loop Objects C 3BHS161562-611 49/87



No Name Data Type Initial Val Port Dir Description
4 Group GrpDrvCon default yes in_ou IN/OUT: Connection to control module
left t GROUP (sequencer)
5 PCC PCCComDa default yes out IN/OUT: Interlock Bus,
ta PriorityCommand/Interlock to motors, valves
or groups
6 PCCAELis bool FALSE no in IN: PCC AE List handling forced to be always
tFrcEn on and not controlled by PCC parent
7 E1ARef LoopContr default yes in IN: External Setpoint for External Auto Mode 1
olData
8 E2ARef LoopContr default no in IN: External Setpoint for External Auto Mode 2
olData
9 MV RealIO yes in_ou IN/OUT: Measured process value (e.g. an AIS
left t or AIC signal). Please use IO.FilteredSignal
when noisy signal
10 MV_Field dword 16#80C0 no in IN: 2nd DWORD for MV Field Device Status
DeviceSta Supervision e.g. Profibus PA Devices etc. If
tus value equals 16#80C0 the FPL indication is
hidden
11 WSP LoopContr default no out IN/OUT: Actual working setpoint of the PID
olData CTRL
12 GSREF LoopContr default no in IN/OUT: External Gain Scheduler Reference
olData
13 FeedForw LoopContr default no in IN/OUT: Feedforward Added directly to
ard olData Output
14 OUTP RealIO default no out IN/OUT: Output signal of the PID to connect
at AOX (only enabled if OUTCC is not
connected!)
15 OUTCC LoopContr default yes out IN/OUT: Output signal of the PID Loop
olData
16 ActuatorP RealIO default no in_ou IN/OUT: Actuator Position - only connected if
os left t OUTP is used, else will be overwritten with
OUTCC Feedback
17 BalRef real 0 yes in IN: BALancing REFerence input. Safety value
assigned to the OUTPut in case I/O or HW
error occurs.
18 GrpStep1 dint cBMI.DINT_ yes in IN: Group Step 1 to to activate GrpMode1
0 (during starting 1..999, during stopping 1001-
1999, 0 not used.
19 GrpMode dint 2 yes in IN: Mode selection for GrpStep1 [1=Man,
1 2=Auto, 3=ExtMan1, 4=ExtMan2, 5=ExtAuto1,
6=ExtAuto2]
20 GrpStep1 time cBMI.Time0 yes in IN: Activation / Deactivation delay for Group
Delay s Step 1
21 GrpPreSel string[50] cBMI.Empt yes in IN: PreBins the consumer is assigned to.
ection1 y_str Syntax: P1&P2|P3&N4 (= P1 AND P2 OR P3 AND
NOT P4). AND before OR. Max 5x OR. No
Spaces allowed.
22 GrpStep2 dint cBMI.DINT_ no in IN: Group Step 2 to to activate GrpMode2
0 (during starting 1..999, during stopping 1001-
1999, 0 not us
23 GrpMode dint 1 no in IN: Mode selection for GrpStep2 [1=Man,
2 2=Auto, 3=ExtMan1, 4=ExtMan2, 5=ExtAuto1,
6=ExtAuto2]

MinLib Loop Objects C 3BHS161562-611 50/87



No Name Data Type Initial Val Port Dir Description
GrpStep2 time cBMI.Time0 no in IN: Activation / Deactivation delay for Group
Delay s Step 2
24 GrpPreSel string[50] cBMI.Empt no in IN: PreBins the consumer is assigned to.
ection2 y_str Syntax: P1&P2|P3&N4 (= P1 AND P2 OR P3 AND
NOT P4). AND before OR. Max 5x OR. No
Spaces allowed.
25 GrpStep3 dint cBMI.DINT_ no in IN: Group Step 3 to to activate GrpMode3
0 (during starting 1..999, during stopping 1001-
1999, 0 not us
26 GrpMode dint 3 no in IN: Mode selection for GrpStep3 [1=Man,
3 2=Auto, 3=ExtMan1, 4=ExtMan2, 5=ExtAuto1,
6=ExtAuto2]
27 GrpStep3 time cBMI.Time0 no in IN: Activation / Deactivation delay for Group
Delay s Step 3
28 GrpPreSel string[50] cBMI.Empt no in IN: PreBins the consumer is assigned to.
ection3 y_str Syntax: P1&P2|P3&N4 (= P1 AND P2 OR P3 AND
NOT P4). AND before OR. Max 5x OR. No
Spaces allowed.
29 QStopMo dint 1 no in IN: QuickStop Mode. [0= No Action, 1=Man,
de 2=Auto, 3=ExtMan1, 4=ExtMan2, 5=ExtAuto1,
6=ExtAuto2, 7=Balancing]
30 AfterBalM dint 1 no in IN: After balance set mode. [0= Last Mode,
ode 1=Man, 2=Auto, 3=ExtMan1, 4=ExtMan2,
5=ExtAuto1, 6=ExtAuto2]
31 SigErrBal dint 1 no in IN: Balancing action in case of Signal Error or
Ctrl Actuator Trip [0 = off, no action, 1 = default,
go to balancing for 10s, 2 = only when in Au
32 EnMan bool TRUE no in IN true: Manual mode enabling (open loop
control)
33 EnAuto bool TRUE no in IN true: Auto mode enabling (closed loop
control)
34 EnExtMan bool FALSE no in IN false: External Manual 1 mode enabling
1 (open loop control with external reference)
35 EnExtMan bool FALSE no in IN false: External Manual 2 mode enabling
2 (open loop control with external reference)
36 ExtMan1T string[35] cBMI.Empt no in IN: Description text for ExtMan1 Mode, for
xt y_str NLS support use ||AE_NLS_ prefix and no
space in the text
37 ExtMan2T string[35] cBMI.Empt no in IN: Description text for ExtMan2 Mode, for
xt y_str NLS support use ||AE_NLS_ prefix and no
space in the text
38 ExtAuto1 string[35] cBMI.Empt no in IN: Description text for ExtAuto1 Mode, for
Txt y_str NLS support use ||AE_NLS_ prefix and no
space in the text
39 ExtAuto2 string[35] cBMI.Empt no in IN: Description text for ExtAuto2 Mode, for
Txt y_str NLS support use ||AE_NLS_ prefix and no
space in the text
40 Class dint 1 no in INIT: AE Class 1 ... 9999 (Section)
41 MV_Lim2 dint 3 no in INIT: Alarm limit treatment L2/H2: -1 no AE; 0
Tr = Event ; 1,2,3 = ALPrio# (1=lowest)
42 MV_Lim1 dint 2 no in INIT: Alarm limit treatment L1/H1: -1 no AE; 0
Tr = Event ; 1,2,3 = ALPrio# (1=lowest)
43 MV_PLim dint 0 no in INIT: Event limit treatment L1/H1: -1 no AE; 0
Tr = Event

MinLib Loop Objects C 3BHS161562-611 51/87



No Name Data Type Initial Val Port Dir Description
44 MV_LogT bool TRUE no in INIT: Limit change treatment: true = Event on
r limit value change, false = Events on limit
value change are disabled.
45 DevTr dint 3 no in INIT: Alarm treatment for deviation: -1 no AE;
0 = Event ; 1,2,3 = ALPrio# (1=lowest)
46 ModeTr bool TRUE no in IN: True enables events on mode change [Man,
Auto, Ext, etc.]
47 StatusTr bool TRUE no in IN: True enables events on SP / OUTP changes
in Auto / Manual mode.
48 InterlockT dint 3 no in INIT: Interlock treatment, currently not used
r
49 EnExtPID bool FALSE no in IN: false = settings from Faceplate, true =
Settings external settings can be used (but no
AutoTune or GainScheduling)
50 PID_ASPT bool TRUE no in COLD INIT true: Init Par.for PID auto setpoint
racking tracking. [true = auto setpoint is tracking the
MV or ExtRefAuto]
51 PID_SPRa real 25 no in COLD INIT 25.0: Initial value for the speed of
mpInc the setpoint ramping function [%/s]
52 PID_SPRa real 25 no in COLD INIT 25.0: Initial value for the speed of
mpDec the setpoint ramping function [%/s]
53 PID_ASPT bool TRUE no in COLD INIT: Faceplate parameter for PID auto
rackingEx setpoint tracking when leaving ExtAutoModes
tAuto [true = auto setpoint is tracking the MV]
54 PID_ManB bool TRUE no in COLD INIT true: Support Backtracking in
acktracki Manual Mode [true = output setpoint is
ng following Backtracking Value while
Backtracking]
55 PID_MOU bool TRUE no in COLD INIT true: Manual Setpoint Output
TPTrackin tracking. [true = output setpoint is tracking
g the OUTP or ExtRefMan]
56 MV_ErrCt bool TRUE no in IN: Action in case of Signal Error on MV: false =
rl no action; true = MV.Value is forced to Err_Val
57 MV_ErrVa real 99999 no in IN: Error Value used in case of Err_Ctrl = true
l
58 EnExtMVL bool FALSE no in IN: false = MV limit settings from Faceplate,
imits true = COLD INIT can be used as external
limits
59 MV_Filter real 0 no in COLD INIT 0.0: Initial value for the measured
Time value input filter.
60 MV_HiLim real 100 no in COLD INIT: Initial limit for High2 alarm.
2
61 MV_BlkHi bool FALSE no in COLD INIT: Initial value for blocking of the
Lim2 limit high 2 handling
62 MV_IntlkT dint No_Interloc yes in INIT:
ypeHiLim k PCC_Disabled;No_Interlock;PD_PrevDrive;IA_P
2 rocess;IA_Process_RFS;IB_Equipment;IB_Equi
pment_RFS;IC_Safety;IC_Safety_RFS;Auto_Sta
rt
63 MV_IntlkD dint DirXY yes in INIT: 1:DirX/Y/XY+noAck;
irHiLim2 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirXnoAck
,noAck=Acknowledge not need if value back to
NormPos

MinLib Loop Objects C 3BHS161562-611 52/87



No Name Data Type Initial Val Port Dir Description
64 MV_HiLim real 100 no in COLD INIT: Initial limit for High1 alarm.
1
65 MV_BlkHi bool FALSE no in COLD INIT: Initial value for blocking of the
Lim1 limit high 1 handling
66 MV_IntlkT dint No_Interloc yes in INIT:
ypeHiLim k PCC_Disabled;No_Interlock;PD_PrevDrive;IA_P
1 rocess;IA_Process_RFS;IB_Equipment;IB_Equi
pment_RFS;IC_Safety;IC_Safety_RFS;Auto_Sta
rt
67 MV_IntlkD dint DirXY yes in INIT: 1:DirX/Y/XY+noAck;
irHiLim1 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirXnoAck
,noAck=Acknowledge not need if value back to
NormPos
68 MV_PHiLi real 90 no in COLD INIT: Initial limit for Process High alarm.
m
69 MV_BlkPH bool TRUE no in COLD INIT: Initial value for blocking of the
iLim limit Process High handling
70 MV_IntlkT dint No_Interloc no in INIT:
ypePHiLi k PCC_Disabled;No_Interlock;PD_PrevDrive;IA_P
m rocess;IA_Process_RFS;IB_Equipment;IB_Equi
pment_RFS;IC_Safety;IC_Safety_RFS;Auto_Sta
rt
71 MV_IntlkD dint DirXY no in INIT: DirX; DirFBX; DirXStart; DirY; DirFBY;
irPHiLim DirYStart; DirXY; DirFBXY; DirXYStart;
72 MV_PLoLi real 10 no in COLD INIT: Initial limit for Process Low alarm.
m
73 MV_BlkPL bool TRUE no in COLD INIT: Initial value for blocking of the
oLim limit Process Low handling
74 MV_IntlkT dint No_Interloc no in INIT:
ypePLoLi k PCC_Disabled;No_Interlock;PD_PrevDrive;IA_P
m rocess;IA_Process_RFS;IB_Equipment;IB_Equi
pment_RFS;IC_Safety;IC_Safety_RFS;Auto_Sta
rt
75 MV_IntlkD dint DirXY no in INIT: DirX; DirFBX; DirXStart; DirY; DirFBY;
irPLoLim DirYStart; DirXY; DirFBXY; DirXYStart;
76 MV_LoLi real 0 no in COLD INIT: Initial limit for Low1 alarm.
m1
77 MV_BlkLo bool FALSE no in COLD INIT: Initial value for blocking of the
Lim1 limit low 1 handling
78 MV_IntlkT dint No_Interloc no in INIT:
ypeLoLim k PCC_Disabled;No_Interlock;PD_PrevDrive;IA_P
1 rocess;IA_Process_RFS;IB_Equipment;IB_Equi
pment_RFS;IC_Safety;IC_Safety_RFS;Auto_Sta
rt
79 MV_IntlkD dint DirXY no in INIT: 1:DirX/Y/XY+noAck;
irLoLim1 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirXnoAck
,noAck=Acknowledge not need if value back to
NormPos
80 MV_LoLi real 0 no in COLD INIT: Initial limit for Low2 alarm.
m2
81 MV_BlkLo bool FALSE no in COLD INIT: Initial value for blocking of the
Lim2 limit low 2 handling

MinLib Loop Objects C 3BHS161562-611 53/87



No Name Data Type Initial Val Port Dir Description
82 MV_IntlkT dint No_Interloc no in INIT:
ypeLoLim k PCC_Disabled;No_Interlock;PD_PrevDrive;IA_P
2 rocess;IA_Process_RFS;IB_Equipment;IB_Equi
pment_RFS;IC_Safety;IC_Safety_RFS;Auto_Sta
rt
83 MV_IntlkD dint DirXY no in INIT: 1:DirX/Y/XY+noAck;
irLoLim2 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirXnoAck
,noAck=Acknowledge not need if value back to
NormPos
84 MV_Hyst real 1 no in COLD INIT: Initial for MV Hysteresis in %
85 EnExtDEV bool FALSE no in IN: false = MV limit settings from Faceplate,
Limits true = COLD INIT can be used as external
limits
86 DEV_HiLi real 50 no in COLD INIT: Initial limit for deviation high
m alarm in [%]
87 DEV_Intlk dint No_Interloc no in INIT:
TypeHiLi k PCC_Disabled;No_Interlock;PD_PrevDrive;IA_P
m rocess;IA_Process_RFS;IB_Equipment;IB_Equi
pment_RFS;IC_Safety;IC_Safety_RFS;Auto_Sta
rt
88 DEV_Intlk dint DirXY no in INIT: 1:DirX/Y/XY+noAck;
DirHiLim 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirXnoAck
,noAck=Acknowledge not need if value back to
NormPos
89 DEV_LoLi real -50 no in COLD INIT: Initial limit for deviation Low alarm
m in [%]
90 DEV_Intlk dint No_Interloc no in INIT:
TypeLoLi k PCC_Disabled;No_Interlock;PD_PrevDrive;IA_P
m rocess;IA_Process_RFS;IB_Equipment;IB_Equi
pment_RFS;IC_Safety;IC_Safety_RFS;Auto_Sta
rt
91 DEV_Intlk dint DirXY no in INIT: 1:DirX/Y/XY+noAck;
DirLoLim 2:DirFBX/Y/XY+noAck;
3:DirX/Y/XYStart+noAck;Ex.DirFBX,DirXnoAck
,noAck=Acknowledge not need if value back to
NormPos
92 DEV_Hyst real 1 no in COLD INIT: Initial deviation hysteresis in %
93 DEV_Alar time 0s no in COLD INIT: Initial time delay for the deviation
mDelay limit level supervision
94 IntlkStartI time 0s no in INIT: Bypass Interlock for a certain time after
nhibit start of PCC parent (MOTx, VLVx Order)
95 IntlkLocSt bool FALSE no in INIT: Bypass Interlock in LOC mode if
artOverri LCBStart is continuously pushed. All PCC
de parents need to be in LOC.
96 EnExtSPLi bool FALSE no in IN: false = SP limit settings from Faceplate,
mits true = COLD INIT Values can be used as
external limits
97 SP_HiLim real 100 no in COLD INIT: Initial limit for setpoint high limit
98 SP_LoLim real 0 no in COLD INIT: Initial limit for setpoint low limit
99 EnExtOU bool FALSE no in IN: false = OUT limit settings from Faceplate,
TLimits true = COLD INIT Values can be used as
external limits

MinLib Loop Objects C 3BHS161562-611 54/87



No Name Data Type Initial Val Port Dir Description
100 OUT_HiLi real 100 no in COLD INIT: Initial limit for output high limit
m
101 OUT_LoLi real 0 no in COLD INIT: Initial limit for output low limit
m
102 OUT_Spe real 25 no in COLD INIT 25.0: Initial value for the maximum
edInc change rate of the output signal [% / s]
103 OUT_Spe real 25 no in COLD INIT 25.0: Initial value for the maximum
edDec change rate of the output signal [% / s]
104 AlarmAck bool FALSE no in IN pulse: Acknowledge the alarms
105 GrpStep1 bool TRUE no in IN true: If true, group does not go to hold if
Override PID is not in requested mode.
106 GrpStep2 bool TRUE no in IN true: If true, group does not go to hold if
Override PID is not in requested mode.
107 GrpStep3 bool TRUE no in IN true: If true, group does not go to hold if
Override PID is not in requested mode.
108 GrpReady bool FALSE no in IN false: If true, group shows ready even if a
OnSigErr signal error exists.
or
For Details on the PCC Interlock Parameters, see Basic Objects Manual, chapter PCC,
Interlock Bus (Process Control Connection)

3.2.4 Data Type description

Together with the PIDAdvCtrl Control Module Type a Structured Data Type PIDAdvCtrlData
is available, with three components In, Out and PCC. This Datatype contains all Variables
that are used in the Application Logic.
PIDAdvCtrlData; components
Name Data Type Attributes Initial Description
Value
1 In PIDCtrlInput retain Input variables to the PID
2 Out PIDCtrlOutput retain Output variables from the PID
3 PCC PCCComData retain IN Interlock Bus, PriorityCommand/Interlock from
Input modules to motor

MinLib Loop Objects C 3BHS161562-611 55/87



PIDAdvCtrlInput; components
Name Data Attribut Initial Description
Type es Val
1 MV_EnHiLim bool retain true IN true: Enables High Limit 2
2 nosort
2 MV_EnHiLim bool retain true IN true: Enables High Limit 1
1 nosort
3 MV_EnPHiLi bool retain true IN true: Enables Process High Limit
m nosort
4 MV_EnPLoLi bool retain true IN true: Enables Process Low Limit
m nosort
5 MV_EnLoLim bool retain true IN true: Enables Low Limit 1
1 nosort
6 MV_EnLoLim bool retain true IN true: Enables Low Limit 2
2 nosort
7 AEListEn bool retain true IN true: External Alarm List Enabling of AIS, temporary
nosort disabling of unack alarming and entries in alarmlist, NOTE:
Overwritten by PCC
8 AlarmEn bool retain true IN true: External Enabling of PIDCtrl Limit and Deviation
Supervision, used to te
9 PreSelStep1 bool retain true IN true: true = PID is pre-selected for GrpStep1, connected
hidden to PreBinData.PreSel in case parameterized PreSelection is
not used.
10 PreSelStep2 bool retain true IN true: true = PID is pre-selected for GrpStep2, connected
hidden to PreBinData.PreSel in case parameterized PreSelection is
not used.
11 PreSelStep3 bool retain true IN true: true = PID is pre-selected for GrpStep3, connected
hidden to PreBinData.PreSel in case parameterized PreSelection is
not used.
12 SetMan bool retain IN pulse: Set operation mode to Manual (open loop with
hidden output reference from FPL)
13 SetAuto bool retain IN pulse: Set operation mode to Auto (closed loop control
hidden with setpoint reference from FPL)
14 SetExtMan1 bool retain IN pulse: Set operation mode to external manual 1 (open
hidden loop control with external output reference)
15 SetExtMan2 bool retain IN pulse: Set operation mode to external manual 2 (open
hidden loop control with external output reference)
16 SetExtAuto1 bool retain IN pulse: Set operation mode to external auto 1 (closed
hidden loop control with external output reference)
17 SetExtAuto2 bool retain IN pulse: Set operation mode to external auto 2 (closed
hidden loop control with external output reference)
18 SetBalancing bool retain IN true: Set operation mode to balancing
hidden
19 EnModChng bool retain true IN true: External enabling of mode changes from FPL, used
to temporary disable mode changes
20 ExtRefMan1 real retain 0.0 IN: EXTernal REFerence Manual 1. Value is used as output if
open loop control ExtMan1 is selected.
21 ExtRefMan2 real retain 0.0 IN: EXTernal REFerence Manual 2. Value is used as output if
open loop control ExtMan2 is selected.

PIDAdvCtrlOutput; components
Name Data Attributes Initial Description
Type Val
1 DEV real retain nosort OUT: Actual deviation.

MinLib Loop Objects C 3BHS161562-611 56/87



Name Data Attributes Initial Description
Type Val
2 Backtrack bool retain nosort OUT: indication of Backtracking state (independent
ing of mode)
3 Balancing bool retain nosort OUT: indication of operation mode BALancing.
4 Man bool retain nosort OUT: indication of operation mode MANual.
5 Auto bool retain nosort OUT: indication of operation mode AUTO.
6 ExtMan1 bool retain nosort OUT: indication of operation mode ExtMan1.
7 ExtMan2 bool retain nosort OUT: indication of operation mode ExtMan2.
8 ExtAuto1 bool retain nosort OUT: indication of operation mode ExtAuto1.
9 ExtAuto2 bool retain nosort OUT: indication of operation mode ExtAuto2.
10 MV_H2 BoolAL retain nosort OUT: Indication of MeasValue > High 2
11 MV_H1 BoolAL retain nosort OUT: Indication of MeasValue > High 1
12 MV_PHi bool retain nosort OUT: Indication of MeasValue > PHi
13 MV_PLo bool retain nosort OUT: Indication of MeasValue > PLo
14 MV_L1 BoolAL retain nosort OUT: Indication of MeasValue < Low 2
15 MV_L2 BoolAL retain nosort OUT: Indication of MeasValue < Low 1
16 OUTP_H bool retain nosort OUT: Indication of output signal high limiting.
17 OUTP_L bool retain nosort OUT: Indication of output signal low limiting.
18 SP_H bool retain nosort OUT: Indication of SetPoint High Limit.
19 SP_L bool retain nosort OUT: Indication of SetPoint Low Limit.
20 DEV_H BoolAL retain nosort OUT: Indication of DEViation > High alarm limit
21 DEV_L BoolAL retain nosort OUT: Indication of DEViation < Low alarm limit
22 SigErr bool retain nosort OUT: Indication MV or ActuatorPosition Signal Error,
this sets Balancing
23 MVErr bool retain nosort OUT: Indication MV Signal Error
24 ActPosErr bool retain nosort OUT: Indication Actuator Position Signal Error, this
stops CON PU
25 OutPErr bool retain nosort OUT: Indication OUTP Signal Error
26 OscDetec bool retain nosort OUT: Set true when oscillation is detected
t
27 SluggishD bool retain nosort OUT: Set true when sluggish behaviour is detected
etect
28 ATActive bool retain nosort OUT: true if Autotuner is currently active
29 ATWarn bool retain nosort OUT: true if Warning from Autotuner (tuning failed)
30 FirstOrMa string[3 retain nosort '' Tag Name of the IO Device with the first or highest
xAETag 2] Alarm or Event causing an action on the Motor,
Group or Valve
31 FirstOrMa dint retain nosort 0 Indication treatment of the first or highest Alarm or
xAEIndTr Event causing an action accroding to Minerals
Library Alarm Indication Standards

MinLib Loop Objects C 3BHS161562-611 57/87



3.2.5 Tracking Options for Setpoint

There are several Options available as Parameters (with “PID_” Prefix, for Cold Init only,
they can be overwritten from the Faceplate), to define the behaviour of the Setpoint on
Mode change. Per default, all the Tracking Options are set true for complete bumpless
operation. For External Setpoints, bumpless Operation requires the LCC connection for
the External Auto Setpoint to support Backtracking. For the External Manual Modes, there
is no LCC connection and no inbuilt tracking possibility.
SP / Mode Man Auto ExtAuto ExtMan
OUT Value MOUTPTracking (Man MOUTPTracking MOUTPTracking
Tracking OUT)
Auto Setpoint ASP Tracking ASP Tracking Ext Auto ASP Tracking
Ext Auto Ref Backtracking Backtracking Backtracking
(Value=MV) (Value=WSP) (Value=MV)
Ext Man Ref none none none

3.2.6 Behavior with Out LCC

In Auto Mode, the OUT Value follows the Backtracking Value and Control and Ramping will
therefore start from the Backtracking Value again always.
For the OUT Value in Manual Mode, the “Man Backtracking” Option decides if the internal
Setpoint Value is tracking the Backtracking Value from OUTCC while in state Backtracking,
otherwise the OUT Value is kept on the current Setpoint.
For Min Reached / Max Reached state, in addition to the Backtracking behaviour the Out
Value is limited to the Backtracking Value as well.

3.3 Operation

3.3.1 Graphic Elements

The Graphic Elements are equal to PIDCtrl, please refer Chapter 2.3.

3.3.2 Faceplate

The following command buttons are available on PID Faceplates

MinLib Loop Objects C 3BHS161562-611 58/87



Icon Operation Mode
Change Control Mode to Manual:
Controller output set from faceplate (not regulated).

Change Control Mode to Auto:


Closed Loop Setpoint set from faceplate.

Increase Setpoint or Output Value

Decrease Set point or Output Value

Change Control Mode to External Reference Auto 1:


Closed Loop Setpoint set from application

Change Control Mode to External Reference Auto 2:


Closed Loop Setpoint set from application

Change Control Mode to External Reference Manual 1:


Controller output set from application (not regulated).

Change Control Mode to External Reference Manual 2:


Controller output set from application (not regulated).

MinLib Loop Objects C 3BHS161562-611 59/87



Default View

Control Type PI =
Proportional & Integral
Action Selected

Reverse Action:
Increased Output with
negative deviation

First Extended
Second
View
Extended View

Figure 31 PIDAdvCtrl default view

Block Input
Indication
Backtracking

Sig Err
Indication

Following Indications are shown in the Default View:

Abbr. Description
Block Input Measured value is blocked / forced
Simulation Group Sequence is simulated, MV is forced to
simulated Value!
Oscillation Oscillation in Control Output Detected
Sluggish Sluggish Control Reaction Detected
Block Limit Any MV Limit Value Alarm is disabled from
Application or by PCC Parent
Sig Err Signal Error for Measured Value
Backtracking The OUT Value is Backtracking
Min Reached The OUT Value is Low Limited
Max Reached The OUT Value is High Limited

MinLib Loop Objects C 3BHS161562-611 60/87



Following abbreviations are used to describe bar and value indications.
Abbr. Description
MV Measured value
SP Setpoint value
FFw Feedforward value
OUT Control output
ACT Actuator Position
Dev Deviation (MV – SP)

Extended View

Drop Down
Tab

Ramping of
Setpoint
Current
Setpoint for
E1Mode
Linked to consumer
controlled by this
PIDAdvCntrl

Figure 32 PidCtrl Extended View

The Tabs on the right side of the faceplate first extended view are same as PIDCtrl Tabs:
Tab Description
Mode Available control modes and current mode
Trend Online trend of measured value, controller output and setpoint value
MV Limits Measure value limit and alarm settings
SP Limits Setpoint limit and setpoint tracking settings
Out Limits Output limit and manual output tracking settings
Dev Deviation limit and alarm settings
Block - Output Blocking- Alarm Blocking
PCC Information and Link to the connected PCC Parent Object
Group Corresponding Drive Group settings and link to the Group Sequence
IOStatus Substatus for MV, OUT ACT and Field Devices connected to MV
OUT Range Output Range Parameter Override settings

MinLib Loop Objects C 3BHS161562-611 61/87



Active Parameter

Figure 33 PIDAdv Active Parameters

Gain Scheduling

Enable/Disable
Limit Values for the
Gain Shedule
Reference Value to
select the Active Set

Selected for
Par/feedforward
Bargraph indicating the
Reference Value : Active
Set1 Seleted
Selected PV
Value

Figure 34 PIDAdv Gain Scheduling

Reference Table, Gain Scheduling


GS Description
GS / No GS Enable / Disable the Gain Scheduling Function. On Disabling, the Parameters
from the currently active set will be kept only.
Insert Add a new Parameter Set (max 5 sets)
Delete Remove the currently selected Parameter set
Value Current Value of the selected Reference Signal

Abbreviations used for the Reference Signal:


Abbr. Description
Pv Measured value
Sp Setpoint value
Eps Epsilon (Deviation)

MinLib Loop Objects C 3BHS161562-611 62/87



Abbr. Description
Out Output value
Ext External Reference (GSREF Parameter)

Parameters

Figure 35 PIDAdv Tuning Parameters

NOTE: If Gain Scheduling is enabled, these settings are for the currently selected Set only.
Reference Table, Parameters
Par Description
Controller Type Enable / Disable the Gain Scheduling Function. On Disabling, the Parameters
from the currently active set will be kept only.

Gain Controller Gain Parameter


Ti Controller Integral Time Parameter
Td Controller Derivative Time Parameter
Cont Sp Weight Setpoint Weight Factor (β) for Proportional Action in External Auto Mode
Discont Sp Weight Setpoint Weight Factor (β) for Proportional Action in Auto Mode
Dead zone Controller Dead Zone
Offset Output Offset (for P and PD Controller Types)
Derivation filter time Time constant for first order Filter on MV for Derivative Action
pPI dead time Controller Dead Time Parameter for PPI Controller Type
Feedback adaption Adaptive Controller based on MV reaction, (changes Controller Parameters
during Runtime)
Reset Reset the changes from Adaptive Controller (Feedback Adaption)
Apply the current values (use in Control)

(Apply changes)
Reset the current value to the current active Controller Parameters

(Undo changes)
Store Store the Applied Parameters
Restore Restore the last stored Parameters

MinLib Loop Objects C 3BHS161562-611 63/87



Feedforward

Gain Factor added


to the Feedforward
Input

Figure 36 PIDAdv Tuning Feedforward

NOTE: If Gain Scheduling is enabled, these settings are for the currently selected Set only.
Reference Table, Feedforward
Par 2 Description
Feedforward Feed Forward Input is added to Controller Output
Feedforward gain Gain Factor applied to Feedforward Input Value
Feedforward adaption Adaptive Controller based on Feedforward value (changes Controller Parameters
during Runtime)
Reset Reset the changes from Adaptive Controller (Feedforward Adaption)
Apply the current values (use in Control)

(Apply changes)
Reset the current value to the current active Controller Parameters

(Undo changes)
Store Store the Applied Parameters
Restore Restore the last stored Parameters

Tune (Auto Tuning)

Shows the Current Restrict the OUT


State of the Process and SP changes
while Auto-Tuning is during Auto-Tuning
running

Start Auto Cancel the current


Tuning Process Tuning Process

MinLib Loop Objects C 3BHS161562-611 64/87



Figure 37 PID Auto Tuning

Reference Table, Tune


Tune Description
Tune Method The Autotuner Method used, Standard is “Relay”, “Step” method is only advisable after Relay
Tuning to compensate for dead time in the process
Reset If set, the last used relay amplitude and noise level are discarded, otherwise they are used as
initial Values for the Auto-Tuning which can speed up the Tuning Process
Max relay amp Restrict the maximum change of the Output during Auto-tuning (for Relay method)
Max SP step Restrict the maximum change of the Setpoint during Auto-tuning (for Step method)
Warning time The PIDAdvCtrl will issue a Warning if the Auto-tuning process doesn’t finish in the configured
time
Max sample time The maximum Task Cycle Time the Control Loop should be executed, this equals 1/8 of the
Process Oscillation Time determined by the Autotuning

Tune Results

Proposed Controller Proposed


Type can be edited after Parameters from the
the Auto Tuning last Auto-Tuning

Reset Controller
Design to proposed Apply the proposed
design from the last parameters to the
Auto-Tuning current controller
parameter

Figure 38 PID Tune results

Reference Table, Tune Results


Tune Results Description
Controller Type of the Controller, defined by the Auto-tuning but can be changed later with the Proposed
Design Parameters being adjusted accordingly
Response Choose “Slow”, “Normal” or “Fast” to adjust the Proposed Parameters to the required Controller
reaction

MinLib Loop Objects C 3BHS161562-611 65/87



Parameters (Additional Loop Control Parameters)

Figure 39 PID Additional Loop Control

Reference Table, Parameters


Parameters Description
Direction Reverse Controller reaction Direct (OUT increase for positive Deviation) or Reverse (OUT
increase for negative Deviation)
Sluggish Detection Automatically detect and indicate Sluggish Controller Reaction
Oscillation Detection Automatically detect and indicate oscillating Process Condition
Offset Adjustment Automatically adjust the Offset to get Bumpless Transfer on Mode or Parameter
changes, applicable for Controller Type P and PD only
Max pPI dead time Maximum Limit for dead time Parameter, used for Controller Type pPI only
MV Filter Time constant for First-order Low Pass Filter on Measured Value
ASP tracking Auto Setpoint will track Measured Value while in Manual, ExtMan1 or ExtMan2 Mode
ASP tracking ExtAuto Auto Setpoint will track current Setpoint while in ExtAuto1 or ExtAuto2 Mode
Man tracking OUT Manual Mode OUT Value will track the current OUT Value while not in Manual Mode
Man Backtracking In Manual Mode, the OUT Value as set from Faceplate will track the Backtracking Value
while in Backtracking Mode

MinLib Loop Objects C 3BHS161562-611 66/87



3.3.3 Faceplate Permissions

MinLib Loop Objects C 3BHS161562-611 67/87


MinLib Loop Objects C 3BHS161562-611 68/87


3.3.4 Alarm & Event List

The Alarms and Events for PIDAdvCtrl are equal to PIDCtrl, refer Chapter 2.3.8.

MinLib Loop Objects C 3BHS161562-611 69/87



RatioCtrl
The RatioCtrl Module calculates an LCC Connection Setpoint from an Input Value with
Gain and Offset.
• Full LCC Support for Backtracking from the Output back to the Input Value
• Auto and Manual Mode (Output Value Reference can be overwritten from Faceplate)
• Internal and External (from Control Application) Setpoint Mode independent for
both Gain and Offset
• Configurable First order Low Pass Filter, Range and Change Rate Limitation on the
Output Value
• Additional Output Range Scaling possible

4.1 Control

4.1.1 Library location

The Control Module Type for RatioCtrl is located in the library BMIAdvancedAnalog, its
corresponding Structured Data Types are defined in BMIConstAndVar.

4.1.2 Modes

Auto: The OUT Value is defined by IN * Gain + Offset in this Mode.


Manual (Man): The OUT Value is defined from the Setpoint given in the RatioCtrl Faceplate
itself, Gain and Offset are ignored in this Mode.
Internal Gain (G Int): The Gain is defined from the Faceplate.
External Gain (G Ext): The Gain is defined from the Application at IO.In.GainRef
Internal Offset (OfInt): The Offset is defined from the Faceplate.
External Offset (OfExt): The Offset is defined from the Application at IO.In.OffsetRef

4.1.3 Diagram Graphical Representation

Figure 40 Ratio Control Block

4.1.4 Parameter Description

No Name Data Type Dir Port Initial Val Description


1 Name string[24] in yes 'Name' INIT: Tag name of the RatioCtrl
(allowed deliminators are "." and
"-", no blanks ":" or ";" allowed)
2 Description string[40] in yes 'Descriptio IN: Description text of the
n' RatioCtrl

MinLib Loop Objects C 3BHS161562-611 70/87



No Name Data Type Dir Port Initial Val Description
3 IO RatioCtrlData in_o yes default IN/OUT: Connection to
ut RatioCtrlData variable
4 In LoopControlData in yes default IN(OUT): Input Value to Ratio
5 Out LoopControlData out yes default OUT(IN): Output Setpoint from
Ratio
6 GainMin real in no 0 INIT: Scaling Parameter Range Min
for Gain
7 GainMax real in no 10 INIT: Scaling Parameter Range
Max for Gain
8 GainUnit string[5] in no '' INIT: Scaling Parameter Unit for
Gain
9 GainFraction dint in no 1 INIT: Fraction (Number of
Decimals).
10 GainFactor real in no 1.0 IN: Additional Factor applied to
Gain, use 0.01 for Gain in Percent
11 EnOffsetExt bool in no false IN: Enable Offset from
IO.In.ExtOffsetRef
12 EnOffsetInt bool in no true IN: Enable Offset from Faceplate
13 EnMan bool in no true IN: Enable Manual Mode - Internal
OUT Reference Value (from
Faceplate)
14 EnGainExt bool in no false IN: Enable Gain from
IO.In.ExtGainRef
15 EnGainInt bool in no true IN: Enable Gain from Faceplate
16 EnOffsetExt bool in no false IN: Enable Offset from
IO.In.ExtOffsetRef
17 EnOffsetInt bool in no true IN: Enable Offset from Faceplate
18 Class dint in no 1 INIT: AE Class 1 ... 9999 (Section)
19 ModeTr bool in no true IN: True enables events on mode
change
20 StatusTr bool in no true IN: True enables events on status
(backtracking) change
21 EnExtOutLimits bool in no false IN: false = limit settings from
Operate IT, true = COLD INIT can
be used as external limits
22 Out_HiLim real in no 100 COLD INIT: External and initial
high limit for output limitation
23 Out_LoLim real in no 0 COLD INIT: External and initial low
limit for output limitation

4.1.5 Data Type description

Together with the SplitRange Control Module Type a Structured Data Type RatioCtrlData
is available, that holds the Variables In and Out of the two Types RatioCtrlInput and
RatioCtrlOutput. This Datatype contains all Variables that are used in the Application
Logic.
RatioCtrlData; components
Name Data Type Attributes Initial Val Description
1 In RatioCtrlInput retain Input to RatioCtrl from Glue Logic
2 Out RatioCtrlOutput retain Output from RatioCtrl to Glue Logic

RatioCtrlInput; components

MinLib Loop Objects C 3BHS161562-611 71/87



Name Data Type Attributes Initial Val Description
1 SetMan bool retain IN: Set Manual Mode (Internal OUT Reference
from Faceplate)
2 SetAuto bool retain IN: Set Auto Mode (Out = In * Gain + Offset)
3 SetGainInt bool retain IN: Set Gain Internal Mode (Gain set from
Faceplate)
4 SetGainExt bool retain IN: Set Gain External Mode (Gain set from
IO.In.ExtGainRef)
5 SetOffsetInt bool retain IN: Set Offset Internal Mode (Offset set from
Faceplate)
6 SetOffsetExt bool retain IN: Set Offset External Mode (Offset set
from IO.In.ExtOffsetRef)
7 ExtGainRef real retain IN: External Gain in Engineering Units
8 ExtOffsetRef real retain IN: External Offset in Out Range Engineering
Units

RatioCtrlOutput; components
Name Data Type Attributes Initial Val Description
1 Man bool retain nosort false OUT: true if Output is defined from
Faceplate
2 Auto bool retain nosort false OUT: true if Output is In * Gain + Offset
3 GainExt bool retain nosort false OUT: true if Gain is defined from
IO.In.ExtGainRef, otherwise from FPL
4 OffsetExt bool retain nosort false OUT: true if Offset is defined from
IO.In.ExtOffsetRef, otherwise from FPL
5 Backtracking bool retain nosort false OUT: Output is Backtracking
(forwarded to Input).
6 HLim bool retain nosort false OUT: Out High Limit reached
7 LLim bool retain nosort false OUT: Out Low Limit reached
8 SigErr bool retain nosort false OUT: Input Signal Error (forwarded to
Output)

4.1.6 Behavior with Out LCC

The RatioCtrl Block is located in the middle of a Control Loop. In order for Backtracking to
work in Auto Mode, both the Input (connected to IN via LCC) and the Consumer of the
Setpoint (connected to OUT) need to support Backtracking as well. In Manual Mode,
Backtracking can be controlled via the “Man Backtracking” Option from the Faceplate.

Backtracking
The internal Value is initialized with the Backtracking Value, Ramp and Filter will therefore
start from the Backtracking Value again. Note that the RatioCtrl will apply the Filter and
Ramp independent of the Input supporting Backtracking, in order to allow implementing
Bumpless behaviour for Loops without Backtracking by connecting a RatioCtrl in between.
In case the Output Object is Backtracking, the Output Value can therefore deviate from
the calculated Output with the Input Value.
In Manual mode, while the “Man Backtracking” Option is set the Manual Setpoint will track
the Backtracking Value, otherwise the Backtracking Value is ignored.

MinLib Loop Objects C 3BHS161562-611 72/87



Min Reached / Max Reached
In addition to the Backtracking behaviour, the Out Value is limited to the Backtracking
Value as well.

4.2 Operation

4.2.1 Graphic Element for ration Control

Only one graphic elements are available for the RatioCtrl:


Graphic Element Description Example
VCO_RatioCtrl Displays object control information and up to 4
controller values. Allows direct entry of gain and offset

Properties
Name DataType Default Val Description
EnableBackAppearance Boolean False Switch on the value and unit back appearance
EnableFitToBestSize Boolean True Set best unit size
EnableLimitLabel Boolean True Show limit labels
EnableLogicalColor Boolean True If its true, then all used colors are logical colors. The
logical color ref is equal to the default logical color used
in the color properties. To use an individual color set it
to false.
EnableUnit Boolean True Show units
NumberOfDigits Integer 4 Number of presented digits
UnitSize Integer 8 Unit size in pixel: 7 = Small, 8 = Standard, 10 = Large, 12=
XXL
ValueColor Color BMIvalueSP Value color. Only applied if EnableLogicalColor is set to
false.
ValueSize Integer 12 Value size in pixel: 8 = Small, 10 Medium, 12 = Standard,
14 = Large, 16 = XXL
For common settings please refer to [1] Minerals Library Overview (3BHS 161555).

4.2.2 Faceplate

MinLib Loop Objects C 3BHS161562-611 73/87



The following command buttons are available on RatioCtrl Faceplates

Icon Operation Mode


Change Control Mode to Manual:
Controller output set from faceplate (not regulated).

Change Control Mode to Auto:


Closed Loop Setpoint set from faceplate.

Increase Setpoint or Output Value

Decrease Set point or Output Value

Change to Internal Gain Reference: Gain set from Faceplate

Change to External Gain Reference: Gain set from Application

Change to Internal Offset Reference: Offset set from Faceplate

Change to External Offset Reference: Offset set from Application

Default View

Link to the
Faceplate for IN

Bar graph for


Input

Bar graph for


Output

Extended View

Figure 41 Ratio Control Default View

MinLib Loop Objects C 3BHS161562-611 74/87



Following abbreviations are used for the Values
Abbr. Description
IN Input value
Gain Factor applied to IN
Offset Offset added to IN
OUT Control Output
ACT Actuator Position

Extended View

Help: Link to the


Document and
Quick Help

Backtracking
Enabled
RatioCtrl is
in Auto Mode

Figure 42 Ratio Control Extended view

Mode

Selected Mode

Selected Internal
Gain Value

Selected Internal
Offset Value

Figure 43 Ratio Control Mode

MinLib Loop Objects C 3BHS161562-611 75/87



Trend

Show/Hide Trace

Record Time
Show/Hide Grid

Figure 44 Ratio Control Trend

OUT Limits

ROC Limitation
for Output

Figure 45 Ratio Control Out Limits

Reference Table, OUT1 Settings


Entry Field Description
High Limit Maximum Value Limit for OUT
Low Limit Minimum Value Limit for OUT
Filter Time Time Constant for First Order Low Pass Filter on OUT
Speed Maximum Value Increase/Decrease Limit for OUT
Man Tracking OUT Manual OUT Setpoint to follow OUT Value while in Auto Mode
Man Backtracking Manual OUT Setpoint to follow Backtracking Value while Backtracking

OUT Range

When selected, the


below parameters
are set

MinLib Loop Objects C 3BHS161562-611 76/87



Figure 46 Ratio Control Out Range

Reference Table, OUT Range


Entry Field Description
Scale to OUT Range Scale OUT Value from Internal Range (In Range * Gain Range or below defined Range if
“Override Range” is selected) to Range defined backwards via LCC Connection
Override Range Select to override the Range and Unit for OUT with the Values defined in Faceplate
Range Min Range Minimum Limit for OUT – active only if Override Range is selected
Range Max Range Maximum Limit for OUT – active only if Override Range is selected
Unit Engineering Unit for OUT – active only if Override Range is selected
Number of Decimals Number of Decimals shown for OUT – active only if Override Range is selected

4.2.3 Faceplate Permissions

MinLib Loop Objects C 3BHS161562-611 77/87



4.2.4 Alarm & Event List

Object status and modes are presented on the event list. When ever the object
backtracking status changes or mode the complete information of the object at the time
of the change is logged in the event list.
The RatioCtrl event message has a dynamic structure, this means that the structures
change depending on the status. If the RatioCtrl is not in Backtracking status, the Event
Message looks like:
[MODE] + [Gain MODE] + [Offset MODE]
[MODE] Description
Aut Auto mode selected
Man Manual mode selected

[Gain MODE] Description


ExtGain External Gain Reference selected
IntGain Internal Gain Reference selected

[Offset MODE] Description


ExtOffset External Offset Reference selected
IntOffset External Offset Reference selected

In case the RatioCtrl is Backtracking the event message has the following structure:
[MODE] + [Gain MODE] + [Offset MODE] + [STATUS]
[STATUS] Description
Backtracking The Value connected on the OUT Port is in Backtracking mode and the Backtracking Value
is used as Setpoint

MinLib Loop Objects C 3BHS161562-611 78/87



SplitRange
The SplitRange Control Module divides an LCC Connection Input, e.g. from a PIDCtrl, into
two Setpoints to e.g. two Actuator Objects in a Valve Split-Range Configuration.
• Definition of the Conversion for each Output separately
• Range Conversion between the Input and Output Setpoint

5.1 Control

5.1.1 Library location

The Control Module Type for SplitRange is located in the library BMIAdvancedAnalog, its
corresponding Structured Data Types are defined in BMIConstAndVar.

5.1.2 Diagram Graphical Representation

Figure 47 Split Range Block

5.1.3 Parameter Description

No Name Data Type Dir Port Initial Val Description


1 Name string[24] in yes 'Name' INIT: Tag name of the SplitRange
(allowed deliminators are "." and "-",
no blanks ":" or ";" allowed)
2 Description string[40] in yes 'Descriptio IN: Description text of the
n' SplitRange
3 IO SplitRangeData in_out yes Default IN/OUT: Connection to Glue Logic
4 In LoopControlData in yes IN: Input, Setpoint or Output from
PIDCtrl or RatioCtrl
5 Out1 LoopControlData out yes OUT: Connection to first Actuator
E1Ref
6 Out2 LoopControlData out yes OUT: Connection to second
Actuator E1Ref
7 Class dint in no 1 INIT: AE Class 1 ... 9999 (Section)

5.1.4 Data Type description

Together with the SplitRange Control Module Type a Structured Data Type
SplitRangeData is available. This Datatype contains all Variables that are used in the
Application Logic.
SplitRangeData; components

MinLib Loop Objects C 3BHS161562-611 79/87



Name Data Type Attributes Initial Val Description
1 SigErr bool retain nosort false OUT: Signal Error on Input
2 Out1Backtracking bool retain nosort false OUT: Output 1 Feedback is
Backtracking
3 Out2Backtracking bool retain nosort false OUT: Output 2 Feedback is
Backtracking

5.1.5 Project Constants

Name Data Type Default Value


1 cBMI.SplitRange.NameSuffix string 'SpliRg'

5.1.6 Backtracking Behaviour

The Control Module has no internal state and can only allow Backtracking if the Object
connected to “In” via LCC supports Backtracking.
If only one of the Outputs is in Backtracking, the In will be limited to the configured Range
of the still working Output (Min Reached / Max Reached is sent if outside the Range),
independent of the Backtracking Value of the Output.
If both Outputs are in Backtracking, the Value of Out1, scaled to the corresponding input
value, is sent for Backtracking to In, while Out2 is ignored. In this situation, if Out2 is
released (not Backtracking anymore) while Out1 is still Backtracking, the Backtracking
Value is modified to keep Out2 Value continous.

5.2 Operation

Three graphic elements are available for the SplitRange


Graphic Element Description Example

SplitRangeLimitandUnit Displays Parameter Values of the SplitRange.

OUT1andUnit Displays the first Output Value and Unit.

OUT2andUnit Displays the second Output Value and Unit.

5.2.1 Graphic Element OUT1andUnit, OUT2andUnit

Presents the Value in numeric Format.

Properties
Name DataType Default Value Description
EnableBackAppearance Boolean False Switch on the value and unit back appearance
EnableFitToBestSize Boolean True Set best unit size
EnableLimitLabel Boolean True Show limit labels
EnableLogicalColor Boolean True If EnableLogicalColor is true, then all used colors are
logical colors. The logical color reference is equal to
the default logical color used in the color
properties. To use an individual color set it to false.
EnableUnit Boolean True Show units
NumberOfDigits Integer 4 Number of presented digits

MinLib Loop Objects C 3BHS161562-611 80/87



UnitSize Integer 8 Unit size in pixel: 7 = Small, 8 = Standard, 10 = Large,
12= XXL
ValueColor Color BMIvalueSP Value color. Only applied if EnableLogicalColor is set
to false.
ValueSize Integer 12 Value size in pixel: 8 = Small, 10 Medium, 12 =
Standard, 14 = Large, 16 = XXL
For common settings please refer to [1] Minerals Library Overview (3BHS 161555).

5.2.2 Graphic Element SplitRangeLimitAndUnit

This Element shows the Limit Values configurable in the SplitRange.

LimitValueEnum
The Value shown can be configured from the following Selection:
Value Description
F1_PercIn_Out1_Min Input Value % for Out1 Minimum Value
F2_PercIn_Out1_Max Input Value % for Out1 Maximum Value
F3_PercIn_Out2_Min Input Value % for Out2 Minimum Value
F4_PercIn_Out2_Max Input Value % for Out2 Maximum Value

5.2.3 Faceplate

The following aspect view buttons are available on Actuator Faceplates

MinLib Loop Objects C 3BHS161562-611 81/87



Default View

Direct Link to
faceplate for Output to
IN/Out Connection first Valve

Input to Split Range Output to


Second Valve

Extended
Reduced View View
Input to Split Range
Input to Split Range

Figure 48 Split Range default view

Extended View

Help: Link to the


Document and
Quick Help

Figure 49 Split Range Extended view

MinLib Loop Objects C 3BHS161562-611 82/87



Function Plot

Out 2
Out 1

Input

Figure 50 Split Range Function Plot

This Plot shows the Values for OUT1 (left side vertical Axis) and OUT2 (right side vertical
Axis) for all possible Input Values (Bottom, horizontal Axis). The Bar Elements show the
current Values.

OUT1 Settings

When selected, the


below parameters
are set for the first
signal

Figure 51 Split Range Out1 Settings

Reference Table, OUT1 Settings


Entry Field Description
Input for OUT min Value for IN (in percentage) where OUT1 will be set to its minimum Range Value (0% OUT)
Input for OUT max Value for IN (in percentage) where OUT1 will be set to its maximum Range Value (100% OUT)
Override Range Select to override the Range and Unit for OUT1 with the Values defined in Faceplate
Range Min Range Minimum Limit for OUT1 – active only if Override Range is selected
Range Max Range Maximum Limit for OUT1 – active only if Override Range is selected
Unit Engineering Unit for OUT1 – active only if Override Range is selected
Fraction Number of Decimals shown for OUT1 – active only if Override Range is selected
The Values for Range Min/Max, Unit and Number of Decimals can only be edited while
Override Range is set, otherwise they are overwritten with the currently active Values.

MinLib Loop Objects C 3BHS161562-611 83/87



OUT2 Settings

When selected, the


below parameters
are set for the
second signal

Figure 52 Split Range Out2 Settings

Reference Table, OUT2 Settings


Entry Field Description
Input for OUT min Value for IN (in percentage) where OUT2 will be set to its minimum Range Value (OUT2 at
0%)
Input for OUT max Value for IN (in percentage) where OUT2 will be set to its maximum Range Value (OUT2 at
100%)
Override Range Select to override the Range and Unit for OUT2 with the Values defined in Faceplate
Range Min Range Minimum Limit for OUT2 – active only if Override Range is selected
Range Max Range Maximum Limit for OUT2 – active only if Override Range is selected
Unit Engineering Unit for OUT2 – active only if Override Range is selected
Fraction Number of Decimals shown for OUT2 – active only if Override Range is selected

5.2.4 Faceplate Permissions

Figure 53 Split Range Faceplate Permissions

MinLib Loop Objects C 3BHS161562-611 84/87



REVISION HISTORY

Version Changes Initials Date

A Initial draft AT 2018-01-31

B Update to new CI AT 2020-01

C Update for VCO MinLib Release NC 2020-03-05

MinLib Loop Objects C 3BHS161562-611 85/87



Figure Content
Figure 1 Loop Control Connections .............................................................................................................................. 6

Figure 2 PIDCtrl Connection with MOT1VVVF .............................................................................................................. 6

Figure 3 LCC with WeighFeeder .................................................................................................................................... 7

Figure 4 Action Property ................................................................................................................................................. 9

Figure 5 PIDCtrl Block.................................................................................................................................................... 12

Figure 6 PID Block Limitation....................................................................................................................................... 24

Figure 7 PIDCtrl Properties........................................................................................................................................... 25

Figure 8 PID default view .............................................................................................................................................. 30

Figure 9 PIDCtrl Extended view ................................................................................................................................... 31

Figure 10 Mode Indication .............................................................................................................................................. 32

Figure 11 Trend Indication ............................................................................................................................................. 32

Figure 12 MV Limits ......................................................................................................................................................... 33

Figure 13 Set Point Limits .............................................................................................................................................. 34

Figure 14 Output Limits .................................................................................................................................................. 35

Figure 15 Deviation Limits.............................................................................................................................................. 36

Figure 16 Block Input....................................................................................................................................................... 36

Figure 17 Block Alarm...................................................................................................................................................... 37

Figure 18 PCC Configuration ......................................................................................................................................... 37

Figure 19 Group Connection .......................................................................................................................................... 38

Figure 20 IO/MV Status .................................................................................................................................................. 38

Figure 21 General Properties.......................................................................................................................................... 39

Figure 22 Ranges Tab ...................................................................................................................................................... 39

Figure 23 PIDCtrl Second Extended View .....................................................................................................................40

Figure 24 PID Tuning Parameters .................................................................................................................................. 41

Figure 25 PID Tuning Parameters 2 ............................................................................................................................... 42

Figure 26 PID Modes ........................................................................................................................................................ 43

Figure 27 PID Faceplate permission.............................................................................................................................. 45

Figure 28 Alarm & Event list buttons............................................................................................................................. 46

Figure 29 Event List ......................................................................................................................................................... 46

Figure 30 PIDAdvCtrl Block ............................................................................................................................................. 49

Figure 31 PIDAdvCtrl default view .................................................................................................................................60

Figure 32 PidCtrl Extended View ................................................................................................................................... 61

Figure 33 PIDAdv Active Parameters ............................................................................................................................. 62

Figure 34 PIDAdv Gain Scheduling................................................................................................................................. 62

Figure 35 PIDAdv Tuning Parameters ........................................................................................................................... 63

Figure 36 PIDAdv Tuning Feedforward ......................................................................................................................... 64

MinLib Loop Objects C 3BHS161562-611 86/87



Figure 37 PID Auto Tuning .............................................................................................................................................. 65

Figure 38 PID Tune results .............................................................................................................................................. 65

Figure 39 PID Additional Loop Control ......................................................................................................................... 66

Figure 40 Ratio Control Block......................................................................................................................................... 70

Figure 41 Ratio Control Default View ............................................................................................................................ 74

Figure 42 Ratio Control Extended view ........................................................................................................................ 75

Figure 43 Ratio Control Mode ........................................................................................................................................ 75

Figure 44 Ratio Control Trend ........................................................................................................................................ 76

Figure 45 Ratio Control Out Limits ............................................................................................................................... 76

Figure 46 Ratio Control Out Range ............................................................................................................................... 77

Figure 47 Split Range Block ............................................................................................................................................ 79

Figure 48 Split Range default view ................................................................................................................................ 82

Figure 49 Split Range Extended view ............................................................................................................................ 82

Figure 50 Split Range Function Plot .............................................................................................................................. 83

Figure 51 Split Range Out1 Settings ............................................................................................................................. 83

Figure 52 Split Range Out2 Settings ............................................................................................................................. 84

Figure 53 Split Range Faceplate Permissions.............................................................................................................. 84

MinLib Loop Objects C 3BHS161562-611 87/87

You might also like