06 3BHS161558-612 MinLib Dosing Objects
06 3BHS161558-612 MinLib Dosing Objects
Dosing Objects
Control – AC800M – Minerals Library
Operation – Process Portal A - AC800M
Connect – Minerals Library
Contents
1. General ........................................................................................................................................ 4
3. Summary ..................................................................................................................................... 6
3.1 Architecture.................................................................................................................................. 6
4. RecipeCtrl ................................................................................................................................... 8
4.1 Basic description ........................................................................................................................ 8
4.2 Control ........................................................................................................................................... 9
4.2.1 Control Module location .......................................................................................... 9
4.2.2 Modes of Control....................................................................................................... 9
4.2.3 Extending RecipeCtrl to more than 6 Setpoints ...............................................10
4.2.4 SetPoint Type ............................................................................................................10
4.2.5 Diagram Graphical Representation...................................................................... 13
4.2.6 Parameter Description............................................................................................ 13
4.2.7 Data Type description............................................................................................. 16
4.2.8 Project Constants .................................................................................................... 19
4.3 Operation..................................................................................................................................... 21
4.3.1 Graphic Element RecipeCtrl ................................................................................... 21
4.3.2 Faceplate .................................................................................................................... 21
4.3.3 Reduced Faceplate ...................................................................................................22
4.3.4 Extended Faceplate ................................................................................................ 23
4.3.5 Faceplate ................................................................................................................... 25
4.3.6 Event List .................................................................................................................. 29
4.4 Replace WFC from BMILib_WeighFeeder .............................................................................. 31
6. SetpointCommInterface ......................................................................................................... 40
6.1 Basic description ...................................................................................................................... 40
6.2 Control ......................................................................................................................................... 40
6.2.1 Parameters ............................................................................................................... 40
6.2.2 Interface with a Weighfeeder ................................................................................41
6.3 WF_Prop Vs SetpointCommInterface ....................................................................................41
7. PID_RecipeSP ............................................................................................................................ 42
7.1 Basic description ...................................................................................................................... 42
7.2 Control ......................................................................................................................................... 42
7.3 Operation.................................................................................................................................... 49
8. Revisions................................................................................................................................... 50
1. General
This document contains a detailed description of the following objects:
– RecipeControl
– SetpointCommInterface
– Recipe_Template
800xA
Stands for ABB 800 extended Automation System.
AC800M
ABB Process Controller used for the Minerals Library AC800M Connect.
AC800M Connect
Connectivity of the AC800M controller family into system 800xAABB Process Controller used
for the Minerals Library AC800M Connect.
AI
Analog input signal.
AO
Analog output signal.
Consumer
A consumer is a physical process object controlled by the AC800M (e.g. motor, valve, gate,
damper). The number of consumers has a direct influence on the structure and complexity of
the system.
Control Module
Advanced (user defined) control object. Programmed in IEC 61131-3 standard languages. Con-
trol Modules are an extension to the IEC 61131-3 as POUs definition.
CM
An abbreviation for Control Module.
CCM
An abbreviation for Composite Control Module.
CB M
An abbreviation for EngineeringIT Control Builder M. This is the engineering tool for the
AC800 M/C.
DI
Digital input signal.
DO
Digital output signal.
Data Type
Name of a structured variable in Control Builder M. Data types are defined as POUs in CB M.
E1M
An abbreviation for Exterman Manual 1
E2M
An abbreviation for Exterman Manual 2
Function Block
User defined control function. Programmed in IEC 61131-3 standard languages. Function
Blocks are defined as POUs in CB M.
FB
An abbreviation for Function Block
FPL
An abbreviation for FacePlate
GCC
Group Control Connection, bus connecting the consumers with the group
I/O
Input / Output device. (e.g., ABB S800 IO System)
MAN
An abbreviation for Manual
PC
Personal Computer
PCC
Process Control Connection, bus connecting the basic objects (signals) with the consumers
and the group
PG2
Process Graphics 2, often referred as NG - New Process Graphics.
POC
An abbreviation for Point Of Control.
SP
An abbreviation for Set Point.
VVVF
Variable Voltage, Variable Frequency speed-controlled drive
3. Summary
This document contains a detailed description of the following Dosing Objects:
– RecipeCtrl
– SetpointCommInterface
3.1 Architecture
The basic building Block of all Dosing Objects is the RecipeSP structured Variable. It defines
the Values that belong to one Setpoint.
RecipeSP; components.
A maximum of 18 setpoints with the internal structure of the table above are then combined
together with a PreBin in a control module called RecipeRecord. With the preselection of a
group a specific recipe is selected and its stored configuration feed to the RecipeCtrls.
As illustrated in the figure below multiple of this RecipeRecords are finally combined in the
Recipe Template Control Module that holds the functionality to select one RecipeRecord (the
active RecipeSetpoints) and providing the interfaces (RecipeBus) with the RecipeCtrl mod-
ules. The current version supports a maximum of 3 RecipeCtrl modules, that are connected
with each other over the RecipeCtonrol Bus.
The actual setpoints are handled by a RecipeCtrl block which gets the current recipe similar
to an external reference. With the Recipe and the total setpoint as entries, the RecipeCtrl
block makes the needed calculations to define the 6 output values. These are the actual set-
points that are forwarded via the SPBus to the SetpointCommInterface which is not much
more than an interface block to connect the recipe output with the actual consumer object
control module. The destination of the calculated setpoints can be PIDs, weight feeders, vari-
able speed drives, etc.
4. RecipeCtrl
– Total Feed Setpoint from Faceplate (SPInt) or from the Application (SPExt)
– Selection of proportioning setpoints source from Faceplate (Manual), Recipe or from the
Application (External)
– 5 Types of Setpoints, that can be selected from the FPL or set from the Recipe:
Calculated: Free percentage of Total Feed Setpoint (fill up remaining ratio to 100%)
Individual Direct: constant value, not included in the Total Feed Calculation
Individual Ratio: Percentage of Total Feed Setpoint, not included in the Total Feed calcula-
tion
– Input for moisture of materials to apply the correct ratio on the dry material weight and
feeding the corrected setpoints of wet material for the weigh feeders setpoints.
– Integration with group sequence. Setpoint Source Mode set via group startup configured
by simply entering the step number parameter (1...999).
4.2 Control
4.2.1 Control Module location
The RecipeCtrl Control Module is located in the library BMIRecipeControlBase. The RecipeSP
and RecipeBus Data Types used by RecipeCtrl are located in the BMIRecipe_TemplateLib.
Manual (MAN):
The setpoint values are controlled from RecipeCtrl Faceplate directly. The additional SP set-
tings can be defined in the Extended View of the FPL.
Recipe (RCP):
The Setpoints are controlled from a recipe. The recipe setpoints are applied on group start or
whenever the mode is set to Recipe mode.
External (Ext):
The setpoint values are controlled by the application. The additional SP settings can be set in
the Extended View of the FPL. This is also the preferred mode when, the weight feeder set-
points are controlled by an external expert system.
Stopped (STP):
Special mode only enabled by stopping the group sequence (provided for Group Sequence
Control only). The control is basically the same as in manual mode and the setpoints are de-
fined from the Faceplate, however the summary alarm from the weigh feeders is suppressed
and not indicated on the process graphics while the group is stopped.
Parameter GrpStopStep needs to be set to > 1000 in order to set the RecipeCtrl to
Stopped mode during Group Stop Sequence
The Faceplate automatically hides the SPs when no SetpointCommInterface is connected and
thus no object name is set.
The Parameter ModeFromMaster can be used to force the connected Slave RecipeCtrl Blocks
to the same mode as the master RecipeCtrl. By definition the master is the first RecipeCtr
block, because it doesn’t have any connection in the RecipeCtronlIn parameter. The other
RecipeCtrl are only slaves.
Direct
Is a direct value in engineering units, for example: SP1 = 40 t/h, SP2 = 10 t/h. In case a mate-
rial moisture is configured (equivalent to > 0%), the value will be increased accordingly, e.g.
10% moisture SP1 = 44.4 t/h and SP2 = 11.1 t/h
Ratio
Is a ratio (in percent) of the Total Feed SP left after subtracting the direct setpoints, for ex-
ample: SP3 = 20 %, SP4 = 10 %. The ratio is defined for dry material, if moisture is configured
the outputs will be adjusted accordingly.
Calculated:
Is a factor to distribute the leftover free Total Feed SP, for example: SP5 = 1 k, SP6 = 4k. The
unit “k” has no physical meaning because it is just used to expand the setpoint with a factor,
e.g., the calculated SP5 will be 4 times smaller than the SP6.
Individual Direct
This type is like the direct type, with the difference that it is not included in the total calcula-
tion. Normally it is used for any setpoint that is related to the process function but is inde-
pendent from the total feed setpoint: SP7 = 2000 rpm and does not contribute to the total
feed.
Individual Ratio
It is like the ratio type, but not included in total feed and total MV calculation. Generally used
if the material is added on top of the actual Recipe Feed. For example: SP8 = 5 %
Note: This ratio uses directly the Total Feed SP Value and is therefore independent of any “di-
rect” setpoints.
Example Configuration
For this example, we use “total” values for the different setpoint types to explain the result:
Total Direct Type Values (t/h) = the sum of all direct type values
100% of the Ratio is defined as the TotalFeedSP minus the direct setpoints = 250 t/h
Total Ratio Type Values (t/h) = the sum of all ratio type values in the engineering units
Total Ratio Type Values (t/h) = (SP3 * (TotalFeedSP – Total Direct Type Values) / 100) + (SP4 * (To-
talFeedSP – Total Direct Type Values) / 100)
FreeSetpoint = TotalFeedSP – Total Direct Type Values – Total Ratio Type Values
The Calculated Setpoint is a factor, that defines the Ratio of the Free Setpoint where 100% is
defined by the Total of all Calculated Setpoints:
SP5 (t/h) = Total Free SP * (SP5 (k) / Total Calc Type Values)
SP6 (t/h) = Total Free SP * (SP6 (k) / Total Calc Type Values)
Finally, the total setpoint, and note that SP7 and SP8 are not included:
TotalFeedSP = 200 t/h + 50 t/h + 50 t/h + 25 t/h + 35 t/h + 140 t/h = 500 t/h
2 - 50 t/h
3 20 % 50 t/h
4 10 % 25 t/h
5 1k 14 % 35 t/h
6 4k 56 % 140 t/h
7 2000 rpm
8 5% 25 t/h
Totals 5k 100 % 500 t/h
As another example, in the ratio type, if for any reason the Recipe is wrong
If Total Ratio Type Values > 100 then a RatioFactor is calculated to reduce the Ratio accord-
ingly.
With this Error, the Total Feed will still be kept correct.
1 Name string [24] in yes ‘Name’ INIT: Tag name of the RecipeCtrl ((allowed
deliminators are “.” and “-“, no blanks “:” or
“;” allowed)
2 Description string [40] in yes ‘Description’ IN: Description text of the RecipeCtrl
10 TotalFeedSP RealIO in_out yes default IN: Total Feed Setpoint from application =
left SPExt Mode, Total Feed Setpoint from FPL =
SPInt Mode
11 TotalFeed RealIO out yes default OUT: Total Feed Setpoint sent to Consum-
ers
12 TotalMV RealIO out yes default OUT: Total Actual Feed MV from Consumers
14 RecipeControlIn RecipeControl- in_out yes default IN: Connection to control module Rec-
Bus left ipeControl
15 RecipeControlOut RecipeControl- out yes default OUT: Connection to control module Rec-
Bus ipeControl
22 GrpStepMan dint in yes cBMI.DINT_0 IN: Group Step to activate Manual Mode
(during starting 1..999, during stopping
1001-1999, 0 not used.
23 GrpStepManDelay time in yes cBMI.Time0s IN: Activation delay for Manual Mode
24 GrpPreSelectionMan string [50] in yes cBMI.Empty_ IN: PreBins the consumer is assigned to.
str Syntax: P1&P2|P3&N4 (= P1 AND P2 OR P3
AND NOT P4). AND before OR. Max 5x OR.
No Spaces allowed.
25 GrpStopStep dint in yes cBMI.DINT_0 IN: Group Step to stop RecipeCtrl (during
stopping 1001-1999, 0 not used )
26 GrpStopStepDelay time in yes cBMI.Time0s IN: Activation delay for Stopped Mode
27 GrpStepRCP dint in yes cBMI.DINT_0 IN: Group Step to activate Recipe Mode
(during starting 1..999, during stopping
1001-1999, 0 not us
28 GrpStepRCPDelay time in yes cBMI.Time0s IN: Activation delay for Recipe Mode
29 GrpPreSelectionRCP string [50] in yes cBMI.Empty_ IN: PreBins the consumer is assigned to.
str Syntax: P1&P2|P3&N4 (= P1 AND P2 OR P3
AND NOT P4). AND before OR. Max 5x OR.
No Spaces allowed.
30 GrpStepExt dint in yes cBMI.DINT_0 IN: Group Step to activate External Mode
(during starting 1..999, during stopping
1001-1999, 0 not us
31 GrpStepExtDelay time in yes cBMI.Time0s IN: Activation delay for External Mode
32 GrpPreSelectionExt string [50] in yes cBMI.Empty_ IN: PreBins the consumer is assigned to.
str Syntax: P1&P2|P3&N4 (= P1 AND P2 OR P3
AND NOT P4). AND before OR. Max 5x OR.
No Spaces allowed.
40 ModeFromMaster bool in no true INIT true: Disable the Mode Buttons in Face-
plate and follow the first RecipeCtrl Mode
45 ExtTxt string [35] in no cBMI_RcpCtrl. IN: Description text for External Mode, for
External_txt NLS support use ||AE_NLS_ 15refix and no
space in the text
47 EnExtDevLimits bool in no false IN false: Dev Limit Parameters are Cold Init
only, setting to true will overwrite the Limit
Settings from FPL
49 Dev_LoLim real in no -50 COLD INIT: Initial limit for deviation Low
alarm in [%]
51 Dev_AlarmDelay time in no 0s COLD INIT: Initial time delay for the devia-
tion limit level supervision
RecipeCtrlData; components.
RecipeCtrlDataInput; components.
2 SetRCP bool retain IN: Pulse, Set operation mode to Recipe. If permanent
true, selection of Manual is not possible from FPL
3 SetExt bool retain IN: Pulse, Set operation mode to External. If perma-
nent true, selection of Manual is not possible from
FPL
4 ExtAvailable bool retain true IN: Ready Signal for External Mode, connect to Availa-
ble of EO Interface for RMP on Ext
5 PreSelMan bool retain cBMI_RcpCt IN true: true = ActualRecipe is pre-selected for Man-
hidden rl.PreSel- ual, connected to PreBinData.PreSel in case parame-
Man terized PreSelection is not used.
6 PreSelRCP bool retain cBMI_RcpCt IN true: true = ActualRecipe is pre-selected for Recipe,
hidden rl.PreSel- connected to PreBinData.PreSel in case parameter-
RCP ized PreSelection is not used.
7 PreSelExt bool retain cBMI_RcpCt IN true: true = ActualRecipe is pre-selected for Exter-
hidden rl.PreSelExt nal, connected to PreBinData.PreSel in case parame-
terized PreSelection is not used.
8 PreselSP1 bool retain true IN: Pre-select SP1 for Manual/External Mode, in Re-
cipe Mode the Selection is set from the Recipe
9 PreselSP2 bool retain true IN: Pre-select SP2 for Manual/External Mode, in Re-
cipe Mode the Selection is set from the Recipe
10 PreselSP3 bool retain true IN: Pre-select SP3 for Manual/External Mode, in Re-
cipe Mode the Selection is set from the Recipe
11 PreselSP4 bool retain true IN: Pre-select SP4 for Manual/External Mode, in Re-
cipe Mode the Selection is set from the Recipe
12 PreselSP5 bool retain true IN: Pre-select SP5 for Manual/External Mode, in Re-
cipe Mode the Selection is set from the Recipe
13 PreselSP6 bool retain true IN: Pre-select SP6 for Manual/External Mode, in Re-
cipe Mode the Selection is set from the Recipe
14 ExtRefSP1 real retain IN: EXTernal REFerence Manual for SP1. Value is used
as output if open loop control External is selected.
15 ExtRefSP2 real retain IN: EXTernal REFerence Manual for SP2. Value is used
as output if open loop control External is selected.
16 ExtRefSP3 real retain IN: EXTernal REFerence Manual for SP3. Value is used
as output if open loop control External is selected.
17 ExtRefSP4 real retain IN: EXTernal REFerence Manual for SP4. Value is used
as output if open loop control External is selected.
18 ExtRefSP5 real retain IN: EXTernal REFerence Manual for SP5. Value is used
as output if open loop control External is selected.
19 ExtRefSP6 real retain IN: EXTernal REFerence Manual for SP6. Value is used
as output if open loop control External is selected.
20 ExtMoistSP1 real retain 0.0 IN: External Reference for Moisture of SP1 Material in
%
21 ExtMoistSP2 real retain 0.0 IN: External Reference for Moisture of SP2 Material in
%
22 ExtMoistSP3 real retain 0.0 IN: External Reference for Moisture of SP3 Material in
%
23 ExtMoistSP4 real retain 0.0 IN: External Reference for Moisture of SP4 Material in
%
24 ExtMoistSP5 real retain 0.0 IN: External Reference for Moisture of SP5 Material in
%
25 ExtMoistSP6 real retain 0.0 IN: External Reference for Moisture of SP6 Material in
%
26 SetSpInt bool retain IN pulse: Set operation mode to Internal setpoint out-
hidden put reference from FPL
28 AlarmEn bool retain true IN true: External Enabling of TotalFeed Deviation Su-
pervision
29 AEListEn bool retain true IN true: External Alarm List Enabling of AIS, tempo-
nosort rary disabling of unack alarming and entries in alarm-
list
RecipeCtrlDataOutput; components.
5 SPValid bool retain OUT: false if percent sp’s over 100%, any Set-
nosort point Limited or other general problem with sp
13 DEV_H BoolAL retain OUT: Indication of DEViation > High alarm limit
nosort
14 DEV_L BoolAL retain OUT: Indication of DEViation < Low alarm limit
nosort
15 SP_H bool retain OUT: Indication of Total Feed SetPoint High Li-
nosort mit.
16 SP_L bool retain OUT: Indication of Total Feed SetPoint Low Li-
nosort mit.
For the Interface to the Recipe a Parameter Recipe is available with Data Type: RecipeBus This
Type is defined in the BMIRecipe_TemplateLib.
RecipeBus; components.
7 SelectedName string retain ‘Selected Recipe’ Name of the current selected Recipe
nosort
9 EnableSelect bool retain TRUE Feedback from RecipeCtrl that the Se-
reverse lection can be changed (Disabled dur-
ing Group Startup)
7 cBMI_RcpCtrl.AE.NormalDevIndTr dint 14
11 cBMI_RcpCtrl.AE.ReducedDevIndTr dint 14
39 cBMI_RcpCtrl.SPType.Calculated dint 2
40 cBMI_RcpCtrl.SPType.Direct dint 0
41 cBMI_RcpCtrl.SPType.IndividualDirect dint 3
42 cBMI_RcpCtrl.SPType.IndividualRatio dint 4
4.3 Operation
4.3.1 Graphic Element RecipeCtrl
4.3.2 Faceplate
The RecipeCtrl Faceplate is divided into a default (Reduced) view for operation, an extended
view with Mode, Group and Limit settings, and a second extended view for all the manual set-
tings (SP Type, High Limit, Low Limit…)
Multi Trend
Alarm List
The Command Buttons are only available in the first RecipeCtrl with ModeFromMaster =
true. if the Parameter ModeFromMaster is false then Manual, Recipe and External Mode can
be selected independently for each RecipeCtrl.
Tagname
&
Description
Control Mode
Indication
The faceplate extended view allows to configure all Setpoint settings for Manual (and External) Mode:
Description
Setpoint Value for SP in Manual Mode
Setpoint Type Direct, Ratio, Calculated, Individual Direct or Individual Ratio
High Limit Setpoint High Limit
Low Limit Setpoint Low Limit
SP Selected Manual Selection for SP
Speed Inc Increase Rate of Change Limitation
Speed Dec Decrease Rate of Change Limitation
Enable Speed Limit Enable Rate of Change Limitation
Dev Indication of current Deviation in percentage
High Limit (Dev) Deviation High alarm limit
Low Limit (Dev) Deviation Low alarm limit
MV Indication of current Measured Value
Max Indication of Range maximum of MV
Min Indication of Range minimum of MV
4.3.5 Faceplate
Tab Description
Mode Available control modes and current mode
Group Information about Group steps and Link to the controlling Group
Dev Limits Dev Settings for the Total Feed. (Only available in the Master RecipeCtrl)
SP Limits Total Feed Setpoint Limit Settings (Only available in the Master RecipeCtrl)
1.1.1.1. Mode
Field Description
Man Manual: SP is set directly via the faceplate
Rcp SPs are set by the Recipe
Ext SPs are set by the Application (External)
STP Recipe is stopped from the Group (similar to Manual but with
Alarm Indication suppressed)
SP Tracking Recipe Manual SP follows the Recipe Setpoints during Recipe Mode
SP Tracking External Manual SP follows the External Setpoints during External Mode
1.1.1.2. Group
Manual Step to set the RecipeCtrl to Manual Delay for Preselection Condition
mode Manual e.g P2
Step
Stop Step to stop the RecipeCtrl (set Delay for n.a.
Mode Stopped) Stop Step
Recipe Step to set the RecipeCtrl to recipe Delay for Preselection Condition
Mode, and/or apply the currently se- Recipe e.g P1
lected Recipe Step
External Step to set the RecipeCtrl to External Delay for Preselection Condition
mode External e.g P2 & P1 | P3 & N1 (P2
Step and P1) or (P3 and not P1)
No of Steps Max number of steps in the Drive n.a. n.a.
Group
When a RecipeCtrl is not a member of a Group, the Step Numbers are “0”
Deviation Settings between Total Feed SP and Total MV. These settings are only available in
the Master RecipeCtrl, in the other RecipeCtrl (slaves) are only indications.
Field Description
High Limit The Deviation Alarm Limit if the Total MV is higher than the Setpoint, in per-
centage of the MV Range
Low Limit The Deviation Alarm Limit if the Total MV is lower than the Setpoint . in per-
centage of the MV Range
Hysteresis The Hysteresis from Alarm to good state, in percentage of the MV Range
1.1.1.3.1. 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 for Inc/Dec Step Auto Calculation sets the Stepsize to a multiple of 10
times 1 or 5 dependent on the Range of 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 Limits for Entry If set, the Max Increase / Decrease Values are enforced
Window
Max Increase The Direct Entry Window’s high limit is set to the cur-
rent Value plus the Value given here
Max Decrease The Direct Entry Window’s low limit is set to the cur-
rent Value minus the Value given here
SP Tracking External If set, Total Feed SP will track the External Setpoint
Reference while in SPExt Mode
For the RecipeCtrl the events that are tracked are mode changes and limited Setpoints.
Notice that the list from the faceplate will show only the events of the RecipeCtrl
itself
– Man SPInt
The RecipeCtrl event message has a dynamic structure, this means that it changes depend-
ing the actual Object Status.
The first case regards to mode changes. When a mode is changed from one type to the other,
and event is created and the structure for that case is the following:
[MODE] Description
Man Manual mode selected
Ext External mode selected
Rcp Recipe mode selected
The RECIPE NAME is only shown in Recipe Mode and corresponds to the currently selected
Recipe. This Name is configured in the Recipe connected to the RecipeCtrl Control Module.
The string “Lim:” is followed by all Setpoints that are currently limited for any reason. This in-
cludes the Limitations from SPCommInterface Control Module.
Following example shows the Message if the Limited SP are: SP1, SP3 and SP4:
RMP Mode can be handled using the EOInterface Library together with External Mode (EnExt
= true), if no RMP is available External Mode can be set to false.
EnRCP should be set to false, this Feature was not available with the old Block.
The SPType needs to be configured online in the Faceplate. To replace WFC, the first Setpoint
should be of type “Calculated”, the other Setpoints are “Ratio”. For Type Calculated (here
SP1), set the Value for the SP to 1.0. With the default Value of 0 the Calculated SPType will not
work.
For this special case, the first Setpoint Indication will be replaced with the Indication of the
remaining Percentage, to resemble the WFC Indication. Note that the Setpoint for Calculated
can still be edited via the Extended Faceplate in this case.
5. Recipe Template
The libraries are released, and it is required to create a new Library Version in the system to
be able to adapt them to the individual project. To do this, navigate to Library Structure - Li-
braries – BMIRecipe_TemplateLib – BMIRecipe_TemplateLibExt_GraphiXs – Library Version
Definition and Click on the “New Version…” Button to create a local copy of the Library. After
this the project specific adaption the Graphic Element “RecipeUsageEntity” is possible as de-
scribed in 5.3.7.
– an initial setpoint
– a setpoint type
The recipe template has a graphic PG2 element to facilitate a user (operator) the selection of
the current and future recipes, as well as the detail configuration as listed above for each set-
point. The screenshot below shows a nice example on how the RecipeTemplate graphic ele-
ment was embedded in a process graphic display together with the group and MVandSP con-
trols of the individual weight feeders or VVFs.
5.3 Control
5.3.1 Diagram Graphical Representation
2 Totals RecipeSPBus in_out yes default IN_OUT: Used to calculate the to-
tal ratio
5 Ratio real out yes 0.0 OUT: Used to calculate total ratio
6 KFactor real out yes 0.0 OUT: Used to calculate total Calc
Factor
RecipeRecordBus
The graphical interface does indicate the calculated remaining ratio value for each setpoint,
that does have the setpoint type “Calculated”. In case of a configuration error, like shown in
the picture below, the setpoints of the type ratio do already account for more than 100%.
Therefore, the calculated remaining ratio value is intolerable and highlighted in yellow.
Each setpoint of any recipe is defined by clicking on the menu symbol contained in every set-
point row. An example is shown in the following figure. For each setpoint the user / operator
can define the setpoint configuration equivalent to the settings in 4.3.4.
Note: by definition the setpoints of the currently selected recipe cannot be modified.
6. SetpointCommInterface
6.2 Control
6.2.1 Parameters
Name Data Direc- FD Initial value Description
Type tion Port
1.1.1.4. Mode
IO.In.CorrectMode needs to be set to the State that is required on the Consumer to accept
and apply the Setpoint from RecipeCtrl. This usually means “Running / Remote Mode” and
“External Setpoint” for the Weighfeeder.
1.1.1.5. Deviation
IO.In.Dev is the Deviation of the MV to the Setpoint. This Value is shown in the RecipeCtrl
Faceplate and is required to be supplied from the Weighfeeder or the Glue Logic. The other
Deviation Inputs should be connected if they are available as well to have the full indication in
the RecipeCtrl but there is no issue if these are left out, these are mainly required to get a
correct “TotalSPRangeDynMax / Min” output from RecipeCtrl.
1.1.1.6. Setpoint
Feedback for the Setpoint Limits, these inputs should be connected if the Setpoint is limited
in the Weighfeeder (in addition to the MV.Parameters.Min / Max) to get a correct “Total-
SPRangeMax / Min” in the RecipeCtrl.
– The MVDescription should be describing the Type of Material (to understand what the
Setpoint is for), not the Weighfeeder Description.
– The ObjectName need to be equal to the name of the consumer object (MOT1,
MOT1_VVVF, etc “Name” Parameter)
– This Input also replaces the “SELx” and “RUNx” Parameters that were available on the WFC
before.
7. PID_RecipeSP
– One Variable Connection between RecipeCtrl and PIDCtrl, supports Communication Varia-
bles
7.2 Control
Name Data Direction FD Port Initial value Description
Type
1 Name string in yes 'Name' INIT: Tag name of the Wrapper (allowed delimi-
[24] nators are "." and "-", no blanks ":" or ";" al-
lowed)
2 PIDName string in yes 'Name' INIT: Tag name of the PIDCtrl (allowed delimina-
[24] tors are "." and "-", no blanks ":" or ";" allowed)
5 Group Grp- in_out yes left default IN/OUT: Connection to control module GROUP
DrvCon (sequencer)
9 MV RealIO in_out yes left IN/OUT: Measured process value (e.g., an AIS or
AIC signal). Please use IO.FilteredSignal when
noisy signal
10 MV_FieldDe dword in no 16#80C0 IN: 2nd DWORD for MV Field Device Status Su-
viceStatus pervision e.g., Profibus PA Devices etc. If value
equals 16#80C0 the FPL indication is hidden
11 OUTP RealIO out no default IN/OUT: Output signal of the PID Loop (Use
IO.<GRP>.<PID>.Out.OUTP in case no AOX is
used)
12 OUTCC Loop- out yes default OUT: Output signal of the PID Loop for connec-
Con- tion to Consumer - NOTE: use always only one
trolData of OUTCC and OUTP!
13 Actua- RealIO in_out yes left default IN/OUT: Actuator Position. (Use
torPos IO.<GRP>.<PID>.Out.OUTP in case no Actuator
position is available)
15 BalRef real in yes 0.0 IN: BALancing REFerence input. Safety value as-
signed to the OUTPut in case I/O or HW error
occurs.
16 Grp- dint in yes cBMI.DINT_0 IN: Group Step 1 to to activate Recipe Setpoint
StepRecipe Mode (during starting 1..999, during stopping
1001-1999, 0 not used.
17 Grp- time in yes cBMI.Time0s IN: Activation / Deactivation delay for Group
StepReci- Step 1
peDelay
18 GrpStep2 dint in yes cBMI.DINT_0 IN: Group Step 2 to to activate GrpMode2 (dur-
ing starting 1..999, during stopping 1001-1999,
0 not us
20 Grp- time in yes cBMI.Time0s IN: Activation / Deactivation delay for Group
Step2Delay Step 2
21 GrpPreSe- string in yes cBMI.Empty_ IN: PreBins the consumer is assigned to. Syntax:
lection2 [50] str P1&P2|P3&N4 (= P1 AND P2 OR P3 AND NOT P4).
AND before OR. Max 5x OR. No Spaces allowed.
22 GrpStep3 dint in yes cBMI.DINT_0 IN: Group Step 3 to to activate GrpMode3 (dur-
ing starting 1..999, during stopping 1001-1999,
0 not us
24 Grp- time in yes cBMI.Time0s IN: Activation / Deactivation delay for Group
Step3Delay Step 3
25 GrpPreSe- string in yes cBMI.Empty_ IN: PreBins the consumer is assigned to. Syntax:
lection3 [50] str P1&P2|P3&N4 (= P1 AND P2 OR P3 AND NOT P4).
AND before OR. Max 5x OR. No Spaces allowed.
27 AfterBal- dint in yes 1 IN: After balance set mode. [0= Last Mode,
Mode 1=Man, 2=Auto, 3=ExtMan1, 4=ExtMan2, 5=Ex-
tAuto1, 6=ExtAuto2]
29 EnMan bool in no true IN true: Manual mode enabling (open loop con-
trol)
30 EnAuto bool in no true IN true: Auto mode enabling (closed loop con-
trol)
34 ExtMan1Txt string in no cBMI.Empty_ IN: Description text for ExtMan1 Mode, for NLS
[35] str support use ||AE_NLS_ preffix and no space in
the text
35 ExtMan2Txt string in no cBMI.Empty_ IN: Description text for ExtMan2 Mode, for NLS
[35] str support use ||AE_NLS_ preffix and no space in
the text
36 RecipeTxt string in no 'Recipe' IN: Description text for Recipe SP Mode, for NLS
[35] support use ||AE_NLS_ preffix and no space in
the text
37 Ex- string in no cBMI.Empty_ IN: Description text for ExtAuto2 Mode, for NLS
tAuto2Txt [35] str support use ||AE_NLS_ preffix and no space in
the text
38 Exter- bool in no false IN: External Error Input forwarded to the Recipe
nalReci- Control, true = error
peError
39 Exter- string in no 'Error' IN: External Error Text forwarded to the Recipe
nalReci- [20] Control
peErrorTxt
46 ModeTr bool in no true IN: True enables events on mode change [Man,
Auto, Ext, etc.]
48 EnExtPID- bool in no false IN: false = settings from Operate IT, true = ex-
Settings ternal settings can be used (Auto Tuning will
not work
49 PID_ASPTra bool in no true COLD INIT true: Init Par.for PID auto setpoint
cking tracking. [true = auto setpoint is tracking the
MV or ExtRefAuto]
50 PID_ASPSp real in no 25.0 COLD INIT 25.0: Initial value for the maximum
eed change rate of the sepoint in closed loop mode
[%/s], Minimum value can be 0.1
51 PID_ASPTra bool in no true COLD INIT: Faceplate parameter for PID auto
ckingExtAu setpoint tracking when leaving ExtAutoModes
to [true = auto setpoint is tracking the MV]
52 PID_BumpF bool in no true COLD INIT true: Init par. BumpFree transition on
ree mode changes. [true = ASPSpeed used for SP
mode changes]
53 PID_MOUTP bool in no true COLD INIT true: Init Par.for PID Manual Output
Tracking tracking. [true = manual ouput is tracking the
OUTP or ExtRefMan]
54 PID_OUTPS real in no 25.0 COLD INIT 25.0: Initial value for the maximum
peed change rate of the output signal [% / s], Mini-
mum value can be 0.1
56 PID_Direct bool in no false COLD INIT false: If direct = true output is in-
creasing (decreasing) on increasing (decreas-
ing) input
57 PID_Gain real in no 1.0 COLD INIT 1.0: Initial value for the normalized
controller gain
58 PID_Ti real in no 20.0 COLD INIT 20.0: Initial value for the integration
time
59 PID_Td real in no 0.0 COLD INIT 0.0: Initial value for the derivation
time
60 PID_DerFilt real in no 0.0 COLD INIT 0.0: Initial value for the Filter for the
erTime D-part.
61 PID_MVFilte real in no 0.0 COLD INIT 0.0: Initial value for the measured
rTime value input filter.
62 PID_DeadZ real in no 0.0 COLD INIT 0.0: Initial value for the dead zone of
one the control error
63 PID_FfGain real in no 0.0 COLD INIT 0.0: Initial value for the feedforward
gain
64 En- bool in no false IN: false = PID_Offset from Operate IT, true =
ExtPIDOff- parameter can be used as live value (Auto Tun-
set ing will not work
65 PID_Offset real in no 50.0 COLD INIT 0.0: Initial value for the offset of the
output for P- and PD-controller
66 EnExtLim- bool in no true IN: false = MV / DEV limits from FPL, true = Dev
its from Recipe, Parameters for MV Limits
67 MV_HiLim2 real in no 100 COLD INIT: Initial limit for High2 alarm.
68 MV_BlkHiLi bool in no true COLD INIT: Initial value for blocking of the limit
m2 high 2 handling
71 MV_HiLim1 real in no 100 COLD INIT: Initial limit for High1 alarm.
72 MV_BlkHiLi bool in no true COLD INIT: Initial value for blocking of the limit
m1 high 1 handling
75 MV_PHiLim real in no 90 COLD INIT: Initial limit for Process High alarm.
76 MV_BlkPHiL bool in no true COLD INIT: Initial value for blocking of the limit
im Process High handling
79 MV_PLoLim real in no 10 COLD INIT: Initial limit for Process Low alarm.
80 MV_BlkPLoL bool in no true COLD INIT: Initial value for blocking of the limit
im Process Low handling
84 MV_BlkLoLi bool in no true COLD INIT: Initial value for blocking of the limit
m1 low 1 handling
88 MV_BlkLoLi bool in no true COLD INIT: Initial value for blocking of the limit
m2 low 2 handling
92 MV_AlarmD time in no 0s COLD INIT: Initial time delay for the MV limit
elay level supervision
93 MV_EnIndiv bool in no cBMI.PID1.En IN: Enables the individual alarm delay setting
id- Individ- for all the 6 limits in the faceplate. If True,
ualAlarmDel ualAlarmDela AlarmDelay has only effect for upgrade.
ays ys
99 DEV_Alarm time in no 0s COLD INIT: Initial time delay for the deviation
Delay limit level supervision
100 Intlk- time in no 0s INIT: Bypass Interlock for a certain time after
StartInhibit start of PCC parent (MOTx, VLVx Order)
101 IntlkLoc- bool in no false INIT: Bypass Interlock in LOC mode if LCBStart
StartOver- is continuously pushed. All PCC parents need to
ride be in LOC.
102 En- bool in no false IN: false = SP limit settings from Operate IT,
ExtSPLim- true = COLD INIT Values can be used as external
its limits
103 SP_HiLim real in no 100 COLD INIT: Initial limit for setpoint high limit
104 SP_LoLim real in no 0 COLD INIT: Initial limit for setpoint low limit
105 EnExtOUT- bool in no false IN: false = OUT limit settings from Operate IT,
Limits true = COLD INIT Values can be used as external
limits
106 OUT_HiLim real in no 100 COLD INIT: Initial limit for output high limit
107 OUT_LoLim real in no 0 COLD INIT: Initial limit for output low limit
108 EnConPu bool in no false IN: enabling of ConPu 3 state position control-
ler. (Actuator Position required !!)
109 EnExtPU- bool in no false IN: false = settings from Operate IT, true = ex-
Settings ternal PU settings can be used
110 PU_DecIfNo bool in no false IN: true = Send a decrease command for dura-
tEnabled tion of PU_TravelTime in case CON PU is disa-
bled
111 PU_OrdInc bool out yes false OUT: connection to boolean signal for increas-
ing of setpoint
112 PU_OrdDec bool out yes false OUT: connection to boolean signal for decreas-
ing of setpoint
114 PU_ReCalcT time in no time#10s COLD INIT: Cycle time for re-calculation of pulse
ime length. If 0, calculation of pulse every task cycle
116 PU_GapTim time in no time#0s COLD INIT: Actuator gap. time which is added
e to the pulse when direction is changed
117 PU_TravelTi time in no time#1m COLD INIT: Total setpoint "travel" time (defined
me as time to change the setpoint from 0 to 100
%)
118 PU_DirChg time in no cBMI.Time2s IN INIT: Waiting time when changing direction
Time (INC/DEC). If 0, down time is one task cycle
119 PU_GainInc real in no 1.0 COLD INIT: Gain for pulse length calculation
when increasing the setpoint
120 PU_GainDe real in no 1.0 COLD INIT: Gain for pulse length calculation
c when decreasing the setpoint
122 Grp- bool in no true IN true: If true, group does not go to hold if PID
Step1Over- is not in requested mode.
ride
123 Grp- bool in no true IN true: If true, group does not go to hold if PID
Step2Over- is not in requested mode.
ride
124 Grp- bool in no true IN true: If true, group does not go to hold if PID
Step3Over- is not in requested mode.
ride
125 GrpReadyO bool in no false IN false: If true, group shows ready even if a sig-
nSigError nal error exists.
126 Pro- bool in no true IN true: Used to disable simulation from Pro-
cessRun- cess conditions (used for Direct Closed Loops)
ForSim
7.3 Operation
The User Interface is the same as for the PIDCtrl Control Module.
The Recipe Setpoint is connected to the External Auto 1 Mode, and this mode should normally
be set during operation.
By default, the MV Limits and Deviation Limits are set external (from the parameters) and
cannot be changed from the Faceplate. This is required to support the external Deviation
Limits set from the Recipe.
8. Revisions
Rev. Page (P) Description Date Dept./Init.
Chapt. (C)
A Initial Version 20.05.2003/PVG
B Update for Minerals Library Release 2.0/1 09.09.2003/GPC
C Update for Minerals Library Release 2.1/1 05.04.2004/GPC
D Further Update for Minerals Library Release 2.1/1 11.07.2004/GPC
E Update for Minerals Library Release 3.1/1 04.08.2004/GPC
F Update for Minerals Library Release 4.0/0 27.05.2005/HT
G Update for Minerals Library Release 5.0/0 16.01.2006/N.B
H Update information for event messages and alarm 15.09.2006/WSV
messages description for all objects
I All New RecipeCtrl, SetpointCommInterface 22.06.2014/DA
J Update for Minerals Library Release 5.1/5 13.08.2014/LK
K 4 Added Preselection and Stopped Mode for Rec- 02.02.2015/LK
ipeCtrl
L Formal changes for Release 6.0 23.08.2016/GS
M (7) Remove WFC 27.01.2016/LK
N All Add Moisture and recipe template 22.10.2018/GS
O All Update to new template 01.12.2021/JM