Professional Documents
Culture Documents
H651-15 1 Minerals Applications - RevE
H651-15 1 Minerals Applications - RevE
TABLE OF CONTENTS
Chapter 15 Minerals Library Minerals Applications....................................................................................................................1
15.1 General Information.............................................................................................................................................................2
15.1.1 Objectives.....................................................................................................................................................................2
15.1.2 Legend..........................................................................................................................................................................2
15.1.3 Reference Documentation for Minerals Library AC800M Connect............................................................................2
15.2 Minerals Library Overview.................................................................................................................................................3
15.2.1 Object Categories..........................................................................................................................................................3
15.2.2 Library Modules...........................................................................................................................................................5
15.2.3 Library Module Locations in the Aspect Directory....................................................................................................10
15.3 Minerals Applications Overview.......................................................................................................................................11
15.3.1 Application Layout and Data Flow.............................................................................................................................11
15.3.2 Connection Principles and Data Flow........................................................................................................................12
15.4 Structure and Base Configuration of Minerals Applications.............................................................................................16
15.4.1 Application Structure..................................................................................................................................................16
15.4.2 Variable Structure and Data Types..............................................................................................................................17
15.4.3 Control Modules Base Configuration.........................................................................................................................23
15.4.4 Interlocking of Consumer Objects or Groups.............................................................................................................36
15.5 Steps to create a Minerals Application with Control Modules..........................................................................................40
15.5.1 Description..................................................................................................................................................................40
15.5.2 Procedure....................................................................................................................................................................40
15.5.3 Step 1 Create Data Types for Global Structured Variable IO..................................................................................40
15.5.4 Step 2 Declare the Global Structured Variable IO...................................................................................................43
15.5.5 Step 3 Connect I/O-signals to Hardware.................................................................................................................44
15.5.6 Step 4 Create Single Control Module (SCM)..........................................................................................................47
15.5.7 Step 5 Declare the External Variable in SCM..........................................................................................................48
15.5.8 Step 6 Create Control Module Instances (CM).......................................................................................................49
15.5.9 Step 7 Connect Parameters of CM instances...........................................................................................................50
15.5.10 Step 8 Configure or Program Interlocks................................................................................................................53
Chapter 15 - 1
329668552.doc
Utilize the Minerals Libraries that are used as a base for application configuration
and programming.
Explain the different object types and their basic functionality from the controller
point of view.
Legend
>
Italic
Bold
Chapter 15 - 2
3BHS 161554
Product Guide
3BHS 161555
3BHS 161556
3BHS 161562
3BHS 161557
3BHS 161561
3BHS 161558
3BHS 161559
3BHS 161560
3BHS 240189
3BHS 259604
3BHS 259605
3BHS 253000
3BHS 294896
Basic Objects
Basic Objects (AI, AO, DI, DO) provide access and control for process IO-signals and
calculated IO-signals.
AIS
AOS
DIS
DOS
AIC
AOC
DIC
DOC
Communication Objects
Communication object to establish and supervise the MMS communication.
Consumer Objects
Consumer objects provide access and control for the physical devices (consumers) in
the plant.
MOT1
MOT2
MOTP
VLV1
VLVNO1
Chapter 15 - 3
329668552.doc
Dosing Objects
Dosing objects provide access and control for weigh feeder proportioning.
WFC
WF_Prop
Group Objects
The Group Objects provide access and control for a process group.
GROUP
PREBIN
STW
Loop Objects
One loop object providing access and control for analog control loops.
PIDCtrl
CircuitBreaker
CircuitBreakerABBREF542Plus
Report Objects
Report objects provide access to the production counters.
PulsCount
ReportingCount
Chapter 15 - 4
VVVFSerial
MOT1Insum
UMC22 ABB
MOT1_MNSiS_MBTCP
Chapter 15 - 5
329668552.doc
Library Modules
Before starting the application development with the Control Builder M insert the
Minerals main library module in your project:
BMIStandard
This needs some helpers, from Minerals Library, as well as from standard library. The
following Minerals Library modules will be automatically inserted with BMIStandard:
BMIAdaptions
BMIConstAndVar
BMISupport
When weighing feeders are part of your application, the following Minerals Library
module has to be inserted as option:
BMILib_WeighFeeder
The complete library set is called ControlIT AC800M Minerals Library. It contains
all the controller software modules that are used to configure Minerals applications
(main focus being in Minerals Industry) with ControlIT AC800M controllers.
Chapter 15 - 6
The object related software modules have been developed as Control Module types.
The most Minerals Library object types are included in this part:
Chapter 15 - 7
329668552.doc
This list of
Data Types
is truncated.
Example:
CM DIS needs
DISData connection
type.
Chapter 15 - 8
Each project constant has a structured name that is used to connect the constant value
in the Minerals Library modules internally or in the application. In the example above,
the selected project constant named cBMI.AE.AlarmTr has the value of 3 of data
type dint.
Example of the usage of project constants in CM GROUP parameters:
The parameter (23) AlarmTr gets as initial value from the project constant
cBMI.AE.AlarmTr the value of 3.
Chapter 15 - 9
329668552.doc
Loop objects
Consumer objects
Preselection
Start Warning
For further details, see the reference manual for Dosing Objects.
Chapter 15 - 10
NOTE!
Chapter 15 - 11
329668552.doc
Global VariableIO
One application
Naming exampleofIOvariable:
IO.AIS._561_BM1_T1.H1.Normal
SCM (Single Control Module)
AIS(collection)
CM (Control Module)
AIS(AnalogInputSignal)
Process connections
IO
HW
Chapter 15 - 12
IO
Editor
CM (Control Module)
GROUP(Groupcontrol)
CM (Control Module)
MOT1 (Motorcontrol)
CM (Control Module)
VLV1(Valvecontrol)
IO
variable
Control
Module
IO
variable
DIS
Name1
IO.DIS.Name1
oftypeDISData
IO.DIS.Name1.SigHW
oftypeBoolIO
IO
Editor
IO
PCC
HW
HWconnection,IOvariableandControlModule
IO.AIS.Name3
oftypeAISData
IO.AIS.Name3.Signal
oftypeRealIO
IO
Editor
HW
IO
Editor
HW
AnalogInputSignal(AIS)
IO
variable
IO.DIX.Name2
oftypeBool
Control
Module
IO
variable
AIS
Name3
IO
PCC
IO.AIX.Name4
oftypeReal
IO
Editor
HW
Chapter 15 - 13
329668552.doc
Motor Controller(MOT1)anditshelpers
HWconnections,IOvariableconnections,SingleControlModuleandControlModules
DIS(CM)
Name1
IO.DIS.Name1
oftypeDISData
IO
PCC
IO.GroupName1.Name5
oftypeMOT1Data
AIS(CM)
PCC interlockconnections(Method2)
IO.AIS.Name3
oftypeAISData
IO.DIX.Name2 oftypeBool
IO
PCC
IO.DOX.Name6 oftypeBool
Name3
(PCC=ProcessControlConnection)
Customer Logic
&
e.g.PCCLightinterlocksignalslike:
IC,IB1,IB2,IB3,IB4,IA(Method1)
Control Module(CM)
MOT1
Name5
IO
Editor
Chapter 15 - 14
IO
OvertemperatureM1
OverloadM2
AvailabilityM3
FeedbackRunFdBckRun
StartOrderOrd
Group(CM)
Consumers
Motor (CM)
GCC
Bus
PCC
Bus
Signals
AIS (CM)
DIS (CM)
AIS (CM)
Valve (CM)
DIS (CM)
AIS (CM)
PID (CM)
DIS (CM)
Chapter 15 - 15
329668552.doc
Control Modules (CM) and variable connections for GCC and PCC connections. GCC
and PCC are components of the structured IO variable.
Chapter 15 - 16
IO
variable
Groupcontrol
ControlModule(CM)
Consumer: Motor/(Valve/PID)
ControlModule(CM)
Signal: AIS/(DIS)
GCC
Bus
ControlModule(CM)
PCC
Bus
PCC interlock
configuration
Chapter 15 - 17
329668552.doc
Chapter 15 - 18
The application N1
is connected to
controller N1.
Data Types
Control Modules
Chapter 15 - 19
329668552.doc
Chapter 15 - 20
Data Types
The Data Types are used for the following purpose:
To set-up the structure (via structured data types) of the global variable IO.
To define all the variable components and their data types that are going to be
needed in the application.
Chapter 15 - 21
329668552.doc
Open the
Data Type Editor.
Components for
I/O-signals
Components for
Group Controls
Other components
All components and their data types defined here are going to be needed in the
application. The actual signals for each Data Type (Component Type) are defined in
separate tables, in so-called Data Types. The IO_Type collects all underlaying type
definitions together into common structure.
Chapter 15 - 22
Functionality
Digital Input Signals, that are going to be presented on the operator station
(as alarm and/or dynamic point in a graphic display)
Digital Input Signals, that are NOT presented on the operator station
(only used in the application in the Control Builder). The signal is in general
connected to an input of an object, like an availability signal for a motor.
Digital Input Calculated. Signals that are going to be presented on the operator
station (as alarm and/or dynamic point in a graphic display) and that are the
result of a calculation or control logic in the application.
DOS/DOX/DOC
AOS/AOX/AOC
Each digital input signal itself contains a set of pre-defined sub variables, which are
defined by Data Type DISData. DISData in turn is defined in the library module
BMIConstAndVar (which is read only).
Chapter 15 - 23
329668552.doc
Each analog input signal itself contains a set of pre-defined sub variables, which are
defined by Data Type AISData. AISData in turn is defined in the library module
BMIConstAndVar.
Examples of connecting the global, structured variable IO:
IO.AIS._561_BM1_T1
; Complete variable connection.
IO.AIS._561_BM1_T1.Signal
; S800 HW I/O connection.
IO.AIS._561_BM1_T1.FilteredSignal
; Filtered value connection.
IO.AIS._561_BM1_T1.H1.Normal
; Normal state of H1 limit connection.
Chapter 15 - 24
Variables for
Preselections
General variables
for the Group
Each Preselection (P1 P5) contains a set of pre-defined sub variables, which are
defined in the Data Type PreBinData. PreBinData in turn is defined in the library
module BMIConstAndVar.
The principle is the same for all other objects that can be part of a group:
MOT1, MOT2, MOTP, MOT1_VVVF :
Motor objects
NOTE!
PIDCtrl
VLV1, VLVNO1 :
PID Controller
Valve objects
Each object type (MOT1, MOT2,) has its corresponding set of pre-defined sub
variables that are defined in its object type specific Data Type, in the library
BMIConstAndVar.
E.g.
Chapter 15 - 25
329668552.doc
AIS
AIS_Type
AIC
AIC_Type
AIX
AIX_Type
AOS
AOS_Type
AOC
AOC_Type
AOX
AOX_Type
DIS
DIS_Type
DIC
DIC_Type
DIX
DIX_Type
DOS
DOS_Type
DOC
DOC_Type
DOX
DOX_Type
<Grp1>
<Grp1>_Type
<Grp2>
<Grp1>_Type
<Grp3>
<Grp1>_Type
<Grp4>
<Grp1>_Type
STW
System
MMSCom
Chapter 15 - 26
STW_Type
System_Type
MMS_Type
Variable
names
AISData
AISData
AISData
AOSData
AOSData
AOSData
bool
bool
bool
In
GrpInput
Out
GrpOutput
GrpDrvCon
GrpDrvCon
<P1>
PreBinData
<P2>
PreBinData
<Cons 1>
MOT1Data
<Cons 2>
MOT2Data
<Cons 3>
VLV1Data
bool
real
<STW 1>
STWData
<STW 2>
STWData
<Board1>
dint
<Board2>
dint
<MCC1>_AV
bool
N1_N2
N1_N2_Type
<Signal1>
real
N2_N1
N1_N2_Type
<Cons1>_RFS
bool
<Cons1>_RUN
bool
--C_Type always
uses --SData type
Optional Group
specific variables, if
needed
NOTE!
CM Object Type
SCMs: DIX, DOX, AIX, and AOX do not have any CMs. They are intended to be
container for seldom needed special control logic with --X type signals.
Chapter 15 - 27
329668552.doc
RULE:
Chapter 15 - 28
The instance name of the CM DIS must be the same as the variable name created in
the Data Type DIS_Type !
RULE:
The instance name of the CM AIS must be the same as the variable name created in
the Data Type AIS_Type !
The instance name of the CM must be the same as the variable name created in the
Data Type!
Single Control Modules (SCM) for Group and Start Warning Objects
For each Group and Start Warnings belonging to a process section / application, one
Single Control Module (SCM) is created, as shown below:
RULE:
The instance name of the CM must be the same as the variable name created in the
Data Type!
Chapter 15 - 29
329668552.doc
RULE:
The instance name of the CM must be the same as the variable name created in the
Data Type!
RULE:
Chapter 15 - 30
The instance name of the CM must be the same as the variable name created in the
Data Type!
CM DIS
Configuration of the CM digital input signal of the type DIS, which has the
instance name _561_BC1_R4. Open the Connections Editor:
Chapter 15 - 31
329668552.doc
If no initial
value, then
parameter must
be connected!
Chapter 15 - 32
Parameters that have no Initial Value must be connected, otherwise a red error
indication will be shown, in the Project Explorer.
RULE:
The instance name of the CM and the variable component name in IO must be the
same.
The connection with the parameter IO must be done and follow the rule. In this
example the parameter IO is connected to the variable IO.DIS._561_BC1_R4
(structured variable of type DISData).
Generally:
NOTE!
Parameters that have an Initial Value can remain unconnected if not needed. If
unconnected, the Initial Value is used as the default connection instead.
MORE:
3BHS 161556
Chapter 15 - 33
329668552.doc
CM AIS
Configuration of the CM analog input signal of the type AIS, which has the
instance name _561_BM1_T2. Open the Connections Editor:
If no initial
value, then
parameter must
be connected!
Chapter 15 - 34
MORE:
3BHS 161556
Chapter 15 - 35
329668552.doc
CM GROUP
Configuration of the CM GROUP, which has the instance name GR_561_1.
Open the Connections Editor:
GrpDrvCon
is the
communication bus
between group
members
Chapter 15 - 36
MORE:
3BHS 161561
Chapter 15 - 37
329668552.doc
CM MOT1
Configuration of the CM MOT1, which has the instance name _561_BC1_M1.
Open the Connections Editor:
Chapter 15 - 38
MORE:
3BHS 161557
Chapter 15 - 39
329668552.doc
Chapter 15 - 40
Nospecificapplicationprogrammingisrequired
forthis,onlytheconfigurationoftheConsumerObjects,isrequired.Asexample
youneedtoconfigurethestartstepandthestopstepviatheparameters
GrpStartStepandGrpStopStep.
AISPCCisconnectedtoaconsumer
(temperaturemeasurementtomotor).
PCC interlockconfiguration:
IfthetemperatureexceedsH2,thena
safetyinterlockisactivated.
PCC interlockconfiguration:
IfthetemperatureexceedsH1,thenan
equipmentinterlockisactivated.
Chapter 15 - 41
329668552.doc
Chapter 15 - 42
Description
PCC_Disabled
No_Interlock
PD_PrevDrive
IA_Process
Process interlock
If the consumer is in Auto mode the IA interlock is not reset again on
the ok condition. It is only reset by an Auto_Start command from
another PCC limit or signal
IA_Process_RFS
IB_Equipment
Equipment interlock
IB_Equipment_RFS
IC_Safety
Safety interlock
IC_Safety_RFS
Auto_Start
Description
DirX
DirXStart
DirY
DirYStart
Same as DirY, but once the consumer is running in direction Y (or has
reached end position Y) the interlock is disregarded.
DirXY
DirXYStart
Chapter 15 - 43
329668552.doc
PCCinterlockparameterconfiguration
method2isvaliduptheMineralsLibraryversion5.1/2.
FormoreinformationseealsothereferencemanualBasicObjects,Common
Data
Chapter 15 - 44
NamingconventionoftheCodeBlocks:
PreSelection
PreSel_Control
Groupinterlocks
Intrl_<GROUPNAME>,e.g.Intrl_291_GR1
Consumerinterlocks
Intrl_<OBJECTNAME>,e.g.Intrl_291_BC3_M1
Chapter 15 - 45
329668552.doc
Type of interlock
Safety interlock
Active in all control modes.
Process interlock
Not active in control mode Local
Process interlock
Not active in control mode Local
Process interlock
Not active in control mode Local
IB4
Process interlock
Not active in control mode Local
IA
Description
Stops the motor and prevents the motor from
starting as long as the interlock is on.
Stops the motor and prevents the motor from
starting as long as the interlock is on.
Stops the motor and prevents the motor from
starting as long as the interlock is on.
Stops the motor and prevents the motor from
starting as long as the interlock is on
Functions as start interlock when the parameter
IBF=1.
Stops the motor and prevents the motor from
starting as long as the interlock is on
Functions as start interlock when the parameter
IBF=1.
Not included in Group ReadyForStart signal.
If Object is in Seq Auto Mode or Central Auto
Mode IA Starts and Stops the Motor.
This can be used to start and stop an object by
process once the group or operator has put it to
Auto.
If Object is in Seq Manual Mode or Central
Manual mode, IA stops the motor and the motor
must be started from Seq or Cen again.
PD
Chapter 15 - 46
Procedure
To create a part of a conveyer group using Control Modules the following main steps
need to be done:
1. In the corresponding application, create all the Data Types needed for the global
variable IO.
2. Create the global variable IO on the application level.
3. Connect the corresponding components of the global variable IO to hardware
I/O-signals.
4. Create a Single Control Module (SCM) under the branch control modules.
5. Declare the External Variable in SCM to reference the global variable IO.
6. Create Control Module Instances (CM) under the new SCM.
7. Connect the Parameters of the CM instances to the components of the global
variable IO or enter direct parameters.
8. Define the needed interlocks, preselections and control logic. The most
interlocks and preselections can be done in two ways: Either configuring the
parameters in the corresponding IO control modules or programming the logic
in SCM.
1.2 Type the Name of the Data Type you want to create and click OK.
Chapter 15 - 47
329668552.doc
Chapter 15 - 48
1.10 Continue with the creation of Data Types for the Groups. Right click Data
Types and select New Data Type.
1.11 Type the name of the Data Type for the group click OK.
1.14 Finally create the main data type the IO_Type which collects the all created sub
types.
Chapter 15 - 49
329668552.doc
Chapter 15 - 50
3.2 Now the I/O Editor window is opened. Select the tab Connections.
Chapter 15 - 51
329668552.doc
Data Type of
Signal
Data Type of
selected I/O
component
Tree
navigator
I/O component
of structured
global variable
NOTE! Signal type BoolIO accepts component types BoolIO and "Bool
Chapter 15 - 52
Chapter 15 - 53
329668552.doc
4.2 Type the name of the Single Control Module you want to create and click OK.
Chapter 15 - 54
5.2 Select the External Variables tab. Type in the reference to the global variable IO
(or copy it from application level) on the declaration line.
5.3 Save your work.
Chapter 15 - 55
329668552.doc
6.2 Select the Library, the Control module type and give the Instance name, do
not Connect parameters yet, terminate with OK. Repeat steps 6.1 and 6.2.
(Entry e.g. BMIStandard, GROUP, GR_561_1 and BMIStandard, MOT1,
_561_BM1_M1.
NOTE!
6.3 The Control Modules GROUP and MOT1 have been created and are shown in the
project explorer. The red triangles indicate that some mandatory parameter
connections in CMs are not done yet.
Chapter 15 - 56
7.2 Now the Connections window is opened. Here you can perform the necessary
parameter connections. Start entering the direct entry parameters like Name,
Description, StwFirst and so on. The string parameter needs -delimiters
(high comma).
Direct entry
parameter
Chapter 15 - 57
329668552.doc
7.3 Continue connecting the parameters to the global variable IO. Use the
navigator Insert Parameter from Tree. Connect variables like IOIn,
IOOut, IOGrpDrvCon and so on.
Tree
navigator
Data types
matching
Component of
structured global
variable
As result, the group parameters are connected to the components of the global
variable IO.
7.4 Save and Close your work. The red indication has disappeared now, because all
the necessary connections to the CM instance are correct.
Chapter 15 - 58
7.5 Repeat the steps 3.1 3.4 for MOT1 (mill motor). The relevant parameters could
be as follow.
and after saving and closing there are no red triangles any more.
Chapter 15 - 59
329668552.doc
ByconfiguringthePCCinterlockparametersonSignalLevel.
Thisisthenewer(method2)preferredwaytoengineertheinterlocks.
ByprogrammingthePCCLightinterlocklogicintheSCM.
Thisistheolder(method1)waytoengineertheinterlocks.
8.2 The Connections pane opens. Enter the parameters for PCC interlocks you
need.
Chapter 15 - 60
2. The window of POU Editor is open. Right click the code block tab, insert a new
one and program the needed interlock logic.
This example shows: If the drift switch (DIS) goes out from normal state, then the
IC-signal (safety interlock) for the motor trips it.
- Signal is high = OK
- Signal is low = Interlock active.
3. Save your work
Chapter 15 - 61