AC 800M/C
Version 3.2
Binary Process Control
Objects and Design
www.cadfamily.com EMail:cadserv21@hotmail.com
The document is for study only,if tort to your rights,please inform us,we will delete
www.cadfamily.com EMail:cadserv21@hotmail.com
The document is for study only,if tort to your rights,please inform us,we will delete
ControlIT
AC 800M/C
Version 3.2
www.cadfamily.com EMail:cadserv21@hotmail.com
The document is for study only,if tort to your rights,please inform us,we will delete
NOTICE
The information in this document is subject to change without notice and should not be
construed as a commitment by ABB. ABB assumes no responsibility for any errors that
may appear in this document.
In no event shall ABB be liable for direct, indirect, special, incidental or consequential
damages of any nature or kind arising from the use of this document, nor shall ABB be
liable for incidental or consequential damages arising from use of any software or hard-
ware described in this document.
This document and parts thereof must not be reproduced or copied without written per-
mission from ABB, and the contents thereof must not be imparted to a third party nor used
for any unauthorized purpose.
The software or hardware described in this document is furnished under a license and
may be used, copied, or disclosed only in accordance with the terms of such license.
Copyright © 1999 ABB
All rights reserved.
Release: September 2002
Document number: 3BSE 028 810 R101 Rev A
TRADEMARKS
Registrations and trademarks used in this document include:
www.cadfamily.com EMail:cadserv21@hotmail.com
The document is for study only,if tort to your rights,please inform us,we will delete
TABLE OF CONTENTS
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 5
The document is for study only,if tort to your rights,please inform us,we will delete
Table of Contents
INDEX
www.cadfamily.com
6
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
About This Book
General
Target Group
This document is primarily intended for those who use Control Builder M to
develop control systems. It is assumed that the user has general knowledge
regarding the design of control systems, as well as basic knowledge on how to use
Control Builder M.
Refer to Control Builder M, when Control Builder is mentioned in this manual.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 7
The document is for study only,if tort to your rights,please inform us,we will delete
Purpose, Scope, and Intended Use About This Book
The warning icon indicates the presence of a hazard that could result in personal
injury.
The information icon alerts the reader to pertinent facts and conditions.
The tip icon indicates advice on, for example, how to design your project or how
to use a certain function
Although Warning notices are related to personal injury, and Caution notices are
associated with equipment or property damage, it should be understood that the
operation of damaged equipment could, under certain operational conditions, result
in impaired process performance leading to personal injury or death. It is, therefore,
imperative that you comply fully with all Warning and Caution notices.
www.cadfamily.com
8
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
About This Book Document Conventions
Document Conventions
The following conventions are used for the presentation of material:
• The words in names of screen elements (for example, the title in the title bar of
a window, the label of a field of a dialog box) are initially capitalized.
• Capital letters are used for the name of a keyboard key if it is labeled on the
keyboard. For example, press the ENTER key.
• Lowercase letters in boldface are used for the name of a keyboard key that is
not labeled on the keyboard. For example, the space bar, comma key, and so
on.
• Press CTRL+C indicates that you must hold down the CTRL key while
pressing the C key (to copy a selected object in this case).
• Press ESC E C indicates that you should press and release each key in
sequence (to copy a selected object in this case).
• The names of push and toggle buttons are boldfaced. For example, click OK.
• The names of menus and menu items are boldfaced. For example, the File
menu.
– The following convention is used for menu operations: MenuName >
MenuItem > CascadedMenuItem. For example: select File > New > Type.
– The Start menu name always refers to the Start menu on the Windows
Task Bar.
• System prompts/messages are shown in Courier font, and user responses/input
are shown in boldfaced Courier font. For example, if you enter a value out of
range, the following message is displayed:
Entered value is not valid. The value must be 0 to 30.
You may be instructed to enter the string TIC132 in a field. The string is shown
as follows in the procedure:
TIC132
Variables are shown using lowercase italicized letters.
SequenceName
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 9
The document is for study only,if tort to your rights,please inform us,we will delete
Terminology About This Book
Terminology
The following is a list of terms associated with Binary Process Control, that you
should be familiar with. The list contains terms and abbreviations that are unique to
ABB or have a usage or definition that is different from standard industry usage.
Term Description
AC 800M/C Connect A software package used to integrate Control Software
for AC 800M/C with the Aspect Integrator Platform (AIP).
AC 800M/C Connect can be installed from the ControlIT
for AC 800M/C Products CD-ROM.
Applications Applications contain the program code to be compiled
and downloaded for execution in the controller.
Applications are displayed in the Project Explorer.
Aspect An aspect is a description of some properties of an
Aspect Object. Examples of aspects are name, circuit
diagram, process display, and control logic.
Aspect Objects A computer representation of a real object such as a
pump, a valve, an order or a virtual object such as a
service or an object type. An Aspect Object is described
by its aspects and is organized in structures.
Control Builder M The programming tool described in this manual, referred
to as Control Builder throughout this document.
Control module Control modules are program units that support object-
oriented data flow programming with code sorting, free-
layout graphical programming and static parameter
connections. Instances of control modules are created
from control module types.
Display Element A graphic element, which illustrates an object (motor,
regulator etc.). Generally, clicking the element will show
a faceplate for supervision and control of the object.
Faceplate A configurable type of graphic interface normally used
by operators for process supervision and control.
www.cadfamily.com
10
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
About This Book Terminology
Term Description
Plant Explorer Similar to the Internet Explorer and used to create
Aspect Objects. You can also use it to browse and
search among the structures of the plant.
Process Portal A Name of the collection of products for daily operation
and supervision of an automated process.
Program A program contains execution code.
Project Explorer The part of the Control Builder user interface used to
create, modify and navigate a project. All objects such
as data types, functions and function block types can be
selected and displayed in an editor. All software and
hardware is configured in the Project Explorer
ST Structured Text, one of the five languages defined in the
IEC-61131 standard.
Structure A hierarchical tree organization of aspect objects that
describes the dependencies between the real objects.
An aspect object can exist in multiple structures, for
example, both in a functional structure and in a location
structure,
Type The type is a general description of a unit that defines
the behavior of an instance of the type.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 11
The document is for study only,if tort to your rights,please inform us,we will delete
Terminology About This Book
www.cadfamily.com
12
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries
Introduction
The Process Object libraries provide function blocks and control modules to define
valve and motor objects in your application. ProcessObjBasicLib and
ProcessObjExtLib, form parts of the Control Builder, Basic, Standard, or
Professional products. The Process Portal A user interface is part of the AC 800M/C
Connect product.
The Concept
Within the field of automation, there is a need for scalability, even down to single
process objects. Objects must be so small and fit so smoothly, that they do not
interfere with a programmers own valve or motor parameters, but still intelligent
enough to work directly by themselves, without any additional programming costs.
There is a need for a general function block base, a core function that fits all valve
and motor objects in all industrial control applications. Since all valve and motor
objects need at least uni- or bi-directional control, objects with these properties
make up the core of all our process objects.
Process objects can be used directly in the application as they are, but are intended
to be used as templates, when new valve or motor object types are to be created in
your own library or application.
The smallest common denominator is the BiCore function block type, for the uni-
directional object types (see BiCore on page 31), and the UniCore function block
type, for the bi-directional object types (see UniCore on page 20). Furthermore,
there are other object type templates, designed on the BiCore and UniCore types,
with greater functionality. This makes it easier for the user to define his or her own
object types, for example, motor types.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 13
The document is for study only,if tort to your rights,please inform us,we will delete
The Concept Section 1 Process Object Libraries
The Core object (of BiCore or UniCore type) is protected and is part of all object
types, so the core is not copied when a process object type is copied. The Core
refers (points) to its type in ProcessObjBasicLib. This means that the Core is
updated when the Control Builder is upgraded.
May be excluded
Note! Must always be included
www.cadfamily.com
14
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries The Concept
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 15
The document is for study only,if tort to your rights,please inform us,we will delete
Choosing a Process Object Section 1 Process Object Libraries
Bi
Bi/Uni
Uni
No No
Motor/Valve Uni Motor Bi
Yes Yes
Yes
MotorValve
www.cadfamily.com
16
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries Basic and Extended Libraries
Many parameters are common to all objects, and are therefore referred to and
explained only in the Core section. The reader is therefore advised to start by
reading the UniCore and BiCore sections, and then continue by reading about
specific parameters in the description of the extended library.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 17
The document is for study only,if tort to your rights,please inform us,we will delete
Process Object Basic Libraries Section 1 Process Object Libraries
www.cadfamily.com
18
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries About Core Objects
Function blocks (Uni and Bi) with alarms and graphics do not provide functions for
manual interaction like, such as Set to Manual mode, and therefore changes cannot
be made in the code (only from the graphics window in Control Builder or from
Process Portal A graphics).
One parameter Set object in Auto mode is accessible from within the code. The
function blocks UniHSI and BiHSI can then be used to access the information to be
displayed in faceplates and to display elements on an operator workstation.
Edge Detection
Edge detection takes place on the positive rising edge. When using the two basic
function blocks UniCore and BiCore, with operator interactions connected to
parameters, the programmer must reset signals to false.
In function blocks with an alarm, the signals are reset inside the
function block, as it is a local variable connected to the Control
Builder graphics or Process Portal A graphics.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 19
The document is for study only,if tort to your rights,please inform us,we will delete
UniCore Section 1 Process Object Libraries
UniCore
This process object should be used for uni-directional
objects (objects with two states). UniCore can be used
to control a generic process object via a number of
predefined outputs and feedback signals (inputs). Uni
means that the process object can be either activated
or deactivated. For a valve (or a motor) this would
mean running in one direction (uni-directional) or
being closed (stopped).
UniCore parameters are divided into the following
types:
• Operation
– Mode
– Configuration of feedback signals
– Simulation
• Interlocking
UniCore function block
– Ilock
– Safety command
– Inhibit
• Object Error
www.cadfamily.com
20
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries UniCore
Operation
This subsection describes the operational parameters of the UniCore object. Users
may configure feedback signals, set object error time, and disable error handling.
The PulseOut parameter governs whether outputs should be pulsed or level,
depending on the hardware used for the process object in question.
• Mode
UniCore has five different operation modes:
Disable, Manual, Auto, Panel, and Local.
Only Manual mode and Auto mode have output parameters (ManMode and
AutoMode). The ManMode or the AutoMode parameter is always set (even if
the object is in another mode). One of these modes (Manual or Auto,
depending on which parameter is set) will resume control after returning from
another mode. AutoMode is equal to NOT ManMode.
ManMode has a retain attribute, which allows the status to be retained at warm
start.
Manual mode is set as the default start-up mode using the parameter
ManModeInit. The initial value is set to true, meaning that Manual will be the
default mode. The parameter ManModeInit is copied to the parameter
ManMode at every cold start.
– Disable Mode - Deactivates the object
The object is deactivated when the Enable parameter is set to false,
signifying that the function block will not be executed. The output
parameters Out1, Out0, Out1Level, StatAct, StatDeact, and ObjErr will all
be reset to false, independent of the status of other signals. The object can
be activated or deactivated in all modes.
– Manual Mode - A user operates the object from a workstation
To change to Manual mode, trigger the SetMan parameter and the
ManMode parameter will automatically be set to true. Output signals
(Out1, Out0, Out1Level) will retain their status from the previous mode.
In the Manual mode, the status of the output signal is controlled by the
parameters ManCmd1 and ManCmd0. These parameters have rising edge
detection.
All parameters mentioned above (SetMan, ManCmd0, ManCmd1) are
normally connected to the operator faceplate via the application.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 21
The document is for study only,if tort to your rights,please inform us,we will delete
UniCore Section 1 Process Object Libraries
*
AutoCmd1
AutoCmd0
Out1Level
www.cadfamily.com
22
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries UniCore
Stop PanCmd0
Figure 4. Control steps in Panel mode. This solution is recommended for small applications, where
all three panel parameters are connected from an LCP.
However, in large applications, this option can cause a number of
undesirable events. In this case, the best solution is to connect the
PanMode parameter, via variables, to a faceplate at the operator
workplace. The PanCmd1 and PanCmd0 parameters are still connected to
the physical Start/Stop buttons. Changes in the Panel mode are therefore
approved centrally, that is, a local operator must first obtain permission
from the central control operator (see Figure 5).
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 23
The document is for study only,if tort to your rights,please inform us,we will delete
UniCore Section 1 Process Object Libraries
Controller
Operator workplace
Switch on screen Motor
Process object
PanMode
LCP PanCmd1
PanCmd0
Start
Stop
Figure 5. Control steps in Panel mode. This solution is recommended for large applications, where
the PanMode parameter is connected to an operator workplace.
When Panel mode is active, the LCP takes control of the object and errors
are calculated based on status signals from the LCP. The output signal
retains its status from the previous mode.
The status of the object is controlled by the signals PanCmd1 and
PanCmd0, which are level signals and function in the same way as
AutoCmd signals, as illustrated in Figure 3. The PanCmd1 and PanCmd0
parameters should be connected to push buttons. It may be advisable to
use an R_Trig function block (trigger, parameter and push button) between
PanCmd1 and PanCmd0, in case the push button malfunctions.
www.cadfamily.com
24
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries UniCore
– Local Mode - The object is controlled locally from a Local Control Panel
(LCP), bypassing the UniCore function block
Local mode is used when the object is controlled locally from an LCP and
the function block does not have any signals for controlling the object
from the LCP. All signals from the LCP are physically connected directly
to the object (motors, valves, etc.), see Figure 6.
In this mode, the object status is not updated inside the function block,
even if it is changed in reality. SafetyCmd signals may still change the
object status. All error calculation is disabled. Objects return to the
previous mode when local mode is disabled.
LCP Process object
Motor
Switch
Start LocMode
Stop
The object status is not updated in Local mode. This means that
after leaving Local mode, the output signal status is the same as
before entering Local mode.
If the status of the function block tracks feedback signals, this must
be implemented outside the function block, for example by setting
the corresponding Safety Command signal.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 25
The document is for study only,if tort to your rights,please inform us,we will delete
UniCore Section 1 Process Object Libraries
0 FB1 FB0
1 FB1 (none)
4 (none) FB0
6 (none) (none)
The values of the feedback signals FB1 and FB0 are transferred to the StatAct
and StatDeact output parameters respectively, in condition with Out1Level.
If an object has no, or only a single, feedback signal, StatAct and StatDeact will
still be set. The signals StatAct and StatDeact are set to zero if double feedback
is used and both are true at the same time.
• Output Settings
The output signals include Out1, Out0 and Out1Level. Out1 and Out0 can be
configured as pulsed command or level-detected command, by means of the
PulseOut parameter.
The pulse is sustained by the parameters Out1 and Out0, until the
corresponding feedback is detected or the maximum object error time is
exceeded.
Out1Level is intended to indicate the output state when the Out1 and Out0
parameters are pulsed.
www.cadfamily.com
26
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries UniCore
If there is no feedback from a position, the pulse duration is set to the object
error time. Only one pulse is generated upon each status change.
• Simulation
When the parameter Simulate is activated, the object error calculation is
disabled and the Out1 and Out0 signals are set to false. The signals StatAct and
StatDeact are set according to the status of Out1Level.
When simulation is deactivated, the status of the object reverts to
that in the mode prior to simulation and the Out0 signal is set to
true.
Interlocking
This subsection describes the safety parameters for the UniCore object. The main
purpose of the interlocking parameters is accurate and safe operation with critical
process values, such as high levels and temperatures, MCC interface, safety devices
etc.
• Ilock - Prevents the object from entering a certain state
The Ilock1 and Ilock0 signals block manual interactions in Manual and Panel
mode (not in Auto mode) to switch the object to the activated and deactivated
state respectively. The Inhibit signal will reset interlock signals, when true.
• Safety Command - Compels the object to enter a certain state
The SafetyCmd1 and SafetyCmd0 signals force the output to the respective
status with priority over other signals, except when the Inhibit signal is set to
true. When these signals disappear, the status from safety state is transferred to
the current mode.
• Inhibit - Cancels all Ilock and SafetyCmd signals
When the Inhibit signal is set to true, the program will ignore all Ilock and
SafetyCmd signals. This parameter can be used when there is an absolute need
for running the object, although all Ilock and SafetyCmd signals are cancelled.
When the Inhibit signal returns to false, the Ilock and SafetyCmd are re-
activated to their former state.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 27
The document is for study only,if tort to your rights,please inform us,we will delete
UniCore Section 1 Process Object Libraries
Object Error
The object error (ObjErr) is supervised in all modes except Disable and Local
mode, based on the values of the parameters Out1Level, FB1 and FB0.
The object error is calculated by the ACOF (Automatic Check Of Feedback)
function block, from the standard SystemLib library, and the error signal from the
parameter ExtErr (external error) to give the parameter ObjErr.
The parameter ExtErr provides the possibility of connecting other errors to the
object. This parameter does not affect the object status. If required, it must be
implemented outside the UniCore, for example, by connecting a variable to both
parameters ExtErr and SafetyCmd0. See the Uni function block section for an
example.
The information required for the object error calculation is the object error time and
the number of feedbacks: these two parameters have to be configured by the user
(the parameters OETime and FBConfig).
OETime has an initial value of 5 seconds. In the Extended Library a variable is
connected the value of which overrides the initial value. The value of OETime can
be altered online, in the interaction windows (Control Builder) or in the Process
Portal A faceplate. The connected variable has a cold retain attribute to retain the
value following cold or warm restarts.
• Alarm - Not available for UniCore
Interaction Windows
Not available for UniCore.
Faceplate Elements
Not available for UniCore.
www.cadfamily.com
28
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries UniCore
UniHSI
UniHSI is a basic function block which supports the
faceplate and display elements for UniCore in the Process
Portal A graphical environment. This function block
calculates the information to be presented in display
elements and faceplates in the operator graphical
environment. The function block is used in the control
modules or function blocks, together with UniCore, when
an operator display element is to be used.
The UniHSI function block must be executed before the
UniCore itself.
All input parameters to the UniHSI function block that
have the same names as the input parameters to UniCore
(for example FBConfig, FB1, FB0 etc.) should contain the
same information as in the UniCore.
UniHSI function block
Note that AutoMode for UniHSI is to be connected to the
AutoMode output parameter at the UniCore.
In normal cases, the bool type parameter that obtains input from the hardware I/O, is
connected via a variable/parameter with BoolIO data type, for example, FB1 and
Out1. The BoolIO data type is a structured data type with Value, IOValue and Force
as the components. The value is connected to the FB1 parameter and forced to
FB1Forced.
UniHSI
FB1 FB1.Value FB1
BoolIO
Value FB1.Forced FB1Forced
Forced UniCore
FB1
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 29
The document is for study only,if tort to your rights,please inform us,we will delete
UniCore Section 1 Process Object Libraries
• Effective Feedback
The EffectiveFB1 and EffectiveFB0 parameters, of the in/out type, give the
calculated result from FBConfig and the values of FB1 and FB0.
Effective feedback signals are connected to the faceplate and are displayed
under the Status tab.
• Output IOLevel
The parameter Out1IOLevel, of the in/out type, is the result calculated from the
actual values of the binary I/O (Out1IO, Out0IO), in relation to the selected
pulse functionality.
Out1IO
Out0IO
Out1IOLevel
www.cadfamily.com
30
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries BiCore
BiCore
This process object is intended to be applied to two-
directional objects, that is, objects with three states
(for example (0) stop, (1) start/forward and (2)
start/back).
The object has pulse output selection and feedback
configuration, to allow configuration of the number
of feedbacks and inversions.
Examples of applications are two-speed motors and
forward/backward motors.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 31
The document is for study only,if tort to your rights,please inform us,we will delete
BiCore Section 1 Process Object Libraries
Operation
This subsection describes the operational parameters of the BiCore function block.
You can configure feedback signals, set object error time and disable error handling.
The PulseOut parameter governs whether the outputs are pulsed or level, depending
on the hardware used for the process object in question.
• Mode
The BiCore function block has the same operation modes as the UniCore, see
UniCore on page 20.
Only Manual mode and Auto mode have output parameters (ManMode and
AutoMode). The ManMode or AutoMode parameter is always set, (even if the
object is in another mode). One of these modes (ManMode or AutoMode) will
resume control upon returning from another mode. AutoMode is equivalent to
NOT ManMode.
ManMode has a retain attribute, which means the status is retained following a
warm restart.
The Manual mode is set as default at start-up by setting the parameter
ManModeInit to true. The parameter ManModeInit is copied to the parameter
ManMode following cold start.
– Disable Mode - Deactivates the object
The object is deactivated when the Enable parameter is set to false,
signifying that the function block is not executed. The output parameters
Out1, Out2, Out0, Out1Level, Out2Level, StatAct1, StatAct2, StatDeact,
and ObjErr are all reset to false, regardless of the status of other signals.
The object can be activated or deactivated in all mode.s
www.cadfamily.com
32
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries BiCore
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 33
The document is for study only,if tort to your rights,please inform us,we will delete
BiCore Section 1 Process Object Libraries
AutoCmd1
AutoCmd2
AutoCmd0
Out1Level
Out2Level
www.cadfamily.com
34
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries BiCore
Controller
PanCmd1
Forward
PanCmd2
Reverse
PanCmd0
Stop
Figure 10. The Panel mode control diagram. A general solution for smaller applications, where all
four Panel parameters are connected from an LCP.
However, in large applications this option can cause a number of
undesirable events. In this case, the best solution is to connect the
PanMode parameter, via variables to a faceplate at the operator workplace.
The PanCmd1, PanCmd2 and PanCmd0 parameters are still connected to
the physical Start/Stop buttons. Changes in the Panel mode are therefore
approved centrally, that is, a local operator must first obtain permission
from the central control operator (see Figure 11).
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 35
The document is for study only,if tort to your rights,please inform us,we will delete
BiCore Section 1 Process Object Libraries
Controller
PanCmd1
PanCmd2
LCP
PanCmd0
Forward
Reverse
Stop
Figure 11. The Panel mode control diagram. A general solution for large applications, where the
PanMode parameter is connected to an operator workplace.
When the Panel mode is active, the LCP takes control of the object and
errors are calculated according to the status signals from the LCP. The
output signal retains its status from the previous mode.
The status of the object is controlled by the signals PanCmd1, PanCmd2
and PanCmd0, which are level detected signals and function in the same
way as AutoCmd signals, as illustrated in Figure 3. The PanCmd1,
PanCmd2 and PanCmd0 parameters should be connected to push buttons.
It may be advisable to use an R_Trig function block (trigger parameter and
push button) between PanCmd1, PanCmd2 and PanCmd0, in case the push
button malfunctions.
www.cadfamily.com
36
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries BiCore
– Local Mode - The object is controlled locally from an LCP (Local Control
Pane), bypassing the BiCore function block
Local mode is used when the object is controlled locally by LCP and the
function block does not have any signals for maneuvering the object from
the LCP. All signals from the LCP are physically connected directly to the
object (for example, two directional motor, spring-return valve etc.).
In this mode, the object status is not updated inside the function block,
even if it is changed in reality (see Figure 12). SafetyCmd signals may still
change the object status. Error calculation is disabled. Objects return to
the previous mode when Local mode is disabled.
Controller
Forward
LocMode
Reverse
The object status is not updated in Local mode. This means that
after leaving Local mode, the output signal status is the same as
before entering Local mode.
If the status in the function block tracks feedback signals, this must
be implemented outside the function block, for example, by setting
the corresponding safety command signal.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 37
The document is for study only,if tort to your rights,please inform us,we will delete
BiCore Section 1 Process Object Libraries
The values of the feedback signals FB1, FB2 and FB0 are transferred to
StatAc1, StatAct2, and StatDeact parameters respectively, conditioned with
Out1Level, Out2Level.
If an object has no, or only two, feedback signals, StatAct1, StatAct2 and
StatDeact are still set. The signals StatAct1, StatAct2, and StatDeact are set to
false, if FBConfig = 0, 1, 2 or 3, and more than one feedback is true at the same
time.
www.cadfamily.com
38
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries BiCore
• Output Settings
The output signals include Out1, Out2, Out0, Out1Level and Out2Level.
Out1, Out2, and Out0 can be configured as pulsed command or level-detected
command, by means of the PulseOut parameter.
The pulse is sustained by the parameters Out1, Out2, and Out0, until the
corresponding feedback is detected or the maximum object error time is
exceeded.
Out1Level and Out2Level are intended indicate the output state when Out1 and
Out0 are pulsed.
If there is no feedback from a position, the pulse duration is set to the object
error time. Only one pulse is generated upon each status change.
• Simulation
When the parameter Simulate is activated, the object error calculation is
disabled and the Out1, Out2, and Out0 signal are set to false. The signals
StatAct1, StatAct2, and StatDeact are set according to the status of Out1Level
and Out2Level.
When simulation is deactivated, the status of the object reverts to
that in the mode prior to simulation and the Out0 signal is set to
true.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 39
The document is for study only,if tort to your rights,please inform us,we will delete
BiCore Section 1 Process Object Libraries
• Change-over Action
The main difference between the UniCore and BiCore function blocks is their
directional functionality as the BiCore function block can change from one
active state to another. Changes can be made in all operation modes.
For implementation of a bi-directional motor, the BiCore function block has a
parameter named ChangOverTime (Time data type). The ChangeOverTime
parameter is used for large motors in order to secure safe operation (switching
forward/reverse). The parameter ChangeOverTime sets a delay time, before the
direction can be changed (see Figure 13).
The ChangeOverTime parameter has an initial value of 5 seconds.
xxx = AutoCmd, ManCmd, PanCmd
xxxCmd1
xxxCmd2
xxxCmd0
Out1
(not pulsed)
ChangeOverTime
Out2
(not pulsed)
ChangeOverTime
www.cadfamily.com
40
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries BiCore
Interlocking
This subsection describes the safety parameters for the BiCore function block. The
main purpose of the interlocking parameters is accurate and safe operation with
critical process values, such as high levels and temperatures, Motor Control Centre
interface, safety devices etc.
• Ilock - Prevents the object from entering a certain state
Ilock1, Ilock2 and Ilock0 signals blocks manual interactions in Manual and
Panel mode (not in Auto mode) to switch the object to activated and
deactivated state respectively. The Inhibit signal will resets interlock signals
when true.
(C)
State 1 State 2
(Start/Forward) (D) (Start/Reverse)
(B) (E)
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 41
The document is for study only,if tort to your rights,please inform us,we will delete
BiCore Section 1 Process Object Libraries
Safety1
Safety2
Safety0
Inhibit
Out1
Out2
Out0
Figure 15. State diagram showing safety command priorities and
output signals with the effect of Inhibit.
The Inhibit signal overrules all safety commands, so when the Inhibit signal is
active, the object ignores the status of SafetyCmd (the safety commands do not
affect the output signals).
• Inhibit - Cancels all Ilock and SafetyCmd signals
When the Inhibit signal is set to true, the program ignores all Ilock and
SafetyCmd signals. This parameter can be used when you want to run the object
although all Ilock and SafetyCmd signals are cancelled. When the Inhibit signal
returns to false, the Ilock and SafetyCmd signals are re-activated to their former
state.
www.cadfamily.com
42
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries BiCore
Object Error
The object error is supervised in all modes, except Disable and Local mode. It is
based upon the values of the parameters Out1Level, Out2Level, FB1, FB2 and FB0.
The object error is calculated by the ACOF (Automatic Check Of Feedback)
function block from the standard SystemLib library.
The information required for the object error calculation is the object error time and
the number of feedbacks: these two parameters have to be configured by the user
(OETime and FBConfig).
OETime has an initial value of 5 seconds. In the extended library a variable is
connected the value of which overrides the initial value. The value of OETime can
be altered online in the interaction windows or in the Process Portal A faceplate.
The connected variable has a cold retain attribute, to retain the value following cold
or warm restarts.
The parameter ExtErr (external error) provides a possibility to connect other errors
to the object. The signal is added together with an error signal from object
supervision (ACOF) to the parameter ObjErr.
The ObjErr parameter does not affect the object status. If required, it has to be
implemented outside the BiCore, for example by connecting a variable to the
parameters ExtErr and SafetyCmd0. See the MotorBi function block, for an
example.
• Alarm - Not available for BiCore.
Interaction windows
Not available for BiCore.
Faceplate Elements
Not available for BiCore.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 43
The document is for study only,if tort to your rights,please inform us,we will delete
BiCore Section 1 Process Object Libraries
BiHSI
BiHSI is a basic function block which supports the faceplate
and display elements for BiCore in the Process Portal A
graphical environment. This function block calculates the
information to be presented in display elements and faceplates
in the operator graphical environment. The function block is
used in the control modules or function blocks together with
BiCore, when an operator display element is to be used.
The BiHSI function block must be executed before the BiCore
itself.
All input parameters to the BiHSI function block that have the
same names as the input parameters to BiCore (for example
FBConfig, FB1, FB0 etc.) should contain the same information
as in the BiCore.
Note that Automode for BiHSI, is to be connected to the
AutoMode output parameter at the BiCore.
In normal cases, the bool type parameter that obtains input from
the hardware I/O, is connected via a variable/parameter with
BoolIO data type, for example, FB1, FB2, Out1 and Out2. The
BoolIO data type is a structured data type with Value, IOValue
and Force as the components. The value is connected to the FB1 BiHSI function block
parameter and forced to FB1Forced and FB2Forced.
BiHSI
FB1 FB1.Value FB1
BoolIO FB2.Value FB2
Value
Forced FB1.Forced FB1Forced BiCore
FB2.Forced FB2Forced
FB2
BoolIO
FB1
Value
Forced FB2
www.cadfamily.com
44
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries BiCore
• Effective Feedback
The EffectiveFB1, EffectiveFB2, and EffectiveFB0 parameters, of the in/out
type, give the calculated result from FBConfig and the values of FB1, FB2, and
FB0.
Effective feedback signals are connected to the faceplate and displayed under
the Status tab.
• Output IOLevel
The parameter Out1IOLevel, of the in/out type, is the result calculated from the
actual values of the binary I/O (Out1IO, Out0IO) in relation to the selected
pulse functionality.
Out1IO
Out2IO
Out0IO
Out1IOLevel
Out2IOLevel
Figure 17. OutputIOLevel state diagram.
The output signals are connected and displayed in the Process Portal A
faceplate.
• Interlock
The parameter Interlock, of the in/out type, is the sum of SafetyCmd and Ilock.
The Interlock parameter provides information when any type of interlocking is
active (for example, SafetyCmd or Ilock).
The interlock signals are connected and displayed in the Process Portal A
faceplate.
• Forced Action
The parameter Forced, of the in/out type, indicates the forced status of the
Out0IO and Out1IO signals at FB0 or FB1. If one of these four I/O signals is
blocked/forced, the parameter Forced, of the in/out type, will be true.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 45
The document is for study only,if tort to your rights,please inform us,we will delete
DriveCore Section 1 Process Object Libraries
DriveCore
DriveCore is a basic function block, that can be used as
a basis for control of ABB Standard Drives and their
corresponding ABB Engineered Drives. DriveCore is
normally used together with the UniCore function
block. Therefore the start order parameter (Start) is a
level signal with hold function.
The DriveCore function block gives the user possibility
to start and stop a drive at a chosen setpoint, according
to the local state machine in drive. The states are
controlled by the function block through manipulation
of the drives status and control word.
DriveCore function block
The drive data set number can differ between different types of
ABB Drives, see the manual for the relevant drive.
www.cadfamily.com
46
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries DriveCore
Emergency Stop
The Drive function block type has two parameters that can cause an emergency stop,
Off2 and Off3. If the application demands an emergency stop through one of the
parameters, the drive stops according to the local emergency settings on the drive.
The priority for emergency stops is controlled by the drive. The higher priority is
higher than that of the stop and start commands.
The Off2 and Off3 parameters do not have any effect on the drive, if it is in remote
state (locally controlled drive).
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 47
The document is for study only,if tort to your rights,please inform us,we will delete
DriveCore Section 1 Process Object Libraries
www.cadfamily.com
48
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries Process Object Extended Library
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 49
The document is for study only,if tort to your rights,please inform us,we will delete
About the Extended Process Objects Section 1 Process Object Libraries
www.cadfamily.com
50
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries Uni
Uni
This process object is an example of an UniCore
application. It includes an alarm function, Control
Builder interaction windows and the graphical
Process Portal A interface.
Many parameters are the same
throughout this section and are therefore
referred to and explained only in the
corresponding core section. For further
information, see UniCore on page 20.
The UniHSI function block is implemented
together with the UniCore function block,
supporting the faceplate and displaying elements
for the Uni process object in the Process Portal A
graphical environment.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 51
The document is for study only,if tort to your rights,please inform us,we will delete
Uni Section 1 Process Object Libraries
Operation
Several interaction parameters in the UniCore function block, for example
ManCmd1 etc., are not connected to parameters in this block. Inside this function
block, local variables are used for communication between the graphics window and
corresponding parameters in the UniCore function block.
• Mode
– Disable Mode
See Disable Mode - Deactivates the object on page 21.
– Manual Mode
The manual mode is designed to be set from the Control Builder
interaction window or the operator workplace faceplate, via SetMan,
ManCmd1, and ManCmd0. No parameters for manual control are
provided in this object.
See also, Manual Mode - A user operates the object from a workstation on
page 21.
– Auto Mode
The setting of the Auto mode can be set from the program, interaction
windows or faceplate. Since Auto mode results in automatic operation, the
program controls the object, via AutoCmd1 and AutoCmd0.
See also, Auto Mode - The program controls the object on page 22.
– Panel Mode
See Panel Mode - The object is controlled locally from an LCP (Local
Control Panel), via the UniCore function block on page 22.
.
For Uni, it is possible to control Panel mode of the object from both
a workplace, and from a switch on an LCP. The faceplate has a
button (connected to a local variable) that can toggle the Panel
mode. There is also a parameter (PanMode) intended to be
connected to an activation signal from the panel. If you connect
PanMode to the panel it is still possible to use the button in the
faceplate to activate the Panel mode. It is, however, not possible to
deactivate Panel mode from the faceplate if it has been activated
from the LCP.
www.cadfamily.com
52
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries Uni
– Local Mode
See Local Mode - The object is controlled locally from a Local Control
Panel (LCP), bypassing the UniCore function block on page 25.
• FeedBack Configuration
See Configuration of Feedback Signals on page 26.
• Output Settings
See Output Settings on page 26.
Interlocking
See Interlocking on page 27.
Object Error
The object error is calculated by the ACOF (Automatic Check Of Feedback)
function block, from the standard SystemLib library, and the error signal from the
parameter ExtErr (external error) to give the parameter ObjErr.
The ExtErr parameter is connected directly to the corresponding parameter in
UniCore.
Object error time is connected to the Control Builder interaction window and the
Process Portal A faceplate, via a local variable. This results in the user being able to
change the value from the corresponding graphical window. The local variable has a
cold retain attribute and the value is thus retained following a cold restart.
See also Object Error on page 28.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 53
The document is for study only,if tort to your rights,please inform us,we will delete
Uni Section 1 Process Object Libraries
• Alarm
The alarm function uses the AlarmCond function block, with acknowledge rule
(AckRule=1). This acknowledge rule includes six possible alarm states. For
further information about the alarm state, see Control Builder online help for
more information on the AlarmCond function block. The alarm is activated by
the object error in UniCore function block (as described above).
The AlarmCond function block incorporates an alarm Control Builder
interaction window, displayed by a clicking the alarm icon in the Control
Builder interaction window of the Uni object. See Figure 18.
www.cadfamily.com
54
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries Uni
Figure 19. The Control Builder interaction windows of the Uni object.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 55
The document is for study only,if tort to your rights,please inform us,we will delete
ValveUni Section 1 Process Object Libraries
ValveUni
This process object is a simple example of the
UniCore function block. ValveUni includes an alarm
function, Control Builder interaction windows and
the Process Portal A graphical interface.
Many parameters are the same throughout
this section and are therefore referred to and
explained only in the corresponding
UniCore section. For further information see
UniCore on page 20.
The UniHSI function block is implemented together
with the UniCore function block, supporting the
faceplate and displaying ValveUni elements, in the
Process Portal A graphical environment.
The ValveUni object is incorporated with only one
output I/O for open command.
ValveUni function block
www.cadfamily.com
56
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries ValveUni
Operation
Several interaction parameters in the UniCore function block, for example,
ManCmd1 etc., are not connected to parameters in this block. Inside this block, local
variables are used for communication between the graphics window and
corresponding parameters on the UniCore function block.
• Mode
The ValveUni object has a reduced number of operation modes, Disable,
Manual, and Auto mode.
– Disable Mode
See Disable Mode - Deactivates the object on page 21.
– Manual Mode
The manual mode is designed to be set from the Control Builder
interaction window or the operator workplace faceplate, via SetMan,
ManCmd1, and ManCmd0. No parameters for manual control are
provided in this object.
See also Manual Mode - A user operates the object from a workstation on
page 21.
– Auto Mode
Auto mode can be set from the program, interaction windows or faceplate.
ValveUni has only one Auto command, AutoCmd1 with level detection
(reduced number of parameter).
See also Auto Mode - The program controls the object on page 22.
• FeedBack Configuration
See Configuration of Feedback Signals on page 26.
• Output Settings
Since the object is intended to control a simple valve, only one output is
provided (Out1) which is not pulsed.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 57
The document is for study only,if tort to your rights,please inform us,we will delete
ValveUni Section 1 Process Object Libraries
Interlocking
The interlocking parameters (Ilock and SafetyCmd) are very similar to those in
UniCore, only being that Inhibit is not implemented.
See also Interlocking on page 27.
Object Error
The object error is calculated only by the ACOF (Automatic Check Of Feedback)
function block, from the standard SystemLib library and indicated via the parameter
ObjErr.
The ExtErr parameter from UniCore is not used.
Object error time is connected to the Control Builder interaction window and the
Process Portal A faceplate, via a local variable. This results in the user being able to
change the value from the corresponding graphical window. The local variable has a
cold retain attribute and the value is thus retained following a cold restart.
See also Object Error on page 28.
• Alarm
The alarm function uses the AlarmCond function block, with acknowledge rule
(AckRule=1). This acknowledge rule includes six possible alarm states. For
further information about the alarm state, see Control Builder online help for
AlarmCond function block. The alarm is activated by the object error in the
UniCore function block (as described above).
The AlarmCond function block incorporates an alarm Control Builder
interaction window, displayed by clicking on the alarm icon in the ValveUni
Control Builder interaction window. See Figure 20.
www.cadfamily.com
58
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries ValveUni
The alarm function is disabled, only if the object error calculation is disabled.
An alarm can be acknowledge from the program via the parameter AlarmAck,
from the alarm Control Builder interaction window and from the Process Portal
A faceplate.
• Error Text String
The error text string is handled by the OETextUniOut1 function block. This
function block generates the message text from feedback and output signals of
the AlarmCond function block. The text message is displayed in the Alarm
Control Builder interaction window.
This text contains the Name of the object, followed by -OE: and the status of
the activated output signal, 0 or 1, at the time of the error (for example,
Out1=1). The status of the selected feedback combination, for example,
FB1=1; FB0=0; is also displayed. If the error has been generated from an
ExtErr parameter, there is also an External error text displayed.
Figure 21. The Control Builder interaction windows of the ValveUni object.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 59
The document is for study only,if tort to your rights,please inform us,we will delete
Bi Section 1 Process Object Libraries
Bi
This process object is an example of a BiCore
application. It includes with an alarm function,
Control Builder interaction windows and Process
Portal A graphical interface.
Bi function block
www.cadfamily.com
60
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries Bi
Operation
Several interaction parameters in BiCore function block, for example, ManCmd1
etc. are not connected to parameters in this block. Inside this block local variables
are used for communication between the graphics window and the corresponding
parameters on the BiCore function block.
• Mode
– Disable Mode
See Disable Mode - Deactivates the object on page 32.
– Manual Mode
The Manual mode is designed to be set from the Control Builder
interaction window or the faceplate in Operator workplace via SetMan,
ManCmd1, ManCmd2, and ManCmd0. No parameters for manual control
are provided in this object.
See also about Manual Mode - A user controls the object from a
workstation on page 33.
– Auto Mode
Auto mode can be set from the program, interaction windows or faceplate.
Since Auto mode results in automatic operation, the program controls the
object via AutoCmd1, AutoCmd2 and AutoCmd0.
See also about Auto Mode - The program controls the object on page 33.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 61
The document is for study only,if tort to your rights,please inform us,we will delete
Bi Section 1 Process Object Libraries
– Panel Mode
See Panel Mode - The object is controlled locally from an LCP (Local
Control Panel), via the BiCore function block on page 34.
For Bi, it is possible to control Panel mode of the object from both a
workplace, and from a switch on an LCP. The faceplate has a button
(connected to a local variable) that can toggle the Panel mode.
There is also a parameter (PanMode) intended to be connected to an
activation signal from the panel. If you connect PanMode to the
panel it is still possible to use the button in the faceplate to activate
the Panel mode. It is, however, not possible to deactivate Panel
mode from the faceplate if it has been activated from the LCP.
Local Mode
See Local Mode - The object is controlled locally from an LCP (Local
Control Pane), bypassing the BiCore function block on page 37.
• FeedBack Configuration
See Configuration of Feedback Signals on page 38.
• Output Settings
See Output Settings on page 39.
• Change-over Action
The Bi object has a five-seconds, built-in change-over time function, inside
BiCore. This setting. cannot be changed.
See also Change-over Action on page 40.
Interlocking
See Interlocking on page 41.
www.cadfamily.com
62
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries Bi
Object Error
The object error is calculated by the ACOF (Automatic Check Of Feedback)
function block, from the standard SystemLib library, and the error signal from the
parameter ExtErr (external error) to give the parameter ObjErr.
The ExtErr parameter is connected directly to the corresponding parameter in
BiCore.
Object error time is connected to the Control Builder interaction window and the
Process Portal A faceplate, via a local variable. This results in the user being able to
change the value from the corresponding graphical window. The local variable has a
cold retain attribute and the value is thus retained following a cold restart.
See also about Object Error on page 43.
• Alarm
The alarm function uses AlarmCond function block, with acknowledge rule
(AckRule=1). This acknowledge rule includes six possible alarm states. For
further information about the alarm state, see Control Builder online help for
AlarmCond function block. The alarm is activated by the object error in the
BiCore function block (as described above).
The AlarmCond function block incorporates Control Builder interaction
window for alarm, displayed by clicking the alarm icon in the Control Builder
interaction window of the Bi process object. See Figure 22.
Figure 22. The alarm Control Builder interaction window of the Bi object.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 63
The document is for study only,if tort to your rights,please inform us,we will delete
Bi Section 1 Process Object Libraries
www.cadfamily.com
64
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries Bi
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 65
The document is for study only,if tort to your rights,please inform us,we will delete
MotorUni Section 1 Process Object Libraries
MotorUni
This process object is an improved example of the
UniCore application. It includes an alarm
function, Control Builder interaction windows
and Process Portal A graphical interface.
Many parameters are the same
throughout this section and are therefore
referred to and explained only in the
corresponding BiCore section. For
further information, see UniCore on
page 20.
The UniHSI function block is implemented
together with the UniCore function block,
supporting the faceplate and displaying elements
for the MotorUni process object in the Process
Portal A graphical environment.
www.cadfamily.com
66
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries MotorUni
Operation
Several interaction parameters in UniCore, for example, SetMan etc. are not
connected to parameters in this block. Inside this block local variables are used for
communication between the graphics window and the corresponding parameters in
the UniCore.
• Mode
– Disable Mode
See also, Disable Mode - Deactivates the object on page 21.
– Manual Mode
The Manual mode can be set from the Control Builder interaction window
or the operator workplace faceplate, via SetMan, ManCmd1, ManCmd2
and ManCmd0. No parameters for manual control are provided in this
object.
See also, Manual Mode - A user operates the object from a workstation on
page 21.
– Auto Mode
Auto mode can be set from the program, interaction windows or the
faceplate. Since Auto mode implies automatic operation, the program
controls the object via AutoCmd1 and AutoCmd0.
Each of these parameters is supplied with a value of OETime, connected to
the Control Builder interaction window and the Process Portal A
faceplate, via local variables. The value of OETime can be changed from
the corresponding graphical window. The local variables have the cold
retain attribute to retain the values following a cold restart. OETime for
AutoCmd1 has the same setting as AutoCmd1 and AutoCmd0, because the
same local variable is used.
See also, Auto Mode - The program controls the object on page 22.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 67
The document is for study only,if tort to your rights,please inform us,we will delete
MotorUni Section 1 Process Object Libraries
– Panel Mode
See Panel Mode - The object is controlled locally from an LCP (Local
Control Panel), via the UniCore function block on page 22.
For MotorUni, it is possible to control Panel mode of the object
from both a workplace, and from a switch on an LCP. The faceplate
has a button (connected to a local variable) that can toggle the Panel
mode. There is also a parameter (PanMode) intended to be
connected to an activation signal from the panel. If you connect
PanMode to the panel it is still possible to use the button in the
faceplate to activate the Panel mode. It is, however, not possible to
deactivate Panel mode from the faceplate if it has been activated
from the LCP.
– Local Mode
See Local Mode - The object is controlled locally from a Local Control
Panel (LCP), bypassing the UniCore function block on page 25.
• FeedBack Configuration
See Configuration of Feedback Signals on page 26.
• Output Settings
See Output Settings on page 26.
Interlocking
Modification of the interlocking function is performed to extend some parameters,
to apply user-defined text and to implement the combination of SafetyCmd0 and an
alarm function via ExtErr. Further improvement is possible based on this example.
• Ilock - Prevents the object from entering a certain state
The MotorUni object has four parameters: Ilock01, Ilock02, Ilock11, and
Ilock12 that set the condition of Ilock0 or Ilock1 in the UniCore function block.
The Ilock0 condition is set by Ilock01 or Ilock02. Similarly, the Ilock1
condition is set by Ilock11 or Ilock12.
www.cadfamily.com
68
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries MotorUni
Object Error
The object error is calculated by the ACOF (Automatic Check Of Feedback)
function block, from the standard SystemLib library, and the error signal from the
parameter ExtErr (external error) to parameter ObjErr.
The ExtErr parameter in UniCore is the sum of SafetyCmd01, SafetyCmd02,
SafetyCmd03 and the corresponding ExtErr parameter in the MotorBi process
object.
For further information, see Object Error on page 28.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 69
The document is for study only,if tort to your rights,please inform us,we will delete
MotorUni Section 1 Process Object Libraries
• Alarm
The Alarm is activated by the object error in the UniCore function block.
The AlarmCond function block incorporates an alarm Control Builder
interaction window, displayed by a simple click on the alarm icon in the
Control Builder interaction window of the MotorUni. See Figure 24.
Figure 24. The alarm Control Builder interaction window of the MotorUni object.
• Error Text String
The error text string is handled by the OETextUni function block. This function
block generates the text message from the feedback and output signal of the
AlarmCond function block. The text message is displayed in the alarm Control
Builder interaction window.
This text contains the Name of the object, followed by -OE: and the status of
the activated output signal, 0 or 1, at the error occasion, (for example, Out1=1).
The status of the selected feedback combination, for example FB1=1; FB0=0;
is also displayed. If the error is generated from an ExtErr parameter, an
External error text is also displayed.
www.cadfamily.com
70
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries MotorUni
Figure 25. The Control Builder interaction window of the MotorBi object.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 71
The document is for study only,if tort to your rights,please inform us,we will delete
MotorBi Section 1 Process Object Libraries
MotorBi
This process object is an improved example of the
BiCore application. It includes an alarm function,
Control Builder interaction windows and Process
Portal A graphical interface.
Many parameters are the same throughout
this section and are therefore referred to and
explained only in the corresponding BiCore
section. For further information, see BiCore
on page 31.
The BiHSI function block is implemented together
with the BiCore function block, supporting the
faceplate and displaying elements for MotorBi process
object in the Process Portal A graphical environment.
www.cadfamily.com
72
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries MotorBi
Operation
Several interaction parameters in the BiCore function block, for example, SetMan
etc. are not connected to parameters in this block. Inside this block local variables
are used for communication between the graphics window and the corresponding
parameters in the BiCore function block.
• Mode
– Disable Mode
See also, Disable Mode - Deactivates the object on page 32.
– Manual Mode
The Manual mode is set from the Control Builder interaction window or
the operator workplace faceplate, via SetMan, ManCmd1, ManCmd2 and
ManCmd0. No parameters for manual control are provided in this object.
See also, Manual Mode - A user controls the object from a workstation on
page 33.
– Auto Mode
Auto mode can be set from the program, interaction windows or the
faceplate. Since Auto mode is the automatic operation, the program
controls the object via AutoCmd1, AutoCmd2 and AutoCmd0.
Each of these parameters is supplied with an OnDelayTime parameter,
connected to the Control Builder interaction window and the Process
Portal A faceplate, via local variables. The value of OnDelayTime can be
changed in the corresponding graphical window. The local variables have
the cold retain attribute to retain their values following a cold restart.
OnDelay for AutoCmd1 and AutoCmd2 has the same setting as AutoCmd1,
AutoCmd2 and AutoCmd0, because the same local variable is used.
See also, Auto Mode - The program controls the object on page 33.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 73
The document is for study only,if tort to your rights,please inform us,we will delete
MotorBi Section 1 Process Object Libraries
– Panel Mode
See Panel Mode - The object is controlled locally from an LCP (Local
Control Panel), via the BiCore function block on page 34.
For MotorBi, it is possible to control Panel mode of the object from
both a workplace, and from a switch on an LCP. The faceplate has a
button (connected to a local variable) that can toggle the Panel
mode. There is also a parameter (PanMode) intended to be
connected to an activation signal from the panel. If you connect
PanMode to the panel it is still possible to use the button in the
faceplate to activate the Panel mode. It is, however, not possible to
deactivate Panel mode from the faceplate if it has been activated
from the LCP.
– Local Mode
See Local Mode - The object is controlled locally from an LCP (Local
Control Pane), bypassing the BiCore function block on page 37.
• FeedBack Configuration
See Configuration of Feedback Signals on page 38.
• Output Settings
See Output Settings on page 39.
• Change-over Action
The MotorBi object implements the change-over function from the BiCore
function block. One parameter is provided for setting the change-over time, and
it is connected to the corresponding parameter in BiCore.
This change-over time is also connected to the Control Builder interaction
window and the Process Portal A faceplate, via local variables. This results in
the user being able to change the value in the corresponding graphical window.
The local variables have the cold retain attribute to retain the values following a
cold restart.
See also, Change-over Action on page 40.
www.cadfamily.com
74
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries MotorBi
Interlocking
Modification of the interlocking function is performed to extend some parameters,
to apply user-defined text and to implement the combination of SafetyCmd0 and
alarm functions via ExtErr. Further improvement is possible based on this example.
• Ilock - Prevents the object from entering a certain state
The MotorBi object has four parameters: Ilock01, Ilock02, Ilock11, and Ilock12
that set the condition of Ilock0 or Ilock1 in the BiCore function block. The
Ilock0 condition is set by Ilock01 or Ilock02. Similarly, the Ilock1 condition is
set by Ilock11 or Ilock12.
Ilock2 has no extended parameter and is connected directly to the
corresponding parameter in the BiCore process object.
• Safety Command - Compels the object to enter a certain state
The SafetyCmd0 parameter is divided into three parameters: SafetyCmd01,
SafetyCmd02, and SafetyCmd03. Each of these parameters has associated
parameters: SafetyCmd01Txt, SafetyCmd02Txt, and SafetyCmd03Txt, to
provide a descriptive text in the alarm list and the Process Portal A faceplate.
The Text is displayed in the Safety Interlock menu area.
SafetyCmd1 and SafetyCmd2 have no extended parameters and is connected
directly to the corresponding parameters in the BiCore function block.
The indication of SafetyCmd1 and SafetyCmd2 in the Process Portal A
faceplate is separated from SafetyCmd0 in the Process Interlock menu area.
The extended SafetyCmd0 parameters (-Cmd01, -Cmd02 and -Cmd03) have a
hold function with an alarm. When the safety command is active, the object
error is generated by an alarm and can only be released by alarm acknowledge
or inhibit.
• Inhibit - Cancel all Ilock and SafetyCmd signals
The Inhibit signal for MotorBi process object works exactly the same as
described earlier in the BiCore section, with one exception; Inhibit releases an
object error, activated by the SafetyCmd0.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 75
The document is for study only,if tort to your rights,please inform us,we will delete
MotorBi Section 1 Process Object Libraries
Object Error
The object error is calculated by the ACOF (Automatic Check Of Feedback)
function block, from the standard SystemLib library, and the error signal from the
parameter ExtErr (external error) to parameter ObjErr.
The ExtErr parameter in BiCore is the sum of SafetyCmd01, SafetyCmd02,
SafetyCmd03 and the corresponding ExtErr in the MotorBi process object.
For further information, see Object Error on page 43.
• Alarm
The Alarm is activated by the object error in the BiCore function block.
The AlarmCond function block incorporates an alarm Control Builder
interaction window, displayed by a simple click on the alarm icon in the
Control Builder interaction window of the MotorBi. See Figure 26.
Figure 26. The alarm Control Builder interaction window of MotorBi object.
• Error Text String
The error text string is handled by the OETextBi function block. This function
block generates the text message from the feedback and output signal of the
AlarmCond function block. The text message is displayed in the Alarm Control
Builder interaction window.
This text contains the Name of the object, followed by -OE: and the status of
the activated output signal, 0 or 1, at the error occasion, (for example, Out1=1).
The status of the selected feedback combination, for example, FB1=1; FB0=0;
is also displayed. If the error is generated from an ExtErr parameter, an
External error text is also displayed.
www.cadfamily.com
76
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 1 Process Object Libraries MotorBi
Figure 27. The Control Builder interaction window of the MotorBi object.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 77
The document is for study only,if tort to your rights,please inform us,we will delete
General Section 2 Object Handling
General
All process objects in processobjextlib have a faceplate. The faceplate of an object
type consists of a number of faceplate elements. There are four basic faceplate
elements, which are adapted to suit the intended process object. These faceplate
elements are:
• Command
• Parameters
• LevelDetection
• TrimCurve1
The Command, Parameters and LevelDetection elements refer to the
processobjextlib folder and the TrimCurve1 refers to the Libraries folder, that is, the
faceplate elements used for the process object types point to elements in these
folders.
The graphics in a basic faceplate element is adapted to a faceplate element of an
object type by setting the visibility of the graphics (in MS Visual Basic). There are
various ways of setting the visibility of the graphics.
In the Command faceplate element (see the Example 1 below) graphics for signals
and texts are only displayed in the faceplate element if the signals and/or texts are
connected to the graphics.
In the Parameters faceplate element (see the Example 2 below) the visibility
properties are set to display different graphics in the faceplate element depending on
whether the property is true or false.
www.cadfamily.com
78
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 2 Object Handling General
Figure 28. The basic Command faceplate element and the corresponding one in the ValveUni type
In the Expression Builder of MS Visual Basic, you can see that CaptionFr0
(Frame0) is connected to e_Frame0Caption; CaptionFr1 (Frame1), CaptionFr2
(Frame2) and CaptionFr3 (Frame3) is connected to e_empty, and
Frame0Cmd0String (ACmd 0) are connected to e_Frame0Command0.
Frame0Cmd0OPC (the signal) is connected to AutoCmd1.QualityOk.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 79
The document is for study only,if tort to your rights,please inform us,we will delete
General Section 2 Object Handling
Figure 29. The Command faceplate element of ValveUni object type, in Expression Builder.
In the Edit variables tab, these variables have the following texts:
• e_empty - (no text at all, that is, no text is displayed)
• e_Frame0Command0 - Open
• e_Frame0Caption - Auto Command
Figure 30. Variables in Expression Builder of the ValveUni object type Command faceplate element.
www.cadfamily.com
80
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 2 Object Handling General
Figure 31. The basic Parameters faceplate element and the corresponding one in the Bi type.
In the Properties window, the Motor Type property is set to False to make the
OnDelayTime and Off Delay Time rows invisible. The BiMotorType property is set
to False to make the Change Over Time row invisible.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 81
The document is for study only,if tort to your rights,please inform us,we will delete
Basic Faceplate Elements Section 2 Object Handling
Parameters
www.cadfamily.com
82
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 2 Object Handling Basic Faceplate Elements
TrimCurve1
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 83
The document is for study only,if tort to your rights,please inform us,we will delete
Basic Faceplate Elements Section 2 Object Handling
Faceplate
Command Parameters LevelDetection TrimCurve1
Elements
Bi
Command X
Interlock X
Parameters X
RedInterlock*
Status X
MotorBi
Command X
Interlock X
Parameters X X
RedInterlock*
Status X
TrimCurve X
www.cadfamily.com
84
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 2 Object Handling Basic Faceplate Elements
Faceplate
Command Parameters LevelDetection TrimCurve1
Elements
MotorUni
Command X
Interlock X
Parameters X X
RedInterlock*
Status X
TrimCurve X
Uni
Command X
Interlock X
Parameters X X
RedInterlock*
Status X
ValveUni
Command X
Interlock X
Parameters X X
RedInterlock*
Status X
* RedInterlock cannot refer to another faceplate element, that is, it is unique in each
faceplate.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 85
The document is for study only,if tort to your rights,please inform us,we will delete
Bi Faceplate Elements Section 2 Object Handling
Bi Faceplate Elements
The Bi faceplate elements contain the signal connections and graphics as displayed
below.
Interlock
(Interlocking signals for accurate and
safe operation with critical process
values)
Safety Interlock
Forced to Position 1 SafetyCmd1
Forced to Position 2 SafetyCmd2
Forced to Position 0 SafetyCmd0
Start/Stop Interlock
Position 1 Ilock1
Position 2 Ilock2
Position 0 Ilock0
Others
OE Disabled OEDisabled
Inhibit Inhibit
www.cadfamily.com
86
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 2 Object Handling Bi Faceplate Elements
RedInterlock
Inhibit
Status
(Output and feedback signal status)
Out Status
Out 1 Out1
Out 2 Out2
Out 0 Out0
Feedback Status
Out 1 EffectiveFB1
Out 2 EffectiveFB2
Out 0 EffectiveFB0
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 87
The document is for study only,if tort to your rights,please inform us,we will delete
MotorBi Faceplate Elements Section 2 Object Handling
Interlock
(Interlocking signals for accurate and
safe operation with critical process
values)
Process Interlock
Forced to Low SafetyCmd1
Forced to High SafetyCmd2
Safety Interlock
SafetyCmd01
SafetyCmd02
SafetyCmd03
Start/Stop Interlock
Low Ilock11 or Ilock12
High Ilock2
Stop Ilock01 or Ilock02
Others
OE Disabled OEDisabled
Inhibit Inhibit
www.cadfamily.com
88
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 2 Object Handling MotorBi Faceplate Elements
RedInterlock
Inhibit
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 89
The document is for study only,if tort to your rights,please inform us,we will delete
MotorBi Faceplate Elements Section 2 Object Handling
TrimCurve
(Trime curve of motor value)
In1Max
MotorValue.Parameters.Max
In1Min
MotorValue.Parameters.Min
In1Value MotorValue.Value
LeftScaleFraction
MotorValue.Parameters.Fraction
TimeScaleMin TrimCurveTime
www.cadfamily.com
90
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 2 Object Handling MotorUni Faceplate Elements
Interlock
(Interlocking signals for accurate and
safe operations with critical process
values)
Process Interlock
Forced to Running SafetyCmd1
Safety Interlock
SafetyCmd01
SafetyCmd02
SafetyCmd03k
Start/Stop Interlock
Start Ilock11 or Ilock12
Stop Ilock01 or Ilock02
Others
OE Disabled OEDisabled
Inhibit Inhibit
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 91
The document is for study only,if tort to your rights,please inform us,we will delete
MotorUni Faceplate Elements Section 2 Object Handling
RedInterlock
Inhibit
www.cadfamily.com
92
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 2 Object Handling MotorUni Faceplate Elements
TrimCurve
(Trime curve of motor value)
In1Max
MotorValue.Parameters.Max
In1Min
MotorValue.Parameters.Min
In1Value MotorValue.Value
LeftScaleFraction Fraction
TimeScaleMin TrimCurveTime
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 93
The document is for study only,if tort to your rights,please inform us,we will delete
Uni Faceplate Elements Section 2 Object Handling
Interlock
(Interlocking signals for accurate and
safe operations with critical process
values)
Process Interlock
Open Ilock1
Close Ilock0
Safety Interlock
Forced to Open SafetyCmd1
Forced to Close SafetyCmd0
Others
OE Disabled OEDisabled
Inhibit Inhibit
www.cadfamily.com
94
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 2 Object Handling Uni Faceplate Elements
RedInterlock
Inhibit
Status
(Output and feedback signal status)
Out 1 Out1
Out 0 Out0
Feedback Status
Out 1 EffectiveFB1
Out 0 EffectiveFB0
Others
Pulse Out PulseOut
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 95
The document is for study only,if tort to your rights,please inform us,we will delete
ValveUni Faceplate Elements Section 2 Object Handling
Interlock
(Interlocking signals for accurate and
safe operations with critical process
values)
Process Interlock
Open Ilock1
Close Ilock0k
Safety Interlock
Forced to Open SafetyCmd1
Forced to Close SafetyCmd0
Others
OE Disabled OEDisabled
www.cadfamily.com
96
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 2 Object Handling ValveUni Faceplate Elements
RedInterlock
ObjErr
Status
(Output and feedback signal status)
Out Status
Open Out1
Feedback Status
Open EffectiveFB1
Close EffectiveFB0
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 97
The document is for study only,if tort to your rights,please inform us,we will delete
Adding Functionality to a Process Object in Control Builder Section 3 Object Handling Examples
www.cadfamily.com
98
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 3 Object Handling Examples Creating a New Library and Copying an Object
The default name of the copied object, is the name of the copied original object type
followed by underscore and a number, for example, a copy of MotorBi is named
MotorBi_1. To change the name of the object proceed as follows:
6. Right-click on the object and select Rename...
7. Type the desired name of the object, in the New name text field, in this
example, Motor_2. Click the OK button.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 99
The document is for study only,if tort to your rights,please inform us,we will delete
Creating a New Library and Copying an Object Section 3 Object Handling Examples
8. Expand the folder of the copied process object type and identify the control
module types that refer to the control modules used in the process object type.
For example, the control module type FaceplateMotorBi refers to control
module FplateMtrAlGBiM1 used in the MotorBi process object type.
Figure 34. The control module type is copied to your own created library.
9. In the Control Module Types folder under ProcessObjExtLib, select the control
module type that is to be changed for the copied process object type.
10. Right-click on the control module type and select Copy (Ctrl+C).
11. Right-click on the Control Module Types folder in the newly created library (in
this example MotorLib). Select Paste (Ctrl+V). (See steps 6 and 7 if you wish
to change the name of an object type.)
Figure 35. The Control Module Types folder in which the copied type is pasted.
www.cadfamily.com
100
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 3 Object Handling Examples Creating a New Library and Copying an Object
12. Select the control module type that is to be replaced, under the process object
type, in your own created library (MotorLib), in this example,
FPlateMtrBiAlGM1 under MotorBi_1. See Figure 34 above.
13. Right-click and select Replace Type.
14. In the Libraries/Application pane, select your own created library and in the
Control module type pane, select the control module type that is to replace the
original type. (It is possible to rename the control module in the Instance name
field). Click the OK button.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 101
The document is for study only,if tort to your rights,please inform us,we will delete
Adding Functionality Section 3 Object Handling Examples
Adding Functionality
It is also possible to change and add your own functionality to the copied object
types. In the example below, a level detection for motor speed is added to the object
type that was copied above, MotorBi_1.
In this example, no functionality for alarm text handling has been
added.
www.cadfamily.com
102
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 3 Object Handling Examples Adding Functionality
Figure 37. Level detection functionality added to the MotorBi_1 function block type
It is now possible to use the MotorBi_1 function block type in a program, with the
new added functionality.
6. In the Program folder under Applications, right-click on a program, for
example Program2, and select Editor (ENTER).
7. Declare a function block of the type MotorBi_1 (in this example called
MotorBi).
8. Insert the function block in the code pane, connect the desired parameters and
declare the required variables. (In this example the Function Block Diagram
language is used).
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 103
The document is for study only,if tort to your rights,please inform us,we will delete
Adding Functionality Section 3 Object Handling Examples
www.cadfamily.com
104
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 3 Object Handling Examples Editing a Faceplate in Process Portal A
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 105
The document is for study only,if tort to your rights,please inform us,we will delete
Copying and Deploying Aspects Section 3 Object Handling Examples
Aspects to be copied:
AlarmControl, Command, Display Element Icon, Display Element Tag,
Interlock, MainFacePlate, Parameters, RedInterlock, Status and TrimCurve.
www.cadfamily.com
106
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 3 Object Handling Examples Copying and Deploying Aspects
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 107
The document is for study only,if tort to your rights,please inform us,we will delete
Editing a Faceplate Section 3 Object Handling Examples
8. Click the Deploy Selected button. It will take a few seconds for all the objects
to be deployed. All the selected aspects have been deployed when they
disappeared from the Display Tool window.
9. Close the Display Tool window.
Editing a Faceplate
After all the required aspects have been copied and deployed, it is possible to edit
the faceplate of the object.
In this example, the level detection functionality that was added in the example
above (Adding Functionality to a Process Object in Control Builder on page 98) is
added as graphics in the faceplate of MotorBi_1.
The easiest way to add graphics for the level detection functionality is to copy the
faceplate element of Parameters and edit it so that it contains the appropriate
graphics.
1. Right-click on the faceplate element of Parameters and select Copy.
2. Right-click in the aspect window of MotorBi_1 and select Paste.
3. Right click on one of the faceplate elements of Parameters and select Rename.
4. Enter the new name of the faceplate element, for example, ParametersSpeed.
5. Right-click on the faceplate element of ParametersSpeed and select Edit to
opens MS Visual Basic.
6. In this faceplate, only graphics for the level detection values is to be displayed.
Right-click on the top of the faceplate element and select Delete to remove
graphics for the other parameters.
www.cadfamily.com
108
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 3 Object Handling Examples Editing a Faceplate
Figure 42. The LevelDetection graphics moved to the top of the background.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 109
The document is for study only,if tort to your rights,please inform us,we will delete
Editing a Faceplate Section 3 Object Handling Examples
8. In the Expression Builder window, all the connections in the expressions from
the signals used in the LevelDetection function block are changed to the signals
used in the LevelDetectionSpeed function block. For example, the signal in the
expression for MotorEnable is to be changed from EnableLevelDetection to
EnableLevelDetectionSpeed (see the figure below).
www.cadfamily.com
110
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 3 Object Handling Examples Editing a Faceplate
Figure 44. All the connections have been made to the LevelDetectionSpeed in
the Expression Builder
10. Make deploy .
11. Exit MS Visual Basic.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 111
The document is for study only,if tort to your rights,please inform us,we will delete
Editing a Faceplate Section 3 Object Handling Examples
Figure 45. Adding the ParametersSpeed aspect as a new tab in the extended MainFaceplate.
www.cadfamily.com
112
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 3 Object Handling Examples Editing a Faceplate
17. Click in the Tab group column of the new line and enter 2 (1 = left part of the
faceplate and 2 = right part of the faceplate).
18. Click in the Caption column of the new line to enter a label to the new tab. In
the Label field of the Caption dialog box, enter the label name, for example,
Speed Detection.
19. Click in the UserRoles column of the new line and choose EveryOne from the
drop-down list.
Figure 46. The ParametersSpeed aspect added as the Speed Detection tab.
20. Click on the Apply button to implement the changes and close the window.
21. Right-click on the MainFaceplate aspect and select Extended Faceplate.
22. Select the Speed Detection tab in the right part of the faceplate to view the
newly added graphics.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 113
The document is for study only,if tort to your rights,please inform us,we will delete
Using a Faceplate in Online Mode Section 3 Object Handling Examples
Figure 47. The new added Speed Detection tab in the extended faceplate
www.cadfamily.com
114
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Section 3 Object Handling Examples Using a Faceplate in Online Mode
5. Select the Speed Detection tab in the right part of the faceplate to view the
values in online mode.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 115
The document is for study only,if tort to your rights,please inform us,we will delete
Using a Faceplate in Online Mode Appendix A Displaying Element Icons
A Display Element Icon aspect, representing the object type is associated with each
process object type. There are a number of standard icon types associated with each
Display Element Icon of a process object type. (For more information about display
elements, see also AC800M/C Connect, Installation and Configuration manual).
Table 10. Standard icon types associated with each Display Element Icon
of a process object type
1 - General icon 1 - Motor With M 1 - Motor With M 1 - General icon 1 - 2D valve No Actuator
www.cadfamily.com
116
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Appendix A Displaying Element Icons Using a Faceplate in Online Mode
Table 10. Standard icon types associated with each Display Element Icon
of a process object type (continued)
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 117
The document is for study only,if tort to your rights,please inform us,we will delete
Using a Faceplate in Online Mode Appendix A Displaying Element Icons
Table 10. Standard icon types associated with each Display Element Icon
of a process object type (continued)
10 - Reamer 10 - Reamer
11 - Screw 11 - Screw
12 - 3D motor 12 - 3D motor
www.cadfamily.com
118
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Appendix B Signal Objects General
General
The library SignalLib contains signal object function block types. These function
block types extend the functionality of I/O signals (analog and digital input and
output signals), and application variables with alarm and event handling. See the
Control Builder online help, for more information about the function block types.
Faceplate Elements
The graphics in the faceplate elements of a signal object type is adjusted by setting
the visibility of the graphics (in MS Visual Basic). In this appendix, the faceplate
elements show the default settings only, that is, some graphics are not visible.
However, there are descriptions of all the signals that can be connected and
displayed in the faceplate element.
Up to six different faceplate elements can be connected to each faceplate of a signal
object type.
The TrimCurve faceplate element in all signal object faceplates
refers (points) to the TrimeCurve1 in the processobjextlib folder.
The Limits faceplate in SignalOutReal refers to Controller Limits in
the Libraries folder.
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 119
The document is for study only,if tort to your rights,please inform us,we will delete
SignalBool Appendix B Signal Objects
SignalBool
The SignalBool faceplate elements contain the signal connections and graphics as
displayed below.
In Faceplate
OpcOK: In
Visible: InteractionPar.Man or ForceError
or not In
In Normal
OpcOK: InNormal
Diff Normal
OpcOK: DiffNormal
Error Mode
Caption: ErrorInt
InteractionPar.ErrorMode=0,"Through",
InteractionPar.ErrorMode=1,"Freeze",
InteractionPar.ErrorMode=2,
"Predetermined"
www.cadfamily.com
120
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Appendix B Signal Objects SignalBool
In RedFaceplate
OpcOK: In
Visible: InteractionPar.Man or ForceError
or not In
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 121
The document is for study only,if tort to your rights,please inform us,we will delete
SignalInBool Appendix B Signal Objects
SignalInBool
The SignalInBool faceplate elements contain the signal connections and graphics as
displayed below.
In Faceplate
OpcOK: In.IOValue
Visible: In.Forced
In Normal
OpcOK: InNormal
Diff Normal
OpcOK: DiffNormal
www.cadfamily.com
122
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Appendix B Signal Objects SignalInBool
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 123
The document is for study only,if tort to your rights,please inform us,we will delete
SignalInReal Appendix B Signal Objects
SignalInReal
The SignalInReal faceplate elements contain the signal connections and graphics as
displayed below.
www.cadfamily.com
124
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Appendix B Signal Objects SignalInReal
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 125
The document is for study only,if tort to your rights,please inform us,we will delete
SignalInReal Appendix B Signal Objects
In RedFaceplate
OpcOK: In.IOValue
Visible: In.Forced or In.Status<>1
Man
OpcOK: In.Value
Visible: In.Forced
Out
OpcOK: Out
www.cadfamily.com
126
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Appendix B Signal Objects SignalInReal
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 127
The document is for study only,if tort to your rights,please inform us,we will delete
SignalOutBool Appendix B Signal Objects
SignalOutBool
The SignalOutBool faceplate elements contain the signal connections and graphics
as displayed below.
In Faceplate
OpcOK: In
Visible: Out.Forced
Out Normal
OutNormal
Diff Normal
DiffNormal
www.cadfamily.com
128
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Appendix B Signal Objects SignalOutBool
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 129
The document is for study only,if tort to your rights,please inform us,we will delete
SignalOutReal Appendix B Signal Objects
SignalOutReal
The SignalOutReal faceplate elements contain the signal connections and graphics
as displayed below.
www.cadfamily.com
130
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Appendix B Signal Objects SignalOutReal
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 131
The document is for study only,if tort to your rights,please inform us,we will delete
SignalOutReal Appendix B Signal Objects
Fraction Parameters
OpcOK: Fraction
www.cadfamily.com
132
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Appendix B Signal Objects SignalOutReal
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 133
The document is for study only,if tort to your rights,please inform us,we will delete
SignalReal Appendix B Signal Objects
SignalReal
The SignalReal faceplate elements contain the signal connections and graphics as
displayed below.
www.cadfamily.com
134
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
Appendix B Signal Objects SignalReal
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 135
The document is for study only,if tort to your rights,please inform us,we will delete
SignalReal Appendix B Signal Objects
www.cadfamily.com
136
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
INDEX
A Bi 60 (cont.)
adding functionality manual mode 61
Control Builder 102 mode 61
alarm object error 63
Bi 63 operation 61
MotorBi 76 output settings 62
MotorUni 70 panel mode 62
Uni 54 BiCore 31
ValveUni 58 auto mode 33
auto mode change-over action 40
Bi 61 configuration feedback signals 38
BiCore 33 disable mode 32
MotorBi 73 Ilock 41
MotorUni 67 inhibit 42
Uni 52 interlocking 41
UniCore 22 local mode 37
ValveUni 57 manual mode 33
mode 32
B object error 43
basic library 17, 18 operation 32
core objects 18 output settings 39
edge detection 19 panel mode 34
Bi 60 safety command 42
alarm 63 simulation 39
auto mode 61 BiHSI 44
change-over action 62 effective feedback 45
disable mode 61 forced action 45
error text string 64 interlock 45
faceplate elements 86 output IOLevel 45
feedback configuration 62
interaction window 65
interlocking 62
local mode 62
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 137
The document is for study only,if tort to your rights,please inform us,we will delete
Index
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 138
The document is for study only,if tort to your rights,please inform us,we will delete
Index
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 139
The document is for study only,if tort to your rights,please inform us,we will delete
Index
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 140
The document is for study only,if tort to your rights,please inform us,we will delete
Index
P T
panel mode terminology 10
Bi 62
BiCore 34 U
MotorBi 74 Uni 51, 85
MotorUni 68 alarm 54
Uni 52 auto mode 52
UniCore 22 disable mode 52
process object 13 error text string 54
display element icons 116 faceplate elements 94
Process Portal A feedback configuration 53
copying aspects 105 interaction window 55
deploying aspects 105 interlocking 53
editing a faceplate 105 local mode 53
manual mode 52
S mode 52
safety commands object error 53
BiCore 42 operation 52
MotorBi 75 output settings 53
MotorUni 69 panel mode 52
UniCore 27 UniCore 20
scaling Drive values auto mode 22
DriveCore 48 configuration feedback signals 26
signal objects disable mode 21
faceplate elements 119 Ilock 27
SignalBool inhibit 27
faceplate elements 120 interlocking 20, 27
SignalInBool local mode 25
faceplate elements 122 manual mode 21
SignalOutBool object error 20, 28
faceplate elements 128 operation 20, 21
SignalOutReal operation mode 21
faceplate elements 130 output settings 26
SignalReal panel mode 22
faceplate elements 134 safety command 27
simulation simulation 27
BiCore 39
UniCore 27
status
DriveCore 46
www.cadfamily.com EMail:cadserv21@hotmail.com
3BSE 028 810 R101 Rev A 141
The document is for study only,if tort to your rights,please inform us,we will delete
Index
UniHSI 29
effective feedback 30
forced action 30
output IOLevel 30
UniHSI interlock 30
V
ValveUni 56, 85
alarm 58
auto mode 57
disable mode 57
error text string 59
faceplate elements 96
feedback configuration 57
interaction window 59
interlocking 58
manual mode 57
mode 57
object error 58
operation 57
output settings 57
www.cadfamily.com
142
EMail:cadserv21@hotmail.com 3BSE 028 810 R101 Rev A
The document is for study only,if tort to your rights,please inform us,we will delete
3BSE 028 810 R101 Rev A. Printed in Sweden September 2002
Copyright © 1999 by ABB. All Rights Reserved
® Registered Trademark of ABB.
™ Trademark of ABB.
http://www.abb.com/control