Section 6, Connecting the PLC and Go Online, contains the pre-requisites for connecting a PLC and downloading a project to go online.
Document Conventions About This Book
Document Conventions
The following document conventions are used in this manual:
• The names of screen elements (for example, the title in the title bar of a window, the label for a field of a dialog box, and so on) are initially capitalized.
• Capital letters are used to name the keyboard key. For example, press the ENTER 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 the user must hold down the CTRL key while pressing the C key (to copy a selected object in this case).
• Press ESC E C indicates that the user must 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 the user enter a value out of range, the following message is displayed:
Entered value is not valid. The value must be 0 to 30.
Variables are shown using letters in Italic style.
MaxLimit
About This Book Use of Warning, Caution, Information, and Tip Icons
Use of Warning, Caution, Information, and Tip Icons
This publication includes Warning, Caution, and Information where appropriate to point out safety related or other important information. It also includes Tip to point out useful hints to the reader. The corresponding symbols should be interpreted as follows:
Although Warning hazards are related to personal injury, and Caution hazards are associated with equipment or property damage, it should be understood that operation of damaged equipment could, under certain operational conditions, result in degraded process performance leading to personal injury or death. Therefore, users are expected to comply fully with all Warning and Caution notices.
Applicable Specifications
This product meets the requirements specified in EMC Directive 89/336/EEC and in Low Voltage Directive 72/23/EEC.
Electrical warning icon indicates the presence of a hazard which could result in electrical shock.
Warning icon indicates the presence of a hazard which could result in personal injury.
Caution icon indicates important information or warning related to the concept discussed in the text. It might indicate the presence of a hazard which could result in corruption of software or damage to equipment/property.
Information icon alerts the reader to pertinent facts and conditions.
Tip icon indicates advice on, for example, how to design the project or how to use a certain function.
Applicable Specifications About This Book
Section 1 Introduction Documentation Strategy
Section 1 Introduction
The Compact Control Builder contains type solutions that are used for simple logic control, device control, loop control, alarm handling, and so on, and packaged as standard libraries. Self-defined types from other projects can also be inserted into the current project. The Control Builder supports five different programming languages, namely, Function Block Diagram, Structured Text, Instruction List, Ladder Diagram, and Sequential Function Chart. These conform to IEC 61131-3 standard.
Documentation Strategy
This manual provides an introduction about the Compact Control Builder and provides instructions about installing and using the product, for the new users.
For information about online help in Control Builder, see Getting Help in Compact Control Builder on page 21.
Product Overview
Compact Control Builder is a fully integrated application that runs on Windows XP Professional and Windows 2003 Server. It provides tools for programming
applications and configures hardware units from the AC 800M hardware family.
Besides the server requirements, the minimum software requirements are:
• Microsoft Word 2003 or Microsoft Word 2007.
• Adobe Acrobat Reader version 4.0 or later.
Microsoft Word is required for creating project documentation and Acrobat Reader is required to read the online manuals.
Project Explorer Section 1 Introduction
Project Explorer
The core user interface of the Compact Control Builder is called Project Explorer.
The Project Explorer is used to create and build control projects. A project contains the entire configuration needed for an AC 800M based control solution, including control applications and hardware settings. Context menus are helpful while configuring hardware units or connecting parameters. Right-click an object to open its corresponding context menu.
Both the software (programs, functions, and so on) and the hardware (the actual hardware connected to the PLC) are modelled in a project. The relationships are shown in Figure 1.
PM864/TP830 DO810 DI810
Section 1 Introduction Libraries
Libraries
Compact Control Builder provides an extensive set of predefined type solutions stored in standard libraries. These include data types, functions, function blocks and Control Modules that can be used in the projects.
All standard libraries are included during the Control Builder installation and are available in the projects.
Compact Control Builder contains the following libraries:
• The Basic library contains basic building blocks for AC 800M control software like data types, function block types, and control module types, with extended functionality, designed by ABB.
The contents inside the Basic library can be categorized as follows: IEC 61131-3 Function Block Types, Other Function Block Types, and Control Module Types.
• The Communication Libraries include function blocks for MMS, ModBus, ModBus TCP, SattBus, COMLI and Siemens 3964R protocols.
• The Control Libraries include single PID control and cascade PID control function blocks, control modules, and so on.
• The Alarm and Event Library contains function blocks for alarm and event detection, and alarm printouts on a local printer.
Hardware
An extensive set of predefined hardware types, stored in standard hardware libraries, are delivered with Compact Control Builder. These hardware types are used in the projects when configuring the PLC hardware.
All the hardware types are included during the Compact Control Builder installation and are available in the projects.
The hardware types can be classified into the following:
• The Basic Hardware contains basic hardware types for PLC hardware, such as types for AC 800M, CPUs, Ethernet communication link, Com port,
ModuleBus, and so on.
Supported PLC and Configurations Section 1 Introduction
• The PROFIBUS Hardware contains hardware types for PROFIBUS communication interfaces, ABB Drives and ABB Panel 800.
• The Communication Hardware contains hardware types for the communication interfaces, MasterBus 300, ModBus TCP, IEC 61850, INSUM, DriveBus and RS-232C.
• Serial Communication Protocol Hardware contains hardware types for SerialProtocol, COMLI, ModBus and Siemens 3964R.
• The I/O System Hardware contains hardware types for I/O communication interfaces, I/O adapters and I/O units; S100 (incl. S100 Rack), S200, S800 and S900.
Supported PLC and Configurations
The AC 800M is the destination for the applications which are downloaded to the PLC from the Project Explorer. The programming code is then executed in the PLC.
Figure 2. The Compact Control Builder station communicates with a PLC Do not run more than one Compact Control Builder simultaneously on a PC.
Section 1 Introduction Compact Control Builder Functions
Compact Control Builder Functions
The Compact Control builder is used to create control solutions. These solutions are created within control builder projects.
Several levels of structuring are available inside one project. A project in the Control Builder can handle up to 256 applications, and each application can handle up to 64 programs.
A maximum of 32 Control Builder PCs can be used together in multi-user environment, and a maximum of 32 PLCs can be created and handled within a project.
Using the Control Builder, self-defined libraries containing data types and function block types can be created in any project.
Besides the function block types, the Control Builder also handles control modules, which are components for object-oriented (and graphical) programming.
Table 1 lists the main Compact Control Builder functions.
Table 1. Main Control Builder Functions
Functions
Backup/Restore
Create/change/insert libraries Create/change/use Control Modules
Difference report (between previous/new application) Distribute code in an application to several PLCs Downloading projects and go online
Multi-user engineering Search and Navigation Tool Testing projects off line
Functions from 800xA Section 1 Introduction
Functions from 800xA
Additional functionality for building DCS type of control solutions can be used from the control builder available in the ABB 800xA DCS system.
The 800xA control builder (the CBM Professional) adds the following functions to the set of functions available in Compact Control Builder:
• Online Upgrade.
• Load Evaluate Go.
• Batch handling.
• Audit Trail.
• SFC Viewer.
• High Integrity Controller for SIL applications.
• CI860 for FF HSE, and CI862 for TRIO I/O.
• Information routing via HART protocol.
• Security (see Appendix F, Glossary).
.
The additional functions from 800xA are not included in the Compact Control Builder AC 800M.
If the additional license is purchased, Compact Control Builder solutions can be moved to 800xA systems, and the PLC projects can be opened in the Control Builder Professional.
Section 1 Introduction Multi-User Engineering
Multi-User Engineering
Compact Control Builder supports multi-user engineering with a maximum of 32 separate engineering workplaces. In a multi-user configuration, all Control Builder PCs and the OPC Server must have access to the common project file(s). This means that a common Project folder must be created on a shared network server.
The network server can be placed anywhere in the network; in a Control Builder PC, in an OPC Server PC, or located as a stand-alone file server.
Figure 3. Programmers can share the same project. Multi-user engineering stores projects on a shared network drive
Control Builder and/or OPC Server Control Builder station
To OPC Client
Ethernet Shared network drive
PLC Controller PLC Controller
Using Online Help in Compact Control Builder Section 1 Introduction
Using Online Help in Compact Control Builder
The Compact Control Builder provides online documentation.
Project Documentation
Compact Control Builder facilitates a project documentation feature for libraries, applications, and PLCs or for single types. The project documentation is developed as a Microsoft Word file and can be connected to either a standard document template or user/company specific template. A table of contents is automatically generated for every project document.
Creating Project Documentation
To create project documentation from the Project Explorer:
1. Right-click an object in the Project Explorer tree, and select Documentation to open the Documentation window.
2. Click More to open the Editor Properties window.
3. Select a tab in the window.
4. Click OK.
Online Manuals
The Compact Control Builder provides related manuals online.
Accessing Online Manuals
To access the online manuals from the Project Explorer, select Help > Manuals.
Acrobat Reader is required to open and read the online manuals provided by the Compact Control Builder.
Section 1 Introduction Getting Help in Compact Control Builder
Getting Help in Compact Control Builder
The Online help in the Compact Control Builder can be obtained by:
• Context-Sensitive Help (F1).
• Contents Topic.
• Index.
• Keyword Search.
Accessing context-sensitive Help
To access context-sensitive help for items in Project Explorer:
1. Select the element for which help is required (any item from the tree, command inside an editor, and so on).
2. Press the F1 key.
Accessing contents topic
Click Help in any pop-up window to view the Online help based on topics.
Using the Online Help Index
The index offers many ways to find the information:
• Enter the action about which the information is needed (for example,
“configure” or “download”).
• Enter the name of the object about which the information is needed (for example, “PM864” or “project explorer”).
• Enter the subject about which information is needed (for example, “function block types” or “communication interfaces”).
It is not always possible to find information about a single object by entering its name. Enter the name of the category instead (for example, “I/O units” or “data types”). This lists the objects or units, from which the topic can be selected.
Getting Help in Compact Control Builder Section 1 Introduction
Text Search
The text search runs through all topics and finds all matches. The text must be specific, else the search ends with too many search hits.
For information about a specific library object or a specific hardware unit, select the object in Project Explorer, and press F1 key.
Section 2 Installing Software
Section 2 Installing Software
This section explains how to install and start up a single-user configuration, which means a Compact Control Builder and an OPC Server installed together on the same PC station. The software delivered on the CD consists of two parts - the Compact Control Builder AC 800M and the OPC Server for AC 800M. Each of these is installed with the help of installation wizards.
• The first installation wizard installs Compact Control Builder, Base Software for SoftController, and User Documentation.
• The second installation wizard installs OPC Server for AC 800M.
Run the Compact Control Builder installation before running the OPC Server installation.
The Compact Control Builder opens the projects stored in a project folder created during the installation.
If the project folder path is changed in a recent installation, the previous projects cannot be found by the Control Builder. This problem is solved by either
changing the project folder path back to previous location, or copying the previous projects from the Windows explorer into the current Project folder location.
Installation Prerequisites Section 2 Installing Software
Installation Prerequisites
The following prerequisites must be met before installing the software:
• Install a PC with either Windows XP Professional or Windows 2003 Server.
For PC requirements, see Product Overview on page 13.
• Login to Windows with Administrator privilege.
• Remove previous Control Builder versions from the PC1. This also includes other products that comes with a Compact Control Builder installation (for example, OPC Server for AC 800M).
Do not install Compact Control Builder on a PC that already has Control Builder Professional installed. A Compact Control Builder and a Control Builder
Professional cannot coexist in a PC.
Section 2 Installing Software Step-by-Step Instructions
Step-by-Step Instructions
Install the software from the CD onto the local disk, as the software cannot be run from the CD or a network drive.
Installing the Software
1. Login as Administrator in Windows.
2. Insert the CD into the drive. After a few seconds the Welcome dialog appears as shown in Figure 4. If the dialog does not appear, start the file Startme.bat, located in the root directory of the CD.
Figure 4. The Welcome dialog of the installation process The installation dialog contains the following buttons:
• The Release Notes button provides the latest information.
• The Install Software button activates the installation procedure.
• The Installation help button accesses information on how to install a product.
• The Exit button quits the installation procedure.
Installing the Software Section 2 Installing Software
Installing the Compact Control Builder
1. Click Install software in the Installation dialog, to open the software installation window.
Figure 5. The Software Installation dialog
2. Click Compact Control Builder AC800M to start the Installation Wizard.
3. Follow the on-screen installation instructions.
Always start with the Compact Control Builder installation. The OPC Server installation needs to read the Control Builder settings that are created during the Compact Control Builder installation.
Section 2 Installing Software Starting Up
Installing the OPC Server for AC 800M
1. Click OPC Server for AC 800M in the Install Software dialog, to start the Installation Wizard.
2. Follow the on-screen installation instructions.
Running the OPC Server on the same PC as the Compact Control Builder does not require further settings.
Starting Up
Control Builder
Starting the Compact Control Builder
Double-click the Control Builder icon on the desktop (if selected during installation), or from the Start menu on the Windows Task Bar,
Start > All Programs > ABB Industrial IT AC 800M >
Compact Control Builder AC 800M.
For more information about setting up an OPC Server for multi-user engineering, see Setting Up OPC Server on page 103.
SoftController Section 2 Installing Software
SoftController
The SoftController is a simulation tool that runs with Base Software. A SoftController allows the download of projects from the Project Explorer even though the user may not have access to a real AC 800M controller. Instead of downloading to a PLC, the projects can be downloaded to the SoftController.
Starting the SoftController
The following steps help to start the SoftController and to locate its network address (the address must be set in Project Explorer and OPC Server panel).
1. Double-click the SoftController icon on the desktop (if desktop shortcut is selected during installation), or start the SoftController from the Start menu:
Start > Programs > ABB Industrial IT AC 800M > .... > SoftController 5.0.
Figure 6. The SoftController start panel
2. Click Start. The Status field displays Started and the SoftController starts.
3. Select File > View log file. A Session.LOG file opens in Notepad.
In order to start the SoftController, it is necessary either to have administrator privileges in Windows, or be part of the local group ABB Controller user group.
Contact the administrator and apply to be a member of this group. The ABB Controller user group is created automatically in Windows during the SoftController installation.
Section 2 Installing Software OPC Server
5. Close the Notepad program.
To learn more about running an application in a SoftController, see Section 5, Hardware Configuration and Section 6, Connecting the PLC and Go Online.
Stopping the SoftController
1. Click Terminate to open the SoftController dialog.
2. Click Yes. The Status field displays Not started and the SoftController stops.
3. Click Exit.
OPC Server
After the OPC Server is installed, it is easy to connect a PLC to the OPC Server from the OPC panel. Before doing this, ensure that the controller is connected to the network.
Starting the OPC Server
Double-click the OPC Server icon on the desktop (if desktop shortcut is selected during installation), or start the OPC Server from the Start menu:
Start > Programs > ABB Industrial IT AC 800M > ... >
OPC Server for AC 800M 5.0.
Configuration Issues Section 2 Installing Software
Figure 7. The OPC Server Configuration window
Connecting the OPC Server
1. Open the Data Access tab screen.
2. In the Controller Identity field, enter the IP address of the PLC.
3. Click Connect.
4. Open the Alarm and Event tab screen, and repeat Step 2 and Step 3.
Configuration Issues
The Compact Control Builder supports multi-user engineering. For more
For information on creating a PLC Id, see Setting an IP Address on page 82 and Setting the System Identity in Control Builder on page 86.
Section 3 Compact Control Builder User Interface Introduction
Section 3 Compact Control Builder User Interface
Introduction
This subsection provides a brief introduction to the Compact Control Builder, and its core interface, the Project Explorer.
About Programs and Projects
The following list describes the hierarchy among projects, applications, programs, and tasks in the Compact Control Builder.
• A project is the top level software unit and it contains the configuration data for libraries, applications, connected hardware, and so on. It also groups libraries, applications and the connected hardware in an hierarchical tree structure in the Project Explorer.
• Each application contains programs and additional objects (data types, function
• Each application contains programs and additional objects (data types, function