Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Product Guide
ControlIT
Control Software and Control Builder M
Version 3.2
Product Guide
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 hardware described in this document. This document and parts thereof must not be reproduced or copied without written permission 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 19992001 ABB All rights reserved. Release: Document number: May 2002 3BSE 026 333 R101 Rev A
TRADEMARKS
Registrations and trademarks used in this document include: Acrobat Reader Adobe Control IT Engineer IT Ethernet HART INSUM Industrial IT Solutions Microsoft ModBus OPC Operate IT PROFIBUS Windows Windows 2000 Registered trademark of Adobe Systems, Inc. Registered trademark of Adobe Systems, Inc. Trademark of ABB Automation Inc. Trademark of ABB Automation Inc. Trademark of Xerox Corporation. Registered trademark of HART Communication Foundation. Trademark of ABB Schaltanlagentechnik GmbH, Germany. Trademark of ABB Automation Inc. Registered trademark of Microsoft Corporation. Registered trademark of Modicon, Inc. Trademark of OPC Foundation. Trademark of ABB Automation Inc. Registered trademark of PROFIBUS International. Registered trademark of Microsoft Corporation. Registered trademark of Microsoft Corporation.
TABLE OF CONTENTS
About This Book
Intended Use of This Book..............................................................................................11 Target Group.........................................................................................................11 Purpose, Scope and Intended Use ........................................................................11 Use of Information, and Tip Icons...................................................................................12 Document Conventions ...................................................................................................12 Terminology.....................................................................................................................14 Related Product Guides ...................................................................................................18
Table of Contents
Key BenefitsIntegrated Automation.............................................................................. 29 Control SoftwareAdvanced Process Control License........................................ 29 Control Builder M Professional ........................................................................... 30 Professional, Standard and Basic......................................................................... 31 Integration with Other IndustrialIT Products................................................................... 32
Table of Contents
Section 4 - Ordering
Ordering Procedure .........................................................................................................95 Price Lists.............................................................................................................95 Ordering Example ...........................................................................................................98 Original Order ......................................................................................................98 Expansion of an Existing Installation ..................................................................99
Appendix A - Licenses
License Concept ............................................................................................................101 Control Builder M Licenses ..........................................................................................102 Expansion Licenses ............................................................................................102 Control Software Licenses.............................................................................................102 Base Licenses .....................................................................................................103 I/O Points ...........................................................................................................104 Examples of Control Software Licenses ............................................................105 OPC Server for AC 800M/C Licenses...........................................................................105
Table of Contents
AC 800M/C Connect Licenses...................................................................................... 105 AC 800M/C Connect License Concept.............................................................. 105 AC 800M/C Connect Tags ................................................................................. 106 Tag Counting Example ...................................................................................... 107 Example of Simple AC 800M/C System Configuration ............................................... 108 Example of Integrated AC 800M/C System Configuration .......................................... 109
Table of Contents
Extended Library for Process Objects ...........................................................................154 Function Block Types in ProcessObjExtLib ......................................................155 Control Module Types in ProcessObjExtLib .....................................................156 Support Control Library ................................................................................................157 Basic Control Library ....................................................................................................158 Data Types in ControlBasicLib ..........................................................................158 Function Block Types in ControlBasicLib.........................................................158 Simple Control Functions Library.................................................................................160 Standard Control Library...............................................................................................163 Control Module Types in ControlStandardLib...................................................164 Extended Control Library..............................................................................................171 Control Modules in ControlExtendedLib...........................................................172 Advanced Control Library.............................................................................................175 Control Module Types in ControlAdvancedLib.................................................176 Fuzzy Control Library ...................................................................................................177 Control Module Types in FuzzyLib ...................................................................178 Alarm and Event Library ...............................................................................................182 Function Block Types in AlarmEventLib ..........................................................182 Control Module Types in AlarmEventLib..........................................................184 Batch Library.................................................................................................................185 Equipment Procedure Element Control Module Types......................................185 Communication Library ................................................................................................186 Data Types in CommunicationLib .....................................................................186 MODBUS...........................................................................................................186 FOUNDATION Fieldbus ...................................................................................187 COMLI MMS SattBus ...........................................................................................................189 ...........................................................................................................189 ...........................................................................................................191
Table of Contents
Serial Communication Library...................................................................................... 193 Data Types ......................................................................................................... 193 Function Block Types ........................................................................................ 193 INSUM Library ............................................................................................................. 194 Introduction........................................................................................................ 194 Provided Services............................................................................................... 194 Data Types ......................................................................................................... 195 Function Block Types ........................................................................................ 196 MB300 Library.............................................................................................................. 197 Introduction........................................................................................................ 197 Function Block Types ........................................................................................ 198
INDEX
10
Target Group
The prime target group of this product guide is ABB sales representatives. Other target groups are marketing and additional ABB personnel wishing to acquaint themselves with the Control Software and the Control Builder M tool.
The guide does not describe AC 800M/C Connect. This product is described in a separate product guide. See Related Product Guides on page 18. The guide is intended for use as an introduction to the new Control Software and Control Builder M versions, as well as a reference for discussion of technical solutions with customers.
11
The product guide provides: Information on key benefits An overview of functions offered by Control Software and Control Builder M Technical and performance data Instructions on how to order
Three appendices describe the licensing system, the Control Builder libraries, and Supported hardware and I/O, respectively.
Tip icon indicates advice on, for example, how to configure the product or how to use a certain function.
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 for 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 ESC key Lowercase letters 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)
12
Document Conventions
Press ESC E C indicates that you 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 the Courier font, and user responses/input are in the 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 told to enter the string TIC132 in a field. The string is shown as follows in the procedure: TIC132 Variables are shown using lowercase letters. MaxLimit
13
Terminology
Terminology
The following is a list of terms associated with Control Software and Control Builder M. The reader should familiarize himself with these terms before going further in this product guide. The list contains only those terms and abbreviations that are unique to ABB or have a usage or definition different from standard industry usage.
Term AC 800M/C Connect Description 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 Variables that can be accessed remotely, for example from another controller Aspect Integrator Platform, the common software platform used to integrate Industrial IT software Applications contain the program code to be compiled and downloaded for execution in the controller. Applications are displayed in the Project Explorer Control Network Clock Protocol, an ABB protocol for time synchronization in Control Network Cold retain variable values are maintained after a warm or cold restart. The Cold Retain attribute overrides the retain attributes in a structured data type The programming tool described in this product guide, referred to as Control Builder throughout this document Control modules are program units that support objectoriented data flow programming with code sorting, freelayout graphical programming and static parameter connections. Instances of control modules are created from control module types ABB control software offering, including controller firmware, libraries and executable control applications
Control Software
14
Terminology
Description A variables data type defines its characteristics, set of values and set of permitted operations. Data types are simple or structured, either predefined or user defined Device Type Manager, software module used to manage devices via HART using Fieldbus Builder P, via the Tool Routing Service (TRS) Function Block Diagram, one of the five languages defined in the IEC-61131 standard FOUNDATION Fieldbus, a fieldbus system of US origin A variable that can be used by all programs Gerte Stamm Datei, a hardware description file for a PROFIBUS-DP or PROFIBUS-DP/V1 slave type Highway Addressable Remote Transducer, a protocol for communication with and configuration of remote devices with HART support A method used for calculating licensing costs, see Appendix A, Licenses An IEC standard for control languages; includes Structured Text (ST), Ladder Diagram (LD), Instruction List (IL), Function Block Diagram (FBD), and Sequential Function Chart (SFC) Instruction List, one of the five languages defined in the IEC-61131 standard An instance is an individual object that behaves in accordance with the rules of the corresponding type INtegrated System for User-optimized Motor control, an ABB system for motor control Ladder Diagram, one of the five languages defined in the IEC-61131 standard
DTM
IL Instance INSUM LD
15
Terminology
Term LON MMI MMS MMS Server for AC 800M/C OPC PROFIBUS Program Project Project Explorer
Description Local Operating Network, a protocol used for INSUM fieldbus communication Man-Machine Interface Manufacturing Message Specification. a standard for messages used for industrial communication The server provides services to the MMS Client. Examples of services provided are transfer of variable content and start of programs OLE for Process Control, a standard for exchange of process control information A fieldbus system of German origin A program contains written execution code. Programs are connected to tasks with the same name A source code representation of the configuration data entered by an engineer to build a control solution 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 Redundant Network Routing Protocol, an ABB protocol for redundancy handling and routing in Control Network Standard No. 232 for PC communication, established by EIA (Electronics Industries Association, USA) A communication interface standard from EIA (Electronics Industries Association, USA), operating on voltages between 0V and +5V. RS-485 is more noiseresistant than RS-232C, handles data transmission over longer distances, and can drive more receivers Sequence Functional Chart, one of the five languages defined in the IEC-61131 standard
SFC
16
Terminology
Description Simple Network Time Protocol, a protocol used for time synchronization in Control Network Sequence-Of-Events, a logging method involving timestamping at digital inputs Structured Text, one of the five languages defined in the IEC-61131 standard A task is a work schedule for a program.Three default tasks are available; Fast, Normal and Slow. At run time, tasks are executed according to interval time, priority and offset
Tool Routing Service for See TRS AC 800M/C TRS Tool Routing Service, a part of AC 800M/C Connect. The TRS lets users use Fieldbus Builder P to configure HART devices,via AC 800M The type is a general description of a unit that defines the behavior of an instance of the type
Type
17
SCADA Portal, version 1.1, Product Guide Fieldbus Builder PROFIBUS/HART Engineering Studio, Product Guide
18
Control Software
AC 800M/C Control Software consists of firmware and control software that can be run on the supported control platforms. Control Software is not controller platform specific. A control system can be designed without considering controller platform specific issues such as the execution model, as long as supported ABB controllers are used. Control Software is also scalable. If an application becomes too big or too complex for the selected controller type, a more powerful controller can be used without changing the application.
19
Control Builder M
Licenses
There are three levels of Control Software license: Binary Control (access to system library only) Basic Control (access to binary control, batch handling library and basic libraries) Advanced Process Control (full access to all Control Builder libraries) License costs also depend on the number of I/O points in the customers control system. Licensing issues are described in detail in Appendix A, Licenses.
Control Builder M
Control Builder M (Control Builder in this document) is a Windows 2000-based programming tool for control logic. The tool is used to program control applications for AC 800M/C controllers. See Supported Controller Platforms on page 19.
Control Builder Variants
There are three variants of Control Builder M: Control Builder Professional (same as Standard, plus access to all libraries functions and control modules; higher number of applications, more applications per controller and integration with Industrial IT products) Control Builder Standard (same as Basic, plus create and change libraries, code distribution and sharing of source code) Control Builder Basic (basic functionality only) Control Builder variants are upward compatible. This means that applications created with Basic can be used in Basic, Standard and Professional, and that applications created in Standard can be used in Standard and Professional.
20
Libraries made with a higher level Control Builder M license can be used in a Control Builder variant of a lower level, as long as they do not violate any restriction set by the lower license level. For example, it is possible to build libraries using Control Builder Standard, for use in Control Builder Basic. It is important that the customer selects the right Control Builder Variant. For a complete comparison between the three variants, please refer to Professional, Standard and Basic on page 31.
The product line is different for these two market segments. It is important that the products and licenses best suited to the current segment are offered on each occasion.
SCADA and PLC Solutions
SCADA and PLC solutions are those where the operator interface communicates with controllers using signals, without any object integration, and where controllers do not handle alarms and events. The following products and licenses are suitable for SCADA and PLC solutions. SCADA Portal Process Panel AC 800M and AC 800C controllers Control Software: Binary and Basic licences OPC Server for AC 800M/C Control Builder: Basic and Standard variants
21
Integrated Automation
Integrated Automation solutions involve integrating faceplates with controllers handling objects from the operator interface. Integrated Automation also takes in handling of alarms and events in controllers. The following products and licenses are suitable for Integrated Automation. Process Portal A AC 800M/C Connect AC 800M and AC 800C controllers Control Software: Advanced Process Control licenses Control Builder: Professional variant Other integrated Aspect System products (FieldBus Builder P, Engineering Studio, etc.)
ABB Controllers
ABB AC 800M and AC 800C controllers handle control system within both the above market segments. For detailed information on ABB controller performance, see Section 3, Technical Data and Performance and the hardware product guides listed in Related Product Guides on page 18.
Control Software
Increased language support: Case statements in Structured Text (ST) Execution of control modules inside function blocks
22
Control Software
New and expanded libraries (see Appendix C, Library Objects Overview): A number of low-level function blocks have been added to System Library New library, named Signal Library, has been added, containing function blocks used to monitor signals (internal and between applications) Increased support for building control loops using Control Library (function blocks, control modules and data types added)
Time synchronization and logging: 1 millisecond time synchronization accuracy between AC 800M nodes in Control Network 50 millisecond time synchronization accuracy for AC 800C and AC 250 controllers, using an AC 800M master in Control Network Sequence-Of-Events (SOE) logging using time stamps for digital I/O with high accuracy System alarm and system event functions
Improved redundancy functions: Redundant Control Network on MMS and TCP/IP, using Redundant Network Routing Protocol (RNRP) Line redundancy (PROFIBUS-DP/V1) for AC 800M (CI854 interface module) AC 800M CPU redundancy (using PM861)
Added communication support: MasterBus300 (new master CI855) PPP for Advant Controller 250 (PM253 and PM254)
23
Control Builder M
Added I/O support: PROFIBUS-DP/V1 (new master CI854) S100 I/O (new master CI856) INSUM support (new master CI857) S800 I/O HART modules (AI895 and AO895) S800 I/O Sequence-Of-Events (SOE) modules (DI830, DI831 and DI885) S900 I/O OSP on S200 I/O modules connected to 200-APB12 ABB Standard and Application Drives: ACS 300, ACS 400, ACS 600, ACS 1000, DCS 300, DCS 400, DCS 600
Configuration of HART devices, via AC 800M and PROFIBUS-DP/V1 Integration with other IndustrialIT products: Mirroring from Plant Explorer/Process Portal A to Control Builder M
Control Builder M
FBD/LD editor enhancements: Improved connection of functions/function blocks Improved insertion dialog for functions/function blocks Enable (EN) parameter in function blocks Improved declaration feature when inserting/connecting function blocks
Printing from editors: Printing of complete editor content (not only what fits on the screen, but the complete editor window)
Documentation can be created in online mode, allowing users to document parameter values and settings New user help function allows users to add custom online help for communication protocols, I/O protocols, libraries and applications (added online help can then be accessed from within Control Builder)
24
GSD Import Tool updated to support conversion of PROFIBUS-DP/V1 GSD files Improved integration with other IndustrialIT products through Aspect Integration Platform (AIP) (for details, see AC 800M/C Connect product guide)
25
One time data entry: Once entered, data is automatically accessible for all functions and units. Adding an OPC server will allow OPC clients to share data from up to 12 controllers. Variable communication allows communication between parts of the application located on different controllers
Code distribution: Applications can be distributed on several controllers. Variable communication allows communication between applications located in different controllers
Execution control: Control of priorities and execution times through task management. Power fail handling
Supervision, fault-finding and log functions: Synchronization of controller time (1 ms accuracy) throughout the control network (using AC 800M master) Logging of alarms and events Logging of system alarms and events System diagnostics tool
Redundancy support: Redundant Control Network on MMS and TCP/IP, using Redundant Network Routing Protocol (RNRP) Line redundancy for PROFIBUS-DP/V1 AC 800M CPU redundancy (PM861 only)
26
Communication support (hardware dependent): MMS, SattBus, COMLI, Siemens 3964R, MODBUS, MasterBus 300, PPP on RS-485 and RS-232C Control Network Controller communication by means of MMS and named access variables
I/O support: Integrated fieldbus support: PROFIBUS DP, PROFIBUS DP/V1, FOUNDATION Fieldbus (FF) Import and conversion of PROFIBUS-DP and PROFIBUS-DP/V1 GSD files using GSD Import Tool S800 I/O and S900 I/O common controller I/O systems S100 I/O and S200 I/O systems
Multi-user development (Control Builder Standard only): Source code can be distributed on several programming stations. User access can be controlled through user privileges and different parts of the source can be reserved or have access/updating dates restricted to certain users
27
Graphic editor support for all five IEC 61131-3 languages: Structured Text (ST), Instruction List (IL), Function Block Diagram (FBD), Ladder Diagram (LD), and Sequential Function Chart (SFC)
Built-in hardware and I/O configuration editor for configuring supported controllers, I/O systems and I/O units. Support for code re-use and object-oriented programming: System Library containing function, data and function block types that can be instantiated and will inherit properties from their parents Users can create custom types (not in Basic)
Programming environment: Offline simulation and debug of applications Download to controllers via serial communication or Ethernet Online change of control applications Cold retain of data (kept at cold start) Backup/restore of projects Functions for creating and handling custom libraries (Control Builder Standard only)
Access to user information from within the product: Extensive context-sensitive help (accessible through F1 key) Manuals in pdf format can be opened from Help menu Documentation function allows printing complete documentation for a library or for a number of objects
Addition of external user help: Users can add online help for new communication or I/O protocols, as well as custom libraries and applications. This online help is then accessible from within the Control Builder interface
28
Control Builder variants: Professional AC 800M/C Connect (integration with other IndustrialIT products via Aspect Integration Platform) For more information regarding integration with other IndustrialIT products, please refer to the Industrial IT and AC 800M/C Connect product guides. See Related Product Guides on page 18.
Alarm and events handling: I/O time stamps and Sequence-Of-Events (SOE) logging Alarm and Events library with standard types
I/O support: INSUM support (hardware dependent) Integration with other IndustrialIT products, for example Process Portal A: For more information on integration, refer to the AC 800M/C Connect product guide. See Related Product Guides on page 18
29
Programming environment: User privileges at login increases control over source code in large development projects Control Module Diagram (CMD) editor for working with control modules (not in Basic) Code sorting in order to avoid sorting loops
Integration with other IndustrialIT products, for example Process Portal A: For more information on integration functions, refer to the AC 800M/C Connect product guide. See Related Product Guides on page 18.
30
Basic No No 1 1 1 3 3 No No No No No
prod.
(1) The maximum number of controllers also depends on the Control Network and other factors. This means that the actual maximum number of controllers can be much lower than 32.
31
32
In most cases, firmware is delivered with hardware components. However, some hardware is delivered without firmware, which means that firmware has to be downloaded. Download of firmware to controllers can be done from Control Builder M. Control applications have to be created using Control Builder, and then downloaded to controllers. Control applications can be distributed and executed on several controllers and communicate with each other using named variable communication. Control Software licenses are described in Appendix A, Licenses and in Control Software on page 19.
Control Builder M
Control Builder M is a programming tool used to create control applications and download software to controllers. Control Builder is also used to configure I/O and controller communication.
33
Control Builder M
Programming Station
Control Builder is Windows 2000-based and can be run on most Windows 2000 platforms. However, to secure acceptable performance, a number of hardware and software requirements must be met. See Prerequisites and Requirements on page 59.
Control Builder M (OPC Server for AC 800M/C) MMS Server for AC 800M/C Standard PC (AC 800M/C Connect)
Figure 1. Control Builder and supporting software OPC Server for AC 800M/C is included in AC 800M/C Connect licenses and, if run in an integrated configuration, does not have to be ordered separately. . However, if OPC Server for AC 800M/C is used without an AC 800M/C Connect license, then a separate OPC Server for AC 800M/C license is required. See Appendix A, Licenses.
Download from Programming Station
Control Software (firmware and control applications) can be downloaded to controllers using Ethernet or via a direct serial link. The controller IP address must be known by Control Builder, communication must be set up and physical connections established.
Control Builder M Ethernet or direct serial link Controller Standard PC Control Network
34
Control Builder M
Controller Communication
There is also a need for controllers to communicate with one another and with other devices. This of course requires a control network. However, design and configuration of control networks is outside the scope of this product guide.
Programming Station Control Network
Controllers
Figure 3. Controller communication in control network Controllers, programming stations and operator stations communicate with each other through the Control Network. The Network can be used for synchronizing controller time and to send alarms and events to operator stations. Control Network also supports redundancy. If AC 800M/C Connect is installed, then AC800 M can also be used for configuring remote devices using Fieldbus Builder P and the HART protocol. Controller communication using variable communication is described under MMS Communication on page 40.
35
Control Software
Control Software
Control Software consists of firmware and applications running in controllers. Control Software supports a number of functions: Download of firmware/applications to controllers Fieldbus communication I/O communication Control Network communication Other communication protocols Redundancy functions Time synchronization Alarm and events handling Execution of control software (applications)
Download
Firmware and applications are downloaded to the controller from the programming station using Control Builder M, see Figure 2. If Ethernet is used, the controller's IP address must be set before download. This is carried out with the the IP Configuration tool.
Firmware
Firmware can be downloaded to both CPUs and CEX modules via Ethernet or direct serial communication. Once firmware is installed in the controller, the firmware takes care of downloaded applications and ensures they run correctly. If download fails, the Serial Upgrade tool can be used to solve the problem.
Applications
Applications can be downloaded to the controller either via Ethernet, or direct serial communication. An application can be distributed between several controllers. Parts of the application are then downloaded to different controllers.
36
Control Software supports two fieldbus systems (plus an extra version of one of these): FOUNDATION Fieldbus (FF), the most common fieldbus system in the US, can be connected to AC 800M controllers via the CI852 interface module PROFIBUS-DP, the most common fieldbus system in Europe, can be connected to all supported controllers (AC 800M, AC 800C and AC 250), AC 800M controllers via the CI851 interface module PROFIBUS-DP/V1, an enhanced version of PROFIBUS-DP, can be connected to AC 800M controllers via the CI854 interface module, offering built-in line redundancy
Control applications access built-in fieldbus functions through protocol-specific function blocks and I/O modules. Function blocks for fieldbus communication are found in the Communication library. Function blocks are described in detail in the Control Builder online help. See also Appendix C, Library Objects Overview.
SattBus
SattBus is a network standard for controller communication. SattBus can be used as a low-cost fieldbus for collection of small amounts of data under harsh conditions. SattBus can also be used on Ethernet (Advant Controller 250 only on copper wire).
ControlNet
ControlNet is a high-speed network standard for industrial applications. It is intended for fast communication between control applications and distributed I/O units.
37
ControlNet can only be used with Advant Controller 250. For information on supported I/O modules, see Appendix B, Supported Hardware and I/O Systems.
INSUM
INSUM (INtegrated System for User-optimized Motor control) is an ABB system for motor and switch gear control and protection. AC 800M controllers can be integrated with INSUM by means of a TCP/IP gateway and a CI857 interface module. Note that INSUM and Control Network must use separate physical networks.
INSUM TCP/IP gateway LonWorks Router Subnet 1 MCU 1/01 MCU 1/32 Router Subnet 2 Router
MMI
Router
38
The TCP/IP gateway connects controllers to the Local Operating Network (LON) fieldbus. Motor Control Units (MCUs) are grouped into subnets accessed through a number of routers. INSUM applications handle motor and switch gear control. They can also be set to send alarm and event information to AC 800M through the TCP/IP gateway. The INSUM operator station gives direct access to INSUM functions. AC 800M controllers also have access to INSUM functions through the function blocks in the INSUM library. See Appendix C, Library Objects Overview.
MasterBus 300 (MB 300)
The MasterBus 300 (MB 300) network protocol can be used with both AC 400 and AC 800M controllers. AC 800M controllers may be connected to both Control Network and MB 300, simultaneously. The MB 300 network supports both network redundancy and time synchronization (with the accuracy offered by MB 300). Note that MasterBus 300 and Control Network must use separate physical networks.
Other I/O Systems and Families
Control Software supports the following common ABB I/O systems and families. S800 I/O, a distributed modular I/O system for communication via PROFIBUS-DP, PROFIBUS-DP/V1, or directly S900 I/O, a remote I/O system for use in hazardous areas that can be connected to controllers via PROFIBUS-DP or PROFIBUS-DP/V1 S200 I/O and S200L I/O, two compatible, modular I/O systems where S200L I/O is the light version; S200 I/O modules can be connected directly to AC 800C and AC 250, and via PROFIBUS-DP to all supported controllers S100 I/O, a rack-based I/O system, can be connected to AC 800M using the CI856 interface module
For a complete list of supported I/O modules, see Appendix B, Supported Hardware and I/O Systems.
39
Control Network
Control Network
The recommended alternative for communication with controllers and other devices, is Control Network, a private IP domain designed for industrial applications. Control Network is based on MMS via either Ethernet or PPP on RS-232C. Routing and redundancy functions are handled by the Redundant Network Routing Protocol (RNRP), an ABB protocol for handling redundancy and for routing between nodes in a control network. In previous Control Software versions, there was a requirement for separating the control network from the client/server area of the network. This is no longer a must. However, the control network must remain protected by servers and/or firewalls and the risk of overloading the network with other traffic must be taken into account
MMS Communication
Control Network is based on Manufacturing Message Specification (MMS) protocol via Ethernet or via PPP on RS-232C. MMS is an ISO-9506 standard for sending information between industrial applications. MMS provides a number of functions, the most important for control applications are: Downloading executable code, for example from a programming station to a controller Creating, deleting, starting and stopping applications over the network Reading and writing variables over the network Obtaining information on the status of remote applications Reading and writing files over the network Alarm handling Obtaining information on the capability of remote applications Obtaining information on the revision and version of remote applications
40
Control Network
MMS can be used on several standard network protocols, but TCP/IP should be used for MMS communication. MMS messages are handled by the MMS Server for AC 800M/C, which is installed with Control Builder M and runs as a Windows 2000 service. The MMS server works as a multiplexer between the OPC server, controllers and Control Builder M.
OPC server and Control Builder M
Controllers
Figure 5. The MMS server as a multiplexer between controllers, OPC server and Control Builder M
RNRP
Redundant Network Routing Protocol (RNRP) is an ABB protocol for handling redundancy functions and routing between nodes in a control network. The protocol is designed for rapid detection of network failure and instant switching to alternative paths.
41
ModBus is a wide-spread communication protocol that can be used on a variety of media, such as wire, fiber optics, radio and telephony. ModBus is an asynchronous serial master/slave protocol that is executed in half-duplex. Control Software only supports ModBus RTU master functionality.
COMLI
COMLI is an ABB protocol for data transmission between controllers. It is designed for asynchronous master/slave communication in half-duplex. COMLI can be used for serial communication (RS-232C or RS-485) or for SattBus, or SattBus on TCP/IP.
Siemens 3964R
Siemens 3964R is a standard serial, point-to-point master/slave protocol. It can be used on any RS-232C or RS-485 channel. It is suitable for communicating with controllers and devices with Siemens 3964R support. Communication requires installation of the RK512 interpreter in the slave system. Control Software for AC 800M/C supports only the Siemens 3964R master protocol (no support for slave protocol).
42
Modem Communication
There are two types of modem that can be used with Control Software: Short-distance modems using PPP, COMLI, Siemens 3964R, ModBus RTU or PROFIBUS-DP Dial-up modems using public telecommunications, COMLI is the only protocol for which dial-up modem communication is supported Note that it is still possible to set up serial modem communication using a phone line between, for example, Control Builder M and a controller, or between an external system and a controller (using AutoConnect). There are two main reasons for using modem communication: A need for increasing the maximum length of RS-232C, RS-485 and Ethernet twisted-pair connections A need for using fiber-optic communication, to eliminate either electromagnetic interference or the risk of intrusion
43
Time Synchronization
Time Synchronization
Process Portal A
On-time switch
High-precision SNTP CNCP w. medium accuraccy
Control Network
CNCP*) AC 400 AC 800M
CNCP AC 800M
AC 800C
MB 300 TS
MasterBus 300
Figure 6. Time synchronization in Control Network, with an AC 800M as master Time synchronization uses Coordinated Universal Time (UTC), with an AC 800M controller as Clock Master. Time is retrieved from a time server or from some other high precision source. A high-precision version of the Simple Network Time Protocol (SNTP) is available for communication, for example with a time server that receives its time reference from a GPS time receiver. Only one controller can function as Clock Master, but several controllers can have Clock Master capability. Such a controller will attempt to take over as Clock Master if it does not receive time from the current Clock Master within a certain interval. Time is forwarded to all non-master AC 800M controllers using the Control Network Clock Protocol (CNCP), and to other controllers using SNTP or a light version of CNCP.
44
Redundancy
The accuracy of time synchronization differs, depending on protocol and device. CNCP synchronization is accurate to 1 ms, while CNCP light is accurate to 50 ms. Time synchronization can be configured using the Control Builder M tool. Controllers running an older version of Control Software that does not support time synchronization via CNCP/SNTP must be synchronized using some other method, for example via an OPC server using MMS.
Redundancy
Control Software supports the following redundancy functions: CPU redundancy for AC 800M (PM861) Network redundancy (RNRP) Line redundancy (CI854)
CPU Redundancy
AC 800M controllers with PM861 processor can be configured for CPU redundancy. Two PM861 CPU modules are then run in parallel, one as primary and one as secondary. If the primary CPU fails, the secondary CPU automatically takes over. It is also possible to run an AC 800M controller with PM861 in single CPU mode.
CEX bus PM861 Dual AC 800M RCU link Redundant network PM861
45
Network Redundancy
Network redundancy is based on the Redundant Network Routing Protocol (RNRP). This protocol is designed for rapid detection of network failure and instant switching to alternative paths.
Figure 8. Redundant Control Network Network redundancy requires two independent IP networks, one primary and one secondary. Whenever the maximum number of lost messages is exceeded, then traffic is switched to the secondary network. All devices with network redundancy must be connected to both networks. The node number must be identical in both networks Network redundancy can be implemented in part of the network. Nodes with one connection only must be connected to the primary network.
Line Redundancy
Line redundancy support is built into PROFIBUS-DP/V1 communication, through dual ports on the CI854 interface module. Line redundancy may be achieved for other communication by adding extra equipment
46
The Alarm and Event library contains function blocks for handling alarms and events, for example detection, notification or definition of alarm conditions. The Signal library contains function blocks for monitoring of signals, both internally and between applications System events and alarms are created in a particular controller, but can be read and acted upon by operators in other systems. The event or alarm has its origin attached to it. Alarms and events are collected and forwarded by the Alarm and Event (AE) part of the OPC server. Controllers then gain access to alarms and events from other controllers by reading data from the OPC server. Alarm and event information can also be read by other OPC clients, such as Process Portal A. See OPC ServerAlarm and Event (AE) Part on page 58. OPC Server for AC 800M/C is included in AC 800M/C Connect licenses and, if run in an integrated configuration, does not have to be ordered separately. However, if OPC Server for AC 800M/C is used without an AC 800M/C Connect license, then a separate OPC Server for AC 800M/C license is required. See Appendix A, Licenses.
47
Control Builder M
Control Builder M
Control Builder consists of the following main parts: Project Explorer Programming environment Online help and manuals
Project Explorer
The Project Explorer is the main work area of Control Builder M.
Figure 9. Control Builder M Project Explorer The content of Project Explorer menus varies slightly with the Control Builder M variant (Professional, Standard, or Basic). This overview describes the Control Builder Professional Project Explorer. The Project Explorer resembles the Windows Explorer and the tree structure contains three main branches: Libraries Applications Controllers
48
Project Explorer
Libraries
The Libraries branch contains all libraries, (see Figure 9). The user can insert or remove standard libraries, as well as create and add custom libraries.
Applications
The Applications branch lists all applications that are handled in that particular Control Builder M installation. Each application contains data types, function block types, control module types, control modules, and programs (called Program Organization Units, POUs, in the IEC-61131-3 standard). An application can be copied to a specific controller, if required.
Controllers
The Controllers branch displays the hardware tree. The tree shows all connected controllers and the hardware units that have been associated with them. For a hardware unit to be added, the hardware definition file for that unit must be supported by Control Builder.
Figure 10. The Controllers branch in the Control Builder Project Explorer tree
49
Programming Environment
For each controller in the hardware tree, the following items can be added and changed: Access variables that can be used for variable communication with other controllers are listed under a separate entry. Double-clicking this icon starts the access variable editor A controller hardware definition is added when the controller is created in the tree. When creating the controller, the user must select the controller type, for example AC 800M. Double-clicking on this icon starts the hardware editor, where hardware can be configured Tasks that can be associated with different applications in order to control priorities and execution order. See Execution of Control Software on page 47 Applications that should be downloaded to and executed in the controller
Programming Environment
Editors
Using control modules, Control Builder M handles all five IEC-61131-3 languages, as well as program-oriented programming. There are six different language editors: Ladder Diagram Editor (LD Editor) Instruction List Editor (IL Editor) Structured Text Editor (ST Editor) Function Block Diagram Editor (FBD Editor) Sequence Functional Chart Editor (SFC Editor) Control Module Diagram Editor (CMD Editor) (Control Builder Professional only)
50
Programming Environment
Figure 11. Example of a language editor (Function Block Diagram Editor) All editors support graphic programming and contain a number of functions for creating, changing, moving, grouping and connecting graphic elements and variables. In addition to language editors, there is a Connection Editor that is used to connect input and output parameters to function blocks and functions.
Supporting Functions
The programming environment also offers a number of supporting functions: Firmware and applications can be downloaded either via Ethernet or a direct serial link Both projects and parts of the code can be access-restricted. Source code distribution is supported Code can be re-used through instantiation of types
51
Programming Environment
Users can create custom libraries containing function blocks or control modules. Access to these libraries can be limited to certain users or user groups. (Not possible in Control Builder Basic.) Code (types, libraries) can be set to protected, to protect intellectual capital Applications can be simulated and debugged offline, without connecting to any I/O units or external units Cold retain attributes can be set so that variables and parameter values are stored on the hard disk, and restored at cold restart Applications can be changed online Projects can be documented in a Word file, using the documentation function. This function can also be used to document libraries, or even individual function blocks or control modules (both online and offline) The complete contents of any editor can be printed at any time A Backup/Restore function A system diagnostics tool is available for fault-finding and/or optimizing an application The user has access to extensive alarm and event logs
Control Builder Professional offers a number of additional functions: Object-oriented programming using control modules User login function The Control Module Diagram (CMD) editor allows for object-oriented programming using control modules Code sorting function that analyzes the execution of different parts of the control modules and finds the optimum order of execution. If a sorting loop is discovered, the user is alerted and prompted to resolve the loop. The code sorting function also points out the place in the code where the sorting loop occurred
52
A larger number of connected controllers (32), a larger total number of applications (256), and more applications per controller (8) If integration with the Aspect Integration Platform (AIP) through AC 800M/C Connect is installed, it is necessary to use Control Builder Professional.
Control Builder M has an extensive online help system with context-sensitive (F1) help for objects displayed in the Project Explorer. Online help is displayed for the selected object when F1 is tapped. Online help can also be displayed by clicking Help in dialog boxes or selecting it under the Help menu.
F1
Figure 12. Context-sensitive (F1) help If a library or hardware definition is added, online help can be added using the User Help function. Added files are displayed under User Help on the Help menu.
Manuals
ControlIT user manuals in pdf format are available from within Control Builder M. The documentation overview can be selected from the Help menu and a manual opened by clicking the title in the overview.
53
Additional Software
Additional Software
Control Builder is aided by a number of additional tools and products: Control Builder Setup Wizard GSD Import tool IP Configuration tool Serial Firmware Upgrade tool MMS Server for AC 800M/C
The Setup Wizard is used to configure Control Builder M and OPC Server for AC 800M/C, as well as RNRP.
GSD Import Tool
The GSD Import tool is used to convert PROFIBUS GSD files to a format that can be read by Control Builder M. GSD Import supports conversion of both PROFIBUS-DP and PROFIBUS-DP/V1.
IP Configuration Tool
The IP Configuration tool is used to set controller IP addresses via a direct serial channel. The initial IP address must be set before downloading firmware and applications to the controller.
Serial Firmware Upgrade Tool
The Serial Firmware Upgrade tool is used to upgrade controller CPU firmware via a direct serial channel. This tool is used as a last resort, if for some reason the normal firmware upgrade procedure fails.
54
Additional Software
MMS Server for AC 800M/C Control Builder M and OPC Server for AC 800M/C MMS Server for AC 800M/C Control Network
Figure 13. MMS Server for AC 800M/C The MMS server handles MMS communication. It serves as a multiplexer between Control Builder M, OPC servers, and controllers.
55
The OPC server exposes data to the clients (DA part) and supports the transfer of alarm and event information from attached controllers to subscribing OPC clients (AE part). OPC Server for AC 800M/C is included in AC 800M/C Connect licenses and, if run in an integrated configuration, does not have to be ordered separately. However, if OPC Server for AC 800M/C is used without an AC 800M/C Connect license, then a separate OPC Server for AC 800M/C license is required. See Appendix A, Licenses. This product guide focuses on the stand-alone use of the OPC server. When integrating Control Builder M with Process Portal A, the OPC server is included in this license. For information on OPC Server for AC 800M/C as part of AC 800M/C Connect, refer to the corresponding product guide. See Related Product Guides on page 18. For information regarding OPC server performance, possible configurations or OPC server restrictions, see Section 3, Technical Data and Performance.
56
It can also be used to store cold retain data. The OPC server detects the following events and updates data on each. A new version of an application and/or a controller configuration is downloaded. A new application (an application that did not previously exist) is downloaded An application is deleted from a controller One application or several new ones and a controller configuration are downloaded to a previously empty controller When integrating Control Builder M with Process Portal A, the OPC server can be used for time syncronization, based on a time stamp that is created by Process Portal A. The DA part of OPC Server for AC 800M/C supports the OPC Data Access 1.0a and OPC Data Access 2.05 standards.
57
AC 800M/C Connect
The AC 800M/C Connect product is an option that can be installed from the ControlIT for AC 800M/C Products CD-ROM. AC 800M/C Connect must be installed in order to run Control Builder M in integration with Process Portal A. AC 800M/C Connect also gives the user access to the AC 800M/C Tool Routing function, which allows use of the Fieldbus Builder P tool to change the setup of various HART devices via AC 800M. For information about AC 800M/C Connect product, please refer to the corresponding product guide (see Related Product Guides on page 18).
58
59
Hardware Requirements
Hardware Requirements
The following hardware requirements must be met in order for Control Builder M to function correctly. Using hardware other than that recommended can affect performance. Table 3. Control Builder M hardware requirements
Hardware CPU Internal memory Hard disk Screen Drives Communication ports Mouse Minimum requirement Pentium 166 MHz 64 MB RAM 50 MB free (200 MB for full installation) 800x600, 32768 colors CD-ROM, local or network Ethernet or RS-232C for controller communication Standard, 3-button mouse if Control Module Editor is used Recommended for medium and large configurations Pentium II 350 MHz, or better 128 MB RAM 50 MB free (200 MB for full installation) 1280x1024, 32768 colors CD-ROM, local network Ethernet or RS-232C for controller communication Standard with scroll wheel, 3button mouse if Control Module Editor is used
60
61
This recommendation is taken without consideration on the OPC client installed in the same PC. Normally the OPC client, for example Process Portal A, has higher requirement, where the recommendation should be adjusted.
62
Available RAM memory is measured after loading firmware and an "empty" project, that is to say a project that has had nothing added to it after being created.
Maximum application size = 50% of Available memory
Available memory
Empty project
Firmware
Figure 14. Available memory The memory occupied by an empty project is subtracted since this space is required regardless of the size and complexity of the application, and will be the same for all controllers. As a general rule, an application should never exceed half the size of the available memory. The reason for this is the manner in which applications are updated online: 1. 2. 3. 4. The increment (the difference between the old and the updated application) is downloaded to controller memory. A new version of the application is built in controller memory, based on the old application and the increment. The controller switches from the old to the new application. The old application is deleted.
This technique handles all updates in a very controlled and efficient way. What is required is for free memory to equal the size of the largest application. If an application comes close to the limit, it should be split in two so the two parts can be updated separately.
.
63
Memory Consumption and Execution Times for Function Blocks and Control Modules
Memory is reserved for each defined function block type. When another instance is created, the amount of memory reserved for the instance is very small in relation to the type. This means that the memory consumed by the type itself is of great importance. The following tables show memory consumption and execution time per controller and CPU, for a number of common function blocks and control modules, as well as for a number of common control loops.
64
Table 8. AC 800M memory consumption and execution time for function blocks and control modules
Object Function Blocks UniCore UniHSI BiCore BiHSI DriveCore Uni Bi MotorUni MotorBi ValveUni PidSimpleReal PidLoop PidLoop3P PidCascadeLoop PidCascadeLoop3P SignalBool SignalInBool SignalOutBool SignalReal SignalInReal SignalOutReal 15 716 5 560 18 260 5 924 8 004 34 696 36 656 38 764 51 452 33 944 8 544 51 928 56 368 60 344 66 788 17 008 17 576 17 716 37 132 38 576 35 512 2 680 648 4 644 792 2 038 6 072 5 212 9 396 2 068 4 344 1 468 6 336 7 344 14 684 12 544 1 616 2 452 2 420 10 844 9 508 9 520 TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD 0.076 0.0072 0.105 0.01 0.126 0.185 0.2595 0.234 0.321 0.139 0.0885 0.453 0.481 0.8235 0.807 0.03375 0.02925 0.0289 0.143 0.115 0.105 TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD First Instance Next Instance (bytes) (bytes) PM856 (ms)
PM860 (ms) PM861 (ms)
65
Table 8. AC 800M memory consumption and execution time for function blocks and control modules
Object Control Modules UniM BiM MotorUniM MotorBiM ValveUniM AnalogInCC AnalogOutCC Level6CC ThreePosCC PidSimpleCC PidCC PidAdvancedCC 30 364 35 524 35 912 40 132 29 740 14 364 15 612 47 652 19 204 10 812 75 512 171 652 4 880 5 856 8 716 7 488 4 344 3 324 3 444 16 304 4 050 2 340 13 460 25 156 TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD 0.067 0.079 0.077 0.098 0.107 0.0977 0.104 0.173 0.221 0.134 0.453 1.163 TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD First Instance Next Instance (bytes) (bytes) PM856 (ms)
PM860 (ms) PM861 (ms)
Table 9. AC 800C memory consumption and execution time for function blocks and control modules
Object Function Blocks Bi BiCore BiHSI TBD TBD TBD TBD TBD TBD TBD TBD TBD First Instance Next Instance (bytes) (bytes) PM210 (ms)
66
Table 9. AC 800C memory consumption and execution time for function blocks and control modules
Object DriveCore MotorBi MotorUni PidCascadeLoop PidCascadeLoop3P PidLoop PidLoop3P Uni UniCore UniHSI ValveUni First Instance Next Instance (bytes) (bytes) TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD PM210 (ms) TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD
67
Table 9. AC 800C memory consumption and execution time for function blocks and control modules
Object Control Modules BiM MotorBiM MotorUniM UniM ValveUniM AnalogInCC PidAdvancedCC AnalogOutCC Level6CC ThreePosCC PidCC PidSimpleCC TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD First Instance Next Instance (bytes) (bytes) PM210 (ms)
68
Table 10. Advant Controller 250 memory consumption and execution time for function blocks and control modules
Object Function Blocks Bi BiCore BiHSI DriveCore MotorBi MotorUn PidCascadeLoop PidCascadeLoop3P PidLoop PidLoop3P Uni UniCore UniHSI ValveUni TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD First Instance Next Instance (bytes) (bytes) PM253 (ms)
PM254 (ms) PM255 (ms)
69
Table 10. Advant Controller 250 memory consumption and execution time for function blocks and control modules
Object Control Modules BiM MotorBM MotorUniM UniM ValveUniM AnalogInCC PidAdvancedCC AnalogOutCC Level6CC ThreePosCC PidCC PidSimpleCC TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD First Instance Next Instance (bytes) (bytes) PM253 (ms)
PM254 (ms) PM255 (ms)
70
Table 11. CPU execution time per CPU for a number of standard function block calls
Function Block Type ACOFActivate (disabled) ACOFActivate (enabled) ACOFActivate (timer on) CTUD Empty FB call LevelHigh (Active) LevelHigh (not Active) PulseGenerator (1 sec. High / 1 sec. Low) PulseGenerator (disabled) PulseGenerator (High out) PulseGenerator (Low out) RTC (read) RTC (set) AC 800M PM856/860(*) (s) 33.6 39.1 90.9 12.5 4.5 12.8 12.9 51.5 AC 800M PM861 (s) TBD TBD TBD TBD TBD TBD TBD TBD AC 800C PM210 (s) TBD TBD TBD TBD TBD TBD TBD TBD AC 250 PM253 (s) TBD TBD TBD TBD TBD TBD TBD TBD AC 250 PM254 (s) TBD TBD TBD TBD TBD TBD TBD TBD AC 250 PM255 (s) TBD TBD TBD TBD TBD TBD TBD TBD
71
Table 11. CPU execution time per CPU for a number of standard function block calls
Function Block Type SR TOn (after stopping timer) TOn (before starting timer) TOn (timer active) TP (after stopping timer) TP (before starting timer) TP (timer active) AC 800M PM856/860(*) (s) 8.16 10.1 37.9 11.3 11.5 32.8 11.3 AC 800M PM861 (s) TBD TBD TBD TBD TBD TBD TBD AC 800C PM210 (s) TBD TBD TBD TBD TBD TBD TBD AC 250 PM253 (s) TBD TBD TBD TBD TBD TBD TBD AC 250 PM254 (s) TBD TBD TBD TBD TBD TBD TBD AC 250 PM255 (s) TBD TBD TBD TBD TBD TBD TBD
72
Table 12. CPU execution time for a number of standard operations and function calls
Operation/ Function a:= b - c (dint) a:= b - c (int) a:= b - c (real) a:= b * c (dint) a:= b * c (int) a:= b * c (real) a:= b / c (dint) a:= b / c (int) a:= b / c (real) a:= b + c (dint) a:= b + c (int) a:= b + c (real) a:= b <> c (dint) a:= b <> c (real) a:= b and c (Boolean) a:= b and c (word) a:= b or c (Boolean) a:= b or c (word) AC 800M AC 800M AC 800M AC 800C PM856 PM860 PM861 PM210 (s) (s) (s) (s) 2.14 2.46 7.84 2.24 2.48 6.28 3.92 3.78 17.5 2.16 2.46 8.52 3.08 7.92 2.18 2.44 2.12 2.46 1.07 1.23 3.92 1.12 1.24 3.14 1.96 1.89 8.75 1.08 1.23 4.26 1.54 3.96 1.09 1.22 1.06 1.23 TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD AC 250 PM253 (s) TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD AC 250 PM254 (s) TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD AC 250 PM255 (s) TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD
73
Table 12. CPU execution time for a number of standard operations and function calls
Operation/ Function a:= b xor c (Boolean) a:= b xor c (word) a:= shl(b, c) (word) a:= shr(b, c) (word) dint := real (real_to_dint) real := dint Real_to_time Sqrt (real) Str1 := Str2 (string) Str1 := Str2 + Str3 (string) Time_to_real Time_to_string (0d0h0m) Time_to_string (34d10h23m 45s678ms) Time1 >= Time2 TimeElapsed AC 800M AC 800M AC 800M AC 800C PM856 PM860 PM861 PM210 (s) (s) (s) (s) 2.18 2.44 3.70 3.68 79 8.20 111.6 23.0 23.6 234 40.8 342 330 1.09 1.22 1.85 1.84 39.5 4.10 55.8 11.5 11.8 117 20.4 171 165 TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD AC 250 PM253 (s) TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD AC 250 PM254 (s) TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD AC 250 PM255 (s) TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD TBD
36.4 13.8
18.2 6.90
TBD TBD
TBD TBD
TBD TBD
TBD TBD
TBD TBD
74
Table 12. CPU execution time for a number of standard operations and function calls
Operation/ Function TimerHold (after stopping timer) TimerHold (before starting timer) TimerHold (timer on hold) TimerHold (timer started) AC 800M AC 800M AC 800M AC 800C PM856 PM860 PM861 PM210 (s) (s) (s) (s) 5.96 2.98 TBD TBD AC 250 PM253 (s) TBD AC 250 PM254 (s) TBD AC 250 PM255 (s) TBD
6.04
3.02
TBD
TBD
TBD
TBD
TBD
6.50 9.26
3.25 4.63
TBD TBD
TBD TBD
TBD TBD
TBD TBD
TBD TBD
75
The Modulebus scanning (AC 800M) has great influence on CPU load, since I/O copying on Modulebus is handled by the controller CPU. The scan time increases as modules are added, and at a certain point Modulebus scanning will start to seriously influence CPU load. The Modulebus scan interval can be set in Control Builder. The interval must be set to fit the module requiring the shortest scan interval. A solution to this problem is to connect I/O variables requiring shorter scan times via the PROFIBUS adapters (CI851+CI854). In AC 800M, Modulebus scanning has the highest priority. The cyclic load presented for IEC-61131-3 applications includes extra load caused by Modulebus interrupts.
76
The following table shows CPU load and scan times for three different configurations. The desired scan time is 100 ms. Table 13. Scanning of digital/analog modules on AC 800M Modulebus, three different configurations
Item/Measured Data Digital modules No. of modules Modulebus scan interval for modules CPU load (%) Analog modules No. of modules Modulebus scan interval(1) CPU load (%) Total CPU load (%) in this case Shortest possible scan interval for all above modules (ms) CPU load at shortest scan interval (%) 24 100 (4*400) ms 2.9 7.9 33 23 2 20 (4*80) ms 1.2 4.0 4 20 5 10 (4*40) ms 6.0 11.6 5 23 72 100 ms 5.0 8 20 ms 2.8 8 10 ms 5.6 Configuration 1 Configuration 2 Configuration 3
(1) Analog modules are scanned every fourth cycle; temperature modules every eighth cycle.
Scan time in ms
where NDigital = No. of digital modules NAnalog = No. of analog modules T Digital = Processing time for a digital module = 70 s, TAnalog = Processing time for an analog module = 120 s,
77
and
Scanning of ABB Drives on Modulebus also influences CPU load (for AC 800M). The CPU load should be calculated separately and added to the CPU load generated by I/O modules on the Modulebus.
Modulebus Scanning of ABB Engineered Drives (AC 800M)
Scanning of an Engineered Drive is distributed over 3*12 scan cycles. Three channels (DDS Pairs) are scanned in each scan cycle. The first two are always channels 1 and 2 (i.e. DDS Pair 10/11 and 12/13); the third will be different for each scan cycle. Table 14. Scan cycles for ABB Application Drives
Scan Cycle 1 2 3 4 5 6 7 8 DDS Pair 1 10/11 10/11 10/11 10/11 10/11 10/11 10/11 10/11 DDS Pair 2 12/13 12/13 12/13 12/13 12/13 12/13 12/13 12/13 DDS Pair 3 14/15 16/17 18/19 20/21 14/15 16/17 18/19 22/23
78
To scan the three DDS pairs each cycle takes approximately 1.5 ms. Therefore in a system that only contains Application drives, the scan time will be approximately 1.5 ms * number of drives. It is not possible to have a scan interval less then 2 ms for the Modulebus scanner. Thus, for one drive the scan time will be 2 ms. Example For four drives, the scan time will be 1.5 ms * 4 = 6 ms for the DDS pairs 10/11 and 12/13, and the scan interval for the remaining of the DDS pairs will be 1.5 ms * 4 * 12 = 72 ms.
Modulebus Scanning of ABB Standard Drives (AC 800M)
For ABB Standard Drives, all data sets (DDS 1/2 and DDS 3/4) are scanned in each scan cycle. It takes approximately 1 ms to scan a single Standard Drive. Example For four ABB Standard Drives the scan time will be 1 ms * 4 = 4 ms.
79
Table 15. Memory consumption for S800 I/O digital input modules
Module DI801 DI802 DI803 DI810 DI811 DI814 DI820 DI821 DI830 DI831 DI885 DI890 DP820 First Module bytes 2780 1756 1756 2796 2668 2668 1820 1756 3676 3676 2264 2012 7336 Next Module (bytes) 3509.6 2616 2670.4 3506.4 3664 3568 2580.8 2616 4504 4504 3228 2748 7836
80
Table 16. Memory consumption for S800 I/O digital output modules
Module DO801 DO802 DO810 DO814 DO815 DO820 DO821 DO890 First Module (bytes) 3052 1900 3176 3196 2020 2040 2024 1396 Next Module (bytes) 4052 2788 3884 3873.6 2804 2768 2784 2234.4
Table 17. Memory consumption for S800 I/O analog input modules
Module AI801 AI810 AI820 AI830 AI835 AI890 AI895 First Module (bytes) 4696 4688 2672 4572 4656 4708 4704 Next Module (bytes) 5442.4 5592 3461.6 5460.8 5531.2 5700 5456
81
Table 18. Memory consumption for S800 I/O analog output modules
Module AO801 AO810 AO820 AO890 AO895 First Module (bytes) 4724 4580 2652 4728 4728 Next Module (bytes) 5463.2 5666 3517.6 5744 5463.2
82
Table 19. Memory consumption for S900 I/O digital combined modules
Module DP910 (F12P) DP910S (F12F) DX910 (DIO8) DX910 (DIO8S) DX910 (DIO8 8I) DX910 (DIO8 8I S) First Module (bytes) 5435 4544 5792 6672 4740 5652 Next Module (bytes) 2716.8 1828 3004 3851.2 2064 2893.6
Table 20. Memory consumption for S900 I/O digital output modules
Module DO910 (DO4) First Module (bytes) 4152 Next Module (kbytes)) 1485.6
Table 21. Memory consumption for S900 I/O analog input modules
Module AI910 (AI4) AI920 (AI4I) AI921 (AI4IU) AI930 (AI4HA) AI930 (AI4HA1H) First Module (bytes) 5500 5500 5500 5500 5988 Next Module (bytes) 2904.8 2856 2856 2856 3185.6
83
Table 21. Memory consumption for S900 I/O analog input modules
Module AI930 (AI4HA4H) AI930 (AI4HA8H) AI931 (AI4HP) AI931 (AI4HP1H) AI931 (AI4HP4H) AI931 (AI4HP8H) AI950 (TI4R) AI950 (TI4T) First Module (bytes) 7196 8580 5460 5960 7080 8548 5384 5352 Next Module (bytes) 4361.6 5980 2832 3272 4396 5788 2796 2880.8
Table 22. Memory consumption for S900 I/O analog output modules
Module AO910 (AO) AO920 (AO4I) AO930 (AO4H) AO930 (AO4H1H) AO930 (AO4H4H) AO930 (AO4H8H) First Module (bytes) 5424 5424 5344 5844 6944 8320 Next Module (bytes) 2827.2 2828.4 2756 3094.4 4226.4 5840
84
This section lists memory consumption for S200L I/O and S200 I/O modules. Table 23. Memory consumption for S200L I/O modules
Module DI210 DO210 DX210 AI210 AO210 AX210 First Module (bytes) 3 256 2 974 3 206 4 718 3 072 4 020 Next Module (bytes) 2 831 2 580 2 748 4 629 2 846 3 610
Table 24. Memory consumption for S200 I/O digital input modules
Module 200-IB16 200-IB32 First Module (bytes) 3 108 4 740 Next Module (bytes) 2 904 4 448
Table 25. Memory consumption for S200 I/O digital combined modules
Module 200-IB10xOB6 200-IB16xOB16P First Module (bytes) 4 646 4 726 Next Module (bytes) 2 856 4 606
85
Table 26. Memory consumption for S200 I/O digital output modules
Module 200-OB8EP 200-OB16 200-OB16P 200-OB32P First Module (bytes) 3 034 4 334 2 944 4 560 Next Module (bytes) 2 746 2 598 2 546 4 460
Table 27. Memory consumption for S200 I/O analog input modules
Module) 200-IE8 First Module (bytes) 4 332 Next Module (bytes) 4 774
Table 28. Memory consumption for S200 I/O analog combined modules
Module 200-IE4xOE2 First Module (bytes) 3 402 Next Module (bytes) 3 115
Table 29. Memory consumption for S200 I/O analog output modules
Module 200-OE4 First Module (bytes) 2 828 Next Module (bytes) 2 632
86
87
MMS Communication
The performance data for S100 I/O modules is not available, because that the implementation is not ready yet.
MMS Communication
Serial communication performance is affected by transmission speed, message length and application load. MMS communication takes place serially and asynchronously, according to the master/slave (or client/server) principle. The master channel of a system initiates the message transmission sequence, while a system acting as a slave simply responds to the calls from the master via a slave channel. The following table shows the performance of a master system in terms of messages per second for MMSWrite and MMSRead commands respectively.
.
88
MMS Communication
Data type
1 dint or 1 bool 159 dint 319 bool 136 real 190 string [1] 6 string [140] 1 dint or 1 bool 159 dint 319 bool 136 real 190 string [1] 6 string [140]
The two tables on the following pages show the influence of application load in slave systems (new measurements must be taken to deliver up-to-date values).
89
MMS Communication
Table 32. Performance of a slave system, AC 800M and Advant Controller 250.
Application load in slave (%) 1 dint or 1 bool Write command from master 0 10 40 50 69 0 10 40 50 69 208 206 136 112 67 202 208 135 110 66 Messages/sec. 319 bool 90 64 72 50 41 38 25 21 12 159 dint 118 110 102 64 62 60 39 32 19 136 real 130 111 87 62 74 73 48 39 23
90
MMS Communication
Note that the performance values presented here were obtained under optimized conditions. Several function blocks have been triggered in parallel at a short interval time (10 ms) to get the maximum communication rate. Please consider these facts when you use the figures for your communication design. Note also that extensive use of named access variables deteriorates performance. The application internal communication load can be monitored from Control Builder M. The Ethernet standard allows bandwidth transmission at 10 Mb/s, 100 Mb/s (fast Ethernet), and 1000 Mb/s (gigabit Ethernet), but ControlIT for AC 800M/C currently supports only 10 Mb/s.
91
92
Table 34. Number of variables read per second at 1.0 s update rate
Controller/CPU AC 800M / PM861 AC 800M / PM860 AC 800C / PM210 AC 250 / PM253 AC 250 / PM254 AC 250 / PM255 18000 25 31500 1600 40 27 Total Items CPU Load (%) Transmission Speed (telegram/s) TBD 94 6 TBD TBD 54
This data is tested on a Pentium III, 800 MHz processor and 512 Mbyte RAM.
93
94
Section 4 Ordering
Ordering Procedure
The product guide is aimed to assist ABB sales representatives in ordering Control Software and Control Builder M licenses and products. This section describes the price lists required when ordering and provides an example of an order. However, it is outside the scope of this product guide to give a complete description of all ordering procedures and tools. It is assumed that each ABB sales representative is familiar with price lists, CAST and other tools to order.
Price Lists
Counting I/O Points
The licensing system for Control Software licenses is based on counting I/O points. The I/O point count is calculated based on the number of variables used on local and remote I/O channels, and on variables used in communication with third party systems. Each Boolean variable counts as one I/O point, while each non-Boolean variable counts as two points. See Appendix A, Licenses.
Control Software Base Licenses, version 3.1
Document no: 3BSE 025 497 Use this price list to order the following Control Software licenses. Binary Control License for AC 800M/C, with or without I/O point support Basic Control License for AC 800M/C, with or without I/O point support
95
Price Lists
Section 4 Ordering
Advanced Process Control License for AC 800M/C, with or without I/O point support Optional Advanced Control License for Fuzzy Control Library (this option might be removed)
Document no: 3BSE 025 498 Use this price list to order the following Control Software licenses. Binary Control I/O Expansion License for AC 800M/C, from x to y I/O Points (for a number of x and y values) Basic Control I/O Expansion License for AC 800M/C, from x to y I/O Points (for a number of x and y values) Advanced Process Control I/O Expansion License for AC 800M/C, from x to y I/O Points (for a number of x and y values) Note that it might be necessary to obtain several I/O point expansion licenses should the I/O point count increase notably. Should the need for I/O point support increase from x to z, then two licenses are required: one for expansion from x to y I/O points, and one for expansion from y to z I/O points. Optional Advanced Control License for Fuzzy Control Library (this option might be removed) Expansion to a higher license level from Binary Control to Basic Control, with or without I/O Point support Basic Control to Advanced Control, with or without I/O Point support Binary Control to Advanced Control, with or without I/O Point support
96
Section 4 Ordering
Price Lists
Document no: 3BSE 028 325 Use this price list to order the following Control Builder M licenses Control Builder M Basic Control Builder M Standard Control Builder M Professional
Document no: 3BSE 028 326 Expansion to a higher Control Builder M license level from Basic to Standard Basic to Professional Standard to Professional
Document no: 3BSE 025 500 Use this price list to order the following OPC Server for AC 800M/C licenses. License for OPC Server, version 3.1, Support for Data Access and Alarm/Event
Document no: 3BSE 025 501 This price list is used for ordering the following ControlIT products. ControlIT for AC 800M/C, Product Box, version 3.1 ControlIT for AC 800M/C, CD only, version 3.1 ControlIT for AC 800M/C, version 3.1, individual manuals
97
Ordering Example
Section 4 Ordering
Ordering Example
For information on how to calculate I/O points, refer to Appendix A, Licenses. The first part of this example shows how to use price lists to order a "normal" Control Software and Control Builder M constellation. The second part shows how to use the price lists to expand the original order.
Original Order
The following is to be ordered: A Control Builder M Standard License A Control Software Basic Control License, with support for up to 50 I/O points To create a working margin, it is recommended that a 20 percent margin be used when calculating the number of I/O points. The above 50 I/O points are assumed to include such a margin. Step-by-step Example: 1. 2. 3. 4. 5. Find the correct price list for the Control Builder Standard license: The Control Builder M license price list has the number 3BSE 028 325 Find the correct heading and item number: 1.4 Control Builder Standard, A205 Find the correct price list for Control Software Base licenses: The Control Software Base license price list has the number 3BSE 025 497 Find the correct heading and item number: 3.1 Basic License, C008 Find the correct heading for I/O support and the I/O Point level immediately above 50 I/O points: 3.2 I/O Point Support, C015 corresponds to a maximum of 64 I/O points
Order A205 from list number 3BSE 028 325. Order C008 and C015 from price list number 3BSE 025 497.
98
Section 4 Ordering
Step-by-step example: 1. Find the correct price list for expansion of Control Software licenses: The Control Software Expansion Licenses price list has the number 3BSE 025 498. Find the correct heading for expanding the license: 7.1 Base License (no I/O Support), F008 is used for expansion from Basic Control to Advanced Process Control, and F015 is required for support of up to 64 I/O points. Find the correct heading for expanding the number of I/O points for an Advanced Process Control license: 4.1 Incremental licenses for expansion of I/O support are used to expand the number of I/O points for an Advanced Process Control license. Find the items corresponding to expansion from 64 to 180 I/O points: 4.1 Incremental licenses for expansion of I/O support, C020 expands I/O point support from 64 to 128 I/O points, and C025 expands I/O point support from 128 to 200 I/O points Note that expanding I/O point support from 64 to 200 points requires two I/O point expansion licenses, C020 and C025. Order F008, F015, C020 and C025 from price list number 3BSE 025 498.
2.
3.
4.
99
Section 4 Ordering
100
Appendix A Licenses
License Concept
The license concept for AC 800M/C controllers is as follows. A license is required for the Control Builder M engineering and programming tool. There are three Control Builder variants, each with its own license (Basic, Standard, and Professional) A runtime license is required for each controller, for running and executing applications. It is called a Control Software license, and is based on two independent factors: the libraries used the number of used I/O points (see definition below)
A license is required for integration between Control Software and other IndustrialIT products, either through OPC Server for AC 800M/C (in which case integration can include third party products) or through AC 800M/C Connect. If OPC Server for AC 800M/C is used without AC 800M/C Connect, then a specific OPC Server for AC 800M/C license is required. If AC 800M/C Connect is installed, the license cost is based on the tag count, see AC 800M/C Connect Tags on page 106. The OPC Server for AC 800M/C license is then included in the AC 800M/C Connect license.
101
Appendix A Licenses
Expansion Licenses
Special licenses are required for moving from one Control Builder M variant to another: Control Builder M Basic to Control Builder M Standard Control Builder M Basic to Control Builder M Professional Control Builder M Standard to Control Builder M Professional
A few libraries
Figure 15. Control Software licenses are based on the libraries used in applications and on the I/O point count To find out which Control Software license to use, look up the relevant Base license (see Base Licenses on page 103) count the I/O point (see I/O Points on page 104), and find the right combination in the price list.
102
Appendix A Licenses
Base Licenses
Base Licenses
There are three Control Software Base licenses. Binary Control Basic Control Advanced Process Control
The fuzzy control library, FuzzyLib, can be ordered as an option. The following table shows the libraries included in each Base license type. Libraries containing supporting functions only (such as ControlSupportLib and IconLib) are not included. Table 35. Libraries included in different Base license types
License Level Binary Control Basic Control Libraries
SystemLib SystemLib CommunicationLib(1) ProcessObjBasicLib ControlBasicLib ControlSimpleLib SerialLib SignalObjLib BatchLib ControlStandardLib(2)
(1)
FuzzyLib Option
(1) This library contains control modules, the use of which requires Control Builder M Professional. (2) This library consists of control modules which require Control Builder M Professional.
103
I/O Points
Appendix A Licenses
Expansion Licenses
Base licenses can be expanded through the following three expansion licenses: Binary Control to Basic Control Basic Control to Advanced Process Control Binary Control to Advanced Process Control
I/O Points
The I/O point count is based on all variables connected to local and remote I/O channels. Variables are either connected via the I/O buses, such as Modulebus, FOUNDATION Fieldbus (FF) and Profibus-DP. Each variable of Boolean data type counts as one I/O point Each variable of non-Boolean data type counts as two I/O points
To calculate the total number of I/O points: Identify all objects to be controlled by each controller Count all Boolean connected variables Count all non-Boolean connected variables For each Boolean variable, add one (1) I/O point to the I/O count For each non-Boolean variable, add two I/O points to the I/O count Add 20% to the I/O point count, to create a margin for growth
If the I/O point count exceeds the supported level, an expansion license can be used to move to a higher I/O point level. If the I/O point count increases notably, several expansion licenses might be required. See ControlIT for AC 800M/C price lists.
104
Appendix A Licenses
The number of tags is calculated in the integrated system, and is a measure of the size and complexity of the system. For a description of how to calculate tags, see AC 800M/C Connect Tags on page 106.
105
Appendix A Licenses
Using deep structures in an application may produce more tags than the use of flat structures. However, deep structures are normally the result of objectoriented programming, which typically requires fewer engineering and testing hours than traditional programming methods. Do not jeopardize the benefits of object-oriented programming just to lower the number of tags.
106
Appendix A Licenses
Eight tags
Figure 16. Eight conveyors with eight tags each generate 64 tags
107
Appendix A Licenses
Controller
108
Appendix A Licenses
Process Portal A (5) Server AC 800M/C Connect (3) OPC Server for AC 800M/C included Control Builder M Professional (1)
Controller C
109
Appendix A Licenses
110
PM856 PM856 is a high-performance, 32-bit, Single Board Computer, which directly connects to the S800 I/O system via Modulebus.
111
AC 800M
PM860 PM860 is a high-performance, 32-bit, Single Board Computer, which directly connects to the S800 I/O system via Modulebus. PM860 is twice as fast as PM856 in executing an application program. PM861 (Redundant and Singular) PM861 is a high-performance, 32-bit, Single Board Computer, which directly connects to the S800 I/O system via Modulebus. PM861 has one optional Redundancy Control Link for redundant configuration.
CI851 The CI851 unit is the communication interface for PROFIBUS-DP/V0 for the AC 800M. It is a master unit and you can connect up to 125 slaves to it. However, you cannot connect more than 32 units in one segment. CI852 CI852 is the communication interface for the Fieldbus Foundation H1 bus for the AC 800M. The unit acts as a Link Active Scheduler (LAS) on the H1 bus. CI853 CI853 is the RS-232C serial communication interface unit for the AC 800M. Two possible settings of the serial ports on the CI853 unit are not valid and must not be used. These are: 1) 7 data bits, no parity, 1 stop bit 2) 8 data bits, parity, 2 stop bits
CI854 The CI854 unit is the communication interface for PROFIBUS DP for the AC 800M with redundant PROFIBUS lines and DP/V1 communication. It is a master unit and you can connect up to 125 slaves to the master. However, you cannot connect more than 32 units in one segement.
112
AC 800C
CI855 The CI855 unit is the communication interface for MasterBus 300 for the AC 800M. CI855 houses two Ethernet ports to support MasterBus 300 Network redundancy. CI856 The CI856 is a communication interface for the S100 I/O system for the AC 800M. Up to five S100 I/O racks can be connected to one CI856 where each I/O rack can hold up to 20 I/O boards. CI857 The CI857 unit is the communication interface for INSUM for the AC 800M.
AC 800C
The following AC 800C modules are supported.
Unit PM210 CI271 CI272 CI274 Description CPU Communication Interface RS-232C Communication Interface Ethernet Communication Interface PROFIBUS-DP/V0
PM210 The PM210 is a high-performance, 32-bit, Single Board Computer with digital inputs and outputs directly on-board. The controller is connected to the S200L I/O system. It is also possible to connect different communication and fieldbus boards using two inbuilt expansion slots.
113
CI271 The CI271 unit is the RS-232C serial communication interface unit for AC 800C. CI272 The CI272 unit is the Ethernet communication interface unit for AC 800C. CI274 The CI274 unit is the PROFIBUS-DP communication interface unit for the AC 800C. It is a master unit and you can connect up to 125 slaves to it. However, you cannot connect more than 32 units in one segment.
114
PM253 PM253 is a high-performance, 32-bit, Single Board Computer available in different configurations. It is a CPU with 2 Mbyte memory. The unit has two serial (COM) ports and one SattBus interface. PM254 PM254 a high-performance, 32-bit, Single Board Computer available in different configurations. It is a CPU with 8 Mbyte memory. The unit has two serial (COM) ports and one SattBus interface. PM255 PM255 is a high-performance, 32-bit, Single Board Computer available in different configurations. It has a floating point processor (FPU). It is a CPU with 8 Mbyte memory. The unit has one serial (COM) port.
Power Supplies
200-PSMG 200-PSMG is the master power supply unit for the Advant Controller 250 system. Only one 200-PSMG can be used in a system. For higher capacity, one or more 200-PSSGs can be added. 200-PSSG 200-PSSG is a complementary power supply to 200-PSMG when an additional power supply is needed in a system.
200-CICN 200-CICN is a communication interface unit for remote I/O for ControlNet I/O. 200-CIPB/DP The 200-CIPB/DP is the PROFIBUS-DP/V0 communication interface unit for the Advant Controller 250. It is a master unit and you can connect up to 125 slaves to the master. However, you cannot connect more than 32 units in one segment.
115
200-CISB 200-CISB is a SattBus communication interface unit with two SattBus supervisor channels, which may be configured individually. 200-CIE 200-CIE is the Ethernet communication interface unit. 200-CI232 200-CI232 is a communication interface unit with two RS-232C asynchronous serial channels, which may be configured individually. 200-CI485 200-CI485 is a communication interface unit with two RS-485 asynchronous serial channels (with galvanic isolation), which may be configured individually. 200-DU 200-DU is a blank unit used to protect an empty slot in the backplane from external mechanical and electrical damage. Earlier versions of 200-DU were called 200-DMOD.
116
Adapters
Adapters
Adapter TB820 Can be connected to HART
(1)
SOE Yes(1) Yes(1) Yes(1) Yes Yes Yes Yes Yes Yes No No No No No No No No No No No No No No No No No No
PM856 Yes PM860 Yes(1) PM861 (single CPU only) Yes(1) PM856 PM860 PM861 CI856 CI856 CI856 CI274 CI851 CI854 200-CIPB/DP CI854 CI851 CI854 200-CIPB/DP CI274 200-CICN 200-CICN PM253 PM254 PM255 CI274 CI851 200-CIPB/DP PM210 Yes Yes Yes No No No No No No No Yes No Yes No No No No No No No No No No No
TB840
CI840 CI920
200-APB12
200-AIO
(1) HART and SOE are also available for modules placed on the electrical modulebus (12 slots) for PM856, PM860, and PM861 (single CPU only).
117
Adapters
TB820 Modulebus Modem TB840 Modulebus Modem, primarily for redundant modulebus. DSBC 173A The DSBC 173A unit is the bus extender slave inserted in the last position of a S100 I/O rack. DSBC 174 The DSBC 174 unit is the bus extender slave inserted in the last position of a S100 I/O rack. DSBC 176 The DSBC 176 unit is the bus extender slave inserted in the last position of a S100 I/O rack. CI830 The unit CI830 is a remote PROFIBUS-DP I/O adapter for units. CI830 is connected to a controller via a PROFIBUS-DP master unit on the controller system bus. The CI830 can handle up to 24 S800 I/O-units. 12 I/O-units can be directly connected to the ModuleBus on the CI830, while the remaining I/O-units have to be connected via I/O-clusters. Up to 7 I/O-clusters can be connected to one CI830, and the numbering of I/O-units connected to a cluster will start with 101 for cluster 1, 201 for cluster 2 and so on. CI840 The CI840 is a remote PROFIBUS-DP/V1 adapter for S800 I/O units. The CI840 can handle up to 24 S800 I/O-units. 12 I/O-units can be directly connected to the ModuleBus on the CI840, while the remaining I/O-units have to be connected via I/O-clusters. Up to 7 I/O-clusters can be connected to one CI840, and the numbering of I/O-units connected to a cluster will start with 101 for cluster 1, 201 for cluster 2 and so on.
118
Adapters
CI920 The CI920 is a communication interface which connects the S900 Station to the external fieldbus. The data received via the fieldbus are distributed accordingly to the respective I/O modules. The parameters are submitted to a plausibility check. The incoming data are buffered and are available even in case of a fieldbus failure. When an I/O module needs to be replaced, the new module can be parameterized immediately. 200-RACN An Advant Controller 250 configured with a ControlNet communication interface (200-CICN) may connect to a remote rack-based I/O system. The 200-RACN unit is a remote ControlNet I/O adapter for rack based I/O units. 200-RACN is connected to the controller via a 200-CICN unit on the controller system bus. In the Project Explorer, below the 200-CICN unit, one or several adapter 200-RACN units are used as nodes on the ControlNet fieldbus. A 200RACN unit can have up to sixteen I/O boards. Limitations On each ControlNet fieldbus, maximun eight (8) I/O-racks are supported, if 200-CICN Firmware version = 1.3 Expansion I/O-racks are not supported, i.e. it is necessary to install a 200RACN board in every I/O-rack Expansion racks, with board adresses starting with 20, 60, etc., are not supported
200-ACN The 200-ACN unit is a remote ControlNet I/O adapter for I/O units. 200-ACN is connected to the controller via a 200-CICN unit on the controller system bus. In the Project Explorer, below the 200-CICN unit, one or several adapter 200ACN units are used as nodes on the ControlNet fieldbus. A 200-ACN unit can have up to eight I/O units. 200-ANN The 200-ANN unit is a central I/O adapter for I/O units. One or several 200ANN units can be connected to the Advant Controller 250 system bus. Up to eight I/O units can be connected to each 200-ANN unit. 200-APB12 The 200-APB12 unit is a remote PROFIBUS-DP I/O adapter for I/O units. 200-APB12 is connected to the controller via a PROFIBUS DP master unit on the controller system bus. A 200-APB12 unit can have up to eight I/O units.
119
I/O Families
PM210, 200-AIO In the Project Explorer, for an AC 800C, the two Ext I/O adapters can have up to eight I/O units. On the AC800C CPU unit the Ext I/O adapters are built-in. Locate the I/O units to the right of the first Ext I/O in position 11. For the second Ext I/O, in position 12, you must have a 200-AIO cable connector with a housing to which the I/O units are located on another rail.
I/O Families
I/O Family S100 I/O S200 I/O Connects To CI856 PM210 200-AIO 200-ANN 200-ACN 200-APB12 PM210 200-AIO 200-ANN 200-ACN 200-APB12 PM856, PM860, PM861 TB820, TB840 CI830, CI840 CI920 200-RACN PM856, PM860, PM861 TB820, TB840 CI830 PM856, PM860, PM861 TB820, TB840
S200L I/O
S800 I/O
120
S100 I/O
S100 I/O
The following selection of S100 I/O modules are supported.
Name DSAI 130 DSAI 130A DSAI 130D DSAI 133 DSAI 133A DSAI 146 DSAI 155 DSAI 155A DSDI 110 DSDI 110A DSDI110AV1 DSDI 120 DSDI 120A DSDI 120AV1 DSDO 110 DSDO 115 DSDO 115A DSAO 110 DSAO 120 DSAO 120A DSAO 130 DSAO 130A DSAX 110 DSAX 110A DSDP 010 Description Analog input board, 16 channels Analog input board, 16 channels with 4 sets of filter times Analog input board, 32 channels Analog input board, 31 channels for Pt100 elements Analog input board, 16 channels for thermocouples Digital input board, 14 channels, 24V
Digital output board, 32 channels Digital output board, 32 channels Digital output board, 32 channels, OSP control Analog output board, 4 channels Analog output board, 8 channels Analog output board, 8 channels, OSP control Analog output board, 16 channels Analog output board, 16 channels, OSP control Analog input/output board, 8+8 channels Absolute binary decoder with hardware strobe, 2 channels
121
S200 I/O
Description Positioning controller board Loop transducer interface, 4 channels Pulse counter board, 4 channels
S200 I/O
Name 200-DUTB 200-IA8 200-IB10xOB6 200-IB16 200-IB16xOB16P 200-IB32 200-IE4xOE2 200-IE8 200-IF4I 200-IM8 200-IP2 200-IP4 200-IR8 200-IR8R 200-IT8 200-OA8 200-OB16 200-OB16P Description Dummy I/O unit Digital input unit, 8 inputs Digital combined unit, 10 inputs and 6 outputs Digital input unit, 16 inputs Digitally combined unit, 16 inputs and 16 outputs Digital input unit, 32 inputs Analog combined unit, 4 inputs and 2 outputs Analog input unit, 8 inputs Analog input unit, 4 inputs Digital input unit, 8 inputs Pulse counter board, 2 x 4 inputs Pulse counter board, 4 x 2 inputs Analog input unit, 8 inputs Analog input unit, 8 inputs Analog input unit, 8 inputs Digital output unit, 8 outputs Digital output unit, 16 outputs Digital output unit, 16 outputs
122
200L I/O
Description Digital output unit, 2 x 16 outputs Digital output unit, 8 outputs Analog output unit, 4 outputs Analog output unit, 4 outputs Digital output unit, 8 outputs Digital output unit, 8 outputs
200L I/O
Name AI210 AO210 AX210 DI210 DO210 DX210 Description Analog input unit, 8 inputs Analog output unit, 4 outputs Analog combined unit, 4 inputs and 2 outputs Digital input unit, 16 inputs Digital output unit, 16 outputs Digital combined unit, 10 inputs and 6 outputs
S800 I/O
Name AI801 AI810 AI820 Description Analog input unit, 8 inputs Analog input unit, 8 inputs Differential analog input unit, 4 inputs
123
S800 I/O
Name AI830 AI835 AI890 AI895 AO801 AO810 AO820 AO890 AO895 DI801 DI802 DI803 DI810 DI811 DI814 DI820 DI821 DI830 DI831 DI885 DI890 DO801 DO802 DO810
Description Analog input unit, 8 inputs Analog input unit, 8 inputs Analog input unit, 8 inputs Analog input unit, 8 inputs(1) Analog output unit, 8 outputs Analog output unit, 8 outputs Analog output unit, 4 outputs Analog output unit, 8 outputs Analog output unit, 8 outputs(1) Digital input unit, 16 inputs Digital input unit, 8 inputs Digital input unit, 8 inputs Digital input unit, 16 inputs Digital input unit, 16 inputs Digital input unit, 16 inputs Digital input unit, 8 inputs Digital input unit, 8 inputs Digital input unit, 16 inputs(1, 2) Digital input unit, 16 inputs(1, 2) Digital input unit, 8 inputs(1, 2) Digital input unit, 8 inputs Digital output unit, 16 outputs Digital output unit, 8 outputs Digital output unit, 16 outputs
124
S900 I/O
Description Digital output unit, 16 outputs Digital output unit, 8 outputs Digital output unit, 8 outputs Digital output unit, 8 outputs Digital output unit, 8 outputs Digital pulse counter(2)
S900 I/O
Name AI910N/S AI920N/S AI921N/S AI930N/S AI931N/S AI950N/S AO910N/S AO920N/S AO930N/S DO910N/S DP910N/S DX910N/S Description Analog input unit, 4 inputs Analog input unit, 4 inputs Analog input unit, 4 inputs Analog input unit, 4 inputs Analog input unit, 4 inputs Analog input unit, 4 inputs Analog output unit, 4 outputs Analog output unit, 4 outputs Analog output unit, 4 outputs Digital output unit, 4 outputs Frequency input and pulse counter Bidirectional unit, 8 channels
125
126
200C-IB10xOB6P Digital combined unit, 10 inputs and 6 outputs 200C-IB16 200C-IE4xOE2 200C-IE8 200C-OB16P 200C-OE4 Rack I/O Digital input unit, 16 inputs Analog combined unit, 4 inputs and 2 outputs Analog input unit, 8 inputs Digital output unit, 16 outputs Analog output unit, 4 outputs
The boards are only supported for Advant Controller 250 on ControlNet.
Name RAID16 RAID32 RAOD16 RAOD32 RAIA8 RAOA2 RAOA4 RAOAH4 RAIPA4 Description Used for IAPG, IDLD (16-bit digital input) Used for IDP, IDPG, IDN, IDI, PTC, IPA4 (32-bit digital input) Used for ORG, ORGH, OATG, ODP2, ODPG2, ORM (16-bit digital output) Used for ODP.5, ODP.8, ODPG.8, ODPL.5, ODPLD, ODN.2, ODLD.5, ODSG (32-bit digital output) Used for IBA, IRA, ICA, IVA, IVAPOT (8 channel analog input) Used for OCVA (2 channel analog output) Used for OCAHG, ACAH (4 channel analog output) Used for OCAH with hand-station ( 4 channel output / manual) Used for IPA4 (32-bit digital input (counter))
127
128
129
System Library
System Library
This System Library (SystemLib) is the basic library for the Control Builder M. It contains IEC 61131-3 data types, functions and function block types, together with data types, functions and function block types with extended functionality, designed by ABB. About 130 functions are contained in this library.
130
131
132
The data type ControlConnection is abbreviated CC in some contexts. Table 38. Control-related data types.
Data type ControlConnection Level6Connection Description Represents the data flow between control modules for continuous control applications. Used for intermediate communication of level detection within the control libraries.
There are a number of data types which are used by specific functions, e.g.: HWStatus RandomGenerator Timer, CalendarStruct SetDTPar, TimeZoneInfo ArrayObject, QueueObject Boolean8, 16, 32 Comm_Channel Range ControlConnection ControlConnectionBackward ControlConnectionForward
133
Functions in SystemLib
Functions in SystemLib
IEC 61131-3 Standard Functions
134
Functions in SystemLib
135
Functions in SystemLib
136
Functions in SystemLib
137
Functions in SystemLib
BCDToDint Bool16ToDint Bool32ToDint CalendarStructTo Date_and_Time Date_and_TimeTo CalendarStruct DintToBCD DIntToBool16 and DIntToBool32 DintToGraycode GraycodeToDint MaxStringLength
StringToASCIIStruct
138
Functions in SystemLib
Other Functions
Modp
139
Functions in SystemLib
ReadStatusZeroDivInt The ReadStatusZeroDivInt function checks for zero division exceptions for integer values. ReadStatusZeroDiv Real Round SetFalse SetSeed SetTrue SystemDTToLocalDT Timer TimerElapsed TimerElapsedMS TimerHold TimerReset TimerStart Trunc WriteVar The ReadStatusZeroDivReal function checks for zero division exceptions for real values. The Round function rounds a real value up to the nearest integer. The Boolean operator will be set to false. The SetSeed function initializes a random generator using a specific start value. The Boolean operator will be set to true. Returns the local time for the specified system time. The Timer function controls a timer. The TimerElapsed function returns the elapsed time of a timer as a time value. The TimerElapsedMS function returns the elapsed time of a timer in milliseconds as a dint value. The TimerHold function stops a timer. The TimerReset function stops and resets a timer. The TimerStart function starts a timer. The Trunc function truncates a real value to an integer. Enables a system to write to a variable in a controller, or transfer variables between controllers, without owning the variable.
140
Functions in SystemLib
141
Functions in SystemLib
GetActualIntervalTime Use the GetActualIntervalTime function to get the actual interval time of the current task. SetIntervalTime Use the SetIntervalTime function to set the requested interval time of the current task.
142
143
Use the ACOF (Automatic Check Of Feedback) functions primarily for supervision of process objects. ACOF function blocks can monitor up to three output signals and up to three feedback signals. Use ACOF when a feedback signal is expected within a certain time after an output to the process object has been activated or deactivated. If the feedback signal is not detected, an alarm signal is given. Table 45. Process object function block types.
Function type ACOFAct ACOFAct Deact ACOFAct 3P ACOFAct Deact 3P Description Object control with two limit switches and automatic return. This object has one stable position. Object control with two limit switches. This object has two stable positions. Object control with three limit switches and automatic return. This object has one stable position. Object control with three limit switches. This object has three stable positions.
GetTimeZoneInfo
144
LevelHigh
LevelLow
PowerFailureInfos
145
SetTimeZoneInfo
146
Trigger Threshold
TimerD
TimerU
SinGen
SqGen
BcToDint
DintToBc
FirstOfNToDint
147
BcdToDint
DintToNBcd
GrayToDint
LevelHigh(1)
LevelLow(1)
Max
Min
Median
RSD
148
Shift
ShiftL
Fifo FifoRW
MajorityReal
149
OD, ED SignalInReal extends the functionality of an Analog Input signal of data type RealIO with alarm/event handling for three high levels, three low levels and error handling. OD, ED SignalOutReal extends the functionality of an Analog Output signal of data type RealIO with alarm/event handling for three high levels, three low levels and error handling. SignalReal is used to achieve alarm/event handling of an application variable of data type real with up to three high and three low levels. SignalInBool extends the functionality of a Digital Input signal of data type BoolIO with alarm/event handling when the input value is different than Normal value. In corresponding faceplates it is possible to force the object, view trim curves, configure and enable/disable alarms and events. OD, ED
SignalOutReal
SignalReal
SignalInBool
OD, ED
150
151
152
153
Function block or Control module Protected code Unprotected code Added function Unprotected function block or control module
Core function
Figure 19. The function blocks and the control modules in this library are unprotected, i.e., they can be used and modified in your own library. There are five different library types for unidirectional (Uni in the type name) and five for bidirectional (Bi in the type name) objects, such as valves and motors. They all have alarm handling and support graphics.
154
155
156
157
This function block type defines a simple control ED, OD loop with a PID controller and a filter. The function block is to be connected directly to I/O via structured variables of the predefined data type RealIO. The PID controller of the control loop has feedforward and tracking functions and an Autotuner. The Autotuner calculates the controller gain, integration time and derivation time based on a simple relay experiment. The PID controller has integrator wind-up prevention and bumpless transfer between modes. It also has built in deviation alarm limits.
158
PidCascadeLoop
159
LeadLagReal
FilterReal
160
PiecewiseLinearReal
PiecewiseLinear2DReal This function block is an extension of the PiecewiseLinearReal function block. It takes two inputs, which means that a non-linear surface, z=f(x,y) can be specified. The restriction to the x-, and the y-values is that they must be increasing. Maximum 21 x-values and 11 y-values can be specified, i.e., 231 data points. There is an interaction window that can be used to edit the data. VelocityLimiterReal This function block is a ramp function that is used to limit the velocity of change for a signal. The output can be forced to track an external signal. Transition from tracking is bumpless.
ED
161
IntegratorReal
DerivativeReal
ThreePosReal
162
163
ED, OD This is a standard PID controller. It has all the functions of the PID controllers of the function blocks described above. But since it is a control module it may be connected to other control modules in order to create more advanced control loops than those that can be obtained with the function blocks described above. OD, ED This control module is a low-functionality Pidcontroller compared to the already existing Pidmodules, PidCC and PidAdvancedCC. The PidSimpleCC is however less time and memory consuming. There are interaction graphics that make set-up and maintenance of the controller easier. The main inputs and the output are of ControlConnection type, which means that backtracking and limiting is handled automatically.
PidSimpleCC
164
Most of the process I/O modules, used for continuous control operate with the data type Control Connection (CC). Table 55. Process I/O control modules.
Control module type AnalogInCC AnalogOutCC ThreePosCC Analog Input Analog Output Description Display ED, OD ED, OD
This control module is used as the end of a three- ED, OD point control loop with digital outputs. The control module input is an analog signal that is compared with a feedback signal from the valve position or internally generated. This control module is used as the graphical end ED, OD of a control loop with pulse modulated digital output. The control module input is an analog signal that generates the duty cycle of the output signal. The cycle time is defined via the parameter interface.
PulseWidthCC
165
CCToReal
ED This control module functions as an adapter from a signal of data type ControlConnection. It splits the ControlConnection into its components to give a signal of data type real. The control module is an adapter from a signal of data type ControlConnection. It split up ControlConnection into each components, to a signal of data type integer. The real value of the parameter In is converted to the integer parameter Out. At conversion the hysteresis specified by the parameter Hysteresis is used. ED
CCToInteger
166
MidRangeCC
This control module is a ControlConnection with ED two branches, one fast and one slower branch. The fast branch is acting faster on changes in the signal, and then it is forced to work around the mid point of its operating range as the slower branch takes over the control. This control module can be used in cases where, for example, two valves are acting on the same flow. One of the valves is a smaller, but faster valve, that is used to control small perturbations in the flow. The other valve is a bigger valve that cannot work that fast, but has a larger operating range. This control module divides the control loop connection structure into two branches with a specified ratio between the signal levels. This control module divides the control loop connection structure into two branches one where backtracking is possible and the other where it is not. This control module extracts the value component from the control loop connection structure to produce a real value. ED
CommonRangeCC
TapCC
ED
TapRealCC
ED
167
This control module is used for level detection ED, OD purposes. It has six detection levels (LLL, LL, L, H, HH, HHH). L=Low, H=High
ED, OD SignalSupervisionCC This control module is used to take care of erroneous signal status collected from the transmitters or from the interface system. Three different modes are available let the signal pass through without any interference, freeze the output or linearly switch over to a predetermined value. Both these latter selections cause an alarm condition to be sent if configured.
168
This control module selects one of two inputs of ED, OD data type ControlConnection. Selection is made based on a Boolean signal. This control module selects one out of four inputs of data type ControlConnection. Selection is based on an integer signal. ED, OD
Selector4CC
SelectGoodCC
The first detected valid signal of type ED, OD ControlConnection is selected. If no valid signal is detected, Out is a copy of In1 structure. ED, OD The first detected valid signal of type ControlConnection is selected. If no valid signal is detected, Out is a copy of In1 structure. The control module MaxCC computes the larger ED, OD (maximum) value of two input signals of data type ControlConnection and writes it to the output signal. ED, OD The control module Max4CC computes the larger (maximum) value of four input signals of data type ControlConnection and writes it to the output signal. ED, OD The control module MinCC computes the smaller (minimum) value of two input signals of data type ControlConnection and writes it to the output signal. ED, OD The control module Min4CC computes the smaller (minimum) value of four input signals of data type ControlConnection and writes it to the output signal.
SelectGood4CC
MaxCC
Max4CC
MinCC
Min4CC
169
ED ED
ED VelocityLimiterCC limits the velocity of the signal. It can be used, for example, to create a linear movement function between a starting point and a target. This will slow down changes in the output signal to avoid rapid steps.
AccelerationLimitReal AccelerationLimitReal limits the velocity of the signal. It can be used, for example, to create a linear movement function between a starting point and a target. This will slow down changes in the output signal to avoid rapid steps. It limits both the speed and acceleration.
170
171
Mean4ExcludeBadCC
ED
Mean8ExcludeBadCC
ED
172
ED ED ED
DelayCC StateCC
ED ED
XRaisedToYCC
173
PiecewiseLinear-Extension This control module is to be used as an add-in-module together with the PiecewiseLinearCC module. The latter is only able to handle 21 data points. The control module makes it possible to add another 20 points of data. It is also possible to connect a control module to an existing control module of the same type. Thus, the number of possible points is unlimited.
ED
174
175
In addition to the standard functions this control ED, OD module type contains a gain scheduler and an adaptive controller. It has a PPI (predictive PI) controller for processes with long dead times. The loop assessment tools can detect oscillatory or sluggish behavior of the control loop. The Autotuner is more advanced than that in the other PID controllers.
ED, OD StictionCompensator An optional extension to the AnalogOutCC control module to add pulses to the output of the AO and to avoid the effects of sticky pneumatic valves. Add-on to the AnalogOnCC. The faceplate (OD) for StictionCompensator, is a tab in the extended faceplate of AnalogOutCC.
176
The fuzzy logic part of the controller contains the functions used to define the rules for control of the process, e.g.: Computation of the degrees of membership of a number of signals to a number of fuzzy sets Computation of fuzzy conditions Computation of fuzzy rules
177
Computation of output membership functions for a number of controller outputs Defuzzification of the output membership functions.
This control module has the same structure, but ED, OD contains a much larger configuration. This control module is the same as FuzzyController1CC, but with no setpoint. ED, OD
ED, OD This control module computes the control deviation EOut (setpoint-Process value) and its first and second derivatives. These signals are inputs to the InputMembership control modules. This control module can switch between an external and an internal setpoint. The process value may be filtered in a low-pass filter. Three Pv alarm levels and one deviation alarm may be displayed in the history and bar graphs. The control module also has an optional facility for process value tracking. The outputs from the control module, the control deviation and its two first derivatives may be simulated by the operator. This facility may be used to test the fuzzy logic part of the controller.
178
179
FuzzyCondition6, -12 The control modules FuzzyCondition6, and -18 FuzzyCondition12 and FuzzyCondition18 define and evaluate a fuzzy condition. The condition is defined as a fuzzy AND condition between a number of selected input membership functions. The input membership functions may, or may not, be inverted before the condition is formed. Together with other fuzzy conditions, the defined fuzzy condition is used in one or more fuzzy rules. The fuzzy AND condition is defined as the minimum value of the included fuzzy variables.
180
181
182
183
184
Batch Library
Batch Library
This library (BatchLib) contains functions for batch control and for control of other discontinuous processes.
EquipProcedureTemplate A template control module for designing Equipment Procedure Elements, i.e. the control logic for phases, operations, etc. It handles the interaction with the Batch Manager. EquipProcedureCore
Handles the standard ISA/S88-based states ED and modes of an Equipment Procedure Element.
185
Communication Library
Communication Library
This library (CommunicationLib) contains a number of IEC 61131 function block types that provide external variable communication with protocols such as MMS, MODBUS, FOUNDATION Fieldbus, SattBus, COMLI, and Siemens 3964R. There are also function blocks for modem connection. Some control modules are also included in this library, supporting the MMS and FF protocols used in connection with control loop handling.
Comm_Channel_S3964R Reference to a Siemens 3964R network connection. Comm_Channel_FF(1) Comm_Channel_MB Reference to a FOUNDATION Fieldbus network connection. Reference to ModBus network connection.
(1) A number of FOUNDATION Fieldbus data types are also supplied to support the user in a FOUNDATION Fieldbus communication network, for example, DS65.
MODBUS
These control functions are used for communication using MODBUS. Table 72. MODBUS functions.
Function block type MBConnect Description Initiates a communication channel and establishes a connection with a remote system. Display
186
FOUNDATION Fieldbus
FOUNDATION Fieldbus
A number of IEC 61131 function blocks are provided for communication with FOUNDATION Fieldbus devices. These function blocks are used to access data belonging to function blocks in FF device(s) on the (FF) H1 bus (including the custom function blocks on the FF communication interface). All function block types, except those with the extension Cyc, follow the IEC 61131-5 standard. Some control module types are also supplied for accessing FF devices.
187
FOUNDATION Fieldbus
This control module is intended to be used when ED, continuously reading an FF- value of a floating OD point structure, i.e. value & status (the scaling is not included in the read operation). The read value is converted to a (OUT) parameter of the data type ControlConnection. This control module is intended to be used when ED, converting a (IN) parameter of the data type OD) ControlConnection to a value of a floating point structure and continuously writing it to an FF device.
CCToFF
188
COMLI
COMLI
Use the COMLI function block types to establish communication with a system supporting the COMLI protocol. Function block types with the COMLI prefix support both the address-oriented COMLI and SattBus protocols. When a SattBus channel is used, the COMLI telegrams are packed within SattBus telegrams. The protocol to be used (COMLI or SattBus) is defined by the Channel parameter of the COMLIConnect function block. Communication via a TCP/IP network is also supported. Table 75. COMLI function block types.
Function block type COMLIConnect COMLIRead COMLIReadCyc COMLIReadPhys COMLIWrite COMLIWriteDT Description Connects to a defined communication channel. Reads one or several variables. Reads variable data cyclically. Requests physical values from a legacy (SattCon) system. Writes to one or several variables. Transmits date and time of master to the slave. Display
MMS
Use the MMS function block types and control modules to establish communication with a system supporting the MMS protocol. Table 76. MMS function block types.
Function block type MMSConnect MMSRead MMSReadCyc Description Initiates a communication channel and establishes a connection with a remote system. Reads one or several variables. Reads one or several variables cyclically. Display
189
MMS
This control module is used when continuously ED, reading a signal of a ControlConnection type OD from another system. The communication protocol is MMS. The forward and the backward structure of ControlConnection is handled in MMS variable groups separately. This control module is used when writing a signal of type ControlConnection to another system. The communication protocol is MMS. The forward and the backward structure of ControlConnection is handled in MMS variable groups separately. ED, OD
CCToMMS
190
SattBus
When transferring variables it is important to use data types with the same range on the client as on the server. It is, however, possible to connect variables with different ranges, such as a dint variable on the server and an Int variable on the client. This will only work as long as the variable values are within the range of the Int variable, but if the value of the dint is outside this range it will not work.
SattBus
Use these function block types, supporting SattBus, to communicate through a SattBus channel using the SattBus name-oriented model. To communicate through a SattBus channel using the address-oriented model, use COMLI function block types. Communication via a TCP/IP network is also supported. Table 78. SattBus function block types.
Function block type SBConnect SBRead SBReadCyc SBWrite Description Connects to a defined communication channel. Reads one variable data Reads variable data cyclically. Writes one variable data. Display
191
Siemens 3964R
Siemens 3964R
Use the Siemens 3964R function block types to establish communication with a system using the Siemens 3964R protocol. Table 79. Siemens 3964R function block types.
Function block type S3964RConnect S3964RRead S3964RReadCyc S3964RWrite Description Connects to a defined communication channel. Reads one or several variables. Reads variable data cyclically. Writes to one or several variables. Display
ModemDialUp ModemHangUp
192
Data Types
Table 81. Serial communication library data types.
Data type Description
193
INSUM Library
INSUM Library
Introduction
INSUM (INtegrated System for User-optimized Motor control) utilizes microprocessor-based technology for protection and control of motors and switchgear, and for the transmission of messages and measured values. Each motor has a motor control unit (MCU) located in the motor starter module. The INSUM devices (such as MCUs) are arranged in up to four subnets, each of them supporting up to 32 units at 78 kb/s transfer rate. A network (LonWorks) transfers messages at 1.25 Mb/s between the subnet units via routers. An INSUM MMI (man-machine interface) and one or more AC 800M controllers, equipped with INSUM TCP/IP interface modules CI857 can be connected to the LonWorks network. The Process Portal A and the SCADA Portal can be accessed from the AC 800M.
Provided Services
Up to 128 motors (MCU), circuit breakers (CB) and intelligent tier switches (ITS) can be supervised per INSUM TCP/IP gateway. Multiple controllers can access the same MCU in an INSUM system. Three IEC 61131-3 function blocks are available for initialization and exchanging data with the INSUM system, namely INSUMConnect (establishes connection), INSUMReceive (reads a process data value from an INSUM device), and INSUMWrite (writes a value to an INSUM device). The INSUM system can operate completely independently from other systems belonging to ControlIT or OperateIT. A number of different motor types are supported, such as reversing motors, two-speed drives, actuators, and solenoid valves. Protection is provided against thermal overload, underload, phase loss, earth fault, high motor temperature, locked rotor, etc. Protection functions can be parameterized to specify pre-warnings before a motor is tripped. The reset can be automatic, remote, local or remote and local.
194
Data Types
Data Types
Table 83. INSUM library data types.
Data type NVDesState NVCurrentReport NVMotorStateExt Description Forces a MCU (Motor Control Command) up to a desired state. Output Network Variable used to report motor phase current. A variable used for reception of the information about the actual motor state from a MCU (Motor Control Command). Can be used if a bitfield representation of the motor state information is to be used. Obtains information about cumulated run hours. Network Variable of motor power report. Network Variable used to report current values. Forces CommandState of a CB (Circuit Breaker) to a desired state. A variable to be used for reception of the information about the actual status from a CB (Circuit Breaker).
NVNodeStatusRepStruct Can be used if a bitfield representation of the information about the actual status from CB is to be used.
195
INSUMWrite
The INSUMWrite function block writes from an IEC 61131 variable to a network variable on request, i.e. triggered from an OperateIT, which is used for sending command (start/stop/reset) and handling Pass Control Access.
196
MB300 Library
MB300 Library
Introduction
Masterbus 300 (MB 300) can be used with AC 400 and AC 800M. A CI855 communication unit for AC 800M provides connectivity to AC 400 via MB 300. Refer to the relevant users guides and reference manuals regarding the process interface that can be used with AC 400. CI855 is configured by means of Control Builder in the hardware configuration tree, but has no subordinated devices represented in the tree. This means that other controllers on the MB 300 network are not represented in the tree. The CI855 module has two Ethernet channels to provide network redundancy.
Provided Services
DataSet communication with other controllers on MasterBus 300. Function blocks in the AC 800M are used to cyclically send and receive datasets on MasterBus 300. Time synchronization on MB 300 is supported in the AC 800M with the accuracy provided on MB 300. The CI855 device status, watchdog supervision and logged system messages are reported to the AC 800M for display in the Control Builder M and the Process Portal A status system. Support of MB 300 network redundancy.
197
MB300Send MB300Receive
198
INDEX
A
ABB Drives 27, 78 ABB Engineered Drives 78 ABB Standard Drives 79 AC 250 19 AC 800C 19 AC 800M 19 single CPU mode 45 AC 800M/C Connect 32 Access variable editor 50 Access variables 50 Advanced Process Control 20, 29 Advant Controller 250 19 alarm and event library 182 AlarmEventLib 182 Applications 36 arithmetic control modules, see control modules arithmetic functions (extensible), see functions arithmetic functions (non-extensible), see functions array and queue functions 141 array and queue functions, see functions arrays 141 bitwise Boolean functions (standard), see functions branch control modules 167 Bulk Data Manager 32
C
CAST 95 CD-ROM 32 character string functions (standard), see functions CI851 37 CI852 37 CI854 37, 76 CI856 39 CI857 38 Clock Master 44 CMD editor 30, 52 CNCP light 44 Code distribution 26 COMLI 42, 189 Communication MMS 88 CommunicationLib 186 comparison functions (standard), see functions Compilation 75 Control Builder Basic 20, 31 Professional 20, 31 Standard 20, 31 variants 31 Control Builder M 20, 33 Control Connection 165 control library 163
B
Base licenses 103 libraries 103 Basic Control 20 BatchLib 185 Binary Control 20 bi-stable function blocks (standard), see function blocks bit shift functions (standard), see functions
199
Index
control modules additional 176 arithmetic 172 branch 167 conversion 166 limiter 170 manual 166 PID 164, 176 process I/O 165 selector 169 signal conditioning 174 signal handling 172 supervisory 168 types in FuzzyLib 178 Control Network 35, 40 Control Software 19, 33, 36 licenses 102 ControlAdvancedLib 175 ControlBasicLib 158 ControlExtendedLib 171 ControlFuzzyLib 177 Controller platforms 19 ControlNet 37 control-related data types 133 ControlStandardLib 163 conversion control modules 166 Count I/O points 104 counter function blocks (standard), see function blocks CPU load 78 CPU redundancy 45
E
Engineered Drives 78 Engineering Studio 32 Execution times 63 to 64 control modules 64 function block calls 71 function blocks 64 functions 73 operations 73 Expansion 99 Expansion licenses 96, 102, 104 External user help 28
F
F1 help 53 Fieldbus Builder P 32, 35 Fieldbus communication 37 Firmware 36 FOUNDATION Fieldbus 37, 187 function blocks bi-stable (standard) 143 counter (standard) 143 timer (standard) 143 functions arithmetic (extensible) 135 arithmetic (non-extensible) 135 array and queue 141 bit shift (standard) 136 bitwise Boolean (standard) 136 character string (standard) 137 comparison (standard) 136 general 135 logarithmic 135 selection (standard) 136 task control 142 trigonometric 135 type conversion 134, 138 Fuzzy controller 177 FuzzyLib 103
D
Data access 56 Dial-up modems 43 Download 34, 36, 75
200
Index
G
GSD Import Tool 25
M
manual control modules 166 Market segments 21 MasterBus 300 39 MB 300 39 Memory consumption 63 control modules 64 function blocks 64 S100 I/O 88 S200 I/O 85 S200L I/O 85 S800 I/O 80 S900 I/O 83 Mirroring 24 MMS 88, 189 master system 89 slave system 90 to 91 MODBUS 186 ModBus RTU master 42 Modem 43 Modulebus 76, 78 scan cycle 78 scan interval 76, 78 scan time 76 Multi-user development 27
H
Hardware requirements 60 HART 24, 32, 35
I
I/O communication 37 I/O points 95 counting 95 I/O support 27, 29 I/O-related data types 131 IEC 61131-3 function block types 143 standard functions 134 IEC 61131-3 languages 28 INSUM 38 Integrated Automation 22, 29 Integration 32 IP Configuration 36
K
Key benefits 19
L
libraries AlarmEventLib 182 ControlStandardLib 163 License concept 101 Licenses 20, 101 limiter control modules 170 Local Operating Network 39 Log functions 26, 29 logarithmic functions, see functions LON 39
N
Network redundancy 45 to 46 New This Version 22
O
Object-oriented programming 28 Online help context-sensitive 53 F1 53 OPC Server performance data 92 requirements 61
201
Index
P
Performance OPC Server 92 Performance data 61 PID control modules 164, 176 PM861 45 Portability 26 POU 49 Prerequisites 59 Price lists 95 process I/O control modules 165 process object function block types 144 Process object Function Block types 144 Process Portal A 32 ProcessObjBasicLib 152 ProcessObjExtLib 154 Professional 31 PROFIBUS-DP 37 PROFIBUS-DP/V1 37 Programming environment 28 Programming station 34 Project Explorer 48
S
S100 I/O 39 memory consumption 88 S200 I/O 39, 85 memory consumption 85 S200L I/O 39 memory consumption 85 S800 I/O 39 memory consumption 80 S900 I/O 39 memory consumption 83 SattBus 37, 191 SCADA and PLC Solutions 21, 25 Scalability 25 Scan cycle ABB Drives 78 Modulebus 78 Scan interval 76 Modulebus 76 Scanning ABB Drives 76 selection functions (standard), see functions selector control modules 169 SerialLib 193 Short-distance modems 43 Siemens 3964R 42, 192 signal conditioning control module 174 signal handling control modules 172 Standard Drives 79 supervisory control modules 168 System events and alarms 47 SystemLib data types 131 function block types 143 function types 134
Q
queues 141
R
RAM memory 63 Redundancy 26 CPU 45 line 46 network 46 Requirements 59 hardware 60, 62 OPC Server 61
202
Index
T
Tags 105 task control functions, see functions Task management 26 Technical data 61 Terminology 14 time functions 137 Time synchronization 23 timer function blocks (standard), see function blocks Tool Routing 32 trigonometric functions, see functions type conversion functions, see functions
U
Update rate 92 User information 28
V
Variants comparison 31
203
Index
204
3BSE 026 333 R101 Rev A. Printed in Sweden May 2002 Copyright 19992001 by ABB. All Rights Reserved Registered Trademark of ABB. Trademark of ABB.
http://www.abb.com/control Automation Technology Products Vsters, Sweden www.abb.com/processautomation email: processautomation@se.abb.com Automation Technology Products Wickliffe, Ohio, USA www.abb.com/processautomation email: industrialitsolutions@us.abb.com Automation Technology Products Mannheim, Germany www.abb.de/processautomation email: marketing.control-products@de.abb.com