Escolar Documentos
Profissional Documentos
Cultura Documentos
TABLE OF CONTENTS
Chapter 11 Minerals Applications....................................................................................................................... 1
11.1 General Information ...................................................................................................................... 1
11.1.1 Description.......................................................................................................................... 1
11.1.2 Objectives ........................................................................................................................... 1
11.1.3 Reference Documentation .................................................................................................. 1
11.2 Lesson 1 Minerals Libraries (BMI Libraries).............................................................................2
11.2.1 Description.......................................................................................................................... 2
11.2.2 Objectives ........................................................................................................................... 2
11.2.3 Libraries overview .............................................................................................................. 2
11.2.3.1 Library: BMIConst ............................................................................................. 3
11.2.3.2 Library: BMISupport.......................................................................................... 4
11.2.3.3 Library: BMIAdapations .................................................................................... 4
11.2.3.4 Library: BMIStandard ........................................................................................ 5
11.2.3.5 Library: BMILib_WeighFeeder ......................................................................... 6
11.2.4 Learn the different object types .......................................................................................... 7
11.3 Lesson 2 Application and Variable Structure of BMI Applications........................................... 8
11.3.1 Description.......................................................................................................................... 8
11.3.2 Objectives ........................................................................................................................... 8
11.3.3 Application and Variable Structure .................................................................................... 8
11.3.3.1 Variable Structure............................................................................................... 9
11.3.3.1.1 Data Types............................................................................................. 9
11.3.3.1.2 Variable and tag naming...................................................................... 16
11.3.3.2 Application Structure ....................................................................................... 17
11.3.3.2.1 Control Modules .................................................................................. 17
11.3.3.2.2 Single Control Modules for I/O-signals .............................................. 18
11.3.3.2.3 Single Control Modules for Group Objects......................................... 21
11.3.3.2.4 Interlock (glue) logic for Group Objects ............................................. 24
11.3.4 Learn to understand the application and variable structure .............................................. 26
11.4 Lesson 3 Add I/O-signals and connect them in the application ............................................... 27
11.4.1 Description........................................................................................................................ 27
11.4.2 Objectives ......................................................................................................................... 27
11.4.3 Type and categories of I/O-signals ................................................................................... 27
11.4.3.1 Add I/O-signals that are not integrated with the operator station..................... 28
11.4.3.2 Add I/O-signals that are integrated with the operator station........................... 33
11.5 Lesson 4 Insert a motor in an existing group............................................................................ 42
11.5.1 Description........................................................................................................................ 42
11.5.2 Objectives ......................................................................................................................... 42
11.5.3 Procedure .......................................................................................................................... 42
11.5.4 Practical exercise .............................................................................................................. 43
11.5.4.1 Creation of variables ........................................................................................ 44
11.5.4.2 Creation and configuration of Control Module Instances ................................ 44
11.5.4.3 Programmation of interlock logic..................................................................... 44
11.5.4.4 Connection of I/O-variables to I/O-channels ................................................... 45
Course CH112
Chapter 11: Minerals Applications
11.1.2 Objectives
On completion of this chapter you will be able to:
Know the Minerals Libraries (BMI Libraries) that are used as a base for application
programming
Know the different object types and its basic functionality from the controller point
of view
Course CH112
Chapter 11: Minerals Applications
11.2.2 Objectives
On completion of this lesson you will be able to:
Describe the Minerals Libraries (BMI Libraries) that are used as a base for
application programming.
Course CH112
Chapter 11: Minerals Applications
Each constant has a Name, that is used to connect the constant value in the other BMI
Libraries.
Course CH112
Chapter 11: Minerals Applications
It also contains specific Control Modules, that can be used in BMI applications as an
extension to certain Object Types, providing LCB Local Control Box functionality
(local control of the object via push buttons).
The password to the BMIAdaptions Library is public, so that users can modify the code
according to their needs (e.g. project specific LCB Local Control Box functionality)
Course CH112
Chapter 11: Minerals Applications
These software modules comprise the Minerals Library, and are grouped in seven
different object categories:
Basic Objects
Group Objects
Consumer Objects
Loop Objects
Dosing Objects
Report Objects
Communication Objects
A separate Reference Manual is available for each object category, providing more
details.
Course CH112
Chapter 11: Minerals Applications
Exeptional two software modules have been developed as Function Block Types:
For further details, see the Reference Manual for Group Objects.
Course CH112
Chapter 11: Minerals Applications
You need to study the different Reference Manuals for the different object
categories:
Basic Objects
Group Objects
Consumer Objects
Loop Objects
Dosing Objects
Report Objects
Communication Objects
Course CH112
Chapter 11: Minerals Applications
11.3.2 Objectives
On completion of this lesson you will be able to:
Know where the glue logic or interlock logic for Groups needs to be
programmed.
Course CH112
Chapter 11: Minerals Applications
IMPORTANT:
The attribute must be hidden.
Course CH112
Chapter 11: Minerals Applications
In the Data Type IO_Type, all signal types are defined that are going to be needed in
the application.
I/O-signal types
I/O-signal types
DIC
Functionailty
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 a control logic in the application.
10
Course CH112
Chapter 11: Minerals Applications
...
Functionailty
Start Warning Signals.
Signals for one specific Group within a process section
The actual signals for each Signal Type are defined in separate tables, which are the so
called Data Types.
Example 1:
All the variables for the digital input signals of the type DIS are defined in the Data
Type DIS_Type, in the corresponding application.
Variable
names
Each digital input signal itself contains a set of pre-defined sub variables, that are
defined in the Data Type DISData.
The Data Type DISData is defined in the library BMIStandard.
The principle is the same for the following type of signals:
AIS/AIX/AIC
:
Analog input signals
DOS/DOX/DOC :
Digital output signals
AOS/AOX/AOC :
Analog output signals
11
Course CH112
Chapter 11: Minerals Applications
Example 2:
All the variables for the objects and general signals (general variables) for the Group
_211_GR1 are defined in the table _211_GR1 _Type.
Each Preselection contains a set of pre-defined sub variables, that are defined in the
Data Type PreBinData.
The Data Type PreBinData is defined in the library BMIStandard.
The principle is the same for all other objects that can be part of a group:
MOT1, MOT2, MOTP, MOT1_VVF : Motor objects
PIDCtrl
: PID Controllers
VLV1
: Valve objects
IMPORTANT:
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
BMIStandard, which is password protected.
E.g.
MOT1 -> MOT1Data
MOT2 -> MOT2Data
12
Course CH112
Chapter 11: Minerals Applications
The example below illustrates the required variable structure for a typical BMI
application:
Signal types
Variable names
IO_Type
Global variable IO of
Data Type IO_Type
AIC
AIS_Type
AIS
AIC_Type
AIX
AIX_Type
AOC
AOC_Type
AOS
AOS_Type
AOX
AOX_Type
DIC
DIC_Type
DIS
DIS_Type
DIX
DIX_Type
DOC
DOC_Type
DOS
DOS_Type
DOX
DOX_Type
<Grp1>
<Grp1>_Type
<Grp2>
<Grp1>_Type
<Grp3>
<Grp1>_Type
<Grp4>
<Grp1>_Type
STW
System
AICData
AICData
AICData
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
Optional Group
specific variables, if
needed
STW_Type
System_Type
<MCC1>_AV bool
MMSCom
MMS_Type
N1_N2
N1_N2_Type
<Signal1>
real
N2_N1
N1_N2_Type
<Cons1>_RFS
bool
<Cons1>_RUN
bool
13
Course CH112
Chapter 11: Minerals Applications
The example below illustrates the required variable structure for the application _20,
from the BMI_Training project; presented with
Control Builder screen shots:
Signal types
14
Course CH112
Chapter 11: Minerals Applications
Variable names for the pre-selections, consumer objects and general signals
(general variables) for the Group _211_GR1.
For more detailed information concerning the variable structure of each object type refer to the
reference manual: BMI Library - Overview
15
Course CH112
Chapter 11: Minerals Applications
? Question 1:
Tag name:
corresponds to the
object name that is
indicated on the
operator station.
Variable name:
corresponds to the
variable name of the
object in the Control
Builder.
You need to programm some interlocks for a motor object of the type MOT1
The interlocks that need to be programmed are of the type IB2, IB3 and IB4
What are the complete variable names of the signals that you will connect to the
output of the functions / function blocks from your interlock logic:
? Question 2:
You need to connect a digital input signal (DIS) to an input of an AND-gate in your
interlock logic for the motor 211-HC1.M1 (see question 1)
The same principle is valid for all I/O-signals, Consumer Objects, etc
16
Course CH112
Chapter 11: Minerals Applications
Single Control Modules (SCM), can be compared with a program, where several
objects (basic objects, consumer objects, etc) are grouped together and where
additional control and/or interlock logic can be programmed for these objects, if needed.
17
Course CH112
Chapter 11: Minerals Applications
2. Under the corresponding SCM, instances of the corresponding Object Type are
created.
Example 1:
All instances for the digital input signals of the type DIS are created under the SCM,
which is called DIS.
...
RULE:
The instance name must be the same as the variable name,
that was created in the Data Type DIS
Example 2:
All instances for the analog input signals of the type AIS are created under the SCM,
which is called AIS.
...
RULE:
The instance name must be the same as the variable name,
that was created in the Data Type AIS
18
Course CH112
Chapter 11: Minerals Applications
3. Each instance under the corresponding Single Control Module has to be configured
via the Parameter List, of that instance.
We also say, the parameters of the instance need to be connected.
Example 1:
Configuration of the digital input signal of the type DIS, which has the
tagname _211_2W1_G1_A
Parameters that have no Initial Value must be connected, otherwise an error indication will be shown,
in the Project Explorer.
Parameters that have an Initial Value can remain unconnected. If unconnected, the Initial Value is used
as the default connection instead.
The connection with the parameter IO, must be done. In this example the variable
IO.DIS._211_2W1_G1_A (structured variable) is connected to the parameter IO.
19
Course CH112
Chapter 11: Minerals Applications
Example 2:
Configuration of the analog input signal of the type AIS which has the
tagname _211_HC1_J1_Z
Parameters that have no Initial Value must be connected, otherwise an error indication will be shown,
in the Project Explorer.
The connection with the parameter IO, must be done. In this example the variable
IO.AIS._211_HC1_J1_Z (structured variable) is connected to the parameter IO.
20
Course CH112
Chapter 11: Minerals Applications
2. Under the corresponding SCM for a Group, instances of the Consumer Objects that
are member of that Group, are created.
Example 1:
Under the SCM _291_GR1, all the instances for all Consumer Objects , that belong
to the Group _291_GR1, are created.
This Group has the following instances:
- 1 instance for the GROUP object
- 2 preselection instances; PREBIN
- 2 motor instances, motors of the type MOT1
RULE:
The instance name must be the same as the variable
name, that was created in the corresponding Data Type
Example 2:
Under the SCM _291_GR2, all the instances for all Consumer Objects , that belong
to the Group _291_GR2, are created.
RULE:
The instance name must be the same as the variable
name, that was created in the corresponding Data Type
21
Course CH112
Chapter 11: Minerals Applications
3. Each instance under the corresponding Single Control Module for a Group has to be
configured via the Parameter List, of that instance.
We also say, the parameters of the instance need to be connected.
Example 1:
Configuration of the GROUP object, which has the tagname _291_GR1
22
Course CH112
Chapter 11: Minerals Applications
Example 2:
Configuration of theMOT1 object, which has the tagname _291_BC3_M1
23
Course CH112
Chapter 11: Minerals Applications
2. Interlocks between the different consumer objects are not handled by the GROUP
object, because they can be different from plant to plant.
The interlock logic is programmed on the Single Control Module level:
24
Course CH112
Chapter 11: Minerals Applications
PreSel_Control
Group interlocks
Consumer interlocks
25
Course CH112
Chapter 11: Minerals Applications
You need to study the application _30 from the project BMI_Training:
How many GROUPs does this application have ?
What is the tag name and description of each GROUP ?
Now, You need to investigate the interlock (glue) logic from the Group _361_GR2
in application _30, in detail:
What do You observe ?
Try to explain the interlocks between the different objects.
26
Course CH112
Chapter 11: Minerals Applications
11.4.2 Objectives
On completion of this lesson you will be able to:
DIC
Functionailty
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 a control logic in the application.
Summarised we can say, that there are two major categories of I/O-signals, nl:
I/O-signals that are integrated with the operator station:
- DIS, AIS, DOS, AOS (process signals)
- DIC, AIC, DOC,AOC (calculated signals)
I/O-signals that are not integrated with the operator station:
- DIX, AIX, DOX, AOX (process signals)
27
Course CH112
Chapter 11: Minerals Applications
11.4.3.1 Add I/O-signals that are not integrated with the operator station
1. Found out what type of signal needs to be added (AIX, DIX, DOX, AOX):
...
2. Open the corresponding Data Type under the corresponding Application
(remember what we learned before: one application for each process section)
and add a new component.
Example:
Adding a DIX-signal with the variable name _211_SX1_M1_OL in application _20.
(the signal indicates OverLoad of the motor _211_SX1_M1).
28
Course CH112
Chapter 11: Minerals Applications
The variable for new signal will be inserted after the signal _211_SX1_M1_R as
follows:
Variable
names
29
Course CH112
Chapter 11: Minerals Applications
3. Now, connect the new signal to the corresponding Parameter of the corresponding
Control Module Instance.
Example:
Connect the new DIX-signal with the variable name _211_SX1_M1_OL to the
Parameter M2 (MCC interface signal 2, default Overload) of the motor instance
_211_SX1_M1, in application _20
30
Course CH112
Chapter 11: Minerals Applications
4. At last, the new signal must be connected, to the corresponding I/O-channel of the
corresponding I/O-module. The I/O-channel must be free, of course.
Example:
Connect the new DIX-signal with the variable name _211_SX1_M1_OL to a free
I/O-channel
In which controller do you need to search for a free Digital Input Channel ?
31
Course CH112
Chapter 11: Minerals Applications
Go to a free channel and complete the fields Variable and I/O Description
32
Course CH112
Chapter 11: Minerals Applications
11.4.3.2 Add I/O-signals that are integrated with the operator station
1. Found out what type of signal needs to be added (AIS, AOS, DIS, DOS):
33
Course CH112
Chapter 11: Minerals Applications
The variable for new signal will be inserted after the variable _211_HX2_T1_L as
follows:
Variable
names
The variable name is _211_HX2_T1_LL and the corresponding tag name is 211-HX2.T1.LL ?
Why is that ?
34
Course CH112
Chapter 11: Minerals Applications
35
Course CH112
Chapter 11: Minerals Applications
After pressing OK, the Control Module Instance for the DIS-signal
211-HX2.T1.LL, has been created.
The red indication indicates that the Parameters that needs a connection (those that
have no Initial Value) are not connected, yet.
4. Now, the Control Module Instance has to be configured, via the Parameter List
(Connections).
Example:
Configuration of the Control Module Instance with the instance name
_211_HX2_T1_LL in application _20.
36
Course CH112
Chapter 11: Minerals Applications
5. Now, the new signal must be connected, to the corresponding Interlock Logic of
the corresponding Consumer Object.
Example:
Connect the new DIS-signal with the tag name 211-HX2.T1.LL to the interlock logic
of the Consumer Object 211-HC1.M2 in Group _211_GR1 in application _20.
37
Course CH112
Chapter 11: Minerals Applications
First
add an input to the AND-Gate
(Select the AND-Gate and press right-mouse key)
Now connect the new DIS signal to the new input of the AND-Gate:
?
________________________
- Signal.Value
________________________
38
Course CH112
Chapter 11: Minerals Applications
6. At last, the new signal must be connected, to the corresponding I/O-channel of the
corresponding I/O-module. The I/O-channel must be free, of course.
Example:
Connect the new DIS-signal with the tag name _211_HX2_T1_LL to a free I/Ochannel
In which controller do you need to search for a free Digital Input Channel ?
39
Course CH112
Chapter 11: Minerals Applications
Go to a free channel and complete the fields Variable and I/O Description
! Connection
to be done with component .SigHW
=> Any idea why ?
Other Question:
How must the connection be made for the signal types AIS, DOS, AOS ?
Signal
T
AIS
Component to be connected
DOS
AOS
40
Course CH112
Chapter 11: Minerals Applications
41
Course CH112
Chapter 11: Minerals Applications
11.5.2 Objectives
On completion of this lesson you will be able to:
Create the I/O-signals for the motor and connect them to the motor object.
11.5.3 Procedure
The basic steps to be taken when inserting a new motor in an existing group are:
1. Creation of all variables that are going to be needed for the motor object and for its
corresponding I/O-signals.
2. Creation and configuration of the control module instances for the motor and for
the I/O-signals that are integrated with the operator station (e.g. Rope Switch).
3. Programmation of the interlock logic for the new motor.
4. Connection of the I/O-signal variables to the corresponding I/O-channels.
42
Course CH112
Chapter 11: Minerals Applications
The new motor must start after the motor 291-BC1.M1 and before the motor
291-SC1.M1
Functionailty
Remarks
291_BC4_M1_K
Availability
Availability
291_BC4_M1_R
Feedback Run
Feedback Run
291-BC4.AU
Emergency stop
291-BC4.X1
General alarm
291-BC4.D1
Drift switch
Functionailty
Remarks
291_BC4_M1_D
Start order
Output to contactor
43
Course CH112
Chapter 11: Minerals Applications
Functionailty
Type of interlock
291-BC4.AU
Emergency stop
291-BC4.X1
General alarm
IB1-Interlock
291-BC4.D1
Drift switch
IB4-Interlock
To be able to do this you must very well understand the variable naming concept.
44
Course CH112
Chapter 11: Minerals Applications
45