0% found this document useful (0 votes)
537 views338 pages

CP500 User

This manual is a description of the programming and functions for operator terminals in the Control Panel-series and the programming tool CP Programmer. It assumes that the most recent system program (firmware) and programming tool are used. The functionality in the operator terminals is the same, regardless of which controller is connected to the operator terminal.

Uploaded by

Florin Neacsu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
537 views338 pages

CP500 User

This manual is a description of the programming and functions for operator terminals in the Control Panel-series and the programming tool CP Programmer. It assumes that the most recent system program (firmware) and programming tool are used. The functionality in the operator terminals is the same, regardless of which controller is connected to the operator terminal.

Uploaded by

Florin Neacsu
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 338

Manual for Control Panel-series and CP Programmer

Preface
This manual is a description of the programming and functions for operator terminals in the Control Panel-series and the programming tool CP Programmer. Further on in the manual we refer to the programming tool. The manual assumes that the most recent system program (firmware) and programming tool are used. For specific controller details and the connected controller, we refer to the driver manual for the respective controller. The functionality in the operator terminals is the same, regardless of which controller is connected to the operator terminal.

Copyright 2004 ABB All rights reserved. Release: May 2005 Document number: 1SBC159002M0202
NOTICE All examples in this manual are only intended to improve understanding of the functionality and handling of the equipment. ABB cannot assume any liability if these examples are used in real applications. In view of the wide range of applications for this equipment, users must acquire sufficient knowledge themselves in order to ensure that it is correctly used in their specific application. ABB will accept no liability for any damage incurred during the installation or use of this equipment. ABB prohibits all modification, changes or conversion of the equipment.

ABB, 1SBC159002M0202

Preface

ABB, 1SBC159002M0202

Safety Precautions

Safety Precautions
General
Read the safety precautions carefully. Check the delivery for transportation damage. If damage is found, notify the supplier as soon as possible. The terminal fulfills the requirements of article 4 of EMC directive 89/336/EEC. Do not use the terminal in an environment with high explosive hazards. The supplier is not responsible for modified, altered or reconstructed equipment. Use only parts and accessories manufactured according to specifications of the supplier. Read the installation and operating instructions carefully before installing, using or repairing the terminal. Replacing the battery incorrectly may result in explosion. Only use batteries recommended by the supplier. Never pour fluids into any openings in the terminal. This may cause fire or electrical shock. Only qualified personnel may operate the terminal.

During installation
The terminal is designed for stationary installation on a plane surface. Put the terminal on a stable surface during installation. Dropping it or letting it fall may cause damage. Install the terminal according to the accompanying installation instructions. Ground the terminal according to the accompanying installation instructions. Only qualified personnel may install the terminal. Separate the high voltage, signal and supply cables. Make sure that the voltage and polarity of the power source is correct before connecting the terminal to the power outlet. The openings on the enclosure are for air convection. Do not cover these openings. Do not place the terminal where it might be exposed to strong magnetic fields.

ABB, 1SBC159002M0202

Safety Precautions Do not install the terminal in direct sunlight. Peripheral equipment must be appropriate for the application. Some terminal models have a laminated film over the display to reduce the risk of scratches. To avoid static electricity that might damage the terminal, carefully remove the film.

UL installation
Power, input and output (I/O) wiring must be in accordance with Class I, Division 2 wiring methods (Article 501-4 (b) of the National Electrical Code, NFPA 70) and in accordance with the authority having jurisdiction.

During use
Keep the terminal clean. Emergency stop and other safety functions may not be controlled from the terminal. Do not touch the keys, displays, etc. with sharp objects. In case of backlight failure, the terminal is still operable and registers button presses and input via the touch screen.

Service and maintenance


The agreed warranty applies. Clean the display and face with a soft cloth and mild detergent. Only qualified personnel should carry out repairs.

Dismantling and scrapping


The terminal or parts thereof shall be recycled according to local regulations. The following components contain substances that might be hazardous to health and the environment: lithium battery, electrolytic capacitor and display.

ABB, 1SBC159002M0202

Contents

Contents
1 Installation .......................................................................... 1-1 1.1 1.2 1.3 The Programming Tool .................................................. 1-1 Connecting the Operator Terminal to a PC ........................... 1-2 Downloading the System Program ..................................... 1-2

2 General .............................................................................. 2-1 2.1 2.2 2.3 2.4 2.5 2.6 2.7 Method for Creating a Project .......................................... 2-1 Blocks ...................................................................... 2-2 Signal Format ............................................................. 2-3 Efficient Communication ................................................ 2-4 Location of the Operator Terminal ..................................... 2-6 Compact Solutions ....................................................... 2-7 Project Documentation .................................................. 2-8

3 Operator Terminal Functions .................................................... 3-1 3.1 3.2 3.3 3.4 The Operation Modes, RUN, PROG and SETUP ................... 3-1 Keyboard on the Operator Terminal .................................. 3-5 Setting the Real-time Clock ............................................. 3-8 Diagnostic Page ........................................................... 3-8

4 Programming with the Programming Tool..................................... 4-1 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 Starting the Programming Tool ......................................... 4-2 Selecting Menu Language ................................................ 4-2 Creating a Project ......................................................... 4-3 Updating Drivers ......................................................... 4-8 Changing Project Properties ............................................. 4-9 The Project Manager .................................................... 4-10 The Block Manager ..................................................... 4-12 Showing Operator Terminal around the Working Area ............. 4-17 Configuration of Blocks................................................. 4-18
I

ABB, 1SBC159002M0202

Contents 4.10 4.11 4.12 4.13 4.14 4.15 4.16 4.17 4.18 4.19 4.20 4.21 4.22 4.23 4.24 4.25 4.26 4.27 4.28 Using Text Blocks ....................................................... 4-22 Static Symbols ........................................................... 4-23 Changing I/Os ........................................................... 4-25 The I/O Browser ........................................................ 4-26 Changing BDTP Station ............................................... 4-27 I/O Cross Reference ..................................................... 4-28 Other Managers and Editors ........................................... 4-28 The File Menu ........................................................... 4-29 The Edit Menu .......................................................... 4-29 The View Menu ......................................................... 4-30 The Functions Menu ................................................... 4-32 The Setup Menu ........................................................ 4-34 The Block Manager Menu ............................................. 4-48 The Object Menu ....................................................... 4-49 The Layout Menu ....................................................... 4-49 The Project Menu ....................................................... 4-50 The Transfer Menu ..................................................... 4-50 The Window Menu ..................................................... 4-50 The Help Menu ......................................................... 4-50

5 Graphic Presentation and Maneuvering .........................................5-1 5.1 5.2 5.3 5.4 General Parameters ........................................................5-1 Graphic Objects ......................................................... 5-10 Maneuvering Graphic Blocks Using the Key Pad .................... 5-46 Maneuvering Objects Using the Touch Screen ...................... 5-49

6 Text-based Presentation and Maneuvering ......................................6-1 6.1 6.2 6.3


II

General Parameters ........................................................6-1 Text Objects ...............................................................6-4 Maneuvering Text Blocks .............................................. 6-13
ABB, 1SBC159002M0202

Contents 7 Trends ............................................................................... 7-1 7.1 7.2 7.3 7.4 7.5 7.6 Historical Trend .......................................................... 7-1 Real-time Trend .......................................................... 7-3 Defining Trend Objects ................................................. 7-4 Trend Settings ............................................................ 7-7 Transfer of Trend Data .................................................. 7-8 Backup of Trend Data ................................................... 7-9

8 Message Library .................................................................... 8-1 9 Alarm Management ................................................................ 9-1 9.1 9.2 9.3 9.4 9.5 9.6 9.7 Alarm Groups ............................................................. 9-2 Alarm Messages ........................................................... 9-3 Alarm Properties .......................................................... 9-7 Alarm Import ............................................................. 9-9 Alarm Banner ............................................................ 9-10 Alarms in Run Mode .................................................... 9-12 Graphic Alarm Page in Run Mode..................................... 9-14

10 Recipes.............................................................................. 10-1 10.1 10.2 10.3 10.4 10.5 10.6 10.7 10.8 Calculation of Recipe Size .............................................. 10-2 Recipe Properties and Recipe Directory ............................... 10-3 Creating a Recipe with the Operator Terminal ....................... 10-5 Appending Recipes ...................................................... 10-6 Transferring Recipes to the Controller ................................ 10-6 Deleting Recipes ......................................................... 10-7 Using Recipes in a PC ................................................... 10-7 Creating and Transferring Recipes with the Controller Program ... 10-8

11 Data Logging ...................................................................... 11-1

ABB, 1SBC159002M0202

III

Contents 12 Passwords .......................................................................... 12-1 12.1 12.2 12.3 12.4 12.5 12.6 Defining Security Levels ................................................ 12-1 Defining Passwords ..................................................... 12-2 Logging in ................................................................ 12-3 Password for Project Transfer .......................................... 12-3 Overriding Password .................................................... 12-4 Changing Password during Run Mode ............................... 12-4

13 Printouts ........................................................................... 13-1 13.1 13.2 13.3 13.4 13.5 13.6 13.7 13.8 Connection to Printer................................................... 13-1 Text Block Reports ...................................................... 13-2 Graphic Block Printouts ................................................ 13-2 Defining the Printout ................................................... 13-3 Printer Properties ........................................................ 13-4 Setting of Communication Port ....................................... 13-5 Control Codes to Printer ............................................... 13-6 Printer Status ............................................................ 13-6

14 Time Channels .................................................................... 14-1 14.1 14.2 Defining Time Channels ............................................... 14-1 Presentation in the Operator Terminal ............................... 14-2

15 Language Management........................................................... 15-1 15.1 15.2 15.3 15.4 15.5 15.6 15.7 Creating Additional Application Languages .......................... 15-1 Translating/Editing Texts in the Programming Tool ................ 15-4 Properties for the Application Language .............................. 15-5 Export .................................................................... 15-6 Import .................................................................... 15-6 Show Index .............................................................. 15-7 Cross Reference .......................................................... 15-7

IV

ABB, 1SBC159002M0202

Contents 15.8 15.9 15.10 Reuse Index .............................................................. 15-7 Choose Unicode Font ................................................... 15-7 Application Languages in Run Mode .................................. 15-7

16 Unicode............................................................................. 16-1 16.1 16.2 16.3 16.4 16.5 Introduction .............................................................. 16-1 Unicode in the Programming Tool .................................... 16-1 Terminal Font ........................................................... 16-1 Multiple Language Functions .......................................... 16-2 Limitations when Unicode Is Used .................................... 16-3

17 System Monitor ................................................................... 17-1 18 Index Addressing .................................................................. 18-1 19 Communication ................................................................... 19-1 19.1 19.2 19.3 19.4 19.5 19.6 Communication with Two Controllers (Dual Drivers).............. 19-1 Data Exchange between Controllers ................................... 19-5 Transparent Mode ....................................................... 19-7 Passthrough Mode ..................................................... 19-11 The Operator Terminal as Communication Interface (No Protocol Mode)................................................... 19-13 Modem Connection ................................................... 19-17

20 Network Communication ........................................................ 20-1 20.1 20.2 20.3 20.4 20.5 Examples of Possible Networks ........................................ 20-2 Network Communication via Ethernet ............................. 20-11 Serial Network Communication/PPP ............................... 20-15 Network Services ...................................................... 20-28 Network Accounts ..................................................... 20-43

ABB, 1SBC159002M0202

Contents 21 Network Functions in the Operator Terminal ................................ 21-1 21.1 21.2 21.3 21.4 21.5 FTP Server ............................................................... 21-1 SMTP Client ............................................................ 21-6 Terminal Mirroring the Terminal Applet .......................... 21-7 Web Server ..............................................................21-11 Recommendations and Limitations for Network Communication21-20

22 LEDs................................................................................ 22-1 23 Function Keys ..................................................................... 23-1 23.1 23.2 23.3 Definitions ............................................................... 23-2 Jump to Block with Function Keys .................................... 23-5 Joystick Function ........................................................ 23-6

24 Macros.............................................................................. 24-1 25 Expansion Cards .................................................................. 25-1 25.1 25.2 25.3 25.4 IFC PBDP ............................................................... 25-1 IFC MC .................................................................. 25-1 IFC ETTP ............................................................... 25-1 IFC PI .................................................................... 25-1

26 Project Transfer ................................................................... 26-1 26.1 26.2 26.3 26.4 26.5 Installation of the Operator Terminal ................................. 26-2 Transfer Properties ...................................................... 26-3 TCP/IP Transfer ........................................................ 26-7 Serial Transfer ........................................................... 26-8 Modem Transfer ........................................................ 26-8

27 Character Tables .................................................................. 27-1

VI

ABB, 1SBC159002M0202

Installation

1
1.1

Installation
The Programming Tool

The programming tool is a program package used to develop projects for operator terminals in the Control Panel-series. The functions in the programming tool depend on which operator terminal is used. In the programming tool a project is created with graphic blocks and text blocks, which are then transferred to the operator terminal. The programming is described in the chapter Programming with the Programming Tool. Help texts are available for all functions. The help text for the current function is obtained by pressing the F1 key. By pressing the help button in the toolbox and then clicking on a function, information is shown on the function.

System Requirements
To use the programming tool, a PC with at least 100 MB of available memory and Microsoft Windows 2000/XP is required. The programming tool can be used on either a color or monochrome screen. Microsoft Internet Explorer version 5.0 or later must be installed on the computer.

Installing the Programming Tool


The programming tool is supplied on a CD. When you place the CD in your CDROM drive the installation will start automatically. If not, select Run on the Start menu and enter D:\setup.exe (if D: is the CD-ROM drive). Select to install the programming tool by clicking the name and following the instructions. The installation creates an icon for the programming tool in the CP500 soft group. You can find the programming tool by clicking Start and selecting Programs/ CP500 soft/CP Programmer/Programmer. The manual can be read directly from the CD by clicking Manuals.

ABB, 1SBC159002M0202

1-1

Installation

1.2

Connecting the Operator Terminal to a PC


PC

Operator terminal
RS422/RS485 RS232C

CAB6 CAB5

To connect the controller to the operator terminal, use the cable recommended in the driver manual for the selected controller.
Note: The power must be switched off when connecting.

1.3

Downloading the System Program

Not applicable for CP501. In the operator terminal there is a system program (operative system), which is stored in the operator terminals memory on delivery. The system program can be exchanged, e.g. to update to newer versions. Transferring the system program to the operator terminal requires the following: PC Transfer cable between the PC and the operator terminal. The PC program System Loader (available as an icon in the program group CP Tools). See the manual for CP Tools to install the program group. File with new system program (*.bin).
Note: All communication between the PC and the operator terminal CP501 is conducted through the programming tool. The system program is transferred at the same time as the driver. See the chapter Project Transfer. The PC programs in the program group CP Tools cannot be used together with CP501. The cable CAB6 cannot be used to transfer projects to CP501. The adapter 232-25-ADP must be used on the RS422 port to perform a transfer with a CAB5 cable. The adapter is supplied with CP501.

1-2

ABB, 1SBC159002M0202

Installation

Transfers Are Made in the Following Steps:


1. Connect the cable between the PC and operator terminal. 2. The PC program is started by selecting Programs/CP500 soft/CP Tools/System Loader in the Start menu. No settings need to be made in the operator terminal.

Under Options/Comm Settings you can set the communication port and transfer speed. The system program can also be downloaded through a modem for remote updating of operator terminals. If downloading of a new system program (*.bin file) fails when you click Send in the CP Tools System Loader, the operator terminal is automatically placed in sysload mode. When the operator terminal is in sysload mode, it is ready to make a new try at downloading the system program.

ABB, 1SBC159002M0202

1-3

Installation

1-4

ABB, 1SBC159002M0202

General

General

This chapter describes the structure of an application project in the operator terminal. There is also an explanation of the general principles, object parameters, and joint functions applicable in the operator terminal.

2.1

Method for Creating a Project

The graphical structure of the application in the operator terminal constitutes a wellarranged monitoring tool for the operator. It is important to organize the application well and to consider which functions are necessary. Start with the overall view, and then work down to the detailed level. The application is built up of blocks, graphic blocks and/or text blocks. Values from the controller are shown and changed in the blocks. Each function becomes one or more blocks, depending on how complex the function is. A project can contain both graphic and text blocks, and each block can contain static and dynamic objects. The blocks should be arranged in hierarchies to achieve a structured application, and to simplify work procedures for the machine operator. The application can also be organized as sequence controls. It is possible to test the complete application, or parts of it, before it is downloaded to the operator terminal.

ABB, 1SBC159002M0202

2-1

General

2.2

Blocks

Each block has a number between 0 and 989 allocated by the developer. The blocks 990-999 are reserved for special purposes, so-called system blocks. The operator terminal is object-orientated, which means that a block can contain all the signals linked to an object for the control and monitoring of, for example, a pump. Block properties, such as block number and type of block, are defined for each block. The functions Alarms, Time channels, System Monitor, E-mail and Contrast Properties can also be invoked as blocks. These are designated system blocks. Text blocks are used for report printouts and e-mail, and cannot be displayed to the operator. The maximum number of blocks in a project in CP501 is 50, and in CP502 and CP503 it is 150. In the other terminals a maximum of 990 blocks can be defined.
Note: The block type cannot be changed for a defined block.

2-2

ABB, 1SBC159002M0202

General

2.3

Signal Format

The following signal formats are available in the dialog for each object, on the assumption that the selected driver supports the signal format.
Format type Signed 16-bit Unsigned 16-bit Signed 32-bit Unsigned 32-bit Float with exponent, 32-bit Float without exponent, 32-bit BCD Float BCD 16-bit BCD 32-bit HEX 16-bit HEX 32-bit Seconds 16-bit -32,768 +32,767 0 +65,535 -2147483648 +2147483647 0 +4294967295 3.4E38 Numbers larger than 1,000,000 are shown with exponent. Parameters Positions (including decimal point and characters) and Decimals indicate the available area. E.g. 8 positions and 3 decimals result in 999.999. 0 9999,9999. 0 9999 0 99999999 0 FFFF 0 FFFF FFFF The object Analog numeric can present the time format. Syntax: <hours:minutes:seconds>. Example: The register value in D0=3661, the object Analog numeric linked to D0 and defined as Seconds 16-bit will then show <1:01:01>. Not applicable for CP501, CP502 and CP503. The object Analog numeric can present the time format. Syntax: <hours:minutes:seconds>. Not applicable for CP501, CP502 and CP503. Character string which can be used in the dynamic function for graphic objects in CP511-CP555. Example: In the object Static symbol, Digital symbol and Multiple symbol, the dynamic property Symbol can be linked to a register with the format String. Table format which can be used for an Event in the dynamic function for graphic objects in CP511-CP555. Example: A group of registers is to be allocated different values when Value entered is equal to 99. The first value in the field Value will then be entered to register D21 in the field Signal. If the field Value appears as follows, <1,2,3,4> the value 2 will be entered in next subsequent register (D22), etc. Area

Seconds 32-bit

String

Array 16-bit

ABB, 1SBC159002M0202

2-3

General

2.4

Efficient Communication

To make the communication between the operator terminal and the controller quick and efficient the following should be noted about how the signals are read and how the reading can be optimized.

Signals Affecting Communication Time


Only signals to objects in the current block are read continuously. This also includes signals for object dynamics. Signals to objects in other blocks are not read, thus the number of blocks does not affect the communication time. Besides the signals to objects in the current block, the operator terminal reads the following signals from the controller continuously: Display signals (Block Properties) Print signals (Block Properties) LED registers Alarm signals Remote acknowledge signals on alarms and alarm groups Login signal (Passwords) Logout signal (Passwords) Registers for trend curves Bar graph registers if using min/max indicators New display register Buzzer register Backlight signal Cursor control block Recipe control block Library index register Index Registers Controller clock register if the controller clock is used in the operator terminal List erase signal (Alarm Properties) No protocol control register No protocol on signal Signals Not Affecting the Communication Time The following signals do not affect the communication time: Signals linked to function keys Time channels Objects in the alarm messages

2-4

ABB, 1SBC159002M0202

General

How To Make the Communication More Efficient


Group Controller Signals Consecutively Signals from the controller are read most rapidly if all signals in the list above are consecutive. If for example, 100 signals are defined, the quickest way to read these is to link them, for example, M0.0-M11.7. If the signals are spread (e.g. I0.4, Q30.0, M45.3 etc.) the updating is slower. Efficient Block Changes Block changes are carried out most rapidly and efficiently through the block jump function on the function keys or through a jump object. Display signals in block properties should only be used when the controller is to force the presentation of another block. The New display register can also be used if the controller is to change the block. This does not affect communication as much as a larger number of Display signals. Use the Clock in the Operator Terminal An extra load is put on communication if the clock in the controller system is used, since the clock register must be read up to the operator terminal. Downloading of the clock to the controller also creates an extra load. The interval between downloads should therefore be as long as possible. Packaging of Signals When signals are to be transferred between the operator terminal and controller, they are not all transferred at the same time. They are divided into packages, each containing a number of signals, instead. The number of signals in each package depends on which driver is used. To make communication as fast as possible the number of packages has to be minimized. Consecutive signals require a minimum number of packages, but it is perhaps not always possible to program it this way. In such cases there is a waste between two signals. This gap in the maximum distance between two signals which can still be kept in the same package. The size of the gap depends on which driver is used.
Signal Used

1 X

2 X

7 X

8 X

9 X

10

Waste

ABB, 1SBC159002M0202

2-5

General

Operator images
Using graphic blocks for operator communication Text blocks are mainly intended to be used for report printouts. They are slower and take up more memory than graphic blocks. Using 3D effect for elegant operator images Combinations of objects with frames and 3D rectangles can be effective. In this context the light appears to come from the top left-hand corner, i.e. there is shadowing on the bottom and right-hand edges on raised objects and on the upper and left-hand edges on inset objects.

2.5

Location of the Operator Terminal

The operator terminal should be located at the workplace to ensure maximum visability. This will enable the operator to receive information directly and to respond quickly and efficiently. The operator terminal should be positioned at the correct working height so that the operator can easily see and maneuver the operator terminal. Screen visibility is influenced by distance, height, angle, sunlight and the selection of color. Operational monitoring, maneuvering and maintenance can also be performed remotely from another location in the building or from another site, for example. Communications can then be, for example, via the internal network, the Internet or modem. If the production line is long with many workplaces, several operator terminals can be connected to one or more control systems in the network.

2-6

ABB, 1SBC159002M0202

General

2.6

Compact Solutions

External units such as barcode scanners, weighing machines, and modems, can be connected through the operator terminal to the controller. All that is required is for the unit to be connected to an RS232 interface, and that communication is made through ASCII protocol. Data entering the operator terminal is written directly to the controller register. A unit working in parallel may also be connected. It can be an additional operator terminal or a personal computer with the programming tool for the control system. Via the operator terminal, the control system can be programmed at the same time as the operator terminal is communicating with the control system. When two remote systems are to connected to one and the same operator terminal (dual drivers are used in the operator terminal), it is possible to exchange data (analog and digital signals) between the control systems. For information on installation, please see the installation manual that was supplied with the operator terminal.

Operator terminal with control system and barcode reader connected.

Dual drivers can be used when different systems are connected.

Operator terminal in Transparent mode.


ABB, 1SBC159002M0202 2-7

General

2.7

Project Documentation

Project Printouts
Select File/Print... to print the project.

The project documentation is generated automatically by selecting the options in the Print Project dialog. Choose which parts to include by clicking the boxes. The project documentation can include a table of contents and a cover page (Document Header) with the option to include the desired logo and text. Select File/Document Header to define the contents. Click Preview to view the printout before sending it to the printer. Select Setup to configure the printer.

2-8

ABB, 1SBC159002M0202

Operator Terminal Functions

Operator Terminal Functions

This chapter describes the different modes in the operator terminal, the keyboard and the information page in the operator terminal. For a description of the different key sequences, see the chapter Key Sequences.

3.1

The Operation Modes, RUN, PROG and SETUP

The operator terminal has three operation modes. CP501 only has run mode and transfer mode. CP551, CP552, CP554 and CP555 do not have the programming mode PROG. The configuration mode, Setup, where the basic settings are made, e.g. selection of controller, menu language and printer settings. Programming mode, Prog, where the operator terminal can be programmed and where changes can easily be made during system set-up. Run-time mode, Run, where the application is run.

Switching Between Modes


Switch Between PROG and RUN Switch between programming, PROG, and run-time, RUN, by pressing the keys [] and [MAIN] simultaneously. The possibility of switching between PROG and RUN from the operator terminal can be controlled with a password. For further information, refer to the chapter Programming with the Programming Tool. Switch Between PROG and SETUP To switch between programming, PROG and configuration, SETUP, press [LEAVE] until the start-up menu is shown and then press any key. Press [LEAVE] to return to PROG. Switch Between RUN and SETUP Press [ ] and [MAIN] simultaneously to enter programming mode, PROG. You can now press any key when the start-up menu is shown to enter the configuration mode, SETUP. To return to run mode, RUN, press [ ] and [MAIN]. In CP551, CP552, CP554 and CP555 you set the switch on the side/back of the operator terminal in position 4 to access the configuration mode Setup. For normal mode the switch should be in position 0. See the chapter Key Sequences and Switch on CP551, CP552, CP554 and CP555.
ABB, 1SBC159002M0202 3-1

Operator Terminal Functions

Configuration Mode, SETUP


This section describes functions which cannot be performed with the programming tool. For settings through the programming tool refer to the chapter Programming with the Programming Tool. Erasing the Memory In the Setup menu in the operator terminal there is a function Erase memory. This function erases the operator terminals application memory. All blocks and definitions for alarms, time channels, function keys and system signals are erased.
Parameter Enter Prev Description Memory is erased. The configuration menu is shown automatically when the erasure is completed. Return to previous level without erasing the memory.

Note: When the memory is erased all the data stored in the operator terminal is lost. The language selection parameter is not affected by this function. Other parameters are erased or given their default values.

Setting of Memory Expansion Card Not applicable for CP501, CP502, CP503 and CP551. Under MemCard maintenance you can select to format an installed PCMCIA memory card or to transfer to or from a memory card. You can format the memory card as a backup card or as an expansion card. Under MemCard transfer you can select to transfer: project to memory card, project from memory card, delete project on memory card, recipe to memory card, recipe from memory card, or to delete recipes on the memory card. For further information, refer to the manual for IFC MC.

3-2

ABB, 1SBC159002M0202

Operator Terminal Functions Contrast Setting Applicable for CP501, CP502, CP503 and CP551: Contrast is set on the back of the operator terminal, using a screwdriver. Applicable for CP511, CP512, CP552, and CP513: The contrast settings are made in the programming mode under Setup/Contrast setting or in run mode through a jump to system block 997. By pressing on the function key + the display becomes brighter, and by pressing on - it becomes darker. Return to the previous level by pressing EXIT. CP554 has no contrast setting. Applicable for CP555: Color intensity on the display (background light) can be controlled through a data register and a command, DIM, specified on the command line under Setup/System signals in the programming tool. See the section The Setup Menu in chapter Programming with the Programming Tool.
Note: Contrast is affected by ambient temperature. If the operator terminal is programmed in a room where the temperature deviates significantly from the location where the operator terminal will be placed, any contrast settings should be made after 15-30 minutes in the actual ambient temperature.

Programming Mode, PROG


Edit

The application is built up in the programming tool. Certain modifications can, however, be made when the operator terminal is in the programming mode by choosing Edit. The help line in the operator terminal shows what can be done using the function keys. Transfer The project is normally transferred to the operator terminal form the programming tool. By using the function Automatic terminal RUN/TRANSFER switching in the programming tool, the program automatically sets the operator terminal in transfer mode. When the operator terminal is in programming mode, it can be manually set to the transfer mode by choosing Transfer.

ABB, 1SBC159002M0202

3-3

Operator Terminal Functions

Run Mode, RUN


Run mode is the mode where the application is run. Block 0 will automatically be shown on the display when transferring to run mode. The built-in keyboard in the operator terminal is used to mark and change values in run mode. If a communication error occurs between the operator terminal and the controller an error message will be shown on the display. The operator terminal starts automatically when the communication is resumed. If you have pressed a key sequence which affects I/O when a communication error occurs it will be stored in the operator terminal buffer, and will be transferred to the controller when communication functions again. To obtain a watch-dog function where the controller can detect if a communication error has occurred, the operator terminal clock can be continuously transferred to a register in the controller (see the section Date/Time Format in chapter Programming with the programming tool). The controller checks if the register is updated, and if not an alarm indicating a communication error is activated in the controller. The descriptions of objects/functions also include how the different objects/functions function in run mode.

3-4

ABB, 1SBC159002M0202

Operator Terminal Functions

3.2

Keyboard on the Operator Terminal


Built-in function keys Arrow keys

Alphanumeric keys

Alphanumeric Keys
From the alphanumeric keyboard the following characters can be entered in dynamic text and numerical objects during run mode in the operator terminal. 0-9 A-Z a-z !?<>()+/*=%#:@ National characters
Note: No characters can be entered from the keyboard on CP501 because it does not have alphanumeric keys.

Numeric values are entered by pressing the respective key once. A to Z are entered by pressing the respective keys two to five times, and the lower case letters a to z are entered by pressing the respective keys 6 to 9 times. The delay time interval between pressing can be set (see the section Terminal Options in the chapter Programming with the programming tool). If the key is not pressed within the delay time interval the cursor moves to the next position. National characters are entered by pressing the keys C1-C4 two to nine times. This enables non-standard characters on the alphanumeric keyboard to be available in the operator terminal. (See the section Country/Language in the chapter Programming with the programming tool).
Note: In the programming tool all characters in the selected character set (see the section Country/Language in the chapter Programming with the programming tool) are used in static text, with the exception of reserved characters. Enter the required character by pressing the Alt key and simultaneously pressing 0 (zero) on the numeric keyboard on the PC, followed by the character code.

ABB, 1SBC159002M0202

3-5

Operator Terminal Functions Reserved Characters The ASCII characters 0-32 (Hex 0-1F) and 127 are reserved for internal functions in the operator terminal and must be used in any projects or files in the operator terminal. The characters are used as control characters.

Arrow Keys
The arrow keys are used to move the cursor in a menu or dialog.

Built-in Function Keys


Not all the keys are available on all operator terminals. The key [] ([ENTER]) is used to confirm the setting made and to go to the next line/level. The key [PREV] is used to return to the previous block. The key [LIST] is used to bring up the alarm list. The key [ACK] is used to acknowledge alarms in the alarm list. The key [MAIN] is used to jump to block 0 in run mode. The key [ ] is used to delete characters to the left of the cursor.
Note: When the main block (block number 0) has been shown the [PREV] key will not work, since the block history is deleted when the main block is shown.

3-6

ABB, 1SBC159002M0202

Operator Terminal Functions

Key Sequences
Key sequences on the operator terminal have the following functions.
Function Operator terminal model CP502 CP503 CP511 CP512 CP513 Sysload [ ] + [F1] [ ] + [F1] [ ] + [F1] [ ] + [F1] [ ] + [F1] Self-test + + + + + Switch between PROG and RUN [ ] + [ENTER] [ ] + [MAIN] [ ] + [MAIN] [ ] + [MAIN] [ ] + [MAIN] Diagnostic page [ ] + [ ] + [LIST] [ ] + [PREV] [ ] + [PREV] [ ] + [PREV]

CP501 has only a run and transfer mode. The following key sequences apply to CP501:
Key sequence [F3] + [F4] + Function Places terminal in manual transfer mode, Transfer. Activates self-test function.

Switch on CP551, CP552, CP554 and CP555


To be able to access the various modes on CP551, CP552, CP554 and CP555 the power feed to the operator terminal is interrupted by placing the switch on the side/ rear of the operator terminal as shown in the following table and thereafter reconnecting the power feed.
Switch position 0 1 2 3 4 5 8 9 Function Run mode (normal mode), RUN Sysload Calibrate touch Dragging cross Configuration mode, SETUP Programming/transfer mode, PROG/TRANSFER Activates self-test function Erases the clock memory

ABB, 1SBC159002M0202

3-7

Operator Terminal Functions

3.3

Setting the Real-time Clock

Not applicable for CP501. The real-time clock in the operator terminal is set under Setup, Date/Time. Select the alternative Set Terminal clock. The date and time are now shown. Press [SET] to change the settings. Enter the desired date and time. In editing mode you move the cursor with the arrow keys. Press [NEXT] to return or cancel the setting before pressing [ENTER]. The real-time clock can also be set in run mode through a maneuverable clock object and during the transfer of projects from a PC to the operator terminal, see the chapter Project Transfer.
Note: By using a command, a digital signal can be used to indicate when the real-time clocks battery needs to be changed. See the section Commands in the chapter Programming with the programming tool.

3.4

Diagnostic Page

Not applicable for CP501. The operator terminal contains an diagnostic page. The diagnostic page is activated by pressing the key combination [ ] and [PREV] simultaneously in RUN mode. A function or touch key can also be used/configured to call up the diagnostic page. The current operator terminal, system program version and hardware version are shown at the top of the diagnostic page.
Parameter STARTS RUN CFL 32C MIN:21 MAX:38 (example) DYNAMIC MEMORY FLASH MEM PROJ FLASH MEM BACK FLASH CACHEHITS Description Number of times the operator terminal has been started. Number of hours the operator terminal has been running. Number of hours the backlighting has been switched on. Current working temperature, lowest measured temperature and highest measured temperature. Does not apply to CP502, CP503 and CP555. Available RAM memory (working memory) in number of bytes. Available Flash memory (project memory) in number of bytes. Available Flash memory on the backup memory card (IFC MC) in number of bytes. Percent of block/allocation cache hits in the file system.

3-8

ABB, 1SBC159002M0202

Operator Terminal Functions


Parameter FLASH ALLOCS DRIVER 1 DIGITAL I/Os ANALOG I/Os I/O POLL PKTS Description Max percent of used/active allocations per block in the file system. Current driver and driver version. The number of digital signals linked to controller 1 that continuously monitor (STATIC) and the number in the current block (MONITOR). The number of analog signals linked to controller 1 that continuously monitor (STATIC) and the number in the current block (MONITOR). The time in ms between two readings of the same signal in controller 1. The number of signals in each package transferred between the operator terminal and controller 1. See the section Efficient communication in the chapter General. The number of timeouts in communication with controller 1. The number of checksum errors in communication with controller 1. The number of byte errors in the communication. Current driver and driver version. The parameters for Driver 2 are only shown if controller 2 is defined in the project. The number of digital signals linked to controller 2 that continuously monitor (STATIC) and the number in the current block (MONITOR). The number of analog signals linked to controller 2 that continuously monitor (STATIC) and the number in the current block (MONITOR). The time in ms between two readings of the same signal in controller 2. The number of signals in each package transferred between the operator terminal and controller 2. See the section Efficient communication in the chapter General. The number of timeouts in communication with controller 2. The number of checksum errors in communication with controller 2. Current port for FRAME; OVERRUN and PARITY. 1=RS422 port, 2=RS232C port and 3=RS485 port. The number of frame errors at each port. The number of overrun errors at each port. The number of parity errors at each port.

TOUT1 CSUM1 BYER DRIVER 2 DIGITAL I/Os ANALOG I/Os I/O POLL PKTS

TOUT2 CSUM2 1/2/3 FRAME OVERRUN PARITY

ABB, 1SBC159002M0202

3-9

Operator Terminal Functions

3-10

ABB, 1SBC159002M0202

Programming with the Programming Tool

Programming with the Programming Tool

This chapter describes how to configure the operator terminal using the programming tool. How to install the software is explained in the chapter Installation. The programming can be performed using the menus, additionally, many functions can be reached easily by right-clicking on a component in the Project Manager or from different toolbars. Select View/Toolbars to display or hide different toolbars.
Standard Toolbar Color Toolbar Language Toolbar Line Width Toolbar Pattern Toolbar

Controller Toolbar Objects Toolbar Zoom Toolbar Status Toolbar Layout Toolbar Alignment Toolbar Block Manager Toobar

Toolbars in the programming tool.

ABB, 1SBC159002M0202

4-1

Programming with the Programming Tool

4.1

Starting the Programming Tool

Click on Start/All Programs/CP500 soft/CP Programmer/Programmer. The menus File, View, Properties and Help are displayed in the menu bar when the programming tool is started.

The Standard Toolbar


The Standard Toolbar is used for functions such as opening and saving projects, copying and pasting objects, and undoing the latest actions. One button is used to display/hide the Project Manager, and another to print the current project. See chapter Printouts for further information. It is also possible to display the relevant help topic for a selected object or menu alternative by clicking the button to the very right, and then clicking on an object or menu alternative in the programming tool.

4.2

Selecting Menu Language

Select in which language to present the programming tool under Settings/Menu language. This language will be used for menu texts, object names etc. In this manual we assume that English has been selected.

4-2

ABB, 1SBC159002M0202

Programming with the Programming Tool

4.3

Creating a Project

A new project is created under File/New. Select the type of operator terminal, controller and color scheme to use in the project in the Project Properties dialog. All the alternatives are not available for every type of operator terminal. Click OK to create a new project.

Operator Terminal
Click Change.

Select operator terminal model and version (system program) for the operator terminal used.

ABB, 1SBC159002M0202

4-3

Programming with the Programming Tool

Controller
The controller the operator terminal is to be connected to is selected here. Click the Change button to display the following dialog. The list shows the installed drivers. Select the brand name, protocol and model. Click OK to finish. If you do not want to make any changes, click Cancel.

Two drivers can be used in the same project, i.e. the operator terminal is capable of using two drivers.The driver for the second controller is selected in the same way as for the first. For further information on two drivers for the operator terminal, refer to the section Communication with Two Controllers (Dual Drivers) in the chapter Communication.

4-4

ABB, 1SBC159002M0202

Programming with the Programming Tool

Internal Variables
Internal variables can be used and selected in the same way as different drivers. A number of volatile and non-volatile user-defined variables can be selected. When a value is changed, the non-volatile variables are saved in the flash memory to be read at the next start-up. The system variables are fixed. These can be used to display e.g. poll intervals and for toggle functions. By clicking Properties & Help in the I/O Browser or selecting Functions /I/O Configuration/Internal Variables the following window is displayed.

Variable type Volatile Non-volatile System

Addressing area, bit M0 - M4095 M4096 - M8191 M8192 - M8199

Addressing area, memory cell D0 - D4095 D4096 - D8191 D8192 - D8199

The system variables are used according to the tables below:


Bit M8192 M8193 M8194 - M8199 Always ON Toggles between OFF and ON every second Not used Description

ABB, 1SBC159002M0202

4-5

Programming with the Programming Tool


Memory cell D8192 D8193 D8195 - D8199 Description Poll interval driver 1 (ms) Poll interval driver 2 (ms) Not used

The Controller Toolbar


The driver for a selected object can be selected from the Controller Toolbar. Using internal variables is selected by clicking the I-symbol.

Color Scheme
You can create your own color scheme and save it under a separate name. The color scheme determines the color of the background, menus, dialogs, and objects, etc. When you select an object in the toolbox or the menu the colors of the object are shown in the colors defined in the selected color scheme. Click Change to display the dialog below. You can change an existing color scheme or create a new one.

The button Apply updates all colors in the project, with the exception of lines, circles, rectangles and arcs. Once a project is opened or created, the Project Manager is displayed, containing all components included in the current project. Functions in the project can be added and edited from the Project Manager, from different toolbars or from menus.
4-6 ABB, 1SBC159002M0202

Programming with the Programming Tool

The Status Bar


The Status bar is shown at the bottom of the window in the programming tool. The left part of the status bar describes the function of the selected menu, or presents a short description of the object that the cursor points at in the toolbar. The coordinates, line and column in the block manager, are also shown. The right part of the status bar displays operator terminal model and driver version in the current project, and how much memory is available in the operator terminal once the project is transferred. OVR indicates that the Insert key (overwrite) is activated.

ABB, 1SBC159002M0202

4-7

Programming with the Programming Tool

4.4

Updating Drivers

Drivers can be updated from the Internet or from disk. To implement the downloaded drivers, the programming tool must be restarted.

Updating Drivers from the Internet


Select File/Update Drivers From/Internet to update available drivers to the latest version, or to install new drivers. The computer has to have access to the Internet, but a web browser is not required. A list of all drivers that can be downloaded from the Internet is displayed when the connection is established.

The list shows the version number of the available drivers and the version number of the installed drivers. Select which driver(s) to install in the programming tool. The function Mark newer selects all drivers available in newer versions than the ones installed, including all drivers that are not installed. Click Download. Each driver takes up approximately 500 kB and can be used as soon as downloading is complete.

Updating Drivers from Disk


Select File/Update Drivers From/Disk to update available drivers to the latest version, or to install new drivers from disk. Browse to the folder where the driver files are is located. A list of all drivers that can be installed is now shown. Then follow the instructions above.

4-8

ABB, 1SBC159002M0202

Programming with the Programming Tool

4.5

Changing Project Properties

Both the selected operator terminal and controller can be changed for the project. Double-click on the project name in the Project Manager to display the Project Properties dialog. Click Change for the parameter Operator Terminal and/or Controller systems.

Changing Operator Terminal Version


If the system program in the operator terminal is updated to a newer version, the operator terminal version in the Project Properties dialog has to be changed also. Otherwise, the new functionality in the new operator terminal version cannot be utilized.

Changing Controller
If the controller in the project is changed to a system with another name for the signals used, these must be changed. This is easily done by using the internal name list. See the section The Name List. 1. Select View/Name List. 2. Click on the button Undefined to insert all I/Os used in the project in the name list. 3. Click on the button Export to export the name list to a text file. Enter a name and click Save. Define how the text file is to be separated. 4. Open the text file in a text editor, e.g. Wordpad. 5. Change all I/Os to signals used in the new controller, and save the file as a text file. 6. Double-click on the project name in the Project Manager to display the Project Properties dialog. Click Change for Controller. 7. Select the new controller to be used and click OK twice. 8. Click on the button Import in the dialog Name list, and click No to the question if invalid I/Os should be removed. 9. Click on the Rebind button to update all new I/Os in the project with the new names.

ABB, 1SBC159002M0202

4-9

Programming with the Programming Tool

4.6

The Project Manager

When a project is created, the Project Manager is displayed, with all blocks and components included in the application. Expand the folders in the Project Manager, by clicking on the +, to display the contents of the folders.

The Blocks Folder


Some blocks in the Blocks folder are created automatically. The Main block, block 0, must always be used in the project. The system blocks Alarms, Time Channels, System Monitor and Mail cannot be deleted. A new block can be created by rightclicking on the folder and selecting New. Double-clicking on the Blocks folder displays The Block Manager.

The Alarms Folder


Alarm Groups and Alarm Messages are automatically created in the Alarms folder. See chapter Alarm Management for information.

4-10

ABB, 1SBC159002M0202

Programming with the Programming Tool

The Peripherals Folder


Right-click on Controller 1 or Controller 2 to select another driver, to change the port the controller is connected to or to display the controller properties. See also section Controller. Right-click on Internal Variables and select Properties to display the Internal Variables properties. See also section Internal Variables. Controller Data Exchange is described in section Data Exchange between Controllers.

The Setup Folder


Properties for the operator terminal can be made from the Setup folder. See sections System Signals, Index Addressing, Country/Language, Date/Time Format (for Clock Properties), Terminal Options and Multiple Languages for information.

The Network Folder


The properties that can be made under the Network folder are described in the sections Network Services, Network Communication via Ethernet (TCP/IP Connection 1 and TCP/IP Connection 2) and Network Accounts.

Other Project Manager Components


The functions Time Channels, Passwords, Function Keys, LEDs, Message Library, Macros, Recipes and Data Logging are described in separate chapters.

ABB, 1SBC159002M0202

4-11

Programming with the Programming Tool

4.7

The Block Manager

Double-clicking on the Blocks folder displays the Block Manager, with an overview of all blocks in the project.

When the Block Manager is displayed, the The Block Manager Toolbar and the The Zoom Toolbar are highlighted.

The Block Manager Toolbar


The buttons in the Block Manager Toolbar are used to add blocks and to display the properties dialog for the selected block. Additionally, regular block jumps can be added, as well as function key and touch key block jumps.

4-12

ABB, 1SBC159002M0202

Programming with the Programming Tool

Creating Blocks
Right-click on the Block Manager and select New Block to add a block in the project. A dialog with basic properties for the block is displayed.

Block name: A name for the block can be entered here. The block name is shown in the Block Manager, in the Project Manager and in the Block List. Block number: The number of the block. Block 0 is created automatically, and must always be used in a project. Block type Select block type; graphic or text. When clicking OK, the block is opened.

ABB, 1SBC159002M0202

4-13

Programming with the Programming Tool

Block Properties
Right-click on a block in Project Manager or in the Block Manager and select Properties to enter more detailed information about the block.

The appearance of the properties dialog differs depending on the selected block type. General The following properties are defined under the General tab:
Block no:

The number of the block.


Block name:

A name for the block can be entered here. The block name is shown in the Block Manager, in the Project Manager and in the Block List.
Display signal:

A digital signal which, when activated, results in the block being shown on the operator terminals display. To change blocks as quickly as possible, display signals in consecutive order should be used. This field is not filled in if another method of changing blocks is used.
Recipe directory

Select a recipe directory in which all recipes created in the block will be saved. See the chapter Recipes.
4-14 ABB, 1SBC159002M0202

Programming with the Programming Tool


Background block:

Only applicable for graphic blocks. It is possible to select another block as the background block, to, for example, use the same background in more than one block. Select View/Options/Show Background Block when the Graphic Block Manager is active to show the background block when the actual block is edited.
Cursor color:

Only applicable for graphic blocks. Select the color of the cursor in the operator terminal.
Cursor thickness:

Only applicable for graphic blocks. Select the thickness of the cursor in the operator terminal. Block type The block type was selected when the block was created, and cannot be changed.
Status

Clicking the Status button opens the Block Options dialog, with the following properties for the status of the display in the operator terminal. The properties do not affect system blocks. Cursor off: (text block only) indicates if the cursor is to be visible in the block in run mode. Put cursor at first man. object: (text block only) indicates if the cursor is to go to the first maneuverable object in the block instead of at the top left. Disable main menu key: Disables the [MAIN] key in the operator terminal when the current block is visible on the display. Disable alarm list key: Disables the [LIST] key in the operator terminal when the current block is visible on the display. More indication: (text block only) Indicates if the + character is to be shown at the bottom and top right on the display when there is more in the block below or above what can be seen on the display. Auto data entry: Moves the cursor automatically to the next maneuverable object after an input. The cursor can only be placed on maneuverable objects in this position. Disable PREV function: Disables the [PREV] key and the function Return to previous block for the function keys in the operator terminal when the current block is visible on the display. Disable ENTER function: Disables the [ENTER] key in the operator terminal when the current block is visible on the display. Only valid for digital objects.
ABB, 1SBC159002M0202 4-15

Programming with the Programming Tool Printout The following properties are defined under the Printout tab:
Print signal:

A digital signal which, when activated, results in the block being printed out on a connected printer. Display signal and Print signal can be the same. Print signals in consecutive order should be used to obtain the fastest possible printouts.
Completion signal:

A digital signal activated by the operator terminal when the printout is ready. The signal is normally set to one. If the box Reset is marked, the signal will be reset when the printout is ready. E-mail The E-mail tab is available for text blocks only. The following properties can be defined:
Send mail signal:

The text block is sent as an e-mail message when the given digital signal is set to one. The block name corresponds to the e-mail message subject.
Note: Only text blocks can be sent as e-mail messages.

Mail completion signal:

A digital signal activated by the operator terminal when the message has been sent. The signal is normally set to one. If the box Reset is marked, the signal will be reset when the message has been sent.
Mail to address:

The address of the e-mail recipient is given here. Select up to 8 recipients from the list shown when clicking the ... button. The list of e-mail addresses is defined under Setup/Network/Services/SMTP Client. See section SMTP Client for information.
Attach file:

The name of a trend or recipe file to be attached with the message is given here. If there is a trend file or a recipe file with the same name, the trend file will be sent. Access The following properties are defined under the Access tab:
Security Level:

A security level (0-8) for the block is defined. If a security level other than 0 is stated, the operator must log in with a password corresponding to the given security level or higher. Local function keys Local function keys for the block can be defined under the Local function keys tab. See the chapter Function Keys for information. See also section The Block List.
4-16 ABB, 1SBC159002M0202

Programming with the Programming Tool

4.8

Showing Operator Terminal around the Working Area

When double-clicking on a block in the Blocks folder in the Project Manager, an image of the current operator terminal is drawn around the working area of the active block. Function keys, LEDs and text fields in the image can be edited by doubleclicking on the image. This function can be turned off by unchecking the option View/Options/Show Terminal.

Defining Function Keys


Double-click on a function key to create a local or global function key. The Function Keys tab in the Block Properties dialog is displayed. For a definition of function keys, see the chapter Function Keys.

Defining LEDs
Double-click on an LED to configure it. For definition of LEDs, see the chapter LEDs.

Creating Text Strips


Double-click on a text strip to display a dialog where text can be entered and adjusted, and background color and font can be selected. This function enables complete text strips to be designed and then printed out on plastic film, to be used on the operator terminal.

ABB, 1SBC159002M0202

4-17

Programming with the Programming Tool

4.9

Configuration of Blocks

Double-click on a block in the Project Manager. The working area for the block and the Objects Toolbar are now shown. The working area is the Graphic Block Manager or the Text Block Manager, depending on whether a graphic block or text block is opened. All objects that can be created in the block are available from the Objects Toolbar.

The Objects Toolbar


The objects available differ depending on the selected operator terminal and on the block type. An object is selected by clicking on it in the Objects Toolbar and placing the object in the working area using the cursor. Click to open the properties dialog for the selected object. Fill in the parameters, and click OK. The object is now shown in the working area. Static text or graphics are drawn directly in the working area. The static graphic objects line, arc, ellipse, rectangle, symbol and text are used to draw background graphics. When static graphic objects are created signals can be linked to the objects under Dynamics, and in so doing make them dynamic. The dynamic objects are linked to signals to create control and monitoring functions. General parameters for the objects are described in the chapter General. The chapters Graphic Presentation and Maneuvering and Text-based Presentation and Maneuvering describe graphic and text objects. In addition to the different objects, a button for selecting symbols and a marking pointer are also available, located to the very left on the toolbar. See also section Static Symbols.

The Alignment Toolbar


The Alignment Toolbar makes it easy to arrange multiple objects on the screen neatly. Objects can be aligned vertically and horizontally, and their size can be adjusted according to the last selected/created object (the reference object). Objects can also be distributed evenly, and tiled, using the buttons in the toolbar. When placing the cursor on a button in the toolbar, a short description is displayed as a tooltip, as well as a closer description in the Status bar at the bottom left of the screen.

4-18

ABB, 1SBC159002M0202

Programming with the Programming Tool

The Layout Toolbar


The buttons in the Layout Toolbar are used to send objects to the front or back of each other, and to show or hide a grid.

The Color Toolbar


The Color Toolbar shows the foreground color and background color of a selected object, as well as the block color. Clicking on the buttons allows selecting other colors from the palette.

The Line Width Toolbar


Select a line width used for lines, arcs, poly lines, rectangles and circles. The line width can also be selected from the objects properties dialog.

The Zoom Toolbar


The buttons in the Zoom Toolbar are used to zoom into or out from the working area or the Block Manager.

Selecting Several Objects


Several objects in the working area can be selected at the same time by drawing a frame around them with the marking pointer. Alternatively, click on several objects while keeping the Shift-key pressed.

Grouping Objects
After marking some objects on the working area, these can be grouped by selecting Layout/Group. Grouped objects are treated as one object, the size of which can be changed. The color and font can be changed individually for the objects in a grouped object. When clicking on an object in a grouped object, the editing dialog for that object is displayed. Select Layout/Ungroup to ungroup a grouped object.

ABB, 1SBC159002M0202

4-19

Programming with the Programming Tool

The Library
The Library contains a number of catalogues with different symbol objects. It is also possible to define user-created catalogues by right-clicking on the Library and selecting Catalogue/New.

Grouped objects and symbols can be saved in the Library for reuse later, or in other projects. Right-click on a grouped object or symbol on the working area, select Copy, and then right-click in the Library and select Paste. A library object can be dragged from the Library to the working area. By right-clicking on the Library, it is possible customize the look of the Library. Library catalogues can be closed by right-clicking on the catalogue and selecting Catalogue/Close. The Library can be hidden by selecting View/Toolbars/Library. Symbol objects that are used in a project are saved in the project folder. These symbols can also be selected from the Select Symbol dialog, described in chapter Static Symbols. Saving Symbols to the Library Select one or several objects (grouped or ungrouped) on the working area with the cursor. Right-click on the selection and select Copy. Right-click in the Library and select Paste.

4-20

ABB, 1SBC159002M0202

Programming with the Programming Tool

Creating Series
Series of objects can be created in graphic blocks. Line up objects in a row or columns with the same object. Then select the objects (not text objects), and choose Object/Create Series.

ABB, 1SBC159002M0202

4-21

Programming with the Programming Tool Select to create rows or columns, the number of rows/columns, and in which direction the series should be expanded. Click OK for the programming tool to create a table with the specified number of lines or columns.

Note: The lead text must end in a number for the table to be created. The Alarm banner object cannot be included in a table.

4.10 Using Text Blocks


For information of how to use text block, see the chapter Text-based Presentation and Maneuvering.

4-22

ABB, 1SBC159002M0202

Programming with the Programming Tool

4.11 Static Symbols


Static symbols can be imported to the project, either from the bitmap library, where a number of buttons, pump symbols etc. are located, or by browsing the PC for graphic files. Graphic files in the formats .bmp, .jpg, .gif and .wmf can be imported to the bitmap library from another Windows program, e.g. Paint. A maximum of 30 characters can be used for symbol names. Country specific characters are allowed.

Adding a Symbol
Click on the Symbol button in the Objects Toolbar to display the Static Symbol dialog. Type the name of the symbol to add, or click Select to display the Select Symbol dialog. Select Built-in to select a static symbol from the bitmap library, or click Import to select a graphic file from any location in the PC. A selected symbol can be displayed in the Preview-window. All symbols in bmpformat are displayed as thumbnails in the window.

ABB, 1SBC159002M0202

4-23

Programming with the Programming Tool Click OK to select a symbol. The symbol is now visible in the Static Symbol dialog.

Imported symbols can be used by selecting User-created in the Select Symbol dialog. General
Parameter Symbol Select Description The symbol name of the selected symbol. Button used to select symbols from the library or browse for graphic files in the PC.

Use dynamic bit- Only applicable for CP555. See the section Dynamic Handling of map Bitmaps in the chapter Graphic presentation and maneuvering. Stretch When selected, the objects X and Y size can be changed.

Dynamics The functions under the Dynamics tab are described in the section General Parameters in chapter Graphic presentation and maneuvering.

4-24

ABB, 1SBC159002M0202

Programming with the Programming Tool

Copying Graphics from Other Programs


Use the copy function in the other program (e.g. Paint). Right-click in the Library and select Paste. Enter a name for the symbol. The symbol is now saved in the symbol library with the given name. With the copy and paste functions in the programming tool it is possible to copy graphics and symbols between blocks and between projects.
Note: When a user-defined symbol is copied between projects, the actual symbol is only copied if the symbol is not already used in the target project.

4.12 Changing I/Os


The function Change I/O allows you to change an I/O to another, or move a complete I/O area. I/Os can be changed in the entire project, or only in the objects marked when the function is selected. Select Edit/I/O Change.

Change I/O in

Select whether you want to change I/Os in the entire project or for selected objects.
Change

Select whether one I/O is to be changed, or whether if the complete I/O area is to be moved.
From I/O, End I/O, To I/O

State which I/O is to be changed, and to what or which I/O area it is to be moved.
Confirm each change

Select whether you want to confirm changing the I/O for each object.
ABB, 1SBC159002M0202 4-25

Programming with the Programming Tool

4.13 The I/O Browser


If a local name list is created in the project, I/O signals can be selected from the list, using the button I/O when objects are defined. The button I/O is included in all dialogs where an address can be stated. The I/O Browser has incremental searching. This means that searching begins immediately when you start entering in the characters in the Name/Address field. The I/O list can be sorted by different properties.

4-26

ABB, 1SBC159002M0202

Programming with the Programming Tool

4.14 Changing BDTP Station


This function allows you to change the index numbering in a BDTP client project included in a BDTP network, e.g. from station 1 to station 3. Select Edit/BDTP Station Change.

Change station in

Select whether to change the index numbering in the entire project, or for marked objects.
From station, To station

The index number to be changed is indicated here, and to which BDTP station index number it is to be changed to.
Confirm each change

Select if you want to confirm changing the BDTP station for each object. See the section BDTP for information about BDTP.

ABB, 1SBC159002M0202

4-27

Programming with the Programming Tool

4.15 I/O Cross Reference


The I/O cross reference function is used to document I/Os in a well-arranged way. Select View/I/O Cross Reference.

Start I/O and End I/O can be stated in the dialog. If the Start I/O field is left blank all I/Os to the value in the End I/O field will be included. If the End I/O field is left blank all I/Os from the value in the Start I/O field will be included. If both fields are left blank all I/Os will be included in the list. The results are presented in a list with two levels. The first level shows which I/Os are used and how many objects refer to each respective I/O. The second level is displayed by clicking on the + character to the left of the I/O. The objects containing the I/O you have clicked on will now be shown. The + character becomes a - character.

A line in the list can be marked and copied to the clipboard, from where it can be pasted into, for example, a Microsoft Word document.

4.16 Other Managers and Editors


The programming tool also has managers and editors for e.g. alarms, passwords, time channels, message libraries, macros and data logging. These are activated by doubleclicking in the Project Manager and are handled similarly. The managers are described in the respective chapters.
4-28 ABB, 1SBC159002M0202

Programming with the Programming Tool

4.17 The File Menu


The File menu contains functions for creating, opening, saving and closing projects, also available from the Standard Toolbar. Printout options are also accessed from this menu. With the functions Update Drivers From you can update the drivers from the Internet and from disk, see the section Updating Drivers.

4.18 The Edit Menu


The Edit menu contains functions for cutting, copying, pasting, undoing and selecting all, also available from the Standard Toolbar. The Find function is accessible when editing multiple language texts. The menu also includes the functions Changing I/Os, Changing BDTP Station and selection of default controller.

ABB, 1SBC159002M0202

4-29

Programming with the Programming Tool

4.19 The View Menu


Different managers, tools, toolbars and features can be displayed/hidden from the View menu.

The Block List


The Block List lists the blocks included in the application. New blocks can be created using the New-button, and existing blocks are opened with Open. Block properties are displayed when clicking Properties. Selected blocks can be removed using the Deletebutton.

Block Manager
The Block Manager displays graphically which blocks are included in the application. New blocks can be created, and block properties and jumps can be defined with the functions in the toolbar. See the section The Block Manager.

Symbol Manager
This selection activates the Symbol Manager. In Symbol Manager you can create your own symbols, or modify existing symbols. You can also create a library of symbols in the format bmp. The symbols in Symbol Manager are then available in the symbol list when you create static or dynamic symbol objects.

4-30

ABB, 1SBC159002M0202

Programming with the Programming Tool

I/O Cross Reference


Under I/O Cross Reference you can document I/Os in a well-arranged way. See the section I/O Cross Reference.

The Name List


A local name list for the signals used can be created using the Name List. Signals in the project which are not named can be inserted in the name list with the function Undefined. New signals can be added and existing names can be edited and updated. The function Update updates the project with the changes made in the name list. A name list can be exported to a text file, and a text file can be imported to a name list. The contents of the file can be separated either with a semicolon, comma or space. An internal name list can be sorted. The text file should not contain national characters.

Toolbars
All toolbars can be shown/hidden.

ABB, 1SBC159002M0202

4-31

Programming with the Programming Tool

Options
Show Terminal See section Showing Operator Terminal around the Working Area for information. Show Background Block Only applicable for graphic blocks. Background blocks are shown when editing in the Graphic Block Manager. Show Language Index Applicable only when multiple languages support is used. Displays the index number for the texts used in the application. Tool Tips Shows lead texts for the function or object that the cursor points to. Use Terminal Font You can select whether the program text you enter in the dialog windows is to be shown with operator terminal font. Choose Unicode Font Choose a Unicode font in the object dialog. The font is used in the programming tool when multiple languages are used.

Project Manager
Choose whether to show the Project Manager or not under View/Project Manager.

4.20 The Functions Menu


In the Functions menu there are managers for function keys, LEDs, alarm groups, alarms, time channels, passwords, message libraries, macros, data exchange, data logger and I/O configuration.

4-32

ABB, 1SBC159002M0202

Programming with the Programming Tool

Function Keys
Global function keys can be defined by selecting Function Keys. See the chapter Function Keys.

LED
LED functions can be defined by selecting LED. See the chapter LEDs.

Alarm Groups
Alarms can be grouped, e.g. according to degree of seriousness, by selecting Alarm Groups. See the chapter Alarm Management.

Alarms
Alarm messages and which signals are to activate the alarms can be defined by selecting Alarms. See the chapter Alarm Management.

Time Channels
Time Channels can be used to control events in the process at special times. See the chapter Time Channels.

Passwords
Passwords for the different security levels in the application can be defined by selecting Passwords. See the chapter Passwords.

Message Library
Message tables, where values between 0 and 65,535 are linked to texts can be created by selecting Message Library. See the chapter Message Library.

Macros
Events to influence all function keys and touch keys can be created by selecting Macros. See the chapter Macros.

Data Exchange
By selecting Data Exchange conditions for data exchange between selected controllers can be defined. See the chapter Communication.

Data Logger
Data can be logged and saved to file on different intervals or depending on changed values. See the chapter Data Logging.

ABB, 1SBC159002M0202

4-33

Programming with the Programming Tool

I/O Configuration
The properties for the driver of the connected controller or for internal variables are displayed by selecting I/O Configuration.

4.21 The Setup Menu


The operator terminal can be configured using the Setup menu.

Many settings can also be made from the Setup and Peripherals folders in the Project Manager.

System Signals
Current display register Data register in the controller, which when the operator terminal is running contains the number of the block shown on the display. The data register is updated automatically by the operator terminal when changing blocks. This register does not affect the selection of blocks. New display register A data register in the controller, which controls which block is to be shown on the display.

4-34

ABB, 1SBC159002M0202

Programming with the Programming Tool Buzzer register Not applicable for CP501, CP502 and CP503. A register value to determine the sound of the buzzer. See the table of tones and scales below. The buzzer is off if the value is 0. The units in the table are in Hz.
C Contra Large Small One Two Three Four Five 33 65 131 262 523 1046 2093 4186 D 37 73 147 294 587 1174 2348 E 41 82 165 330 659 1318 2636 F 44 87 175 349 698 1397 2794 G 49 98 196 392 784 1568 3136 A 55 110 220 440 880 1760 3520 H 62 123 247 494 988 1975 3950

Backlight signal Digital signal which controls whether the display is to be switched on or off. Reverse signal Only applicable for CP512. Digital signal which controls whether the display is to have black text on a white background (standard, signal reset) or white text on a black background (signal set to one). Cursor control block: Not applicable for CP501, CP502 and CP503. The start register to a control block is given in the operator terminal, which enters the current cursor position in the graphic block to the data register in the controller.
Register 0 1 2 Description Current graphic cursor position X (in pixels), 0-239 in CP511 and CP512 and 0-319 in CP513. Current graphic cursor position Y (in pixels), 0-63 in CP511, 0-127 in CP512 and 0-239 in CP513. Status register 0 Normal 1 The user tries to move down, but there is no object below. 2 The user tries to move up, but there is no object above. 3 The user tries to move to the left, but there is no object to the left. 4 The user tries to move to the right, but there is no object to the right.

ABB, 1SBC159002M0202

4-35

Programming with the Programming Tool Start register in a control block in CP551, CP552, CP554 and CP555, which enters the current pointer position in the graphic block to the register in the controller.
Register 0 1 2 Description X co-ordinate (in pixels), 0-319. Y co-ordinate (in pixels), 0-239. Status register 0 Not pressed 1 Pressed

Cursor move reg. Not applicable for CP501, CP502 and CP503. Through a register you can control the position of the cursor in a graphic block. The values in the register have the following implications. The register must be allocated the value 0 between the same command for Move. To optimize the function it is recommended to use it together with the function Cursor Control Block.
Register value 1 2 3 4 5 6 Description Moves the cursor to the first maneuverable object. Moves the cursor to the next maneuverable object. Moves the cursor one step up. Moves the cursor one step down. Moves the cursor one step to the left. Moves the cursor one step to the right.

Printer status reg. You can read the status of a printer connected to the operator terminal via the expansion card for parallel printer in a register. The register can assume the following values.
Register value 0 1 2 3 4 Description OK. The printer is functioning as it should. General error. Check port and printer settings. No paper. Put paper in the printer. No memory. The printers memory is full. Not connected. The printer is not correctly connected. Check port and printer settings, including the cable.

If the printer status register has the value 1-4, i.e. does not function normally, the operator terminal will ignore all printouts until the register assumes the value zero.

4-36

ABB, 1SBC159002M0202

Programming with the Programming Tool Library index reg. Used for indexing of the message libraries. The number of the library the texts are to be collected from is indicated in the message object. If an index register is defined, the content in the index register is added to the number given in the object. This makes it possible to control from which library the texts are to be taken with a register. Dim backlight reg: Only applicable for CP502 and CP551. Controller register which controls the dimming of the backlight (0-100%). Commands On the commands line it is possible to give one or more of the following commands. The commands are typed with all capital letters. The commands are separated by a space.
Command Rx Description Maximum number of re-sends. x=total tries. Applies to communication with the controller. Example: R5@2 applies to controller 2. Supported by CP501 - CP555

Tx

Global timeout in x total ms. Applies to communica- CP501 - CP555 tion with the controller. Example: T10000@1 applies to Timeout for controller 1. Activates Joystick function. See the section Joystick Function. Sets the digital signal x when the real-time clocks battery requires replacement. Example: LOBM0 will set M0 when the battery requires replacement. CP502 - CP555 CP502 - CP555

AKx LOBx

MDx

When dual drivers are used: If communication to a CP502 - CP555 controller fails, the operator terminal will continue to communicate with the other system. The operator terminal will try to connect to disconnected system every tenth second. The command MDx is used to change the interval; x is the time in ms. Timeout in x number of ms for messages in No protocol mode. RUN/PROG DISABLE. Disables capability to switch between RUN/PROG with the [BACKSPACE] and [MAIN] keys. If RPD is used, the operator terminal can only switch modes via the programming tool. CP502 - CP555 CP502 - CP555

NTx RPD

ABB, 1SBC159002M0202

4-37

Programming with the Programming Tool


Command SW DD Description Converts text with Swedish ASCII (7-bit) characters to 8-bit IBM PC extended ASCII when printing. Disable Delete of alarms on alarm list. When specified, inactive and acknowledged alarms cannot be deleted from the alarm list. Block Form Feed. Adds page breaks after each block when printing. Displays message BDTP comm. Error the first time only that a BDTP client tries to reconnect to an unavailable BDTP server. Deletes the alarm group from alarm printouts. Deletes rows with OFF flags in trend files when FTP is used. Locks operator terminal keys and touch screen when a terminal applet is active. Supported by CP502 - CP555 CP503 - CP555

BFF BCTO

CP511 - CP555 CP511 - CP555

DGP FTNO JAAL

CP511 - CP555 CP511 - CP555 CP511 - CP555 CP502 - CP555 CP511 - CP555

PDxxxxxxxx Password that protects access to TRANSFER menu. See the chapter Passwords. PSxxxxxxxx Password that overrides all other password levels. Useful for support and maintenance, for example. See the chapter Passwords for more information. Displays the name of the logged-in user when a Java applet is active. If no name has been defined, the word JAVA will be displayed. The name is displayed at the upper-right corner. x = character size and can be a value between 1 and 7. Storage of one trend sample only when the signal Activate is set to 1. If n=*, all trend objects are affected. If n=T, only trend objects that begin with T are affected. Divisor to regulate the temperature compensation of the operator terminals contrast. Default value is set according to testing, but may require adjustment in environments with large and frequent temperature variations. To decrease the temperature compensation, increase the divisor (x). The divisor 0 shuts off the temperature compensation. Used for backup copy of trend files on memory expansion cards. See the chapter Trends.

SJAFx

CP511 - CP555

TESOSn

CP511 - CP555

TCFx

CP511 - CP513 and CP552

TBUP

CP512 - CP555

4-38

ABB, 1SBC159002M0202

Programming with the Programming Tool


Command DBKL Description Deactivates locking of keys and touch screen if background lighting requires replacement. With the default setting, keys and touch screen are locked if background lighting is inoperable. Deactivates warning message No block x. The message is otherwise displayed if a block jump is configured to a block number that does not exist or when the function New picture register is used to permit a data register in the controller to control the block that is presented on the display. The command enables graphic blocks to be printed on laser printers without headers (which contain block names, block numbers, dates and times). Activates warning message Not maneuverable for an object in operator terminals with touch screens Touch Calibrate Disable disables calibration of the touch screen. Data register, xxx, that contains a value between 63 and +63 that controls color intensity on the display. -63 entails that the display is at maximum darkness. +63 entails that the display is at maximum lightness. The normal value is 0. Supported by CP513 and CP552 CP555

DNBW

CP513 and CP551 CP555

NHD

CP513 and CP551 CP555 CP551 - CP555 CP551 - CP555 CP555

NMAN TCD DIMxxx

Index Registers
Index addressing of dynamic objects. For further information, see the chapter Index Addressing.

ABB, 1SBC159002M0202

4-39

Programming with the Programming Tool

Country/Language
Character set The selection of the character set will influence the character table used in the operator terminal and the national characters that will be available.
Character set Swedish German French Spanish Norwegian/Danish Russian Slavic Greek Unicode Character table in graphic-based operator terminals 437 437 850 850 850 866 852 869 -

In text-based terminals, CP501, CP502 and CP503, special character tables are used and the same character table will be used irrespective of which character set is selected. Different national characters (see the section Keyboard on the Operator Terminal in the chapter Terminal functions) are used depending on the selected character set.
Swedish C1 C2 C3 C4 C5 C6 C7 C8 German French Spanish Nor/Dan

The national characters are not used when Slavic or Russian is selected. System language Selection of menu language; British/English, German, Swedish or American/English. The default setting for the operator terminal is British-English menu texts.
4-40 ABB, 1SBC159002M0202

Programming with the Programming Tool

Multiple Languages
New Language Start the wizard to create multiple languages for an application. Edit Translated texts in the application languages can be edited. Setup The tree structure is displayed for the languages in the application. For information about the properties that can be made, see the chapter Language Management. Export This function exports the user texts to a text file in ANSI, OEM or Unicode format. Choose to export user texts. After making your choice, the Export Multiple Languages Texts dialog box is displayed. Here you can specify where the file will be saved and its format. Under Encoding, you can choose ANSI/OEM, which entails that languages created in the ANSI/OEM format will be exported, or Unicode, which entails that all languages will be exported to a file in Unicode format. Import This function imports a language that can subsequently used in the terminal. Choose to import user texts. The Import Multiple Language Texts dialog box is displayed. Indicate the name of the text file that you want to import. If the existing language in the project is in ANSI/OEM format and a language in Unicode format is imported, the imported language is converted to ANSI/OEM. This entails that all characters not included in ANSI/OEM are displayed as question marks. Show Index This function is for displaying the language index instead of texts in the object. You may enter text even when the language index is shown. The new text will then receive a new language index. Cross Reference Shows a cross reference list of the indexes for the various blocks in the application. Reuse Index If this function is active when an object is copied, a new object is created with the same index. Choose Unicode Font Choose the Unicode font that will be used in the programming tool.

ABB, 1SBC159002M0202

4-41

Programming with the Programming Tool

Date/Time Format
Setting of the date and time format. Date format: The format can be YY-MM-DD, YYMMDD, DD.MM.YY, DD/MM/YY or MM/DD/YY where Y=year, M=month and D=day. Time format: The format can be HH:MM:SS or HH:MM where H=hour, M=minute and S=second. Clock used: Terminal means that the operator terminals built-in clock is used, and controller 1 or 2 means that the clock in controller 1 or 2 is used. ClockController system 1/2: Select if the clock in the operator terminal is to be transferred to a data register in the controller 1 or 2.
Note: In those cases where the controller has an activated real-time clock and the operator terminal clock is to be transferred to the same data register, the controller clock has precedence.

Update interval: Indicate how often the operator terminal is to transfer the clock data to the controller. The value is given in seconds, and 60 seconds is recommended. A shorter updating interval will make communication between the operator terminal and the controller slower. Controller register: Enter the start address for storage of the date/time in the controller. When this function is used, the operator terminal clock will be written to 7 consecutive registers according to the table below.
Controller Register CR CR CR+1 CR+2 CR+3 CR+4 CR+5 CR+6 Seconds Minutes Hours Day Month Year Day of week (1-7 where 1 is Sunday) Clock Part

4-42

ABB, 1SBC159002M0202

Programming with the Programming Tool Daylight saving: The start and end of summer or daylight saving time are defined here. State the Day of week, Week In Month, Month, Hour and Adjust. You can choose between European and US standard. To disable the function for summer time leave both fields for the month blank.

Online Properties
Permits changing of the selected function in the operator terminal.

Terminal Options
The operator terminal options include functions for the user interface, trend properties and selection of FTP delimiter.

Background: Select the background color in the operator terminal. Foreground: Select the color of the text in the operator terminal.

ABB, 1SBC159002M0202

4-43

Programming with the Programming Tool Window: Select the color of the windows shown on the operator terminals display. Screen save time: The time in minutes after the last event on the display when it will switch off. The default setting is 0 which means that the display never switches off. This function optimizes the service-life of the display. Key delay time (ms): The time interval in ms between pressing the same key on the operator terminal before the cursor automatically moves to the next position. Used for input of ASCII characters (A-Z etc.). Key beep: Indicates whether the operator terminal will beep when a key is pressed. Key repeat: Indicates if a function will repeat as long as the key on the operator terminal is pressed. Function keys and input of alphanumeric characters (A-Z etc.) are not repeated. Trend settings General properties for all trends. See the section Trend Settings for more information. FTP delimiter The terminal can save the content in the files created in the terminal, and which can be reached through FTP with different types of delimiter characters (separators). The content in files, e.g. recipe and trend files, can be separated with Tab or the characters semicolon or comma. See the chapter Network Functions in the Operator Terminal for further information.

4-44

ABB, 1SBC159002M0202

Programming with the Programming Tool

Peripherals
Communication configuration can be made under Setup/Peripherals, or by doubleclicking the Peripherals folder in the Project Manager. Devices can be moved by drag-and-drop.

Port properties Select the appropriate port and right-click to view current configurations or to change the configuration for a port.

Select the transfer speed, parity, number of data bits and stop bits for the port. The settings should correspond to the settings for the external unit.
Note: The highest transfer speed when CP501 or CP502 is used is 38,400 baud.

In order to use RS232C on CP501 an adapter must be connected to the RS422 port.
ABB, 1SBC159002M0202 4-45

Programming with the Programming Tool


RS485 for CP502, CP503 and CP551

The physical RS422 port on CP502, CP503 and CP551 can be configured as an RS485 port in the programming tool for the operator terminals.
Note: The operator terminals CP552 and CP554 have three physical ports. Only two of these can be used at the same time, hence the designations Port 1 and Port 2 in the dialog Peripheral configuration.

Expansion slots By selecting Expansion slots and right-clicking, you can define the expansion card you want to use and apply the settings for the respective cards. For further information, refer to the manual for the respective expansion cards.

CP551 has no expansion slots, but it has a built-in Ethernet port (Port 3). Printer Select Printer and right-click to display the dialog box for printer properties. For more information, see the chapter Printouts. No protocol mode No protocol mode is described in the section The Operator Terminal as Communication Interface (No Protocol Mode). Controller 1 and Controller 2 Right-click on Controller 1 or Controller 2 and select Properties to change the selected protocol. TCP/IP Connection 1 and TCP/IP Connection 2 Right-click on TCP/IP Connection 1 or TCP/IP Connection 2 and select Properties to make TCP/IP settings. TCP/IP Connection 1 has to be used before TCP/IP Connection 2 can be used. Modem Refer to the section Modem Connection for information. Transparent mode Refer to the section Transparent Mode for information.

4-46

ABB, 1SBC159002M0202

Programming with the Programming Tool

Network
The network properties are described in the sections Network Services, Network Accounts and Network Communication via Ethernet (TCP/IP Connections).

Recipe
Properties for recipe handling are made here. See the chapter Recipes.

ABB, 1SBC159002M0202

4-47

Programming with the Programming Tool

4.22 The Block Manager Menu


The Block Manager menu is available when the Block Manager is activated/ displayed. The functions in the Block Manager menu correspond to those in The Block Manager Toolbar.

Properties for the Block Manager


Properties for presentation in the Block Manager can be made under Block Manager/Settings, or by right-clicking on the Block Manager and selecting Settings.

Block Select how data for the block is to be presented, including the layout of the Block Manager, under the Block tab. Reference Select overview layout for the Block Manager under the Reference tab. Edit Select special functions for the presentation in the Block Manager under the Edit tab.
4-48 ABB, 1SBC159002M0202

Programming with the Programming Tool

4.23 The Object Menu


The Object menu is displayed when a block is opened, and includes all objects available for the block. The number of objects varies depending on the type of operator terminal. See description of each object in the chapters Graphic Presentation and Maneuvering and Text-based Presentation and Maneuvering.

4.24 The Layout Menu


The Layout menu is displayed when a block is opened and includes functions to adapt and adjust the objects, also available from The Alignment Toolbar and The Layout Toolbar.

ABB, 1SBC159002M0202

4-49

Programming with the Programming Tool

4.25 The Project Menu


The Project menu provides functions for testing the project and changing project properties.

4.26 The Transfer Menu


The Transfer menu provides functions for transferring projects or selected blocks, and communication properties for transfer between the PC and the operator terminal.

The function Export Project Transfer File is used to export projects to Palm Pilots for temporary storage. Palm Pilots can then export the projects to other operator terminals, but cannot display them. This function can be useful for moving projects between operator terminals when performing project updates, for example. For more information, see the chapter Project Transfer.

4.27 The Window Menu


Properties for how program windows are to appear in the programming tool are made from the Window menu.

4.28 The Help Menu


Via the Help menu, help texts for the programming tool as well as for the controller can be displayed. Additionally, program version information is available, and showing the Tip of the Day can be turned on or off.

4-50

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Graphic Presentation and Maneuvering

Not applicable for CP501, CP502 and CP503. This chapter presents the graphic objects in tabular form and then describes each object separately. It is only valid for operator terminals supporting graphics.

5.1
Colors

General Parameters

In operator terminals supporting colors there are 256 colors available for object and bit map images. Colors allow more realistic objects with 3D effects and shadowing to be created. Apart from background and foreground colors for the blocks, it is also possible to select colors for scales and curves in the graphic objects. When configuring the operator terminal you select the colors for the background, text and windows. Colors can be defined for the axes and curves in graphic objects.

ABB, 1SBC159002M0202

5-1

Graphic Presentation and Maneuvering

The General Tab


The properties under the General tab vary for the different objects, and are described for each object.

All dynamic objects can be connected to a digital or analog signal. Engineering units scaling The parameters Offset and Gain are used to change the scale of the controller value to a value shown in accordance with the following equation. Panel value = Offset+Gain*Controller value When the value for an object is changed from the operator terminal, the scale is changed to the value shown in accordance with the following equation: Controller value = (Panel value-Offset)/Gain Scaling does not affect the defined maximum and minimum values, or the number of decimal places.
Note: The functions Increment and Decrement affect the Controller value for the maneuverable object, and not the Panel value.

5-2

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering


Offset Gain Calculation

The function Offset Gain calculation is a tool to calculate the offset and gain parameters. Specify the value of Offset and Gain under the General tab for the object and click on Calculate to display the following dialog.

Enter the range for the controller value and panel value. The correct values for the parameters Offset and Gain are calculated.

ABB, 1SBC159002M0202

5-3

Graphic Presentation and Maneuvering

The Font Tab

Fontsize Selecting Resizable this means that the character size can be changed freely by marking the text and dragging the handle. Fixed means that a fixed size for the text is selected from the options list. Drawing of graphics will be slower, especially if Unicode is used, when Resizable selected. 3D Effect You can select the 3D effect on the text here. Style An italic or underlined style can be selected for the text. The style stays regular if all the boxes are left unchecked. Shadow A shadowing of the text can be selected.

5-4

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

The Access Tab

Under Access you specify whether the object is to be maneuverable, and the Minimum and Maximum input value for the object (and maneuvering). You can also select the security level for the object. The security levels are defined under Functions/Passwords. See the chapter Passwords.

Dynamics
Dynamics increases the number of signals that must be updated in the block, which affects the updating time for the block. The functions are described below.

ABB, 1SBC159002M0202

5-5

Graphic Presentation and Maneuvering Property

Specify a signal to control a property under the Property tab. You can select digital or analog control. Select a property to be controlled by the controller from the list. The property can only be used once per object/signal. A used property is marked in red. Enter a signal or click on the button I/O to select the signal using the I/O Browser. For digital signals, OFF and ON values can be specified. If no OFF/ON values are given, the OFF value is set to 0 and the ON value to 1. For analog signals, the length can be specified if the format is of the type string.
Note: If analog controlling is selected for a property which can only assume digital values, On and Off, the property will be On as long as the signal does not have the value 0. Note: In order to be able to influence Offset/Gain in an object, offset/gain must be defined to something other than 0/1 in the object from the beginning. Note: The Visible property shall not be used with the Positions property. Note: Dynamic texts are not converted to Unicode. Question marks are shown instead. See the chapter Unicode for additional information.

5-6

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering Size

Values for Width, Height and Origin can be entered under the Size tab. Two analog signals are defined, where the value of the signals determines the size of the object in X-axis (width) and Y-axis (height).
Note: If an unreasonable value is given, e.g. a value which means that the object cannot be drawn on the display, the value will be ignored.

Signal

Specify an analog signal.


Value min. width/height

Specify the analog signals minimum value.


Value max. width/height

Specify the analog signals maximum value.


Min. width/height

Specify the objects minimum width/height in pixels when the Minimum value = defined value.
Max. width/height

Specify the objects maximum width/height in pixels when the Minimum value = defined value.
Origin

You select the starting point for the object when it is drawn on the display.
ABB, 1SBC159002M0202 5-7

Graphic Presentation and Maneuvering Move

Two analog signals can be specified under the Move tab, the values of which correspond to the X- and Y-coordinates (width and height) for the object.
Note: If an unreasonable value is given, e.g. a value which means that the object cannot be drawn on the display, the value will be ignored.

Signal

Specify an analog signal.


Value from

Specify the analog signals minimum value.


Value to

Specify the analog signals maximum value.


From X-/Y-position

Specify the objects X- and Y-coordinates, i.e. the pixel value on the display, when the value in the parameter Value from = defined value.
To X-/Y-position

Specify the objects X- and Y-coordinates, i.e. the pixel value on the display, when the value in the parameter Value to = defined value.
Note: The property Visible must not be used together with the property Positions.

5-8

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering Event

Under Event the following parameters can be specified. Existing events can be updated, new events can be added, and events can be deleted using the buttons in the dialog.
Event name

Select an optional event name from the list.


Condition

Select one of the following conditions from the list:


Conditions Equal to Description The event takes place on the given signal when the value of the object is the same as the value defined for the Value parameter. The value must be entered by the operator. The event takes place on the given signal when the value of the object is NOT the same as the value defined for the Value parameter. The value must be entered by the operator. The event takes place on the given signal when the value of the object is greater than the value defined for the Value parameter. The value must be entered by the operator. The event takes place on the given signal when the value of the object is less than the value defined for the Value parameter. The value must be entered by the operator.

Not equal to

Greater than

Less than

ABB, 1SBC159002M0202

5-9

Graphic Presentation and Maneuvering


Action

Select what is to be affected; a digital I/O, an analog I/O, or if a macro is to be run. A maximum of 30 macro events can be linked to the same signal.
Signal

Select the signal to be influenced when the condition is fulfilled.


Value

Select the value the influenced signal is to assume when the condition is fulfilled.

5.2

Graphic Objects

Static/Dynamic Graphic Objects


Static graphic objects are used to draw graphics. Graphic objects can be given dynamic properties under Dynamics.
Note: Static objects are always positioned behind dynamic objects during presentation. Symbol Line Arc Rectangle Symbol See section Static Symbols in the chapter Programming with the programming tool. Static text Maximum length is 64 characters. Ellipse Key field Poly line Object

5-10

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Dynamic Handling of Bitmaps


Only applicable for CP555. If you check the box Use dynamic bitmaps for a static symbol object, the operator terminal will collect the specified bitmap file (name.bmp) from the library IMAGES in the operator terminals file system. The bitmap image is presented on the operator terminals display in run mode. The image to be presented must be transferred to the library IMAGES in the operator terminal through FTP transfer. It will then be possible through FTP to add, replace, or remove dynamic bitmap images on the operator terminals display by writing over, entering or deleting bmp files in the library IMAGES. The image for a dynamic bitmap image object is only shown in the operator terminal in run mode. The bitmap images in the library are not shown (available) in the programming tool. See section FTP server in the chapter Network Functions in the Operator Terminal.

Dynamic Digital Graphic Objects


Digital graphic objects are always linked to digital signals in the controller.
Symbol Object Digital Text Digital Symbol Digital Fill Description Switches between two texts depending on the status of a digital signal. Switches between two symbols depending on the status of a digital signal. Fills a framed area in one or two colors, depending on the status of a digital signal.

Dynamic Analog Graphic Objects


Analog graphic objects are linked to registers in the controller.
Symbol Object Description

Analog Numeric Input and presentation of values in numeric form. Bar Graph Diagram VU Meter Presents values in the form of a bar graph. Displays X/Y diagrams based on the content in data registers. Creates a graphic VU meter on the display.

ABB, 1SBC159002M0202

5-11

Graphic Presentation and Maneuvering


Symbol Object ASCII Slide Trend Speedometer Analog Fill Multiple Symbol Description Handles ASCII strings in graphic blocks. Enables the value of an analog signal to be increased or decreased. Presents values collected from data registers in curve form. Creates a graphic speedometer on the display. Fills a framed area, depending on the value of a register. Shows one of up to eight different symbols, depending on the value in a data register. Also allows symbols to be moved over to the display.

Multiple Choice Links to a data register, which can assume up to eight different states. A text of up to 30 characters can be linked to each state. Message Shows texts from a message library.

Analog Numeric Creates a table with numeric objects. Table

Other Objects
Symbol Object Jump Alarm Banner Analog Clock Digital Clock TCP/IP Command Prompt Description Creates a jump to another block. Shows a line from the alarm list. Shows an analog clock. Shows a digital clock. Transfers TCP/IP commands to other units. Only valid if the operator terminal is used in a TCP/IP network.

5-12

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Digital Text
The Digital Text object is used to switch between two texts, of a maximum of 30 characters, depending on the status of a digital signal.

General
Parameter Digital signal Text off Text on Alignment Border style Text Background Description The address of the digital signal. The text to be shown when the signal is 0. The text to be shown when the signal is 1. Select whether the text is to be left-aligned, right-aligned or centered. Select whether a frame is to be drawn around the object. The color of the text in the object. The background color for the object.

Other Tabs The functions under Font, Access and Dynamics are described in the section General Parameters.

ABB, 1SBC159002M0202

5-13

Graphic Presentation and Maneuvering

Digital Symbol
The Digital Symbol object is used to switch between two selected symbols depending on the status of a digital signal.

General
Parameter Digital signal Symbol OFF Symbol ON Stretch Address of the signal. Select the symbol to be shown when the signal is 0. Select the symbol to be shown when the signal is 1. When selected, the objects X and Y size can be changed, using the X and Y size-boxes, or using the cursor on the working area. Description

Other tabs The functions under Access and Dynamics are described in the section General Parameters.

5-14

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Digital Fill
The Digital Fill object is used to fill a framed area with one of two colors depending on the status of a digital signal.

Note: Filling an excessively irregular area when the operator terminal is running can cause system errors. In certain cases filling can slow down the image.

General
Parameter Digital signal Pattern Description The address of the digital signal. Select whether the filling of the framed area is to be solid or dashed when the signal is set to one. Only applicable for CP511 and CP512. Select color of the object when the signal is 1. Select color of the object when the signal is 0.

On Off

Other Tabs The functions under Access and Dynamics are described in the section General Parameters.
ABB, 1SBC159002M0202 5-15

Graphic Presentation and Maneuvering Positioning of the Object The program calculates what should be filled in the area. It is therefore important that the object is positioned correctly. Incorrectly positioned objects can result in errors in the application when the operator terminal is running. The area to be filled is only limited by static objects and static parts of dynamic objects. Filled objects can be replaced by Digital symbol objects or Multisymbol objects to improve performance in the project.
Object position

x TEXT Correct! Draw a frame round the text in the area to be filled to improve performance in the image.
Object position

TEXT

Incorrect! The image becomes slow since the program has to make a lot of calculations to fill the area between the letters.

5-16

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Jump
The Jump object is used to create a jump to another block, to enable a menu hierarchy in the project. By pressing the key [PREV] on the operator terminal it is possible to return to previous blocks (nine levels backwards). See the chapter Function Keys for further information.

General
Parameter Current block Jump to block Text Positions Alignment Border style Text Background Description The number of the current block is shown here. Cannot be changed. The number or name of the block to which the jump is to be made. An optional text to be shown in the object. The maximum number of positions the text is to occupy. Select whether the text is to be left-aligned, right-aligned or centered. Select whether a frame is to be drawn around the object. The color of the text in the object. The background color for the object.

Note: An error message is displayed if a jump to a block that does not exist is made when the operator terminal is running.

Other Tabs The functions under Font and Dynamics are described in the section General Parameters.
ABB, 1SBC159002M0202 5-17

Graphic Presentation and Maneuvering

Analog Numeric
The Analog Numeric object is used to create an input field and to present values in numeric form.

General
Parameter Analog signal Positions Zero fill Decimals Alignment Border style Engineering units scaling Text Background The address of the signal. The number of positions the entered value should be given, including comma and minus characters. Select whether zeros are to be written in empty positions. The number of decimals the object is to be presented with. Select whether the input field is to be right-aligned or centered. Select whether a frame is to be drawn around the object. Used to scale register value. See the section General Parameters. The color of the text in the object. The background color for the object. Description

Other Tabs The functions under Font, Access and Dynamics are described in the section General Parameters.
5-18 ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Bar Graph
The Bar Graph object presents whole or decimal numbers in the form of a bar graph.

General
Parameter Analog signal Scale division Box Scale ticks Scale Minimum value Maximum value Pattern The address of the signal. How the scale is to be divided. Select whether a box is to be drawn around the bar. The interval between scale ticks shown. Select whether the scale is to be shown on the bar graph. The minimum value the signal can assume. The maximum value the signal can assume. Select whether the filling of the framed area is to be solid or dashed when the signal is set to one. Only applicable for CP511 and CP512. Select whether the bar graph is to be presented to the right, left, upwards or downwards. Description

Direction

ABB, 1SBC159002M0202

5-19

Graphic Presentation and Maneuvering


Parameter Border style Indicators Description Select whether a frame is to be drawn around the object. Select whether the maximum and/or minimum values for the signal are to be shown on the axis. The indicators are reset when the operator terminal is started. Resetting can also be carried out in the operator terminal by selecting the bar graph and clicking ENTER (pointing to the bar graph touch screen operator terminals). The indicators only function for signed 16-bit numbers. Used to scale the register value. See the section General Parameters. The color of the scale in the object. The fill color. The background color for the object.

Engineering units scaling Scale Fill Background

Other Tabs The functions under Dynamics are described in the section General Parameters.

5-20

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Diagram
The Diagram object is used to draw X/Y diagrams based on the contents of controller registers. This is a real-time function. The object is normally used for non-time-based presentations. Time-based displaying with a sample time of <1 second can be shown if the controller handles the collection of data. In the following example the value in the register 0 has been selected for the first X-coordinate, and the value in the register 10 for the first Y-coordinate. The number of register pairs is set to 4. The table and the figure below illustrate the example.
X-coordinate X0 X1 X2 X3 Register 0 1 2 3 Value 0 41 51 92 Y-coordinate Y0 Y1 Y2 Y3 Register 10 11 12 13 Value 11 40 85 62

ABB, 1SBC159002M0202

5-21

Graphic Presentation and Maneuvering General


Parameter Scale division Scale ticks Minimum value Maximum value Border style Grid Scale Grid Background Description The interval between scale numbers on the X- and Y-axis. The interval between the scale ticks shown on the X- and Y-axis. The minimum value for the X- and Y-coordinates. The maximum value for the X- and Y-coordinates. Select whether a frame is to be drawn around the object. Checking the box shows a grid in the diagram. The color of the scale in the diagram. The color of the grid in the diagram. The background color for the object.

Curves

5-22

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Parameter Graph name X-analog signal Y-analog signal Register pair count Value form

Description Specify a name for each curve. The data register containing the first X-coordinate for each curve. The data register containing the first Y-coordinate for each curve. The number of register pairs to be drawn either as dots or bars. A maximum of 49 register pairs can be used. Select whether the diagram is to be a bar graph or curve diagram. In the bar graph a bar is drawn for each register pair. In curve diagrams the X-/Y-coordinates are drawn as points between which a line is drawn. The color of each curve. The thickness of the curve lines.

Curve Thickness

In CP511 and CP512 one curve can be defined, and in CP551, CP513, CP552, CP554 and CP555 two curves can be defined.
Parameter Current graph signal Current cursor signal X Edit step Y Edit step Enable operator input curve 1-2 Description Register, the value of which determines which curve is to be edited in the operator terminal. Register, the value of which determines which point on the curve is to be edited in the operator terminal. Indicates the interval between the steps when you press the arrow keys in the operator terminal. Indicates the interval between the steps when you press the arrow keys in the operator terminal. Select for respective curve if it can be maneuvered in the operator terminal.

Other Tabs The functions under Dynamics are described in the section General Parameters.

ABB, 1SBC159002M0202

5-23

Graphic Presentation and Maneuvering

VU Meter
The VU Meter object creates a graphic VU-meter on the display.

General
Parameter Analog signal Scale division Scale ticks Minimum value Maximum value Border style Engineering units scaling Needle Scale Background Address of the signal. How the scale is to be divided. The interval between scale ticks. The minimum value the signal can assume. The maximum value the signal can assume. Select whether a frame is to be drawn around the object. Used to scale the register value. See the section General Parameters. The color of the needle in the object. The color of the scale in the object. The background color for the object. Description

Other Tabs The functions under Dynamics are described in the section General Parameters.

5-24

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

ASCII
The ASCII object handles ASCII strings in graphic blocks. In ASCII objects it is possible to present texts stored in the controllers data register. The texts should be in IBM extended ASCII format. If SW is stated on the command line in System signals, the text is converted from 8-bit IBM extended ASCII to Swedish 7-bit ASCII.

General
Parameter Analog signal Positions Alignment Border style Text Background Description The data register where the text for the first position is stored. The number of positions the text is to occupy on the display. Select whether the text is to be right-aligned, left-aligned or centered. Select whether a frame is to be drawn around the object. The color of the text in the object. The background color for the object.

Other Tabs The functions under Font, Access and Dynamics are described in the section General Parameters.
ABB, 1SBC159002M0202

5-25

Graphic Presentation and Maneuvering

Slide
The Slide object shows the value of an analog signal in a slider, where the value of the analog signal can be increased or decreased.

General
Parameter Analog signal Scale division Scale ticks Minimum value Maximum value Direction Border style Engineering units scaling Scale Button Background The address of the signal. How the scale is to be divided. The interval between scale ticks. The minimum value the object can assume. The maximum value the object can assume. Select whether the slider is to be presented vertically or to the right. Select whether a frame is to be drawn around the object. Used to scale register value. See the section General Parameters. The color of the scale. The color of the indicator button. The background color of the slider. Description

5-26

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Note: The data type formats BCD float and Float without exponents cannot be used in slider objects.

Other Tabs The functions under Access and Dynamics are described in the section General Parameters.

ABB, 1SBC159002M0202

5-27

Graphic Presentation and Maneuvering

Trend
The Trend object presents values collected from analog signals. See the chapter Trends for information.

5-28

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Speedometer
The Speedometer object creates a graphic speedometer on the display.

General
Parameter Analog signal Scale division Scale ticks Minimum value Maximum value Angle Engineering units scaling Border style Address of the signal. How the scale is to be divided. The interval between scale ticks. The minimum value the speedometer can show. The maximum value the speedometer can show. The angle (working area) for the object. 10 -360 degrees. Used to scale register value. See the section General Parameters. Select whether a frame is to be drawn around the speedometer. Description

ABB, 1SBC159002M0202

5-29

Graphic Presentation and Maneuvering


Parameter Needle Scale Background Show bar Indicator Arc settings The color of the needle. The color of the scale. The background color of the speedometer. When selected, an arc is shown around the speedometer. It is possible to change the properties when selected. Select to show Needle, Arc or Both. Low and High value, and the colors to be shown for the different intervals. Description

Other Tabs The functions under Dynamics are described in the section General Parameters.

5-30

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Alarm Banner
The Alarm Banner object displays a line from the alarm list. See chapter Alarm Management for more information.

ABB, 1SBC159002M0202

5-31

Graphic Presentation and Maneuvering

Analog Fill
The Analog Fill object fills in a framed area with a color, depending on the value of a register. The colors are determined in accordance with the following table:

Parameter Analog signal

Description The data register, the value of which determines the color of the object. See table below. Color Black Blue Green Cyan Red Magenta Yellow Light grey Register value 8 9 10 11 12 13 14 15 Grey Light blue Light green Light cyan Light red Light magenta Light yellow White Color

Register value 0 1 2 3 4 5 6 7

For limitations and positioning of the object, refer to the section Digital Fill.

5-32

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Analog Clock
The Analog Clock object is used to present an analog clock.

General
Parameter Border style Show seconds Background Scale Hand Description Select whether the clock is to be shown with a frame. Select whether the clock is to be shown with a seconds hand. The background color of the clock. The color of the scale. The color of the hands.

Other Tabs The functions under Dynamics are described in the section General Parameters.

ABB, 1SBC159002M0202

5-33

Graphic Presentation and Maneuvering

Digital Clock
The Digital Clock can be used to present a digital clock, day of the week and date.

General
Parameter Day of the week Date Time Time format Border style Text Background Description Select whether the day of the week is to be shown. Select whether the date is to be shown. Select whether the time is to be shown. The time can be presented in the 24 hours or AM/PM format. Select whether a frame is to be drawn around the object. The color of the text. The background color of the digital clock.

Other Tabs The functions under Font, Access and Dynamics are described in the section General Parameters.
Note: To set the operator terminal clock in the operator terminal a maneuverable Date/Time object (Digital clock) must be defined.

5-34

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Multiple Symbol
The Multiple Symbol object can show one of up to 16 different symbols, depending on the value in a data register.

General
Parameter Analog signal Symbol 0-15 Stretch Description Data register that determines which symbol is to be shown. If the register contains the value 1, the symbol 1 will be shown, etc. Select which symbol to show for each register value. If selected you can change the X and Y size of the symbols. Permitted X value for CP511 and CP512: 0-239 Permitted X value for CP513/CP551/CP552/CP554: 0-319 Permitted X value for CP555: 0-639 Permitted Y value for CP511: 0-63 Permitted Y value for CP512: 0-127 Permitted Y value for CP513/CP551/CP552/CP554: 0-239 Permitted Y value for CP555: 0-479

Dynamics The functions under Dynamics are described in the section General Parameters.

ABB, 1SBC159002M0202

5-35

Graphic Presentation and Maneuvering

Multiple Choice
The Multiple Choice object can show one of up to eight different texts, depending on the value of a data register. The texts can contain a maximum of 30 characters.

General
Parameter Analog signal Text 0-7 Description The data register that determines which text is to be shown. If the register contains the value 1, text 1 will be shown, etc. Type a text to show for each register value.

Operator When checked, the operator can select this text when the operator selectable 0-7 terminal is running. Alignment Border style Text Background Select whether the text is to be left-aligned, right-aligned or centered. Select whether a frame is to be drawn around the object. The color of the text. The background color of the multiple choice object.

5-36

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering Other Tabs The functions under Font, Access and Dynamics are described in the section General Parameters.

ABB, 1SBC159002M0202

5-37

Graphic Presentation and Maneuvering

Touch Key
Only applicable for CP551, CP552, CP554 and CP555. See the section Maneuvering Objects Using the Touch Screen and the chapter Function Keys. The Touch Key object is a pressure-sensitive surface with functions similar to those for a function key. It can be used to change images and control memory cells, etc. Up to five rows of text can be used together with a symbol when creating touch keys.

General
Parameter I/O Description Signal to be influenced when pressing the touch key.

5-38

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering


Parameter Event Description How the signal is to be influenced by the touch key. Set means that the signal is set high when the touch key is pressed. Grouped means that all signals, except the one activated, belonging to a touch key with the relevant group number are reset. The group number is given under Group. A maximum of 8 touch keys can be included in a group. Decrements analog means that the analog signal linked to the touch key will decrease its value by the value given under Value. Momentary means that the signal is set high as long as the touch key is pressed. Reset means that the signal is set low when the touch key is pressed. Sets analog means that the analog signal linked to the touch key is allocated the value given under Value. Toggle means that the signal is alternately set high or low when the touch key is pressed. Increments Analog means that the analog signal linked to the touch key will increase its value by the value given under Value. Inputs analog can be used to affect an analog object. A touch keyboard is displayed where the value can be entered. Jumps to another block when the touch key is pressed. State the number or name of the block to which the jump is to be made. For a description of macros, see the chapter Macros. Type of button: circular, rectangular or invisible. The background color of the touch key.

Jump to block

Other function For a description of these functions, see the chapter Function Keys. Macro Button style Background

An invisible, pressure-sensitive surface can be used to define the area for block changes in an overview image, e.g. a machine. The detailed images are linked to invisible, pressure-sensitive surfaces placed on selected parts of the machine. The detailed image is shown when the operator clicks on one of these surfaces. Text A maximum of five rows of text can be entered. The placement of the text can be adjusted. The font size stays intact even if the size of the touch key is changed. Symbol A symbol can be selected to enhance the touch key. The placement of the symbol can be adjusted. Selecting Stretch under the Symbol tab will make the symbol fill the touch key entirely. Other Tabs The functions under Font, Access and Dynamics are described in the section General Parameters.
ABB, 1SBC159002M0202 5-39

Graphic Presentation and Maneuvering

Message
The Message object presents texts from message libraries.

General
Parameter Description

Analog signal Analog signal that controls which text selected from message libraries is to be shown. Library Positions Alignment Border style Text Background The number of the required message library. Defined under Functions/ Message Library. The number of positions the text is to be presented with. 0 = automatic length adjusting. Select whether the text is to be left-aligned, right-aligned or centered. Select whether the text is to be shown with a frame. The color of the text. The background color of the message object.

5-40

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering Access The required Input range area is set under the Access tab. An area of a maximum of 64 texts can be maneuvered in the operator terminal. State the number of the first and last text in the area.
Note: The number of positions should not be 0 when the function Library index register is used. See the section Library index reg..

For further information, see the chapter Message Library. Other Tabs The functions under Font and Dynamics are described in the section General Parameters.

ABB, 1SBC159002M0202

5-41

Graphic Presentation and Maneuvering

Analog Numeric Table


Not applicable for CP511. The Analog Numeric Table object is used to create a table of analog numeric objects.

General
Parameter Analog signal Columns Zero fill Rows Positions Decimals Alignment Table border style Description The first signal to be presented in the table. Only 16-bit registers are supported. The number of columns in the table. Select whether zeros are to be written in empty positions. The number of rows in the table. The number of positions the entered value should be given. The number of decimals the entered value should be given. Select whether the input field is to be right-aligned or centered. Select whether a frame is to be drawn around the table.

5-42

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering


Parameter Item border style Text Background Engineering units scaling Description Select whether a frame is to be drawn around each separate cell in the table. The color of the text. The background color of the analog numeric table. Used to scale register values. See the section General Parameters.

Access The input direction of the table is specified under Access. The signals in the table are calculated according to the given direction. Other Tabs The functions under Font and Dynamics are described in the section General Parameters.
Note: The minimum and maximum value are only used when the object is maneuverable.

ABB, 1SBC159002M0202

5-43

Graphic Presentation and Maneuvering

TCP/IP Command Prompt


A window in which TCP/IP commands can be entered and sent between operator terminals and PCs in a TCP/IP network. Previous commands can be recovered with the arrow keys [Up] and [Down] in run mode.

General
Parameter Number of columns Number of rows Border style Enable accelerator keys Accelerator keys Text Background Thew idth of the window. The height of the window. Select which type of frame is to be drawn around the window. Select whether the function keys F1-F4 or arrow keys 1-4 should enter predefined commands in the window. Enter optional command to be written with the command prompt when respective keys are pressed. Select the color of the text in the window. Select the color of the background in the window. Description

Other Tabs The functions under Font and Dynamics are described in the section General Parameters.
5-44 ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering Commands for the TCP/IP Command Prompt
Command IPCONFIG PING ROUTE ARP Description Collects and shows current IP address for the operator terminal. Checks if a host is available. Shows/adds/deletes routes. Shows/adds/deletes IP/hardware address.

For more information on the TCP/IP network, refer to the chapter Network Communication.

ABB, 1SBC159002M0202

5-45

Graphic Presentation and Maneuvering

5.3

Maneuvering Graphic Blocks Using the Key Pad

Step between the maneuverable objects with the arrow keys. Selected objects are highlighted with a blinking frame.

Selecting Maneuverable Objects


The arrow keys are used to jump between maneuverable objects. Objects are selected according to the following principle: The position of the cursor is assumed to be the centre of a cross. When pressing the right arrow, the first object found in area A according to the diagram below will be selected. If the system cannot find an object in the narrow field to the right it will search in area a. The down arrow searches in area B and b, the left arrow in area C and c, and the up arrow in area D and d.
D
Cursor position Cursor position

c C b

d A a

Operating Digital Objects


Digital objects; text, symbol and filled objects, switch status when [ENTER] is pressed. If the Increment and Decrement functions have been linked to function keys, the signal linked to the object with these function keys will be set to one or reset.

Operating Analog Objects


The ASCII Object Move the cursor to the object and press [ENTER]. Enter the required text and finish with [ENTER]. The Message Object Place the cursor on the object and press [ENTER]. A list of options will now be shown with all maneuverable statuses. Stepping to the required status and pressing [ENTER] will set the analog signal linked to the object to this status.

5-46

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering The Multiple Choice Object Place the cursor on the object and press [ENTER]. A list of options will now be shown with all maneuverable statuses. Stepping to the required status and pressing [ENTER] will set the analog signal linked to the object to this status. The Analog Numeric Object Enter the value and press [ENTER] to maneuver numeric objects. If the value entered is too high or too low, the indicated maximum or minimum values for the object will be shown. This information is also shown if pressing [ENTER] when the object is maneuverable. The Analog Numerical Table Object Pressing [ENTER] when the table object is selected will select the first cell in the table. Use the arrow keys to move the cursor between cells. Change the value for the marked cell and press [ENTER]. The Slide Object The object is maneuvered with the arrow keys by placing the cursor on the object and pressing [ENTER]. The value can now be increased or decreased with the arrow keys. Finish with [ENTER]. The value is increased/decreased with the number corresponding to the scale ticks in the object. Finish with [ENTER]. The object can also be maneuvered with the functions Increment and Decrement, on the assumption that they are linked to the function keys, see the chapter Function Keys. The Bar Graph Object The min/max indicators for bar graphs can be set to the current value (reset) by pressing [ENTER] when the cursor is placed on the object. For operator terminals with touch screens the min/max indicators are reset when pointing at the bar graph.

ABB, 1SBC159002M0202

5-47

Graphic Presentation and Maneuvering The Trend Object Not applicable for CP511. Trend curves can show historical data when the operator terminal is running. Mark the appropriate trend object and press [ENTER]. A dialog box will now be shown, where the time interval and date for the data to be presented can be selected. At the bottom of the box, History is shown. To return to real-time display, press [ENTER] again. Trend data is stored in files, the names of which are indicated when the trend objects are defined.

Operating Other Objects


The Digital Clock The digital clock (real-time clock) is changed by marking the object and typing the correct time. Finish with [ENTER].
Note: If the controller clock is used and you want to set it, this must be done in run mode.

The Jump Object Mark the object and press [ENTER]. The TCP/IP Command Prompt TCP/IP commands can be written in on a marked line. The previous commands are shown when you press the arrow keys [Up] and [Down].

5-48

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

5.4

Maneuvering Objects Using the Touch Screen

Operator terminals with touch screens do not have a built-in keyboard. All maneuvering is done with the touch screen by pressing distinctly with a finger for more than 30 ms. Because of the screens sensitivity you should only press one point on the display at once. If you press two points at the same time the display will interpret this as a point midway between the two points.
Note: Objects in text blocks cannot be maneuvered in operator terminals with touch screens.

Note: Pressing an object that is not maneuverable displays the text Not maneuverable. Pressing an object that is password-protected displays the text Access denied.

Operating Digital Objects


Digital objects; text, symbol and filled objects, switch status when pressing them with a finger.

Operating Analog Objects


The ASCII Object Press on the object to display an alphanumeric keyboard on the display. Enter a text by using this keyboard, and finish with [ENTER]. The Multiple Choice Object Press on the object to display a list of options. Select an object by touching it. The Analog Numeric Object Press on the object to display a numeric keyboard. Enter a value by using this keyboard, and finish with [ENTER]. The Analog Numerical Table Object Press on a cell in the table object to display a numeric keyboard. Enter a value by using this keyboard, and finish with [ENTER]. The Slider Object The object is maneuvered by pressing on the button in the object and dragging it. The Bar Graph Object The min./max. indicators can be reset by pressing on the bar graph.
ABB, 1SBC159002M0202 5-49

Graphic Presentation and Maneuvering The Trend Object Trend curves can show historical data when the operator terminal is running. A row of buttons is shown under the trend when pressing the object. Double arrow Single arrow + ^ Moves the trend one time interval sideways. Moves the trend 1/4 time interval sideways. Zooms up the trend. Zooms down the trend. Returns to the default setting.

Return to real-time display by pressing the object again.

Operating Other Objects


The Digital Clock Object A numeric keyboard is shown when pressing the object. Enter the time by using this keyboard, and finish with [ENTER]. The Jump Object Touch the object to perform the jump.

The Alphanumeric Keyboard


The alphanumeric keyboard is shown when an ASCII object is maneuvered, for example.

The alphanumeric keyboard.

5-50

ABB, 1SBC159002M0202

Graphic Presentation and Maneuvering

Key A- ESC CLR @ MAIL DEL a-z 0-9 SPC

Description Used to enter required text. Closes down the keyboard and returns to previous level. Deletes a character to the left. Deletes all written characters. Used to enter the @ character. Opens a list with e-mail addresses. Deletes the character the cursor is placed on. Confirms the properties made and closes the keyboard. Moves the cursor to the right. Moves the cursor to the left. Alternates between upper and lower case letters. Alternates between letters, numbers and special characters. Opens a selectable list of special characters.

A numeric keyboard is displayed when a numeric object is maneuvered, for example.

List of Options
Lists of options are also shown in addition to the numeric and alphanumeric keyboards. In certain cases the shortcut key [LIST] is used to show the lists of options. The arrows are used to shown the upper and lower levels in the list of alternatives. [CANCEL] is used to close the list without making a selection.

Calibrating the Touch Screen


The touch screen ought to be calibrated once a year. To calibrate the touch screen, switch off the power supply to the operator terminal, put the switch on the side/back of the operator terminal in position 2 and then switch on the power supply again. See the section Switch on CP551, CP552, CP554 and CP555.

ABB, 1SBC159002M0202

5-51

Graphic Presentation and Maneuvering

5-52

ABB, 1SBC159002M0202

Text-based Presentation and Maneuvering

Text-based Presentation and Maneuvering

Text-based presentation and maneuvering are appropriately used for the generation of different types of report printouts. These can be daily reports or status reports, etc. Reports are built up text blocks, which can contain both static and dynamic text. For examples of what a report can look like, refer to the chapter Printouts. This chapter presents text objects in table form. Every object is then described separately.
Note: Text-based printouts are not supported when Unicode is used.

6.1

General Parameters

The Properties dialog for the selected object is displayed by double-clicking on the object on the working area. The properties vary for the different objects and are described for each object.

ABB, 1SBC159002M0202

6-1

Text-based Presentation and Maneuvering Scaling Not applicable for CP501. The scaling function is available for several text objects. The parameters Offset and Gain are used to change the scale of the controller value to a value shown in accordance with the following equation. Panel value = Offset+Gain*Register value When the value for an object is changed from the operator terminal, the scale is changed to the value shown in accordance with the following equation. RegisterValue = (PanelValue-Offset)/Gain Scaling does not affect the defined maximum and minimum values, or the number of decimal places.
Offset Gain Calculation

The function Offset Gain calculation is a tool to calculate the offset and gain parameters. Specify the value of Offset and Gain under the General tab for the object and click on Calculation. The following dialog is now shown.

Enter the range for the controller value and panel value. The correct values for the parameters Offset and Gain are calculated.

6-2

ABB, 1SBC159002M0202

Text-based Presentation and Maneuvering

Access

Under Access you specify whether the object is to be maneuverable, and the Minimum and Maximum input value for the object (and maneuvering). You can also select the security level for the object. The security levels are defined under Functions/Passwords. See the chapter Passwords. For the object Message the dialog appears as follows.

Specify the Input range the first and last text in the area. An area of a maximum of 64 texts can be maneuvered in run mode.

ABB, 1SBC159002M0202

6-3

Text-based Presentation and Maneuvering

6.2

Text Objects

Dynamic Text Objects


Symbol Object Digital Text Multiple Choice Analog Numeric Bar Graph ASCII Date and Time Message Jump Description Switches between two texts depending on the status of a digital signal. Links to a data register, which can assume eight different states. A text of up to 30 characters can be linked to each state. Input and presentation of values in numeric form. Presents values in the form of a bar graph. Handles ASCII strings. Setting of date and time. Shows texts from a message library. Performs a jump to another block.

6-4

ABB, 1SBC159002M0202

Text-based Presentation and Maneuvering

Digital Text
The Digital Text object is used to switch between two texts, of a maximum of 30 characters, depending on the status of a digital signal.

General
Parameter Digital signal Text off Text on Description The address of the digital signal. The text to be shown when the signal is 0. The text to be shown when the signal is 1.

Access The functions under Access are described in the section General Parameters.

ABB, 1SBC159002M0202

6-5

Text-based Presentation and Maneuvering

Multiple Choice
Not applicable for CP501. The Multiple Choice object can show one of up to eight different texts, depending on the value in a data register. The texts can contain a maximum of 30 characters.

Parameter Analog signal Text 0-7 Operator selectable 0-7

Description The data register which determines which text is to be shown. If the register contains the value 1, text 1 will be shown etc. Type a text to show for each register value. Selecting Operator selectable makes the object maneuverable for the operator. When checked, the operator can select this text when the operator terminal is running.

Access Not valid for CP513. The functions under Access are described in the section General Parameters.

6-6

ABB, 1SBC159002M0202

Text-based Presentation and Maneuvering

Analog Numeric
The Analog Numeric object is used to create an input field and present values in numeric form.

General
Parameter Analog signal Positions Zero fill Decimals Engineering units scaling The address of the signal. The number of positions the entered value should be given, including comma and minus characters. Select whether zeros are to be written in empty positions. The number of decimals the object is to be presented with. Used to scale register value. See the section General Parameters. Description

Access The functions under Access are described in the section General Parameters.

ABB, 1SBC159002M0202

6-7

Text-based Presentation and Maneuvering

Bar Graph
Not applicable for CP501. The Bar Graph object presents whole or decimal numbers in the form of a bar graph. The bar will be shown horizontally so that the maximum number of positions are marked when the value has assumed its maximum level.

Parameter Analog signal Positions Minimum value Maximum value Direction Engineering units scaling The address of the signal.

Description

The number of positions the signal uses. The minimum value for the object. The maximum value for the object. Select whether the bar is to be presented to the right or left. Used to scale the register value. See the section General Parameters.

6-8

ABB, 1SBC159002M0202

Text-based Presentation and Maneuvering

ASCII
Not applicable for CP501. The ASCII object handles ASCII strings. It is possible to present texts stored in the controllers data register. The texts should be in IBM extended ASCII format. The texts can be changed from the operator terminal by opening and closing the input field with [ENTER] (not applicable for CP551). If SW is stated on the command line under System signals, the text is converted from 8 bit IBM extended ASCII to Swedish 7 bit ASCII.

Parameter Analog signal Positions

Description The register where the text for the first position is stored. Each register contains two characters (assumes two positions). The default setting is 8 positions, which corresponds to four registers.

Access The functions under Access are described in the section General Parameters.

ABB, 1SBC159002M0202

6-9

Text-based Presentation and Maneuvering

Jump
The Jump object performs a jump to another block. Jump objects allow menu hierarchies to be built up in the application. To return to the previous block press the [PREV] key (up to nine levels backwards), see the chapter Function Keys.

Parameter Current block Jump to block

Description Indicates the number of the current block. State the number or name of the block to which the jump is to be made.

Note: An error message is received if a jump to a block that does not exist is made during run mode.

6-10

ABB, 1SBC159002M0202

Text-based Presentation and Maneuvering

Date and Time


Not applicable for CP501. The Date and Time object can be used to present at digital clock, day of the week and date. The Date and time collects data from the real-time clock in the operator terminal or the controller.

Parameter Day of the week Date Time

Description Select whether the day of the week is to be shown. Requires two positions. Select whether the date is to be shown. Use the format set under Date/Time Format in the Setup menu. Select whether the time is to be shown. Use the format set under Date/Time Format in the Setup menu.

Note: To set the clock in run mode, a maneuverable Date and Time object must be defined.

Access The functions under Access are described in the section General Parameters.

ABB, 1SBC159002M0202

6-11

Text-based Presentation and Maneuvering

Message
Not applicable for CP501. The Message object presents texts from message libraries.

Parameter Analog signal Library Positions

Description Analog signal that controls which text selected from message libraries is to be shown. The number or name of the required message library. Defined under Functions/Message Library. The number of positions the text is to be presented with. 0 = automatic adjusting.

Note: The number of positions should not be 0 when the function Library index register is used. See the section Library index reg..

For further information, see the chapter Message Library. Access The functions under Access are described in the section General Parameters.

6-12

ABB, 1SBC159002M0202

Text-based Presentation and Maneuvering

6.3

Maneuvering Text Blocks

The text block consists of text lines with static and dynamic objects. The dynamic objects show the current status of the signals the objects are linked to. Certain dynamic objects are maneuverable, which means that you can change their status and value during run mode. To change a maneuverable object you use the arrow keys to move the cursor to the correct position so that the object can be marked. Text blocks can be scrolled vertically, but not horizontally.
Note: Objects in text blocks cannot be maneuvered in operator terminals with touch screens.

Operating Digital Objects


Digital objects are maneuvered by marking the required object. Press [ENTER] to change the status of the object.

Operating Analog Objects


Analog Objects and Date and Time Objects The objects are maneuvered by positioning the cursor on the right object. The new value is then entered. Finish with [ENTER]. Before [ENTER] is pressed it is possible to abort the new value by leaving the field with [] or []. The old value will then be retained. Text Objects Maneuver a text object by stepping to the object and pressing [ENTER], whereby an input field is shown. Depending on where the object is placed on the display, the input field will either be on the first or last line. If the text is longer than the width of the display it is possible to scroll in the input field. Press [ENTER] to complete the entry. Message Objects Maneuver a message object by stepping to the object with the arrow keys and pressing [ENTER]. A list of options will now be shown with all the maneuverable states on the display. Step to the required state, press [ENTER] and the analog signal linked to the object will be set.

ABB, 1SBC159002M0202

6-13

Text-based Presentation and Maneuvering Multiple Choice Objects Maneuver a multiple choice object by stepping to the object with the arrow keys and pressing [ENTER]. A list of options will now be shown with all the maneuverable states on the display. Step to the required state, press [ENTER] and the analog signal linked to the object will be set. Jump Objects Mark the object and press [ENTER]. Bar Graph The indicators for min and max values can be set to the current value for the bar graph by first marking the object and then pressing [ENTER].

6-14

ABB, 1SBC159002M0202

Trends

Trends

Not applicable for CP501, CP502 and CP503. This chapter describes the functions trends, real-time trends and historical trends.

7.1

Historical Trend

Only applicable for CP551, CP512, CP552, CP554, CP513 and CP555. These functions mean that analog values from the controller can be collected and presented in a trend object during run mode. The presentation is in curve form. The collected values are stored in the operator terminals project memory. It is possible to define several independent trend curves in the same or different blocks. The number is limited by the size of the project memory and its degree of utilization. The time interval between the collection of data, and how many values are to be stored, are defined in the trend object.

Project memory

Historical trend data

ABB, 1SBC159002M0202

7-1

Trends

Calculation of Trend Size


It is possible to calculate how much space trend data will take up in the project memory with the following equation. S = TOS + AK (28 + (645 * ((AS / 100) + 1))) TOS = TrendObjectSize; if all parameters for a trend object are changed, TOS = 320 bytes. AK = Number of defined curves in the trend object. AS = Number of Samples rounded-off to the nearest hundred. S = Number of bytes. The data types signed and unsigned 32-bit are supported in trend objects, but trend curves in 32-bit format take up more memory than curves in 16-bit format.
Note: The operator terminals RAM can limit the number of trends in a project. This limitation depends on other objects and functions used in the project.

Presentation in Run Mode


Trend curves can show historic data in run mode. Mark the appropriate trend object and press [ENTER]. A dialog box will now be shown, where the time interval and date for the data to be presented can be selected. At the bottom of the box, History is shown. To return to real-time display, press [ENTER] again. Trend data is stored in files, the name of which are indicated when the trend objects are defined.

7-2

ABB, 1SBC159002M0202

Trends

7.2

Real-time Trend

Only applicable for CP511. Real-time trend means that analog values from the controller can be presented in a trend object during run mode. The presentation is in curve form. No values are stored in the operator terminals project memory, and no historical data can be shown. It is possible to define several independent trend curves in the same or different blocks. A maximum of 10 trends can be used in one application.

ABB, 1SBC159002M0202

7-3

Trends

7.3

Defining Trend Objects

Trend objects are defined as other dynamic objects in a block. The object can be linked to up to six analog signals (a maximum of 10 trends per project in CP511 and CP512). As opposed to other objects, the trend object must be named with a name of 1-8 characters. The first character must be a letter or a number. Trend names may contain the characters A-Z, 0-9 and _. Otherwise, the standard for file names in MSDOS is followed. The following parameters are defined for trend objects. Under Setup/Terminal Options you can decide whether trends are to be stored when changed, or if all samples are to be stored. For further information, see the section Trend Settings.

General
Parameter Name Description Specify the name of the trend object. The name must be unique for each object. The name may have a maximum of eight characters. This parameter is mandatory. Not applicable for CP511. The interval in time between the collection of data. The minimum value is 1 second.

Sampling interval

7-4

ABB, 1SBC159002M0202

Trends
Parameter Sample count Description The number of values to be stored. The maximum number of values is 65,534. For CP512 the maximum number is 4800. Not applicable for CP511. Specify a signal that is to be set to one when the number of samples specified under Sample full signal is reached. Not applicable for CP511. Specify a signal that is to be set to one when the number of samples specified under Sample full limit is reached. Not applicable for CP511. The digital signal which, when it is set to one, starts collecting data. If the signal is reset, the collecting stops. The parameter is not mandatory. Not applicable for CP511. Indicate a digital signal which, when it is set to one, deletes all historical trend data. Not applicable for CP511. Select whether the Y scale is to be invisible, seen to the left, the right, or in both directions. The minimum value on the Y axis is collected from the indicated register. The maximum value of the Y axis is collected from the indicated controller register. Indicates how the scale on the Y axis is to be divided. Indicates the interval between scale ticks shown. The time range to be shown in the trend diagram. Indicates how the scale on the X axis is to be divided. Indicates the interval between scale ticks shown. Select whether a border is to be drawn round the object. Select whether a grid is to be shown in the object. Select the color of the scale in the object. Select a suitable color for the grid. Select the background color for the object.

Sample full limit

Sample full signal

Enable sampling signal Erase samples signal Y-Scale Minimum value Maximum value Division Ticks Time range Division Ticks Border style Grid Scale Grid Background

ABB, 1SBC159002M0202

7-5

Trends Curves

Parameter Analog signal Color Offset and Gain

Description The analog signals of which the object is to collect and present the values. Select the color for respective curves. Colors are limited for CP551. Used to scale the register value. See the section General Parameters.

Note: In CP511 and CP512 only two curves can be used. CP511 only has real-time trends.

Dynamics The functions under Dynamics are described in the section General Parameters.
Note: If a block is copied containing a trend object, the name of the trend object must be changed. Two trend objects can not have the same name.

7-6

ABB, 1SBC159002M0202

Trends

7.4

Trend Settings

Select Setup/Terminal Options to make general settings for all trends.

Store changed samples

Select to only store samples in trends if the value has been changed since the last sample.
Store all samples

Select to store all samples in trends even if the value has not been changed since the last sample. The parameters are valid in general for all defined trends.

ABB, 1SBC159002M0202

7-7

Trends

7.5

Transfer of Trend Data

Not applicable for CP511. With the program CP Tools File Transfer (icon in the program group CP Tools) installed on the PC, it is possible for trend data, recipes and alarm lists to be transferred to/from the PC for statistical calculations and other types of presentation and storage. It is also possible via FTP to transfer trend data, recipes, alarm lists, html files, terminal applets and bitmap images between a operator terminal and a PC. A FTP client program must be installed in the PC. In the program group CP Tools there is a program, FTP Transfer, which functions as a standard FTP client. Trend files can be opened directly in Excel for statistical calculations. See separate manual for CP Tools. Trend Files The names of trend files are specified for each trend when the trend object is defined. Files will be allocated the extension .skv. The format for each line in the trend file is the following: DDDD;TTTT;AAAA;BBBB;CCCC;DDDD;EEEE;FFFF:
Format DDDD TTTT AAAA BBBB CCCC DDDD EEEE FFFF Description Date format specified in Setup. Time format specified in Setup. Trend curve 1. Trend curve 2 (if defined). Trend curve 3 (if defined). Trend curve 4 (if defined). Trend curve 5 (if defined). Trend curve 6 (if defined).

7-8

ABB, 1SBC159002M0202

Trends The oldest value is shown on the first line in the file, and the most recent on the last line. The format .skv can be imported directly to Microsoft Excel. In Excel you can use the diagram manager to create statistical diagrams. It is not possible to change something in the file and then send it back to the operator terminal. The following diagram shows an example of how it can appear in Excel.

7.6

Backup of Trend Data

Not applicable for CP511. It is possible to copy trend data files from the ordinary project memory in the operator terminal to a PCMCIA memory card if the expansion card IFC MC is fitted in the operator terminal. The memory card in the operator terminal must be formatted as a backup card. For further information on how this is done, refer to the manual for the expansion card IFC MC. Thereafter you can access the memory card in the operator terminal through FTP, or take the memory card to an arbitrary operator terminal with the expansion card IFC MC installed, and through FTP transfer upload trend data from the memory card to a PC for further processing. Trend files which have been backed-up can be found in the catalog (library) backup in the operator terminals catalog structure. To read/write trend data files from/to the operator terminal to the PC there must be a FTP client program installed on the PC, e.g. CP Tools FTP Transfer program.
ABB, 1SBC159002M0202 7-9

Trends Backup of trend files from the operator terminals project memory to the backup PCMCIA card placed in the expansion card IFC MC in the operator terminal is done with the help of the command TBUP and a memory cell entered on the command line in the programming tool. Double-click on System Signals under the Setup folder in the Project Manager..

Enter the command TBUP followed by a memory cell, e.g. M10. The memory cell can now be connected to a function or touch key. When the memory cell is activated from the key, all trend files from the operator terminals project memory will be backed-up on the memory card. When the backup is ready the operator terminal will reset the memory cell specified on the command line.
Note: No sampling is made to trends in the process of being backed-up. Even if all trends are backed-up, a trend is only locked during the time it is being backed-up.

Note: There is only one version of each trend on the memory card. If a trend which already exists on the memory card is backed-up, the old trend will be deleted and replaced by the new trend.

Note: The PCMCIA memory card in the operator terminals expansion card IFC MC must be formatted as a backup card.

7-10

ABB, 1SBC159002M0202

Message Library

Message Library

Not applicable for CP501. With the message library function, text tables can be created, where values between 0 and 65,535 are linked to texts. The message library function can be used for presentation of each sequence step in sequence control. Another possible application is to present error codes. An analog signal generates error codes connected to texts in a text library. This function can also be used to give analog values specific values, depending on the selected texts. The message library is one of several text tables, each containing up to 512 text strings. Each text string can be 40 characters long. The function is activated by double-clicking Message Library in the Project Manager.

Parameter Library Name

Description Specify a number for the message library. Specify a name for the message library.

ABB, 1SBC159002M0202

8-1

Message Library A message library is edited by selecting a library and clicking Edit. Several editing windows can be displayed at the same time.

Parameter Text no. Text

Description Specify a number for the text, 0 65,535. The text presented when the current signal assumes the text number for the text.

Example
The following example, with a sequence control where each step in the sequence is to be presented by a text, illustrates how the message library function can be used.

D0=0 D0=1 D0=2 D0=3

The article is placed on the conveyor Fit detail X Fit detail Y The article is taken off the conveyor

8-2

ABB, 1SBC159002M0202

Message Library Start by creating a message library called Machine 2. 1. Double-click on Message Library in the Project Manager. 2. Specify a number for the library, in this case 2; and a name for the library, in this case Machine 2. 3. Click on Add.

A message library called Machine 2 is now created. The next step is to define the different texts in the library. 4. Select the library and click Edit. In this dialog, the parameters Text number and Text are defined. Text number is the value of the analog signal linked to the message object, and Text is the text shown in the message object.

ABB, 1SBC159002M0202

8-3

Message Library After finishing the configuration of the message library, a message object in the application is to be created. The message object can be created in both text blocks and graphic blocks. 5. Select the Message object from the Objects Toolbar, and click on the working area. 6. Specify the analog signal that is to control which text is to be displayed. 7. In the field Library, select the message library from which the texts are to be collected. 8. Select whether the object is to be maneuverable, and between which texts it can be switched during maneuvering, under the Access tab.

8-4

ABB, 1SBC159002M0202

Alarm Management

Alarm Management

Not applicable for CP501 and CP502. This chapter describes the alarm handling function that is used to call the operators attention to events in the process requiring immediate action. The alarm handling is divided into alarm groups, alarm messages, and an alarm list. Alarms can be divided into groups to create an order of priority. An alarm message determines which signal is to activate an alarm, and which text to be shown when the signal is activated. The alarm list contains alarms activated during run mode.

Alarm list 18.2.97 20:11:40 Conveyor 2 empty 18.2.97 20:35:09 Queue full 19.2.97 03:29:12 Low pressure

Note: Alarm printouts are not supported when Unicode is used. See the chapter Unicode for additional information.

ABB, 1SBC159002M0202

9-1

Alarm Management

9.1

Alarm Groups

In the operator terminal alarms can be divided into different groups depending on the type of operator terminal used. Each group can be allocated different color attributes (CP552, CP554, CP513 and CP555). Colors are limited in CP551. Alarms can be sorted in group order in the alarm block. It is not necessary to define alarm groups.
Operator terminal CP503 CP511 and CP512 CP513 CP551, CP552 and CP554 CP555 1 4 16 3-5 (depending on selected character size) 7-11 (depending on selected character size) Number of alarm groups

Defining Alarm Groups


Alarm groups can be defined under Alarm groups in the Alarms folder in the Project Manager. The attributes for alarms in the group are determined in the following dialog box.

Parameter Group name

Description An optional name for the alarm group.

9-2

ABB, 1SBC159002M0202

Alarm Management
Parameter Summary notify Description Active - Digital signal which is set to one when there are active alarms in the group. Unacknowledge - Digital signal which is set to one when there are unacknowledged alarms in the group. Remote acknowledge - Digital signal which when it is set to one acknowledges all alarms in the group simultaneously. Indicates colors for active, acknowledged, inactive alarms, and for the normal status of the alarm. Only applicable for CP552, CP554, CP513 and CP555.

Colors

9.2

Alarm Messages

Alarm messages are defined under Alarms in the Alarms folder in the Project Manager. The alarm text is entered with a maximum of 78 characters in CP555, 38 characters in CP511 CP513, and 18 characters in CP503. More characters can be shown if you select a small character size in the alarm list. The maximum total length of the alarm banner (date, time and alarm message) is: 48 characters for CP511 and CP512 62 characters for CP551, CP552, CP554 and CP513 46 characters for CP551, CP552 and CP554 in portrait modes 101 characters for CP555 The message can contain digital or analog dynamic data (as in the case of text blocks), which can be digital or analog. The alarm text can show data from the objects Analog numeric and Digital text. The toolbox is shown when the cursor is in the input field Alarm text, from where you can select to add an object.

ABB, 1SBC159002M0202

9-3

Alarm Management

Button Import Copy New Alarm Delete Properties

Description See the section Alarm Import. Copy the alarm. Define new alarm. Delete alarm. Shows the individual alarms properties.

9-4

ABB, 1SBC159002M0202

Alarm Management

Defining Alarms
A new alarm is defined by clicking New Alarm in the Alarms dialog. A maximum of 300 alarms is recommended.

Parameter Alarm text

Description An optional alarm text that will be shown in the alarms page. Maximum 78 characters in total. Can contain the objects: Digital Text Switches between two texts depending on the status of a digital signal. Analog Numeric Presentation of values in numeric form. The signal (digital or analog) which when it assumes the specified status generates the alarm. Digital signal is: On/Off - Select On if a signal set to one is to generate an alarm, and select Off if a reset signal is to generate an alarm. Analog signal is: Equal to - An alarm is generated when the value of the given analog alarm signal is equal to the value specified in the subsequent field. Not equal to - An alarm signal is generated when the given value of the analog alarm signal is not equal to the value specified in the subsequent field. Less than - An alarm signal is generated when the given value of the analog alarm signal is less than the value specified in the subsequent field. Greater than - An alarm signal is generated when the given value of the analog alarm signal is greater than the value specified in the subsequent field.

Signal Alarm when

ABB, 1SBC159002M0202

9-5

Alarm Management
Parameter Acknowledge notify Reset Description Digital signal activated when the alarm is acknowledged. The signal is normally set to one. If the Reset box is checked, the above signal will be reset when the alarm is acknowledged.

Remote Digital signal which acknowledges the alarm when it is activated. acknowledge Alarm group Info block Indicates the alarm group for the definition (the alarm). A block number or block name for a text or graphic block can be stated here. This makes it possible to display a help page to the operator with, for example, information about the alarm and requisite procedures. If the field is left empty this means that no block is linked to the alarm. See the section Alarms in Run Mode and SMTP client. Alarms can be sent as e-mail messages to pre-defined recipients. The alarm text will then be the subject of the message. See the sections Alarm Properties and SMTP Client. Indicates whether the alarm is to be acknowledged or not. Checking the box means that the alarm must be acknowledged, leaving it unchecked means that the alarm functions as an event alarm, e.g. information. When the alarm is to be removed from the alarm list. Checking the box means that the alarm will remain in the list until the list is full. Leaving it unchecked means that the alarm will be removed from the list when it is acknowledged and no longer active. If the box Ack. required is not checked, the alarm will be removed from the list as soon as it is no longer active. Checking the box prints the alarm message directly on the printer if the alarm status changes. If the box is checked, a counter for the alarm in the alarm list will be shown, that counts the number of times the alarm has been generated. The alarm must be acknowledged for it to be presented as a new alarm message in the alarm list.

Mail to address Ack. required History

To printer Repeat count

Note: The value defined for an analog alarm signal cannot be controlled from a register. An alarm is logged on a fixed value, logging on intervals is not supported. Hysteresis is not supported. Only 16-bit values are supported.

9-6

ABB, 1SBC159002M0202

Alarm Management

9.3

Alarm Properties

Right-click on the Alarms folder in the Project Manager and select Properties to make general settings alarms and alarm lists. Alarms take up a different amount of space in the alarm list, depending on the length of the alarm text and the number of objects included. The space an alarm takes up can be calculated with the following formula: S = 42 + NC S = Number of bytes NC = Number of characters in the alarm text

The alarm list is re-written when it is full. 25% is deleted, so that only 75% remains. Example: An alarm text of 38 characters, where each alarm takes up 80 bytes in the alarm list, resulting in 1024 (list size =1 kbytes)/80 Max. 12 alarms in the alarm list. When the 13th alarm is generated the alarm list will be re-written and only the last 9 alarms will remain in the list.
Parameter Active signal Unacknowledged signal Description The digital signal the operator terminal sets to one when there is an active alarm. The digital signal the operator terminal sets to one when there is an unacknowledged alarm.

ABB, 1SBC159002M0202

9-7

Alarm Management
Parameter List erase signal Reset List size Description A digital signal which, when set to one, deletes non-active alarms in the list. Checking the box resets the signal given in the List erase signal field when the alarm list is deleted. The list size in kB for CP511 - CP555 and the number of alarms for CP503. Note that when the system allocates memory equal to that which is specified for List size, the actual size of the alarm list is twice the indicated size. The performance of the project is adversely affected if the list size is over 10 kB (100 alarms for CP503). A digital signal which, when set to one, activates alarm handling in the operator terminal. This parameter makes it possible to switch on/off alarm handling in the operator terminal. The parameter should not be used if alarm handling is to be active all the time. The default font size in the alarm list. The default font size in the alarm list is always shown after restart or start-up, and after switching between operation modes.

Enable alarm signal

Default font size

Alarm symbol When the alarm symbol is to be shown. In text blocks ALARM is shown, and in graphic blocks a bell is shown in the top right-hand corner of the display. No means that the alarm symbol is never shown. Unacknowledged means that the alarm symbol is shown when there are unacknowledged alarms in the alarm list. Active means that the alarm symbol is shown when there are active alarms in the alarm list. All means that the alarm symbol is shown when there are active and/or unacknowledged alarms in the alarm list. Send e-mail When alarms are to be sent as e-mail messages. Always means that an e-mail message is always sent when the status of the alarm changes. Active means that an e-mail message is sent when the alarm is activated. Inactive means that an e-mail message is sent when the alarm is inactivated. Acknowledge means that an e-mail message is sent when the alarm is acknowledged. If the background light is to be affected during an alarm. On means that the light is switched on when the alarm symbol is shown (default setting). Off means that the background light is not affected by alarms. Timer means that the light is switched on when a new alarm is activated, and switched off when the time for the screensaver has run out. In CP552, CP554, CP513 and CP555 the color of the cursor in the alarm list can be changed.

Backlight

Alarm Cursor

9-8

ABB, 1SBC159002M0202

Alarm Management

9.4

Alarm Import

It is possible to import alarm texts from name lists (generated from the configuration tool for the controller). The project in the programming tool must be linked to a name list before alarm importing can be carried out. Select the relevant name list under View/Name List. Then double-click on the Alarms folder in the Project Manager, and click on the button Import to define the alarm import.

Start I/O State the address for the first I/O of the import from the name file. The start I/O can be an analog or a digital signal. End I/O State the address for end of the import from the name file. The end I/O has to be of the same type as the start I/O. Alarm properties All alarms imported (start I/O to end I/O) when clicking on the button Import will have the same properties corresponding to the properties defined under Alarm Properties. For a description of the parameters, please see the section Alarm Messages. The parameters, signal type, analog or digital and alarm group must be specified before an alarm import can be made.
ABB, 1SBC159002M0202 9-9

Alarm Management

9.5

Alarm Banner

The Alarm Banner object displays a line from the alarm list.

General
Parameter List line number Description The number of the line in the alarm list which the information is to be collected from (1 = first line, 2 = second line, etc.) if the indicated alarm group is shown in the alarm list. The number of positions to be shown. Maximum total length (date, time and alarm text) is 101 characters. Which alarm group to be shown in the alarm banner. The alarm banner will be shown in the color specified for the alarm group. Select whether the weekday is to be shown in the alarm banner. Select whether the date is to be shown in the alarm banner. Select whether the time is to be shown in the alarm banner. Select whether alarm symbols are to be shown in the alarm banner.

Positions Alarm group Show day of the week Show date Show time Show symbol

9-10

ABB, 1SBC159002M0202

Alarm Management
Parameter Show active alarms only Description Select whether only active alarms are to be shown on the alarm banner. If no alarm is active the alarm banner will be empty. The alarm must be inactive, not acknowledged, before the next alarm can be shown in the alarm banner. Displays active alarms descending, i.e. the latest active alarm is displayed. Only available if Show Active alarms only is selected. How many times the alarm has been repeated. Select whether a frame is to be drawn around the alarm banner. The background color of the alarm banner.

Sort descending

Show repeat count Border style Background

Note: An alarm can be acknowledged in the alarm banner by selecting the box Enable acknowledge under Access.

Note: The foreground color of the alarm text is determined by the alarm group definition.

Other Tabs The functions under Font, Access and Dynamics are described in the section General Parameters.

ABB, 1SBC159002M0202

9-11

Alarm Management

9.6

Alarms in Run Mode

In text blocks, alarms are indicated by showing the text ALARM in the upperright corner of the display. In graphic blocks a bell flashes in the upper-right corner of the display when an alarm is activated. Indication can be deselected in Configuration mode or under Setup/Alarm Properties in the programming tool. Alarms are presented in an alarm list with predefined alarm texts. The alarm list contains the latest alarms and is arranged in alarm group order according to definition, so that the latest alarms are shown at the top of the list. The list can also be sorted descending. See section Alarm Banner for further information. The size of the alarm list in the number of kbytes (number of alarms in CP503) is determined in configuration mode or under Setup/Alarm Properties in the programming tool. If there is a jump to an alarm block (system block no. 990), the alarm list will be shown. The number of times the alarm has been generated (if selected), the status of the alarm, the time it was activated, became inactive or was acknowledged, is shown for every alarm, depending on the chosen display format. The counter for the alarm in the alarm list is displayed according to the following table if the box Repeat count is checked for the alarm in the Alarm input dialog.
Display format (12) Explanation Means that the alarm has been generated 12 times. The alarm must be acknowledged for it to be presented as a new alarm message in the alarm list. Means that the alarm has been generated more than 999 times without being acknowledged between each time. The counter counts to a maximum of 999.

>999)

Alarms can have the following status.


Symbol * $ <blank> Active, Unacknowledged Active, Unacknowledged Active, Acknowledged Inactive, Acknowledged Status

9-12

ABB, 1SBC159002M0202

Alarm Management Alarm times can be shown in the following format.


Display format S E A Explanation The time when the alarm was activated. The time the alarm was first activated is shown for repeated alarms. The time when the alarm was inactivated. The time the alarm was last inactive is shown for repeated alarms. The time when the alarm was acknowledged.

To access the alarm block you can either define a jump to system block 990 in a block, press [LIST] or allow the controller to present the list through Display signal for block 990. To acknowledge an alarm place the cursor on the line where the alarm is and click [ACK], point at the symbol or acknowledge with a function key. If a printer is connected the alarms can be printed out as they occur, or change status. In which case this is specified when the alarm is defined. Alarms will be printed out with the number of events, date, time, status, and alarm text. Historical inactive acknowledged alarms can be deleted by pressing [] (BACK SPACE). By entering the command DD on the command line, available by doubleclicking System Signals in the Setup folder in the Project Manager, the function will be disabled. Return to the previous block by pressing [PREV] or pointing to [ESC] on the operator terminal. By selecting Print signal for block 990 it is possible to print the current content in the alarm list.

Block Linked to Alarm


Text or graphic blocks can be linked to alarms. This means that when the operator presses the INFO button for an alarm in the list, the block linked to the alarm will be shown. This block can contain information on the alarm and suggestions for possible procedures. It is only possible to press the INFO key if the currently selected alarm is linked to a block. Return to the alarm list by pressing [PREV].

ABB, 1SBC159002M0202

9-13

Alarm Management

9.7

Graphic Alarm Page in Run Mode

This page is graphic and can be modified by the user. Function keys or touch keys are linked to functions to enlarge or reduce the text on the alarm page, including page browsing functions. There is also a function to select whether the date and time are to be shown. Alarms can be sorted by group, and the group shown is optional. Status is shown with different colors, i.e. the colors defined when setting the alarm groups. In CP511, CP512, and CP513 an alarm group is selected with the right and left arrow keys.
Note: The graphic alarm page (alarm list) is printed as a text printout.

CP513
Alarm symbol Alarm message Current alarm line

Alarm info

Increase character size

Decrease character size

Switch on/off date and time stamp Alarm groups

9-14

ABB, 1SBC159002M0202

Recipes

10 Recipes
Not applicable for CP501. This chapter describes the function for recipe management, which enables all the dynamic data in one or more blocks, i.e. the signals and their values, to be saved to a file in run mode. The operator can then download the files to the controller, which will start working with the new values. By using the function for recipe handling it is possible to reuse large sets of parameters. The user can create recipe libraries consisting of files containing different sets of parameters. This function improves the efficiency of time-critical productions where the exhange of similar products must be done quickly, such as in the manufacturing of units in different colors. Recipe files can be created from the operator terminal, the controller, or from a PC with the program CP Tools. Recipe files are stored in the operator terminal. To use recipe handling the functions for storing, loading, deleting and adding recipes must be linked to the function or touch keys. See the chapter Function Keys for information. Recipe files can be sent as attachments from the operator terminals which have e-mail functions. The figure below illustrates the principle of the recipe handling function.
The PC is used to program the terminal. With the program File Transfer (in CP Tools) the PC can be used to backup recipes, or to create new recipes. The recipe block can collect values from the controller, which through the terminal are stored as a recipe.

Create recipe files with the function Save recipe. Recipe file M100 M102 D0 D1 D102 D103 1 0 25 100 12 1123

Download recipes to the controller with the function Load recipe The function Load recipe can be defined in any block, e.g. a block used to start the process.

ABB, 1SBC159002M0202

10-1

Recipes

10.1 Calculation of Recipe Size


To calculate how much space a recipe will require in the project memory, the following equation is used. (The equation is not exact in view of the file systems complexity in the operator terminal.) S = 90 + (2 IOGi + 28) S = number of bytes. If S is calculated to be less than 360, then S is set to 360. = number of I/O series. IOGi = number of I/O in each I/O series
Note: The maximum number of I/Os in a recipe is 1000.

Example The recipe consists of 3 I/O series: D0-D109 (110), D200-D499 (300) and M0-M99 (100). The calculation is made in two steps: 1. Calculate the subtotals of the different series: 1104 = (2 * 110 + 28) + (2 * 300 + 28) + (2 * 100 + 28) 2. Then calculate the total: S = 90+ 1104 S = 1194 bytes

10-2

ABB, 1SBC159002M0202

Recipes

10.2 Recipe Properties and Recipe Directory


Double-click on Recipe in the Project Manager to make settings for recipe handling and to create, edit and delete recipe directories.

Parameter Recipe control block Current recipe reg.

Description Control block to save/read/delete recipes through the controller. See the section Creating and Transferring Recipes with the Controller Program. The first of four 16-bit registers where the operator terminal inserts the name of the last loaded recipe to the controller. The name can then be presented in an ASCII object. The function always uses 4 registers (8 characters) irrespective of the length of the recipe name. Checking the box allows creating recipe directories in the operator terminal. See the section Recipe Directories. The first of four 16-bit registers where the operator terminal inserts the name of the recipe directory specified for the block. The name can then be presented in an ASCII object. The function always uses 4 registers (8 characters) irrespective of the length of the recipe directory. See the section Recipe Directories.

Enable directories Current directory reg.

ABB, 1SBC159002M0202

10-3

Recipes

Recipe Directories
Recipes created in the operator terminal can be saved in different recipe directories (folders) in the operator terminals memory, or on a memory card if the expansion card IFC MC is used in the operator terminal. The use of recipe directories ensures a better structure and more simple handling of recipes in applications with a large number of recipes. It is possible to create 32 different recipe directories (8 for CP502 and CP503) in one level. Recipe directories are saved under the directory RECIPE in the root directory in the operator terminals memory. A recipe directory is linked to one or more blocks in the block header for the block. All recipes created in the block will then be saved in the selected recipe directory. Recipe directories are created, edited and deleted by double-clicking on Recipe in the Project Manager. Defined recipe directories are shown in a list, according to the structure in the directory. Add new recipe directories with the button Add directory. Recipe directories must be named with a name having 1-8 characters. The first character must be a letter or digit, and the name must contain the characters A-Z, 0-9 and _. Otherwise, the standard for file names in MS-DOS is followed. Change a recipe directory by selecting it and clicking Edit. Click Delete to delete the selected recipe directories. Recipe Directories in Run Mode In run mode recipe directories can be created and deleted with the functions Make recipe directory and Delete recipe directory. The functions are linked to function keys or touch keys. With the function Change recipe directory for function keys or touch keys it is possible in run mode to change/select recipe directories for the current block. A list of options for available recipe directories is shown when the function key or touch key for Change recipe directory is pressed. Select one and press [ENTER]. The recipe in the block will now be saved in the selected recipe directory. See the section Function Keys.
Note: Recipe directories created in the programming tool cannot be deleted with a function key or touch key linked to the function Delete recipe directory. Recipe directories created in the operator terminal do not accompany the operator terminal project when a project is uploaded from the operator terminal to the programming tool (via the function Receive in the dialog box Project transfer).

Recipe handling between operator terminal and PC is performed with the program CP Tools File Transfer and CP Tools FTP Transfer. See the section Using Recipes in a PC and the manual for CP Tools.

10-4

ABB, 1SBC159002M0202

Recipes

10.3 Creating a Recipe with the Operator Terminal


When the application is programmed you determine which block or blocks are to be used to save recipes, or alternatively the function Append recipe is used in run mode. All the signals to be included in the recipe are defined in the recipe block. All the dynamic values in the block are stored in the recipe file. All digital and analog objects, with the exception of trend objects, can be used as recipe parameters. In run mode a jump is made to the block containing the recipe parameters. Enter the required values in the dynamic objects and press the function or touch key linked to Save recipe. The name must have 1-8 characters. The first character must be a letter or digit, and the name must contain the characters A-Z, 0-9 and _. Otherwise, the standard for file names in MS-DOS is followed. Recipe files are stored in the operator terminal, either in the recipe directory specified for the block or in one and the same recipe directory if no separate recipe directories have been created by double-clicking on Recipe in the Project Manager.

ABB, 1SBC159002M0202

10-5

Recipes

10.4 Appending Recipes


The function Append recipe can be linked to function and touch keys and makes it possible in run mode to add signals and their values from the current block to an existing recipe. This entails that the operator can save signals and their values from several different blocks in a joint recipe. New signals are added to a recipe, and signals already existing in the recipe will be updated when the function is activated. The name of the recipe to which the current blocks signals and their values are to be added is specified when the function or touch key for Append recipe is pressed. If the function is activated and there are no recipes saved in the operator terminal, a new recipe will be created in the operator terminal. Similarly, a new recipe will be created if the same recipe directory for the block is not given. To add signals from another block to a recipe the same, or no recipe directory, must therefore be given for both blocks.
Note: If a string is added to an existing recipe with strings the strings must be separated by address space. Otherwise the previous near string will be increased.

10.5 Transferring Recipes to the Controller


In run mode recipes are transferred to the controller with the function Load recipe. This function means that the signals and their values stored in the file are transferred to the controller. A list of options for available recipe directories is shown when the function or touch key for Load recipe is pressed. Select one, and press [ENTER]. The controller will then run with the downloaded values.

10-6

ABB, 1SBC159002M0202

Recipes

10.6 Deleting Recipes


In run mode the selected recipe can be deleted from the operator terminal memory with the function Delete recipe. Press the function or touch key linked to Delete recipe. A list of options will now be shown with the available recipe files. Select the file to be deleted, and press [ENTER]. Confirm with [ENTER] or press [PREV] to abort.

10.7 Using Recipes in a PC


With the program CP Tools File Transfer (icon in the program group CP Tools) in the PC, the operator terminal will be treated as a unit in the PC. This means that the PC can be used to make backup copies of files in the operator terminal, e.g. recipe files. New recipes can be created in the PC and transferred to the operator terminal. Recipe files are stored in the PC in skv format, and can be brought up in Excel. The files can be edited in Excel and then used in the plant again. The files must end with the instruction END. See the example below. M100 M102 D0 D50 END ;1 ;0 ;25 ;12

It is also possible to transfer recipe files between the operator terminal and the PC through FTP with the program CP Tools FTP Transfer (standard FTP client). For further information, refer to the manual for CP Tools.

Note: When Unicode is used, there are limitations pertaining to recipe files in .skv format. See the chapter Unicode for additional information

ABB, 1SBC159002M0202

10-7

Recipes

10.8 Creating and Transferring Recipes with the Controller Program


Through a control block in the controller you can create, transfer and delete recipe files in the operator terminal. The files created from the controller program are compatible with the recipe files created from the operator terminal. This means that recipe files created in the controller program can be downloaded into the operator terminal, and vice versa. The control block appears as follows.
Operator terminal
Recipe file 1
Register n n+1 n+2 . . . n+m Value 123 53447 0 Save recipe Download recipe Delete recipe Name of recipe files Register 0 1 . . . n n+1 n+2 . . n+m . . Value Program in controller

Controller

76789

Recipe register

123 53447 0

Data

Recipe file x
Register n n+1 n+2 . . . n+m Value 89 7699 1

265346
MOV MOV

Ctrl reg 0 . Ctrl reg 1 Control block Ctrl reg 7 . .

Ctrl

76789

By double-clicking on Recipe in the Project Manager the first register in the control block is defined. This and the seven following registers are used as control registers. The control block is described in the following table.
Register Content Description Command register set by the controller. Available commands: 0: No command. 1. Save recipe to operator terminal. 2. Read recipe from operator terminal. 3. Delete recipe from operator terminal. 4. Create recipe directory. 5. Change recipe directory. 6. Delete recipe directory.

Control register 0 Command

10-8

ABB, 1SBC159002M0202

Recipes
Register Content Description Handshake register set by operator terminal. 0. Ready for new command. 1. OK 2. Recipe file write error. 3. Recipe file not found.

Control register 1 Handshake

Control register 2 File name characters 1-2 Control register 3 File name characters 3-4 Control register 4 File name characters 5-6 Control register 5 File name characters 7-8 Control register 6 Start data register Control register 7 Number of registers The first data register to be read/written to/from recipe file. Number of registers to be read/written to/from recipe file. Name of recipe file/recipe directory in the operator terminal.

The following procedure must be carried out: 1. The result code register must be 0. If not, reset the command register to 0. 2. Enter the command in the command register. 3. Wait for the ready signal or error code in the handshake register. 4. Set the command register 0. The operator terminal will now set the handshake register to 0.
Note: Recipe directories created in the programming tool cannot be deleted in run mode. See the section Recipe Directories in Run Mode.

Limitations Recipes created in the controller can contain a maximum of 1000 registers. Only data registers can be used. Recipe names can only contain the characters A-Z, 0-9 and _.

ABB, 1SBC159002M0202

10-9

Recipes

10-10

ABB, 1SBC159002M0202

Data Logging

11 Data Logging
Data can be logged and saved to file similar to trend (but without operator terminal display). Logging of data can be made on different intervals or depending on changed values. 16 signals can be connected to each data logger. Be aware of that logging of data consumes system recourses and memory. Double-click on Data Logging in the Project Manager. Right-click on Data Logging in the window that is displayed, and select Add. Double-click on Data Logger to display the dialog below.

The following settings can be made:


Parameter Name Description State a name for the data logger. The name, that has to be unique for each logger, can consist of a maximum of 8 characters. Only the charcters A-Z, 0-9 and _ are supported. State the interval for data logging. The minimum value is 1 second. State the number of values to be saved. The maximum value is 65,534. State by which number of samples Sample full signal is to be set, and which signal to set.

Sample interval Sample count Sample full limit Sample full signal

ABB, 1SBC159002M0202

11-1

Data Logging
Parameter Store Description Select Changed to store only values that are different from the last sampling. Select All to store all values. State a digital signal that, when set, starts logging of data. The logging is stopped if the signal is reset. The parameter is optional. State a digital signal that, when set, erases logged data. The parameter is optional.

Enable sampling signal Erase samples signal

For information about Data Logger backup and transfer, please see the respective section i chapter Trends.

11-2

ABB, 1SBC159002M0202

Passwords

12 Passwords
Not applicable for CP501. This chapter describes the handling of security levels and passwords in the operator terminal. It is a function which makes it possible to create a security system for the plant. The operators can easily be assigned different authorizations in the plant. Blocks, function/touch keys and maneuverable objects can be allocated a security level. Each security level is allocated a password. To access the different levels the user must login with password for the relevant security level, or higher. It is not necessary to use this function.

12.1 Defining Security Levels


Blocks, function/touch keys and maneuverable objects can, when they are defined, be allocated a security level. A security level (0-8) is specified in the dialog for the object under the Maneuvering tab after checking Enable operator input. If security level 0 is specified, the object will be available to everyone, i.e. login will not be requested.

ABB, 1SBC159002M0202

12-1

Passwords

12.2 Defining Passwords


Passwords for the security levels 1-8 are defined by double-clicking on the Password folder in the Project Manager.

Parameter Password 1-8 Confirm question 1-8

Description Enter password for security level 1-8. An optional question, with a maximum of 20 characters, to be displayed when a password protected object is maneuvered by a logged-in user, e.g. Change parameter? The confirm question can not be used if a function or touch key has been defined with the security level. Used to facilitate selecting a password level for the object using a name, e.g. Supervisor or Operator. A digital signal, which, when it is set to one, generates a login dialog. The login dialog can also be linked to a function or touch key. See the chapter Function Keys for further information. A signal, which, when it is set to one, logs out the current user. The function can also be linked to a function or touch key. See the chapter Function Keys for further information.

Comment 1-8 Login signal

Logout signal

12-2

ABB, 1SBC159002M0202

Passwords
Parameter Description

Login level reg. A register in the controller to control the security level can be specified here. The value in the register determines the current security level, value 0 = no security level, 1 = security level 1, etc. Current level reg. Login timeout Specify a register from where the operator terminal can present the current security level (0-8). Specify the time in minutes which the operator terminal can remain inactive before the user is automatically logged out. If 0 is given there will be no logout. You can specify a password to be given for manual switching from RUN to PROG mode. The function is not used for switching from PROG to RUN or when Automatic terminal RUN/TRANSFER switching is used from the programming tool. Specify if the login window is to be automatically shown when trying to access password-protected blocks, objects or keys. For touch screen operator terminals, the function is also applicable for objects.

Password RUN/ PROG

Automatic login

12.3 Logging in
If the box for automatic login in the Password dialog is not checked, the login will either be controlled from a function or touch key, or through a digital signal from the controller (Login signal). If the function key linked to the function Login to specified security level is pressed, or the digital signal is activated, the input field for login will be shown. Specify password. The password is linked to a security level.

12.4 Password for Project Transfer


Commands can be entered on the command line by double-clicking on System Signals in the Setup folder in the Project Manager. By entering the command PDxxxxxxxx, where xxxxxxxx represents the password, this password must be given to access the functions in the TRANSFER menu in the operator terminal. When transferring projects from the programming tool to the operator terminal this password must be given in the operator terminal. Only capital letters can be used on the command line.

ABB, 1SBC159002M0202

12-3

Passwords

12.5 Overriding Password


Commands can be entered on the command line by double-clicking on System Signals in the Setup folder in the Project Manager. By entering the command PSxxxxxxxx, where xxxxxxxx represents the password, this password can be used to override all other password levels, and the user gains access to everything in the operator terminal. This can be useful, for example, when performing support and maintenance. Only capital letters can be used on the command line.
Note: The PS password does not override the PD password.

12.6 Changing Password during Run Mode


The password can be changed during run mode with the function Change login password for function or touch keys. When a function or touch key linked to Change login password is pressed, a dialog box is shown, where the password for security levels below or at the same level as the in-logged person can be changed. See the chapter Function Keys for further information.
Note: It is not possible to select a security level on block 0.

Note: After logging out, the [PREV] key and function Return to previous block are ignored for function and touch keys to prevent unauthorized persons accessing block protected by passwords.

12-4

ABB, 1SBC159002M0202

Printouts

13 Printouts
Not applicable for CP501. This chapter describes how report printouts are made in the operator terminal. Different types of reports, e.g. daily reports and event reports, can easily be created for production follow-up. The following diagram shows the principle for generating daily reports.

13.1 Connection to Printer


Printer

Operator terminal
RS422/RS485 RS232C

The printer should have a serial interface and an IBM character set (850). The settings for the printer are made in the dialog under Setup/Peripherals. For configuration of the printer, refer to the printer manual.
Note: The expansion card IFC PI must be installed in the operator terminal to connect a printer with parallel interface to the operator terminal.

ABB, 1SBC159002M0202

13-1

Printouts Examples of printer: Serial printer Parallel printer Panasonic KX-P1092 HP Laserjet 6L HP Laserjet 1100

13.2 Text Block Reports


Reports are created as text blocks with static and dynamic text. Dynamic objects has to be defined to print values from the process. The width of the reports is a maximum of 150 characters. When to print reports can be determined through time channels, for example. See the chapter Text-based Presentation and Maneuvering and Time Channels for further information.
Note: Text blocks cannot be printed if Unicode is used.

13.3 Graphic Block Printouts


In CP511, CP551, CP512, CP552, CP554, CP513 and CP555 it is possible to print graphic blocks on an Epson FX-80 compatible printer. In CP552, CP554, CP513 and CP555 graphic blocks can also be printed on an HP PCL5/PCL5C/PCL6 compatible printer (through IFC PI). Graphic blocks can only be printed when they are displayed on the screen (screen dump). Only black and white graphics are supported. If the command NHD is stated on the command line by double-clicking on System Signals in the Setup folder in the Project Manager, graphic blocks will be printed on a laser printer without header (which normally includes block name, block number, date and time).
Note: Epson FX-80 graphics do not support grey scales. Note: For graphic block printouts the printers internal memory should be at least 5 MB. Note: The alarm block, i.e. the graphic block which contains the alarm list is printed out as a text printout. Note: If the [PREV] key on the operator terminal is pressed when a graphic block is being printed, the printout will be cancelled.

13-2

ABB, 1SBC159002M0202

Printouts

13.4 Defining the Printout


The printout is defined under the Printout tab in the block properties dialog. You obtain the block header from the Block Manager or the block list. The parameter Print signal in the block header indicates the digital signal, which, when set to one, activates the printout of the block. A digital Completion signal is also indicated here, which is set to one by the operator terminal when the printout is complete. If the box Reset is selected, the signal will be reset instead.

ABB, 1SBC159002M0202

13-3

Printouts

13.5 Printer Properties


The printer settings can be made by double-clicking on the Peripherals folder in the Project Manager, right-clicking on Printer and selecting Properties. The printer must support an IBM expanded ASCII character set. If graphic blocks are to be printed, the printer must support Epson FX-80, HP PCL5 or HP PCL6 graphics. If you use the expansion card IFC PI it is possible to print on a HP printer (with PCL5 or PCL6 support), i.e. a printer with parallel interface.

Parameter Printer signals

Description Disable: A digital signal, which when it is set to one, stops the printout. The port where the printer is connected can then be used for other communication, e.g. Transparent mode. Not applicable if IFC PI is used. Alarm Form Feed: A signal that sends a form feed to the printer. When using To Printer for alarms, a form feed will only be sent when the page length is full, not after every single alarm. Only used for Laser and InkJet printers. Select standard text or installed printer, e.g. HP PCL5. The number of lines to be printed out before form feed. If the page length is set 0 there will be no form feed. Select the paper type according to the installed printer. Indicates whether the report printout is to be vertical or horizontal if a PCL5 compatible printer is used.

Printer type Page length Paper type Text orientation

Graphic orientation Select whether the graphic printout is to be vertical or horizontal.

13-4

ABB, 1SBC159002M0202

Printouts
Parameter Handshake New line character Screen dump Description Indicates whether handshaking between printer and operator terminal is to be with XON/XOFF or CTS/RTS. Line end character; CR/LF, CR, LF or none. Possibility to print out the screen, normal or inverted.

For information concerning printers, see the manual for the printer.

13.6 Setting of Communication Port


The settings for the communication port are made by doubleclicking on Peripherals in the Setup folder in the Project Manager. Right-click on RS-232C or RS-422 and select Properties. See the manual for the connected printer for the correct settings.

Parameter Baudrate Parity Data bits Stop bits

Description Select the baud rate for the communication; it should be the same as for the external unit. Select the parity; it should be the same as for the external unit. Select the number of data bits; it should be the same as for the external unit. Select the number of stop bits; it should be the same as for the external unit.

ABB, 1SBC159002M0202

13-5

Printouts

13.7 Control Codes to Printer


Not applicable for CP502 and CP503. In a text block control codes to the printer can be used. Enter %% followed by a number between 1 and 31. 1 to 31 are control codes to the printer. For example, entering %%12 means paper feed. See the printer manual for a description of the control codes. A command must be followed by a space. Page feed (%%12) is specified at the end of the line. The character %% must not be used in the text. It is possible to have more than one command on a line.

13.8 Printer Status


It is possible to read the status of a printer connected via the expansion card for parallel printer by using a printer status register. The register is selected by double-clicking on System Signals in the Setup folder in the Project Manager. For a description of the printer status register, see the section System Signals in the chapter Programming with the programming tool.

13-6

ABB, 1SBC159002M0202

Time Channels

14 Time Channels
Not applicable for CP501. Time control is a function for setting and resetting digital signals in relation to the real-time clock. This function is used to control events in the process at special times, e.g. starting and stopping motors, through the operator terminal.

14.1 Defining Time Channels


Time channels can be defined by double-clicking Time channels in the Project Manager.

Parameter Interval text Signal Interval

Description An optional text for the time channel. A digital signal, which is set to one during the specified time interval. The days and times for the interval. Four different intervals can be defined for each time channel.

In the previous example, one time channel was defined. This time channel has the text Night temperature, and is linked to the signal M30. The signal will be set to one Monday to Friday between 17.30 and 05.00, Friday 17.30 to 24.00, and Saturday to Sunday between 00.00 and 24.00. During these periods, the temperature in the building will be reduced.

ABB, 1SBC159002M0202

14-1

Time Channels

14.2 Presentation in the Operator Terminal


The time channels are shown when system block 991 is activated, either through a jump object or through a digital signal linked to the block. The values of the time channels can be read and/or changed. To change the value of the time channels when the operator terminal is in run mode, the box Time channels under Setup/Online Properties must be checked.

To read or change the values for a time channel, place the cursor on the desired line and press [ENTER], or point at the desired line if the operator terminal has a touch screen. Press [OK] to exit the definition of the time channels. Exit the time channel menu with [PREV] or press Cancel if the operator terminal has a touch screen. The block from which the time channel block was activated will then be shown.

14-2

ABB, 1SBC159002M0202

Language Management

15 Language Management
Does not apply to CP501. The programming tool supports several language applications for the CP-series operator terminals. We advise that the entire application be created in one language in the programming tool. Using the multiple language support function, you can l ater easily translate all texts in the application to other languages. Translation can be performed directly in the programming tool or the text can exported as a text file and translated in other software. The translated file is later imported back into the programming tool. A maximum of 10 languages can be created for an application. Each text in the application can be allocated an arbitrary index. To optimize the function and reduce the total number of texts, a text can be used several times in the application, copied and reused. These texts are linked to the same index. The application language contains user texts and is linked to a system language that contains system texts. User texts are those texts that are entered when the project is programmed and system texts are those texts that already exist when a new project is created as well as texts that already exist in the operator terminals system program.

15.1 Creating Additional Application Languages


Double-click on Multiple Languages in the Setup folder in the Project Manager. Right-click on User Language and select New language. This starts the Multiple Languages wizard, a self-descriptive sequence of dialog boxes for creating additional application languages. Follow the instructions in the respective dialog boxes and select or type the desired parameter values or name(s).

ABB, 1SBC159002M0202

15-1

Language Management

Select the number of languages to use in the application and click Next.

The software suggests language names. To clarify matters for the user, the name should be changed. Under Character set, selectthe character set that will be used on the operator terminal and the national characters that will be available. See the section Country/Language.

15-2

ABB, 1SBC159002M0202

Language Management Under System language, Built-in or User-defined can be selected. Built-in entails that the system texts in the operator terminal are displayed in the chosen language. User-defined entails that you can translate a built-in system language and link the new system language to the application language (requires that the appropriate operator terminal be connected to the PC in accordance with the chapter Project Transfer.)

This is where the Language control register is specified. Its value (0-9) during runtime determines the application language (0-9) that the operator terminal will use. Click Finish to close the wizard. A structure tree is now displayed with the languages you have created.

ABB, 1SBC159002M0202

15-3

Language Management

15.2 Translating/Editing Texts in the Programming Tool


Select Setup/Multiple Languages/Edit.

This is where the translations for the various languages are entered in the respective table cells. Move the cursor between the rows and columns with the arrow keys. You can search within the text list with the menu command Edit/Find. An application language can also be exported as a text file and translated in another program, such as Excel or Notepad. The text file is thereafter imported back to the application. See the sections Export and Import.
Note: When importing the translated texts, pay attention to make sure that the imported text length does not exceed the limit in the object.

15-4

ABB, 1SBC159002M0202

Language Management

15.3 Properties for the Application Language


Double-click on Multiple Languages in the Setup folder in the Project Manager.

Right-click User Language and select Properties to change the register that determines the displayed language. When right-clicking on the language name, you can choose between the following menu commands:
Menu command New language Character set System language Delete language Rename Properties Description Creates a copy of the selected language Chooses/edits character set Chooses/edits system language Deletes the selected language Changes name of selected language Specifies data register with the value that determines the displayed language

Select Character set to change the character set (also applies to Unicode) for the language. Select System language to change the selected system language.

ABB, 1SBC159002M0202

15-5

Language Management

User-defined System Languages


To create a user-defined system language, choose User-defined, choose the language that would like to copy from and click Get. The Language Transfer dialog box opens. Click Receive to retrieve the built-in system language from the operator terminal. System texts are now accessible for editing under Setup/Multiple Languages/ Edit. You can also choose to export the texts as a text file and edit them in another program. All system texts in the operator terminal (passwords, time channels, etc.) support the multiple language application. You can use the predefined system languages or create your own (new). All types of characters that exist in the character set can be used in the application language. A text string is linked to several different objects. The maximum number of text strings for each language depends on available project memory in the operator terminal. The following spaces are available for each language: CP502 and CP503 = 16 KB/language CP511, CP512, CP551, CP552 and CP554 = 64 KB/language CP513 and CP555 = 128 KB/language At the bottom left of the Application Language dialog box, information is displayed on memory size for selected languages (language file). The information is displayed in the format X/Y. X is the utilized memory and Y is the available memory for each language (for example, 7/128).

15.4 Export
You can choose to export a language to Excel, for example, translate it there, and then import it back to the programming tool. Choose Setup/Multiple Languages/Export. Choose User texts (or System texts). In the displayed dialog box, specify the name of the file to be exported and indicate if it is to be an ANSI, OEM or Unicode text file. ANSI/OEM entails that languages created in the ANSI/OEM format will be exported, and Unicode entails that all languages will be exported to a file in the Unicode format. Editing a Unicode-format file in another application requires that a Unicode font be selected in that application.

15.5 Import
Choose Setup/Multiple Languages/Import. Choose User texts (or System texts). The Import Multiple Language Texts dialog box is displayed. Choose the name of the text file that you would like to import. If the existing language in the project is in ANSI/OEM format and a language in Unicode format is imported, the imported language will be converted to ANSI/OEM. This means that all characters not included in the ANSI/OEM range will be displayed as question marks.
15-6 ABB, 1SBC159002M0202

Language Management

15.6 Show Index


Each object that displays text in a multiple language application is linked to an index. An index can be linked to different objects with the same texts. Choose Setup/Multiple Languages/Show Index to display the index number for the object texts.

15.7 Cross Reference


Choose Setup/Multiple Languages/Cross Reference. On the displayed cross reference list you can right-click an object to edit it. The cross-reference list has support for incremental searching when you specify an index number.

15.8 Reuse Index


Choose Setup/Multiple Languages/Reuse Index to activate Reuse Index. When Reuse Index is active and an object is copied, the copy will be assigned the same index. This entails that objects with the same index need only be translated once. Changes made to a text will be seen at all locations where the same index number exists.
Note: If an object is deleted that has copies with the same index number, only the selected object is deleted.

15.9 Choose Unicode Font


Select a Unicode font if an increased number of characters is needed to create the application languages.

15.10 Application Languages in Run Mode


You can change the application language in the operator terminal in run mode by changing the value (0-9) in the specified language selection register. Note that the operator terminal redraws/rewrites the entire block when a new language is selected in run mode (RUN). If there is a cursor in the operator terminal, this will be placed at the first maneuverable object in the current block.

ABB, 1SBC159002M0202

15-7

Language Management

15-8

ABB, 1SBC159002M0202

Unicode

16 Unicode
16.1 Introduction
Unicode is a global standard for character encoding where 16-bit values are used to represent the characters from many of the worlds languages. Previous standards for character encoding, such as the Microsoft Windows ANSI character set, use 8-bit character values or combinations of 8-bit values to represent the characters used in a certain language or geographical region. In Microsoft Windows 2000 and Windows XP, IMEs (Input Method Editors) are used to permit the computer user to write in complex characters and symbols, such as those used Chinese, with a standard keyboard. The character sets installed in the computer are used. IMEs for various languages are added under Control Panel/Keyboard/Input language. When new character sets are installed, all necessary characters are added to the system.

16.2 Unicode in the Programming Tool


Unicode is supported in the operator terminals CP511 - CP555 with the most recent version of the system program (firmware). The Unicode characters can be used in projects and/or system texts. Unicode has built-in support in Microsoft Windows 2000 and Windows XP. The programming tool uses a Unicode character set to display Unicode characters in the computers dialog boxes. Only those Unicode characters that are used in the project will be downloaded to the operator terminal during the project transfer.

16.3 Terminal Font


A character set is used in the operator terminal to display Unicode characters.The character set in the operator terminal contains approximately 35,000 characters but is not complete according to the Unicode standard. When a project is transferred to the operator terminal, only the characters that are used in the operator terminal are downloaded. If a character that is not available is used, it is replaced by a black square, both in the programming tool and the operator terminal. The project test that can be performed when transferring the project checks that all used characters are present in the character set in the operator terminal.

ABB, 1SBC159002M0202

16-1

Unicode

Character Sizes for User and System Texts


Unicode characters are processed as bitmaps (point matrices). The predefined character size is 8 x 16 pixels but can be changed. Sometimes the character size 16 x 16 must be chosen for complicated characters, such as those used in Chinese, to avoid failure of certain pixels to be displayed and that characters be misinterpreted by the operator. If a large character size is chosen, menu windows may not always have space in small operator terminals.

16.4 Multiple Language Functions


Switching Between Display of Object Text and Index Number When the T/@ button is selected on the Language toolbar, the programming tool displays the index number (@number) in the object instead of the text. In the @ mode, new text (in ANSI/OEM, not Unicode) can be specified to link the object to a new index and release it from the other objects and the original index. By specifying @number, the object can be linked to new indexes. See the chapter Language Management for more information. Export and Import of Files in Unicode Format System and user texts can be exported and imported under Setup/Multiple Languages. An exported file in Unicode format can be edited in a text editor such as Notepad. Choose a Unicode font in the text editor. When a file is exported, the ANSI/OEM or Unicode format can be chosen. If ANSI/ OEM is chosen, only languages in ANSI/OEM format will be exported to a file in ANSI/OEM format. If Unicode is chosen, all languages will be exported to a file in Unicode format. When a file in ANSI/OEM format is imported, you can choose whether or not an existing language will be updated, or if there is none previously, to add one. When a file in Unicode format is imported, you can choose whether or not an existing language will be updated, or if there is none previously, to add one. If the existing language is in ANSI/OEM format, the imported language (in Unicode format) will be converted to ANSI/OEM form. Characters not supported by ANSI/OEM will be replaced by question marks.

16-2

ABB, 1SBC159002M0202

Unicode Memory Usage When Unicode is used, memory is allocated in accordance with the following formula: Languages size: Each string requires 22 + total characters in the string x 4 bytes. Character set size: The character set that is transferred requires the total number of unique characters x 34 bytes, which means, for example, that transfer of 1000 characters requires 34 KB. Memory usage for a Unicode language is the languages size + the character sets size. Performance The drawing of Unicode characters is somewhat slower than the drawing of ANSI/ OEM characters, which is primarily because Unicode characters have more pixels to be drawn. When the operator terminal is started, the Unicode character set is read into memory, which can take time if the character set is large.

16.5 Limitations when Unicode Is Used


Text Blocks Text blocks are not supported when Unicode is used. If a Unicode character set is chosen in an existing project, the dialog box below will be displayed.

Save Recipe and Alarm History CP Tools File Transfer and FTP client do not support Unicode characters. The skv file that can be used to edit recipes on a PC or for alarm history will, when Unicode is used, contain index numbers (@xxx) instead of texts. You can search in the project for corresponding text in the operator terminal. If texts are desired in the skv file, the operator terminal project has to be changed to a character set in ANSI/OEM format.

ABB, 1SBC159002M0202

16-3

Unicode E-mail In Unicode projects, automatic e-mail is not supported, and alarm notifications cannot be sent. Any list of e-mail recipients will be deleted when changing an existing project to Unicode. The operator will still be able to manually type and send e-mail through the system block 993. Dynamic Texts Texts can be controlled vial control system signals by choosing Dynamics/Properties for the selected object.

These texts will not be converted to Unicode; question marks will be displayed instead. The Time Channels Block The standard block Time channels, which can be configured in RUN mode, must use the preselected character size 8 x 16 in the CP511 and CP512 operator terminals. The input window will otherwise be too large for the screen and the block will not be configurable.

16-4

ABB, 1SBC159002M0202

System Monitor

17 System Monitor
Only applicable for CP551, CP552, CP554, CP513 and CP555. The system monitor is a block where the operator can view or change the values for control signals in run mode. The values are presented as decimal, hexadecimal and ASCII values. The system monitor is always available in the operator terminals. To use the system monitor during run mode you create a block jump from another block to the system monitor block. The editing box is needed to add on control signals. This is shown when you press [ENTER] or alternatively point to the button NEW on the operator terminal when the system monitor is active.

ABB, 1SBC159002M0202

17-1

System Monitor

17-2

ABB, 1SBC159002M0202

Index Addressing

18 Index Addressing
Not applicable for CP501. With index addressing, it is possible for the operator to select from which register an object is to collect the shown value. Without index addressing an object is always connected to the same register, and only the value in this register can be shown in the object. Index addressing is set up by adding the value in the index register to the address of the register which is the analog signal in the object. In general this can be formulated as: Display value=the content in Register(the Objects address+the content in the Index register) If the content in the index register is 2 and the address of the register specified in the object is 100, the value shown in the object will be collected from address 102. If the value in the index register is changed to 3, the value in the object will be collected from address 103 instead. Which register is to be used as the index register is defined in Index under the Setup folder in the Project Manager. Up to eight different index registers can be used in each project, and each index register can be used for more than one object. The objects used in the project will specify whether index registering is to be used, and if so, which index register. This is done by selecting in the dialog for the object I1 to I8 in the box to the right of the indicated address signal for the object. In the example below, D10 is the analog signal and I1 is the index register used.

In the following example, three motors are to be controlled from one block. The torque and speed for the three motors are stored in six different registers. One of the motors will be selected in one block, and then only the current torque and speed for this motor will be shown in the block. If another motor is selected, the current torque and speed will be shown for this motor instead. This is possible with index registering.

ABB, 1SBC159002M0202

18-1

Index Addressing

Register D0 is defined as Index register 1 by double-clicking on Index under the Setup folder in the Project Manager. The value in the register will determine for which motor the torque and speed are to be shown.

If the value is 1 in D0, the torque and speed for Motor 1 will be shown. If the value is 2 the values for Motor 2 are shown, and if the value is 3 the values for Motor 3. The value in register D0 is controlled with a Multiple choice object, where the texts Motor 1, Motor 2 and Motor 3 are shown. These three choices are also made maneuverable.

18-2

ABB, 1SBC159002M0202

Index Addressing

The torque and speed are shown in two numerical objects. In the object for torque, D10 is specified as the analog signal and I1 as the index register.

In the object showing the speed, D20 is specified as the analog signal and also here I1 as the index register. With the maneuverable Multiple choice object it will then be possible to select the alternatives Motor 1, Motor 2 and Motor 3 in the operator terminal. Depending on this choice, the values will be set to 1, 2 and 3 in register D0. The value in D0 is added to addresses for the objects which show the torque and speed. These can show the values in register D11, D12 or D13, and D21, D22 or D23.

ABB, 1SBC159002M0202

18-3

Index Addressing

Note: If the operator terminal is connected to a BDTP network, the same index register must be stated in the server and the client because the indexing is made in the server driver.

Note: Other suffixes can also be specified in addition to index register. The index register will not be counted twice if 32-bit registers are used.

18-4

ABB, 1SBC159002M0202

Communication

19 Communication
Not applicable for CP501.

19.1 Communication with Two Controllers (Dual Drivers)


It is possible to use two different drivers in the operator terminal, which means that the operator terminal can communicate with two different controllers simultaneously. The controllers can be connected in series to the serial ports on the operator terminal and through Ethernet to the expansion card IFC ETTP. Addressing of the signals in the controllers is carried out as normal for each respective controller in accordance with the manual for the driver. Double-click on the project in the Project Manager to display the Project Properties dialog.

Select Controller by clicking on Change for Controller 1 respective Controller 2. If the selected driver for Controller 1 does not support dual drivers you cannot select a driver for Controller 2. Click OK.

ABB, 1SBC159002M0202

19-1

Communication Double-click on the Peripherals folder in the Project Manager. Drag Controller 1 and Controller 2 to the connection ports where the respective controllers are connected. It is possible to use RS-232C, RS-422, RS-485 (CP502, CP503, CP551, CP552 and CP554), including expansion cards IFC PBDP and IFC ETTP. For further information on the connection of controllers to the operator terminal, refer to the manual for respective drivers.

Addressing
Addressing of the signals in the controllers is carried out as normal for each respective controller in accordance with the manual for the driver. The controller to which a created object is to be linked is selected by clicking the button corresponding to the required controller (1 or 2) in the tool field in the programming tool. Controller 1 is always pre-set when a project is created or opened.

If button 1 is pressed the signal is linked to an object created for Controller 1 and if button 2 is pressed the signal is linked to an object created for Controller 2. Clicking the I links the signal to the internal variables. See section Internal Variables for further information.

19-2

ABB, 1SBC159002M0202

Communication It is also possible to click on the I/O button in the object created and select which controller the object is to be connected to from the I/O Browser. To address a signal in controller 2 when controller 1 is preset, the signal must be given the addition @2 and correspondingly @1 for controller 1 if controller 2 is preset.
Example:

Controller 1 is preset. Register D0 in controller 2 is to be connected to a potentiometer. D0@2 is entered in the field Analog signal in the dialog for the potentiometer.

I/O Cross Reference The function I/O crossreference to show I/Os in a well-arranged manner can be used for both Controller 1 and Controller 2. The crossreference shows the preset controller. Name List The name list with attendant functions is supported for both Controller 1 and Controller 2.
Note: If communication with a controller is lost, the operator terminal will continue to communicate with the other system. The operator terminal will try to connect to the disconnected system every tenth second, which can affect communication with the operable controller. The interval can be changed by using a command. See the section Commands in the chapter Programming with the programming tool.

ABB, 1SBC159002M0202

19-3

Communication

Examples of Configurations where Dual Drivers Are Used in the Operator Terminal

Operator terminal communicating with one controller and one frequency converter.

TCP/UDP

RS232/RS422

Operator terminal communicating in series with one controller via the Ethernet, and with controllers of another make.

TCP/UDP

Operator terminal communicating with two controllers of different makes via the Ethernet.

TCP/UDP

RS232/ RS422

PROFIBUS DP

Operator terminal communicating with one make of controller in series or via Ethernet, and with a controller of another make of controller via PROFIBUS DP.
19-4 ABB, 1SBC159002M0202

Communication

19.2 Data Exchange between Controllers


When two controllers are connected to one and the same operator terminal (dual drivers are used in the operator terminal) it is possible to exchange data (analog and digital signals) between the controllers. Likewise, two controllers can each be connected to a operator terminal and still exchange data when the operator terminals are connected in a BDTP network. For addressing, see the section BDTP. The signals do not have to be of the same type in the two controllers. The exchange of data takes place in a virtual data channel, which goes between controller 1 and 2. You can define eight different data channels. The transfer of data can take place at intervals or during events. The conditions for how the transfer is made and which interval of signals are to be transferred for each data channel are specified by double-clicking on Controller Data Exchange under the Peripherals folder in the Project Manager.

Parameter Area

Description Start I/O 1 and Start I/O 2 - Start address for the data channel for controller 1 and controller 2. (The subsequent fields are used to specify an index register and signal format.) See the chapters Index Addressing and Signal format.) Specify if the signals for the data channel are digital or analog.

Mode

ABB, 1SBC159002M0202

19-5

Communication
Parameter Size Description Specify the number of signals to be transferred (start address + subsequent) in the data channel. Maximum number of signals for a data channel is 255. Trigger signal - A digital signal which controls the data transfer from controller 1 to controller 2 for the data channel. The signal status has the following implications: 0 - Inactive. 1 - Transfer - The operator terminal resets the signal when the transfer is completed. Interval - Specifies the time in seconds between cyclical transfers of data channels. The interval parameter should be zero if it is not used. If the value is greater than 0 the parameter has a higher priority than the Trigger signal, and therefore a trigger signal cannot trigger transfers. The maximum number of seconds is 65,535. Trigger signal - A digital signal which controls the data transfer from controller 2 to controller 1 for the data channel. The signal status has the following implications: 0 - Inactive. 1 - Transfer. Interval - Specifies the time in seconds between cyclical transfers of data channels. The interval parameter should be zero if it is not used. If the value is greater than 0 the parameter has a higher priority than the Trigger signal, and therefore a trigger signal cannot trigger transfers. The maximum number of seconds is 65,535.

Flow 1 => 2

Flow 2 => 1

Click Add when the settings for a data channel have been defined.
Note: Data Exchange is given the same priority as other functions in the operator terminal This means that if the operator terminal is occupied (with performing other functions) and a request for data exchange is made, this will affect the transfer time and the exchange of data between the controllers will take longer than usual.

19-6

ABB, 1SBC159002M0202

Communication

19.3 Transparent Mode


In Transparent mode a communication port (programming/printer port) on the operator terminal which is not connected to the controller can be used to connect additional units working in parallel with the controller. These units can be operator terminals or a PC with programming tools for the controller or a master operator system. For information on whether Transparent mode will function together with the connected controller, refer to the respective driver manual.

Connection of PC or Other Computer System


A PC with a programming tool or another computer system is connected directly to a communication port on the operator terminal, in this case the programming/printer port.
PC Terminal Controller

RS232 RS422

Operator terminal connected to the programming/printer port. Settings in the Operator Terminal and PC The properties for Transparent mode are made by double-clicking on the Peripherals folder in the Project Manager. Drag the unit Transparent mode to the communication port where the PC is to be connected to the operator terminal. Right-click on Transparent mode and select Properties. Select Transparent mode (if this is supported by the driver; see the manual for the driver). The properties for the port where the PC is connected must correspond with the properties the program in the PC (the configuration tool for the controller).

ABB, 1SBC159002M0202

19-7

Communication

Parameter IP Properties

Description Only used for communication in Transparent/Passthrough mode via Ethernet. The Transparent mode unit must then be connected to a TCP/IP connection. Port number 6004, does not normally need to be changed. The required protocol, TCP or UDP, is also selected here. Only used for communication in Transparent/Passthrough mode via Ethernet. The Transparent mode unit must then be connected to a TCP/IP connection. Select if Transparent/Passthrough mode is to be connected to Controller 1 or Controller 2. Select communication status Transparent or Passthrough. See the section Passthrough Mode for information on Passthrough mode. Timeout Specify a time in seconds after which the operator terminal will return to RUN mode from the Passthrough mode if no Passthrough communication has occurred.

Controller systems

Mode

19-8

ABB, 1SBC159002M0202

Communication

Connection of Two Operator Terminals in Transparent Mode


Additional operator terminals can be connected to the same controller with Transparent mode. How to connect two or three operator terminals is described below. Additional operator terminals are connected in a similar way. Cable Connections When two operator terminals are to be connected to one controller the first operator terminal is connected in accordance with the description in the installation manual. A cable is connected between the two operator terminals as shown in the following illustration. The cable is connected between the free port on the first operator terminal and the corresponding port on the second operator terminal. If the distance is more than 15 m for RS232 communication, a signal amplifier must be used.

RS422

RS232

Cable between two operator terminals for RS232 communication


9-pin D-sub female 2 3 5 9-pin D-sub female 3 2 5

Cable between two operator terminals for RS422 communication


25-pin D-sub male 2 15 3 16 7 8 25-pin D-sub male 3 16 2 15 7 8

Settings in the First Operator Terminal In the programming tool the communication settings are made under Setup/Peripherals. The settings for the port connected to the controller are set as normal. The settings for the port connected to the other operator terminal are optional.

ABB, 1SBC159002M0202

19-9

Communication Settings in the Second Operator Terminal In the programming tool the communication settings are made under Setup/Peripherals. The controller should be placed on the port used to connect the second operator terminal to the first operator terminal. The settings for this port should be the same as for the first operator terminal on the port where the second operator terminal is connected. Transfer Speed The transfer speed can vary between 600 and 57,600 baud. It is advisable to use the highest possible transfer speed between the operator terminals to achieve optimal performance. The communication speed decreases with the number of connected operator terminals according to the following table.
Number of operator terminals 1 2 3 4 Access time to controller Operator terminal 1 100% 50% 50% 50% Operator terminal 2 50% 25% 25% Operator terminal 3 25% 12,5% Operator terminal 4 12,5%

Connection of Three Operator Terminals in Transparent Mode


A third operator terminal can be connected with a cable to Terminal 2 in the network as shown in the diagram below. The settings for the third operator terminal should be the same as the settings in the second operator terminal.
Terminal 1 Terminal 2 Terminal 3

RS422

RS232

RS422

19-10

ABB, 1SBC159002M0202

Communication

19.4 Passthrough Mode


With the function Passthrough mode it becomes possible to set the operator terminal in a mode which enables communication between the programming tool for the connected controller on a PC and the controller to be established through the operator terminal. This is a joint function with the Transparent mode function and in similarity with Transparent mode only supports one controller. This means that Transparent or Passthrough mode can only be used on one of the operator terminals communication ports. When Passthrough mode is activated and the PC communicates with the controller through the operator terminal, communication between the operator terminal and connected controller will stop. This is the difference between Passthrough and Transparent mode. An operator terminal where communication in Passthrough mode is in progress becomes locked for the operator, and only shows an empty display with the text Passthrough.
PC Operator terminal Controller

RS232 RS422

Operator terminal connected to the programming/printer port. Passthrough mode for one of the connected controllers is activated and deactivated from the program CP Tools Connect, which is available as an icon in the program group CP Tools. See the manual for CP Tools.
Note: Passthrough mode with CP Tools Connect is not supported in CP502 and CP503.

ABB, 1SBC159002M0202

19-11

Communication Settings in the Operator Terminal and PC The properties for Passthrough mode are made by double-clicking on the Peripherals folder in the Project Manager. Drag the unit Transparent mode to the communication port from which the PC is to be connected to the operator terminal. Right-click on Transparent mode, select Properties and then select Passthrough (if this is supported by the driver; see the manual for the driver). The settings for the port where the PC is connected must correspond with the settings in the program in the PC (the programming tool for the controller).

Parameter IP Settings

Description Only used for communication in Transparent/Passthrough mode via Ethernet. The Transparent mode unit must then be connected to a TCP/IP connection. Port number 6004, does not normally need to be changed. The required protocol, TCP or UDP, is also selected here. Only used for communication in Transparent/Passthrough mode via Ethernet. The Transparent mode unit must then be connected to a TCP/IP connection. Select if Transparent/Passthrough mode is to be connected to Controller 1 or Controller 2. Select communication mode Transparent or Passthrough. See section Passthrough mode for information on Passthrough mode. Timeout Specify a time in seconds after which the operator terminal will return to RUN mode from the Passthrough mode if no Passthrough communication has occurred.

Controller system

Mode

Passthrough mode can be used both through serial and Ethernet communication.

19-12

ABB, 1SBC159002M0202

Communication

19.5 The Operator Terminal as Communication Interface (No Protocol Mode)


No protocol mode is used to connect different controller, or to connect external units such as barcode scanners or weighing instruments to the controller. The controller controls what is to be sent to the communication port. Data entering the communication port is entered directly in the controller register. Communication takes place with the transfer of the data register area according to the following control block.
Any unit Terminal Data register
0 1 . . 100 101 Recieve buffer data

PLC program

Send buffer data

Communication handling

Ctrl

Start send buffer Command for send Start receive buffer Command for receiving RX End code pattern RX Message length

ABB, 1SBC159002M0202

19-13

Communication

Double-click on the Peripherals folder in the Project Manager, right-click on No Protocol Mode and select Properties.

No protocol ctrl. reg.

The first control register used in No protocol mode.


Register Ctrl. reg. 0 Description Start register for the transmission data buffer. The first register in the buffer area contains the total number of bytes to be sent. The following registers contain the data to be sent. The maximum buffer size is 127 registers = 254 bytes. Command register for transmission. Set to 1 by the controller when transmission is requested. Set to 0 by the operator terminal when transmission is completed. Start register for the reception data buffer. The first register in the bufferarea contains the total number of bytes received. The following registers contain the received data. The maximum buffer size is 127 registers = 254 bytes.

Ctrl. reg. 1

Ctrl. reg. 2

19-14

ABB, 1SBC159002M0202

Communication
Register Ctrl. reg. 3 Description Command register for reception. - Set to 0 by the controller when it is ready to receive. - Set to 1 by the operator terminal when the message is available. - Set to -1 (FFFF) on error message (e.g. too short). - Set to 2 by the controller when clearing of the port buffer is required. - Set to 3 by the operator terminal when clearing of the port buffer is completed. The port buffer is automatically cleared on start up and when switching between Transparent mode and No protocol mode, i.e. the register receives the value 3. End code (1 or 2 bytes) on the received message. Length of the received message. If 0, the end code is used.

Ctrl. reg. 4 Ctrl. reg. 5

No protocol on signal

A digital signal for switching between No protocol mode and Transparent mode, for example to dial up a computer and send a message. Double-click on the Peripherals folder in the Project Manager, and drag the unit No Protocol Mode to the communication port you want to use. Right-click on No Protocol Mode and select Properties to define which register is to be the first control register in the transfer area. This and the five following registers are used as control registers. The controller can switch between No protocol mode and Transparent/printer mode while operating. Specify a digital signal in the dialog box for the parameter No protocol signal.
Ctrl reg 0 Ctrl reg 1 Ctrl reg 2 Ctrl reg 3 Control block Register t0 Register r0

Register t0 Register t1 Register t2

Transmission data buffer Number of bytes Data . . .

Reception data buffer Register r0 Number of bytes Data Register r1 Register r2 . . .

ABB, 1SBC159002M0202

19-15

Communication Example of Using the No Protocol Mode The following example describes the use of the No Protocol mode for a weighing system. The diagram below shows a three-stage block diagram for the communication.

Wait mode M100 Start of transmission Sends query on current weight M11 Transmission complete Waiting for current weight Receiving complete

The operator terminal functions as a master system for the weighing system, i.e. it continuously asks for the current weight.The protocol appears as follows. Operator terminal STX?CRLF Weighing system STXWeight in kgCRLF

19-16

ABB, 1SBC159002M0202

Communication

19.6 Modem Connection


A modem can be used to create a call-up connection to a PC. The settings for the connection are made by double-clicking on the Peripherals folder in the Project Manager, right-clicking on Modem and selecting Properties.

Control block reg.

The communication is established with three control registers in a control block. The first register in the control block is defined in the Control block reg. in the dialog. The function of the control registers is described in the following table.

ABB, 1SBC159002M0202

19-17

Communication

Register Ctrl. reg. 0

Description Contains commands describing how the controller is to call up and establish communication. 0 Wait for command. 1-10 Call up with the phone number entered in the field Phone No 1-10. Maximum of 40 characters. 11 Call up with a phone number stored in the controller. This number is stored as an ASCII string, which begins in the third control register and the following registers. The string can contain a maximum of 40 characters, i.e. 20 registers. It is not necessary to use all the registers. The last register read must contain the ASCII code 0. 101-110 An initiation string is sent to the modem. Enter Hayes modem command commands in the field Phone No 1-10. Command 101 sends the string in the field Phone No 1, etc. 111 An initiation string stored in the controller is sent to the modem. Enter Hayes modem commands beginning in the third control register. See command 11 for details. 255 Hang up command. The second control register is used as a status register. It contains the results of the modem commands. The status register can contain the following: Status codes 0 Command executed successfully. 1 Dialling in progress. 2 Modem has established connection. 3 Modem detected a ring signal. Error codes 101 No connection. 102 Modem detected lost carrier. 103 Unspecified error from modem. 104 Modem gets no dial tone. 105 Busy when dialling. 106 No answer when dialling. 107 No reply from modem. 255 Unknown error/status. The operator terminal can call up with a phone number stored in the controller. This number is stored as an ASCII string, which begins in the third control register and the following registers. The string can contain a maximum of 40 characters, i.e. 20 registers. It is not necessary to use all the registers. The last register read must contain the ASCII code 0.

Ctrl. reg. 1

Ctrl. reg. 2

19-18

ABB, 1SBC159002M0202

Communication
Init

Modem initiation string


Timeout

The number of seconds before the line is disconnected when idle. The default value is 30 seconds. Times between 5 and 600 seconds can be given.
Dial mode

Choose between pulse and tone.


Phone numbers 1-10

Complete phone number for call-up

ABB, 1SBC159002M0202

19-19

Communication

19-20

ABB, 1SBC159002M0202

Network Communication

20 Network Communication
Not applicable for CP501, CP502 and CP503. This chapter describes how operator terminals communicate in a network.The network communication takes place through TCP/IP (Transmission Control Protocol/ Internet Protocol). TCP/IP is a standardized set of protocols which enable sharing with other systems and units. The operator terminals can be connected in a network in many different ways, through Ethernet or serially. The expansion card IFC ETTP must be used in all operator terminals if Ethernet is used. IFC ETTP is used to connect operator terminals with twisted pair cable. A HUB is required if twisted pair cable is used. Connections are made according to Ethernet standards. For further information on TCP/IP, we refer to the RFCs published on the Internet. You will find them at: http://ftp.sunet.se/pub/internet-documents/rfc. Information and explanations of concepts and expressions used can be found at the Internet address http://www.whatis.com. The operator terminal network is a client/server network. Only clients have access to data in the network. Servers only supply data to clients. An operator terminal can be both a client and server at the same time in order to both supply data and have access to data from other operator terminals. Up to 20 different clients can have access to data from the same server. A client can have access to data from up to 16 different servers. All operator terminals must be assigned an IP address. IP addresses from 192.168.0.0 to 192.168.254.254 are recommended for internal networks. It is possible to use standardized Internet tools, such as web browser, e-mail server and FTP client, with the operator terminal. A web page can be created in the PC and downloaded to the terminal. The web page can contain real-time data from the con-troller or the terminal. Values can be changed, signals can be set, alarms can be acknowledged etc. through scripts, via Internet, using a web browser. The operator terminal can also send e-mail for special events such as alarm and status reports.

ABB, 1SBC159002M0202

20-1

Network Communication

20.1 Examples of Possible Networks


Example 1
This Ethernet network is designed for one controller with several operator terminals.
Operator terminal 1 Operator terminal 2 Operator terminal 3 192.168.1.2 192.168.1.1 192.168.1.3 client server client PC 192.168.1.x

Controller

Operator Terminal 1 (192.168.1.1)

Operator terminal 1 must be a server. Clients have access to the controller through the server.

Setup/Network/Services Select BDTP server and click Edit... Setup/Network/TCP/IP Connections

20-2

ABB, 1SBC159002M0202

Network Communication
Operator Terminal 2 (192.168.1.2)

Operator terminal 2 must be a client. A client has access to the controller connected to the server.

Setup/Network/TCP/IP Connections

Setup/Network/Services Select BDTP client and click Edit...

ABB, 1SBC159002M0202

20-3

Network Communication
Operator Terminal 3 (192.168.1.3)

Operator terminal 3 must be a client. A client has access to the controller connected to the server.

Setup/Network/TCP/IP Connections

Setup/Network/Services Select BDTP client and click Edit...

A PC can be connected to transfer projects to the operator terminals. The PC can be connected either through an Ethernet card, or to one of the serial ports on one of the operator terminals with CAB5 or CAB6. An Ethernet card is recommended.

20-4

ABB, 1SBC159002M0202

Network Communication

Example 2
This Ethernet network is designed for several controllers and operator terminals in a network. The controllers in this example use different drivers, driver X and driver Y.
Operator terminal 1 192.168.1.1 client/server Driver X Operator terminal 2 Operator terminal 3 192.168.1.2 192.168.1.3 server client Driver Y Driver X Operator terminal 4 192.168.1.4 client Driver Y

Controller 1

Controller 2

Controller 3

Operator Terminal 1 (192.168.1.1)

Operator terminal 1 is a client with driver X and therefore has access to data from all servers with the same driver. It also has access to its local controller 1. The results only become accessible to controller 1. It does not have access to controller 2 in view of the different driver, and neither does it have access to controller 3 since operator terminal 3 is only a client.
Operator Terminal 2 (192.168.1.2)

Operator terminal 2 is not a client and therefore does not have access to other stations in the network. It has access to its local controller 2.
Operator Terminal 3 (192.168.1.3)

Operator terminal 3 is a client with driver X and Y, and therefore has access to data from all servers. It also has access to its local controller 3. The results become available to controllers 1, 2 and 3. It does not have access to controller 2 in view of the different drivers.

ABB, 1SBC159002M0202

20-5

Network Communication
Operator Terminal 4 (192.168.1.4)

Operator terminal 4 is a client with driver Y and therefore has access to data from all servers. The result is access to only controller 2. It does not have access to controller 1 in view of the different drivers, and does not have access to controller 3 since operator terminal 3 is only a client. Data can be exchanged between the controllers by using control registers. See the sections BDTP Client and BDTP Server. The function for data exchange are also used for data exchange between two controllers as described in the section Data Exchange between Controllers in the previous chapter.

Example 3
This Ethernet network is a normal configuration where a PC is included. The PC has access to all operator terminals in the network to transfer projects. The PC can be connected either through an Ethernet card, or to one of the serial ports on one of the operator terminals with CAB5 or CAB6. An Ethernet card is recommended. The example assumes that the same drivers are used.
Operator terminal 1 Operator terminal 2 Operator terminal 3 Operator terminal 4 PC 192.168.1.2 192.168.1.4 192.168.1.3 192.168.1.1 192.168.1.x client/server client client client/server

Controller 1

Controller 2

Controller 3

20-6

ABB, 1SBC159002M0202

Network Communication
Operator Terminal 1 (192.168.1.1)

Operator terminal 1 is a client and therefore has access to data from all servers. It also has access to its local controller 1. The result is access to controller 1 and 2.
Operator Terminal 2 (192.168.1.2)

Operator terminal 2 is a client and therefore has access to data from all servers. It also has access to its local controller 2. The result is access to controller 1 and 2.
Operator Terminal 3 (192.168.1.3)

Operator terminal 3 is a client and therefore has access to data from all servers. It also has access to its local controller 3. The result is access to controller 1, 2 and 3.
Operator Terminal 4 (192.168.1.4)

Operator terminal 4 is a client and therefore has access to data from all servers. The result is access to controller 1 and 2. With the function for data exchange, data can be exchanged between two controllers as described in the section Data Exchange between Controllers in the previous chapter.
Note: When a project is transferred to a operator terminal this station will stop immediately. If the operator terminal is a server, all clients who request data from this server will receive an error message.

ABB, 1SBC159002M0202

20-7

Network Communication

Example 4
When only two operator terminals are used a connection can be established through serial communication. One of the built-in serial ports is then used to connect to the other operator terminal. No Ethernet cards are required. One or two controllers can be used in this network. Both controllers in the network use the same driver and both operator terminals have access to both controller 1 and 2.
Operator terminal 1 192.168.1.1 client/server RS232/RS422 Operator terminal 2 192.168.1.2 client/server

Controller 1

Controller 2

20-8

ABB, 1SBC159002M0202

Network Communication
Operator Terminal 1 (192.168.1.1)

Operator terminal 1 is a client and therefore has access to data from the other server. It also has access to its local controller 1. The operator terminal is also a server for operator terminal 2. The result is access to controller 1 and 2.

Setup/Network/ TCP/IP Connections

Setup/Network/Services Select BDTP server and click Edit...

Setup/Network/Services Select BDTP client and click Edit... Setup/Network/TCP/IP Connections Click on the button TCP/IP...

ABB, 1SBC159002M0202

20-9

Network Communication
Operator Terminal 2 (192.168.1.2)

Operator terminal 2 is a client and therefore has access to data from the other server. It also has access to its local controller 2. The operator terminal is also a server for operator terminal 1. The result is access to controller 1 and 2.

Setup/Network/ TCP/IP Connections

Setup/Network/Services Select BDTP server and click Edit...

Setup/Network/Services Select BDTP client and click Edit... Setup/Network/TCP/IP Connections Click on the button TCP/IP...

20-10

ABB, 1SBC159002M0202

Network Communication

20.2 Network Communication via Ethernet


To connect the operator terminals to the TCP/IP network through Ethernet they must be provided with the IFC ETTP expansion card. IFC ETTP is used for connection with twisted pair cable.

How to Make a Connection


Install IFC ETTP in accordance with the manual for the card. Select Setup/Peripherals. Drag the TCP/IP Connection 1 icon from Unused functions to IFC ETTP on Slot 1 or Slot 2. The blinking arrows indicate where it is possible to drop it. TCP/ IP Connection 1 must be used before TCP/IP Connection 2 can be used.

ABB, 1SBC159002M0202

20-11

Network Communication Settings Select TCP/IP Connection 1 and right-click to make the settings for the TCP/IP network.

Setup/Network/TCP/IP Connections

Connection name

Enter an mnemonic name for the connection. The parameter is optional.


Host configuration

Select Manual to use the TCP/IP settings made in the dialog box. Select the other alternatives when a server provides the operator terminal with one or several of the TCP/IP parameters.
IP Address and Subnet mask

State the nodes network identity. Connection in a network is made according to Ethernet standards. For a local network between the operator terminals, using the addresses 192.168.0.0 192.168.254.254 is recommended.
Gateway

Specify the network device in the local network that can identify other networks on the Internet.
Primary DNS and Secondary DNS

State the servers containing information on a part of the DNS database. Click OK after all settings have been made.

20-12

ABB, 1SBC159002M0202

Network Communication

Ethernet Connections
The section below shows three examples of Ethernet connections. Connection between Two Operator Terminals with Twisted Pair Cable (TP)
Node 1 Node 2

1 2 3 6

3 6 1 2

The maximum length between the operator terminals is 100 m. The cable is a CAT5 Ethernet (cross-over) twisted pair cable, screened or not screened, equipped with RJ45 connectors.
Note: If the communication does not work properly and the LED marked Link on IFC ETTP does not light up, then connections 3 and 6 are probably switched.

TCP/IP Settings in the Nodes


Node 1 Node 2

Setup/Network/TCP/IP Connections

Setup/Network/TCP/IP Connections

ABB, 1SBC159002M0202

20-13

Network Communication Connection of More than Two Operator Terminals with Twisted Pair Cable (TP)

HUB

1 2 3 6

1 2 3 6

The maximum length between the operator terminal and hub is 100 m. The number of operator terminals per hub is limited by the number of connections to the hub. The cable is a CAT5 Ethernet twisted pair cable, screened or not screened, equipped with RJ45 connectors.
TCP/IP Settings in the Nodes
Node 1 Node 2

Setup/Network/TCP/IP Connections

Setup/Network/TCP/IP Connections

20-14

ABB, 1SBC159002M0202

Network Communication

20.3 Serial Network Communication/PPP


How to Make a Connection
Double-click on Peripherals in the Project Manager. Drag the TCP/IP Connection 1 icon from Unused functions to RS-232C or RS-422. The blinking arrows indicate where it is possible to drop it. TCP/IP Connection 1 must be used before TCP/IP Connection 2 can be used.

Note: The parity setting on the port connected to the TCP/IP connection must be NONE.

ABB, 1SBC159002M0202

20-15

Network Communication Setup Select TCP/IP Connection 1 and right-click to make the settings for the TCP/IP network.

Setup/Peripherals Right-click on TCP/IP Connection placed on serial port and select Properties

Connection name

Enter a mnemonic name for the connection. The parameter is optional.


Serial protocol

The protocol PPP is used for serial communication.


User name

Indicate the user name used when logging in.


Password

Indicate the password used when logging in.


Connect signal

Digital signal which establishes the connection when it is set to one and disconnects when it is reset.
Connected reg

Analog register, which can have the following status. 0 1 2 3 7 Disconnected (PPP Client) Waiting for a connection (PPP Server) Connected as a PPP Client Connected as a PPP Server Connection error

20-16

ABB, 1SBC159002M0202

Network Communication
Use logon script

This function is used to automate a serial logon. The script will vary depending on which server and modem you connect to. The operator terminal supports the following commands. 1. WAIT: Text, x 2. SEND: Text 3. LABEL: Label 4. ONERR: Label 5. MESSAGE: Message 6. END: 7. SLEEP: x 8. COUNTER: y Waits for the text Text for x seconds. x does not need to be specified. Sends the text Text Label becomes a reference point in the script. Jumps to Label when an error occurs in previous command. Shows a Message box with the message Message. Ends the script. Sleeps for x seconds. Registers on a counter each time the script passes COUNTER:. An error is generated if the number is reached, which ONERR: takes care of. Compares with the names in Accounts. Compares with the passwords in Accounts.

Variables: %USERNAME %PASSWORD Example 1: WAIT: login:, 10 SEND: JOHN WAIT: password:,10 SEND: HELLO

ABB, 1SBC159002M0202

20-17

Network Communication Example 2: The following script sends the text CLIENT. If the transmission fails, a message box with the text Send Failed is shown. If the transmission is successful, we wait for the text CLIENTSERVER. If this text does not appear within 10 seconds, a message box with the text Receive Failed is displayed. SEND: CLIENT ONERR: Send Failure WAIT: CLIENTSERVER,10 ONERR: Receive Failure END: LABEL: Send Failure MESSAGE: Send Failure END: LABEL: Receive Failure MESSAGE: Receive Failed END: Example 3: The following script sends the text login. and then waits for the receiver to send a user name. The name is checked so that it matches one of the user names in Accounts. The script then continues by sending password: and then waits for the receiver to send a password. The password is compared with the password in Accounts for the user name sent. Normally no script is needed. If you connect to a Windows NT server the script will be as follows. SEND: login: WAIT: %USERNAME SEND: password: WAIT:%PASSWORD
PPP Login verification method

Select method to validate the user identity. Does not normally need to be changed. This parameter is only used for PPP connection.
Accounts

Define who is allowed to access the services. See the section Network Accounts for more information.
Act as

For PPP you select if the operator terminal is to act as a PPP client and/or PPP server, i.e. if the operator terminal is to call up or be called.
20-18 ABB, 1SBC159002M0202

Network Communication
Connect at boot

For PPP connection the operator terminal can automatically connect to another operator terminal or PC on start-up. Advanced By selecting Advanced it is possible to define additional parameters.
Use VJ compression of IP headers

Compression of IP headers. Does not normally need to be changed. This parameter is only used for PPP connection.
Request/provide remote address

The request/providing of the remote nodes IP address. Should be 0.0.0.0 if you want the IP address provided from the remote node. This parameter is only used for PPP connection.
Use remote address as gateway

Shall be checked if you want to let the remote nodes IP address be the gateway, i.e. the connection port to another network. The default setting is OFF. This parameter is only used for PPP connection.
Note: If the parameter Use remote address as gateway is not checked and you use a sub network, the communication with the network will not function. This also means that email can be sent from the operator terminal, but that you cannot login on the operator terminal from outside, e.g. with a FPT client or web browser.

Request/provide local address

The request/providing of the remote nodes IP address. Should be 0,0.0.0 if you want the IP address provided from the remote node. This parameter is only used for PPP connection.
Note: If the Request/provide local address addresses are changed when the operator terminal is the server, or both server and client; the new addresses will be saved. If the operator terminal is the client, the addresses are set to 0.0.0.0. If the operator terminal is changed to be the server, or both server and client, the saved addresses will be used.

Node 1 Remote 192.168.1.2 Local 192.168.1.1

Node 2 Remote 0.0.0.0 Local 0.0.0.0

ABB, 1SBC159002M0202

20-19

Network Communication Modem The parameters under Modem are indicated if the connection is made through a modem. A special cable is also needed, as shown in the figure below.
9-pin female connector 2 3 5 7 8
Setup/Peripherals Select TCP/IP Connection placed on serial port and click Edit. Now click the button Modem...

25-pin male connector 2 3 7 8 4 6 20 shld

shld

Enable modem

Check the box if you are using a modem.


Disconnect if idle (min)

Disconnects if the connection has been idle for the given number of minutes. 0 means that the connection is never disconnected.
Telephone number

Indicate the telephone number to be called.


Modem setup string

String which initiates the modem. For further information, refer to the documentation for the modem.

20-20

ABB, 1SBC159002M0202

Network Communication TCP/IP Parameters for TCP/IP connection.

Setup/Network/TCP/IP connection placed on serial port Click on the button TCP/IP...

Host configuration

Select Manual to use the TCP/IP settings made in the dialog box. Select the other alternatives when a server provides the operator terminal with one or several of the TCP/IP parameters.
IP Address and Subnet mask

State the nodes network identity. Connection in a network is made according to Ethernet standards. For a local network between the operator terminals, using the addresses 192.168.0.0 192.168.254.254 is recommended.
Gateway

Specify the network device in the local network that can identify other networks on the Internet.
Primary DNS and Secondary DNS

State the servers containing information on a part of the DNS database.

ABB, 1SBC159002M0202

20-21

Network Communication

Serial Connections
PPP connection between two operator terminals
PPP client PPP server

2 3 5

3 2 5

Setup/Peripherals Right-click on TCP/IP Connection placed on serial port and select Properties

Setup/Peripherals Right-click on TCP/IP Connection placed on serial port and select Properties

Settings under TCP/IP (IP Address, Subnet mask and Gateway) are of no importance in this case. PPP will change parameters.

20-22

ABB, 1SBC159002M0202

Network Communication PPP connection between an operator terminal and a PC


PC with Generic Null modem (Remodem) installed

PPP Server

CAB5

Settings in the operator terminal

Settings under TCP/IP (IP Address, Subnet mask and Gateway) are of no importance in this case. PPP will change the parameters. Note that if PAP is selected as Login verification method, the User name and Password must be given. Setup/Peripherals Select TCP/IP Connection placed on serial port, select Use logon script, and click Edit script... The check box Use logon script in previous image must be selected.

ABB, 1SBC159002M0202

20-23

Network Communication
Settings in the PC

In this description we assume that the user has installed and defined a COM port for a Generic Null modem (standard modem called Comminications cable between two computers) with the maximum speed set to 57,600 bps. Make a new advanced network connection according to the following steps: 1. Select the function New Connection Wizard according to the following search path: Start\All Programs\Accessories\Communication\New Connection Wizard. 2. Select Set up an advanced connection and click Next. 3. Select Connect directly to an other computer in the Advanced Connection Options dialog and click Next. 4. Select Guest and click Next. 5. Enter a name for the connection, for example PPP, and click Next. 6. Select the device (the modem) Comminications cable between two computers (COMx) in the drop-down menu and click Next. 7. Complete the New Connection Wizard by clicking Finish. The Connect dialog is now shown. 8. Click on Properties and make the settings as shown in the figures below:

Settings for the General tab and Modem Configuration

20-24

ABB, 1SBC159002M0202

Network Communication

Settings for the Options and Security tabs

ABB, 1SBC159002M0202

20-25

Network Communication 9. Click on the Networking tab and make sure that only the Internet Protocol (TCP/IP) is checked. Click on Settings and make the following settings:

Settings for the Networking tab, PPP Settings and Internet Protocol (TCP/IP)

20-26

ABB, 1SBC159002M0202

Network Communication 10.Click on the Advanced tab and make the settings as shown in the figure below:

Settings for the Advanced tab The settings in the PC for a PPP connection between an operator terminal and a PC have now been entered. Connect the cable and click Connect to establish communication.

ABB, 1SBC159002M0202

20-27

Network Communication

20.4 Network Services


Double-click on Network Services in the Network Connections folder in the Project Manager. Checking a service activates it. To enter settings for the selected service, click Edit.

Application Transfer Server


Transfer of project through TCP/IP. Click Edit... and enter the number of the port to be given to enable the transfer. Does not normally need to be changed.

BDTP
BDTP is a protocol which uses client/server communication. A client asks for information and a server provides clients with information. The BDTP server listens to the I/O request from the BDTP client. The operator terminal can be client, server, or both. The client can collect data from a maximum of 16 servers. The server IP addresses are specified in the BDTP client. Each server can provide 20 clients with information. Network communication via BDTP is used to connect two or more operator terminals to one or two controllers or several operator terminals to two or more controllers, with retained performance. One example is production lines with one operator terminal at each work station. If the BDTP server fails, the client will continue to work with the system to which it is physically connected. The client will not restart when it tries to connect to the server. When the server becomes active, BDTP communication will continue as previously.

20-28

ABB, 1SBC159002M0202

Network Communication The figure below shows an example of a network.


192.168.1.x BDTP Server x=1254

controller 1>X0

192.168.1.x BDTP Client

192.168.1.x BDTP Client

192.168.1.x BDTP Client

1>X0

BDTP Server

X0

controller

controller

192.168.1.x BDTP Client 1 2 3 4 5 . . 192.168.1.x . . .

ABB, 1SBC159002M0202

20-29

Network Communication

BDTP Client
For the network service BDTP Client, the IP Addresses for the BDTP Servers in the network from which the client is to collect information are defined. Select BDTP Client in the list and click Edit to enter the settings.

Setup/Network/Services Select BDTP Client and click Edit...

BDTP Server port

Indicate the communication port the BDTP server/network is connected to. Does not normally need to be changed.
Default BDTP Server

You can specify a server as a default setting here, i.e. if nothing else is specified when entering the I/O the signals are assumed to be collected from this server.
Data register

Values in data registers can be transferred between a client and different servers in a network. The first register in the register block in the client which is to be transferred to/from the indicated server is given under Data register. The type of register does not have to be the same in client and server.

20-30

ABB, 1SBC159002M0202

Network Communication
Data register
Client Register 0 1 Value

Data register
Server Register 0 1 Value

n .n+1 .n+2 . n+m . . Ctrl reg 1 Ctrl reg 2 . . Ctrl reg 5 . .

123 53447 0

Register as transfer

n .n+1 .n+2 . n+m . .

123 53447 0

265346

265346

Control block

Under Control block you indicate the first register in the control block in the client, which takes up a total of five registers as follows.
Register Ctrl. reg. 1 Content Command Description Command register set in the client. Available commands: 0: No command. 1: Transfer values in register from client to server indicated in control register 3. 2: Transfer values in register from server indicated in control register 3 to client. Handshake register set by client. 0: Ready for new command. 1: OK 2: Transmission error. The number of the server in the network the transfer is to be made with. The value in the index register is added to the address of the register indicated under Data register. If zero is given, the register block will start with the address given under Data register. The number of registers, the values of which are to be transferred to/from the given server.

Ctrl. reg. 2

Handshake

Ctrl. reg. 3 Ctrl. reg. 4

Server index Index register

Ctrl. reg. 5

Number of registers

ABB, 1SBC159002M0202

20-31

Network Communication The transfer must be handled as follows: 1. The handshake register must be 0. If not, reset the command register to 0. 2. Enter the command in the command register. 3. Wait for the ready signal or error code in the handshake register. 4. Set the command register 0. The operator terminal will now set the handshake register to 0.
Synchronize clock with server

Indicate if the client clock is to be synchronized with a selected server (operator terminal). The server is selected by giving the number of the server in the entry field. If the clock in the client is changed locally the change will also be transferred to the selected server.
BDTP Server Address

Under BDTP Server Address, indicate the IP addresses to the servers from which the client will be able to retrieve data. The addresses will be indexed in the order they are entered. When objects are programmed in the project you must indicate from which server the address is to be taken. In the address field in the object dialogs you specify the following: server index>device If, for example, 2>D15 is indicated in the address field the value for the object will be collected from register D15 in the server with index 2. It is possible to change the server index in a client program with the function BDTP Station change. See the section Changing BDTP Station.
Note: If there is no controller connected to the BDTP Client (the operator terminal) the units Controller 1 and Controller 2 must be moved from RS-232C/RS-422/RS-485 to Unused functions in the Peripheral configuration dialog.

20-32

ABB, 1SBC159002M0202

Network Communication

BDTP Server
Handles requests from clients, i.e. provides clients (operator terminals) with information on requests from the client (operator terminal). Select BDTP Server in the list and click Edit to enter the settings..

Setup/Network/Services Select BDTP Server and click Edit...

Server port Communication port for the BDTP server. Does not normally need to be changed. Max. Clients The maximum number of BDTP clients (operator terminals) in the network. Data register Values in data registers can be transferred between a server and different clients in a network. The first register in the register block in the server which is to be transferred to/from the indicated client is given under Data register. The type of register does not have to be the same in client and server. For more information on transferring data, see the section BDTP Client.

ABB, 1SBC159002M0202

20-33

Network Communication

Client Register 0 1 Value

Server Register 0 1 Value

n .n+1 .n+2 . n+m . . Ctrl reg 0 Ctrl reg 1 . . Ctrl reg 4 . .

123 53447 0

Register as transfer

n .n+1 .n+2 . . n+m . .

123 53447 0

265346

265346

Note: It is only possible to control the transfer of data from clients.

FTP Server
This function makes it possible to collect or submit files to/from the operator terminal from a PC. The FTP server in the operator terminal allows transfers in passive mode (PASV). Passive mode should be used if the operator terminal is not connected Point-to-Point. You will not always know in advance what is used between the client and server, e.g. router-based firewalls or gateways. By using passive mode you avoid further errors. Web browsers always use this mode. It is also possible to use passive mode during point-to-point connection. National characters in file names are not supported. Operator terminals do not use dates on files. For more information on the FTP server in the operator terminal, refer to the chapter Network Functions in the Operator Terminal.

20-34

ABB, 1SBC159002M0202

Network Communication Select FTP Server under Setup/Network/Services and click Edit... to enter the settings for the function.

Setup/Network/Services Select FTP Server and click Edit...

Control Port number

The default value is 21 and should not be changed.


Data Port number

The default value is 20 and should not be changed.


Request login

You indicate here whether the user must login to access the FTP server (the operator terminal). Users are defined under Setup/Network/Accounts, see the section Network Accounts. If you select that users do not need to login, all users will have full access to the FTP server.
Pre Login Text

Text shown before request for the user to login. E.g. The terminal requires login, specify login information.
Post Login Text

Text shown when user has logged in. E.g. You are now logged in.
Connection Timeout (min)

The time the FTP connection is allowed to be inactive before the FTP server (the operator terminal) breaks the connection. The default value is 10 minutes.

ABB, 1SBC159002M0202

20-35

Network Communication

SMTP Client
This function allows e-mail to be sent from the operator terminal. An e-mail server is needed to use the function SMTP client, where messages are sent by the operator terminal. The recipient then collects the message. You can use your Internet providers e-mail server or a local e-mail server. Trend and recipe files can also be attached with a message. The attached files can be read with CP Tools. A maximum of 20 messages can be sent at the same time. Select SMTP client under Setup/Network/Services and click Edit... The following settings are entered here.

Setup/Network/Services Select SMTP client and click Edit...

Server port

Connection port 25. Does not normally need to be changed.


Mail Server

The IP address to the e-mail server or the alias name (DNS server) for the SMTP e-mail server. If you specify an alias name the IP address to the DNS server must be given under Setup/Network/TCP/IP Connections.

20-36

ABB, 1SBC159002M0202

Network Communication
My Domain Name

The domain name (e-mail address) of the operator terminal, or some other domain name, used to login the SMTP server. E.g. the domain name in mail@master.com is master.com.
My Mail Address

Enter your e-mail address. The name is shown as sender for the recipient. It should preferably be a genuine address, which the mail server can return error messages to.
Send via Connection

Indicate which TCP/IP connection should be used to send. Note that TCP/IP connection 1 must be used before TCP/IP connection 2 can be used.
Predefined Recipients

A pre-defined list of a maximum of 16 recipients, e-mail addresses which the operator terminal is to send e-mail to. A recipient address can contain a maximum of 60 characters. Alarm through e-mail In the same way as alarms can be printed on a printer, they can also be sent as e-mail. The complete alarm list can be sent by sending block 990 (see the section Report through e-mail). Each alarm can be connected to one or more of the e-mail addresses as in the configuration of the SMTP client. Under Setup/Alarm Settings you make a general setting for which status of alarms are to be sent as e-mail. See the chapter Alarm Management.

Functions/Alarms

ABB, 1SBC159002M0202

20-37

Network Communication
Info block

If an information block is indicated, and it is a text block, it will be included in the message. For further information, see the chapter Alarm Management.
Mail to address:

You indicate here who is to receive the message. Select up to 8 recipients from the predefined list in the dialog Setup SMTP Client service. Report through e-mail In the same way as text blocks can be printed on a printer, they can also be sent as email. Alarm block, block no. 990, can also be sent as e-mail.
Note: Only text blocks can be sent. Only the alarm block 990 can be sent as e-mail from the system blocks. Trend and recipe files can be sent as attached files. There are limitations when Unicode is used. For more information, see the chapter Unicode.

Block Properties for a text block

Send mail signal:

The message is sent when the given digital signal is set to one.
Mail completion signal:

A digital signal activated by the operator terminal when the message has been sent. The signal is normally set to one by the operator terminal. If the box Reset is selected the signal is reset when the message has been sent.

20-38

ABB, 1SBC159002M0202

Network Communication
Mail to address:

The address of the e-mail recipient is given here. Select up to 8 recipients from the list shown when you click the button. The list of e-mail addresses is defined in the dialog box Setup SMTP Client under Setup/Network/Services.
Attach file:

The name of a trend or recipe file to be attached with the message is given here. If there is a trend file or a recipe file with the same name, the trend file will be sent. The text file should not contain national characters such as , and . E-mail Through System Block By making a block jump to the system block Mail, 993, you can write and send messages during RUN mode.
CP513

CP554

Send E-mail to

Enter the recipient here. You can write in the address or select it from the global list shown when you click on the button LIST on operator terminals with keyboards, and on the MAIL button on operator terminals with touch screens.
Subject

Enter the subject message with a maximum of 50 characters. The text in the message can be a maximum of 10 lines with 50 characters.
ABB, 1SBC159002M0202 20-39

Network Communication

Terminal Controller
Used for RUN/TRANSFER switching through TCP/IP. Click Edit and enter the number of the port to be given to enable the transfer. The port number does not normally need to be changed. Check the box Request authentication if the user name and password must be given before the transfer. Users are defined under Setup/ Network/Accounts.

Transparent Mode
Used for communication in Transparent/Passthrough mode (see also the chapters Communication and Network functions) in operator terminal networks through Ethernet. Click Edit Transparent mode. The unit must then be connected to a TCP/IP Connection in Setup/Peripherals.

IP Properties Port number 6004. Does not normally need to be changed. Select required protocol, UDP or TCP. Controller systems Select if Transparent/Passthrough mode is to be connected to Controller 1 or Controller 2. Mode Select communication mode Transparent or Passthrough. In the field Timeout the number of seconds is specified, after which the operator terminal will return from the Passthrough status and start functioning normally again if no Passthrough communication has occurred.
20-40 ABB, 1SBC159002M0202

Network Communication

Web Server
This a function to configure the www server in the operator terminal. A web server is a program, which by using the client/server model and Hypertext Transfer Protocol (HTTP) handles files building web pages for Internet users (who have computers which have HTTP clients). See the chapter Network Functions in the Operator Terminal.

Port number

The default setting is 80 and does not normally need to changed.


Account name

Selecting an account name protects the HTML pages in the operator terminal with a password. The accounts are defined under Setup/Network/Accounts.

Setup/Network/Accounts

Account name

The account name you entered in the previous dialog is shown here.

ABB, 1SBC159002M0202

20-41

Network Communication
Password

Enter a password. All HTML pages are protected with this Account name/Password. The following are added to the HTML page header to protect a separate page with another Account name/Password. <HTML> <HEAD> <META name=superuser content=12345>* </HEAD> The rest of the HTML code is placed here. </HTML> * superuser is the account name and 12345 is the password.
Note: The above must be used in the header. The parameters Name and Content must correspond to an account name and password.

20-42

ABB, 1SBC159002M0202

Network Communication

20.5 Network Accounts


Under Setup/Network/Accounts you define who is allowed to access the services in the operator terminals which require login. The function is used to create an authorization check, i.e. you create a name and password for different users who are to have access to different services in the network. Account names and passwords must not contain national characters.

Setup/Network/Accounts

In accordance with the image the account name Superuser is authorized for all network functions requiring login. You can update, add on, and remove accounts from the list with the buttons. Account name Enter a name (user name) for the account. Password Enter a password for the account. Accessrights
Serial connect

The user can use serial connection (PPP). Should be checked.


Access terminal controller

The user can implement RUN/TRANSFER switching through TCP/IP. Should be checked.
FTP access

The user can read from the FTP server (the operator terminal).
FTP write

The user can write to the FTP server. Also requires FTP Access.
ABB, 1SBC159002M0202 20-43

Network Communication

20-44

ABB, 1SBC159002M0202

Network Functions in the Operator Terminal

21 Network Functions in the Operator Terminal


Not applicable for CP501,CP502 and CP503. This chapter describes operation of the functions for FTP server, SMTP client, terminal applet and Web server function in the operator terminal. For respective function settings, refer to the chapter Network Communication.

21.1 FTP Server


FTP (File Transport Protocol), a standard Internet protocol, is the easiest way of exchanging files between computers on the Internet. FTP is an application protocol which uses the Internets TCP/IP protocols. FTP is normally used to transfer web pages from their creators to the server where everybody on the Internet can access them. It is also suitable for downloading programs and other files from another server (operator terminal) to your own computer. When the operator terminal functions as an FTP server it is possible to upload/ download files to/from the operator terminal. To upload/download files it is necessary to have a FPT client program in the PC, e.g. CP Tools, Internet Explorer, Windows Commander or some other standard FTP program. Some libraries show files with a length of 0. This means that the file contains dynamic data, i.e. the size of the file changes. This also means that even if the length is 0 the file may not be empty. The operator terminal does not use the date on the files, which means that the time shown is not relevant. The operator terminal can save the content in all files, which can be reached through FTP with different types of delimiter characters (separators). The content in the files can be separated either with [TAB] or the characters ; or :. The settings for FTP delimiter characters are made under Setup/Terminal Options in the programming tool. The file name must not contain national characters. The operator terminals FTP server can handle a maximum of three connected clients at the same time.
Note: Files in the different directories use up the project memory. Information on the available project memory is included in the file info.txt in the root directory.

ABB, 1SBC159002M0202

21-1

Network Functions in the Operator Terminal

Root Library
The root directory (current operator terminal name) contains the following directories, ALARMS, HTML, RECIPES and TRENDS. For CP555 there is also an IMAGES directory, see the section The IMAGES Directory. Only the directories the user (account) has access to are shown. There is also info.txt here containing information on the operator terminal. The file info.txt The file info.txt contains information on the operator terminal in accordance with the following example: CP513 Boot version: 4.07 Firmware version:V1.0 Build number: 320 Driver1: COMLI V3.00.4 Driver2: MODBUS Master V3.00.4 Dynamic memory: 304,237 bytes available Project memory: 184,700 bytes available IP address:192.168.98.1 Nothing can be deleted from the root directory, even if you have write access. If the directories HTML, RECIPE or IMAGES (CP555) are deleted, the contents in respective directories will be deleted but the directories will remain.

The ALARMS Directory


The directory is only shown if there is an alarm defined in the operator terminal and the operator terminal is in RUN mode. The alarm groups are shown as SKV files with 0 length. This does not need to mean that there are no alarms. The files can only be read. To read a file it must be opened with the attribute READ. READWRITE will cause an error. File Format Each alarm is stored on a line ending with [carriage return][linefeed]. Syntax for CP513 and larger operator terminals. The selected delimiter character here is the ; semicolon. status;activedate;activetime;inactivedate;inactivetime;ackdate;acktime;alarmtext All fields are always there. If the alarm is not acknowledged, the fields for date and time will be empty.

21-2

ABB, 1SBC159002M0202

Network Functions in the Operator Terminal Syntax for other operator terminals: status;activedate;activetime;alarmtext The file ends with END [carriage return][line feed]

The HTML Directory


The data files handled by the web server are stored here. You can create subdirectories. The start file (the HTML page shown as the first web page in the web browser) must always be called index.htm. By default, the operator terminals diagnostic page is set as index.htm. If another start page is required, replace the index.html file. File Format The file format depends on the type of file. A standardized file format such as HTML etc. is used here.

The RECIPE Directory


The different recipes in recipe directories are shown as SKV files with 0 length, which does not mean that the recipe is empty. It is possible to both read and write files in this directory. File Format Each recipe value is stored on a line ending with [carriage return][linefeed]. The file contains the following information: device;value;datatype;length The file ends with END[carriage return][linefeed] If the data type is array (AR), one value will be shown on each line. The first line will be shown as above. The following lines will only contain ;value

ABB, 1SBC159002M0202

21-3

Network Functions in the Operator Terminal Data Types for Analog Signals
Type empty + L L+ RB RF SB LB SH LH RD AR ST BI Explanation Signed 16-bit Unsigned 16-bit Signed 32-bit Unsigned 32-bit BCD format float Float with exponent BCD format 16-bit BCD format 32-bit Hexadecimal 16-bit Hexadecimal 32-bit Float Array of signed 16-bit String of characters Bit 0 or 1

The TRENDS Directory


The directory is only available if there are trends defined in the operator terminal and the operator terminal is in RUN mode. The trend objects are shown as SKV files with 0 length. It is only possible to read files. To read a file it must be opened with the attribute READ. The attribute READWRITE will cause an error. Curve 1 must be used for a trend to be valid. File Format Each sampling is stored on a line ending with [carriage return][linefeed]. The file contains the following information: date;time;value1;value2;value3;value4;value5;value6;OFF The file ends with END[carriage return][linefeed] Only the number of curves in the trend are transferred, i.e. no empty fields.

21-4

ABB, 1SBC159002M0202

Network Functions in the Operator Terminal OFF is included in the sampling in the following cases, and indicates a pause in the sampling. When the operator terminal enters run mode, a copy of the last stored sampling is added. The copy is marked with OFF. As soon as valid values reach the operator terminal, new values are stored without OFF marking. When the Trend-enable signal is used, should the signal go low the sample is marked with OFF. When the signal goes high a new value is stored without OFF marking. When you transfer stored trend values through FTP or CPTools, a sample will be stored with OFF marking. When the transfer is ready a new sample is stored without OFF marking.

The IMAGES Directory


Only applicable for CP555. Images in the format bmp can be saved in the IMAGES directory. The bitmap images are presented in Static symbol objects in the operator terminal in RUN mode. It is only possible to write, replace and delete files in this library. However, it is not possible to create sub-directories. If you check the box Use dynamic bitmaps for a static symbol object, the operator terminal will collect the specified bitmap file (name.bmp) from the directory IMAGES in the operator terminals file system. The bitmap image is presented on the operator terminals display in RUN mode. The image to be presented must be transferred to the directory through FTP. It will then be possible through FTP to add, replace, or remove dynamic bitmap images on the operator terminals display by writing over, entering or deleting bmp files in the IMAGES directory. The image for a dynamic bitmap image object is only shown in the operator terminal in RUN mode. The bitmap images in the IMAGES directory are not shown (available) in the programming tool..
Note: Define the same X and Y size for the bmp image in the directory as for the symbol object defined in the programming tool. It is not possible to read (collect) files from the IMAGES directory. When transferring a bmp file to the IMAGES directory, the transfer will stop for a short moment when the operator terminal converts the standard bmp format to the operator terminals own bmp format.

ABB, 1SBC159002M0202

21-5

Network Functions in the Operator Terminal

21.2 SMTP Client


SMTP (Simple Mail Transfer Protocol) is a TCP/IP protocol used to send and receive e-mail. Since SMTP has limited functions to store received messages it is normally used together with one or two other protocols, POP3 or IMAP. These protocols allow the user to save messages in a server mailbox from where they can be collected later. This means that SMTP is normally used to send e-mail, and POP3 or IMAP to receive messages stored in the local server. The operator terminals can function as a SMTP client, i.e. send e-mail. To use the SMTP client function it is necessary to have an e-mail server. You can use your Internet providers e-mail server. It is also possible to use a local e-mail server. See also the section Network services in the chapter Network Communication.
E-mail server

SMTP

POP3 PC

Operator terminal

SMTP client

POP3 client e.g. Microsoft Outlook Express

21-6

ABB, 1SBC159002M0202

Network Functions in the Operator Terminal

21.3 Terminal Mirroring the Terminal Applet


On the Internet, where the object-oriented language Java is used, an applet is a small program which can be downloaded and run in a web browser via a web page. Terminal applets can perform interactive animations, direct calculations or other simple tasks without having to send a user request back to the server. From a PC, it is possible to reflect the operator terminal in Microsoft Internet Explorer by the applet presenting an image of the operator terminal on the screen. The image is updated at regular intervals as requested. The terminal mirroring has the same function as the actual operator terminal. The operator terminal can be activated by clicking with the mouse on the buttons in the operator terminal image or with the keyboard. On an operator terminal with a touch screen, you click directly on the screen. Text strips for the operator terminal are not shown in the applet. The applet is compressed in a cab file. The first time the applet is used, it is downloaded and installed in the browser. This can either be done from the operator terminals file system or locally from the computers hard disk. The cab file shall not be decompressed manually; this is done in the browser. For the applet to be able to be installed and run from the operator terminal, the cab file must be transferred to the operator terminals HTML directory via FTP. A web page (htm file) that contains html code for loading and running the applet (see the following example) is also transferred to the operator terminals HTML directory. Moreover, the web server must be activated in the operator terminal. Connection to the web server in the operator terminal is accomplished by entering the operator terminals host name or IP address and the name of the web page in the web browser (for example, terminal1.domain.com/terminal1.htm or 192.168.98.75/terminal1.htm). When the web page has been downloaded, there should be a operator terminal symbol with the text Terminal Interaction. The Applet application starts when you click the symbol. At startup, the applet connects to the network service Terminal Controller (port number 6001 is preset). The port number can be configured in html code via an applet parameter. If login is defined for the function Terminal Controller, a login dialog box is displayed. User data that is entered is verified against the users defined under Setup/Network/ Accounts.

ABB, 1SBC159002M0202

21-7

Network Functions in the Operator Terminal If you choose to run locally, the cab file and the htm file can be placed together at an arbitrary location on the hard disk. The operator terminals host name (for example, terminal1.domain.com or 192.168.98.75, see applet parameter below) must then also be specified in html code. In this case, the cab file is loaded directly from the hard disk, and the web server is not used. In other respects, it is run in the same way as above, i.e. by loading the htm file. The cab file is thus loaded the first time only or when the applet needs to be reinstalled in the browser.

Signed Applet
Because the applet is signed with a software certificate, it can be installed in the browser. The first time the certificate is used (i.e. the first time a signed applet is downloaded) a security warning is displayed. In this warning, you are informed that the applet has been signed with a certificate. You must answer Yes to the security warning for the applet to be installed. You can also choose to always trust content signed with this certificate. If this is done, the certificate is added to the browser and the security warning will not be displayed in the future. In Internet Explorer under Tools/Internet Options/Temporary Internet Files/Settings/View Objects, you can view the applets installed in the browser. You can also view version information and when the applets were installed. Additionally, applets can be uninstalled here. Example <HTML> <APPLET code=COM.cp.hmi.terminalapplet.CP513.TERMAPPL width=117 height=101> <PARAM NAME=useslibrary VALUE=Terminal Applet CP513> <PARAM NAME=useslibrarycodebase VALUE=cp513appl.cab> <PARAM NAME=useslibraryversion VALUE=0,1,20,2> </APPLET> </HTML>

21-8

ABB, 1SBC159002M0202

Network Functions in the Operator Terminal The applets appearance and behavior can be controlled with the following applet parameters in html code:
Parameter TermCtrlPort Background Title HostNameInTitle Description Specifies port number for network service Terminal Controller Default value 6001

Color behind operator terminal image on web B7F58D page in the format RRGGBB (hexadecimal 00 - FF) (light green) Title in applet window Specifies if the host name will be included in the title, for example Terminal view - 192.168.98.1 or Terminal view - Terminal1.domain.com Start value for update interval in seconds Label in applet view Character size of label Specifies if label will be displayed in bold font Label foreground color in the format RRGGBB (hexadecimal 00 - FF) Label x-position in applet view Label y-position in applet view Specifies if the little operator terminal image will be drawn in the browser Icon x-position in applet view Icon y-position in applet view Feedback of mouse input Feedback of keyboard input Specifies operator terminals host name, for example, 192.168.98.1 or terminal1.domain.com Specifies if execution is with screen data always packed. If this parameter is not used, execution is unpacked for Ethernet and packed for PPP. Terminal view YES

ScrUpdInterval Label LabelFontSize LabelBoldStyle LabelColor LabelXPos LabelYPos Icon IconXPos IconYPos MouseInput Feedback KeyboardInput Feedback AppletHostname ForcePacking

10 Terminal Interaction 12 NO 000000 (black) 5 15 YES 5 17 YES NO (the local address is used) NO

ABB, 1SBC159002M0202

21-9

Network Functions in the Operator Terminal

Feedback of Input and Wait Cursor


Feedback of input and the wait cursor is controlled by the applet parameters MouseInputFeedback and KeyboardInputFeedback. The parameters prevent queuing of mouse/keyboard input, i.e. they make sure that the applet is updated between each input. The original values are YES for MouseInputFeedback (mouse input is not queued) and NO for KeyboardInputFeedback (keyboard input is queued). Feedback of mouse input entails activation of the wait cursor. Deactivation of keyboard input enables more effective input from the keyboard. If the parameter is not set from the html page, the above behavior is attained. For increased security pertaining to keyboard input, KeyboardInputFeedback is set to YES. If you would prefer not to have a wait cursor, both values are set to NO, i.e. MouseInputFeedback set to NO. This entails that all input is queued and can come through without the applet being updated between inputs.
Note: If the parameter Background value is used, a value corresponding to an RGB color code must be entered. The field must not be left empty.

Note: It is not possible to set an object to one momentarily with the function Set digital object momentarily for function keys and arrow keys in operator terminal mirroring.

Activate Java Console


In Microsoft Internet Explorer, it can be useful to activate the Java console function when troubleshooting. Select Tools/Internet Options in Internet Explorer, click Advanced and select the box for Activate Java console. Restart the browser. Also check that the latest version of Microsoft Virtual Machine is installed on the PC. Download the latest version, if necessary, from the Microsoft web page www.microsoft.com (search for Virtual Machine).

21-10

ABB, 1SBC159002M0202

Network Functions in the Operator Terminal

21.4 Web Server


A web server (www server) is a program which, by using the client/server model and Hypertext Transfer Protocol (HTTP), handles files building web pages for Internet users (who have computers which have HTTP clients). Each computer (operator terminal) on the Internet containing a web page must have a web server program. SSI Script A SSI (server-side include) is a variable value (e.g. a file) which a server can include in a HTML file before it is sent. If you create a web page you can add on a file in the HTML file as follows:
<!--#echo var=LAST_MODIFIED-->

The following SSI scripts are supported in order to be able to show certain values from the operator terminal in HTML pages.
Name get_ipaddr.fn Parameters None Explanation Shows the web servers IP address. Used in the CGI script. Shows the web servers domain name. Shows the date in the operator terminal. Example <!--#exec cgi=get_ipaddr.fn-->

get_domainname.fn None

<!--#exec cgi=get_domainname.fn--> <!--#exec cgi=/get_date.fn MM/ DD/YY-->

get_date.fn

Date format e.g. MM/DD/YY YY-MM-DD The operator terminal settings are used if none are given. Time format, e.g. HH:MM:SS HH:MM The operator terminal settings are used if none are given.

get_time.fn

Shows the time in the operator terminal.

<!--#exec cgi=/get_time.fn HH:MM-->

ABB, 1SBC159002M0202

21-11

Network Functions in the Operator Terminal


Name get_device.fn Parameters X, Y, Z X=device Y=presentation format (see separate table) Z=length Explanation Shows the device value (a signals value) from the controller. Example <!--#exec cgi= /get_device.fn D5--> <!--#exec cgi= /get_device.fn D5LH--> <!--#exec cgi= /get_device.fn M7--> <!--#exec cgi= /get_device.fn D9ST,30--> <!--#exec cgi= /get_device.fn D0AR,10--> <!--#exec cgi=/get_diag.fn-->

get_diag.fn

None

Shows the operator terminals diagnostic page.

get_mode.fn

None

Shows which <!--#exec cgi=/get_mode.fn--> operation mode the operator terminal is in: RUN/ PROG/SETUP/ TRANSFER

Presentation format for get_device.fn


Name None + L L+ RB RF RD None None None None None None None Length Explanation Shows the value as signed 16-bit. Shows the value as unsigned 16-bit. Shows the value as signed 32-bit. Shows the value as unsigned 32-bit. Shows the value as 32-bit float BCD. Shows the value as 32-bit IEEE float. Shows the value as 32-bit IEEE float without exponent. Shows the value as 16-bit BCD. Example <!--#exec cgi=/get_device.fn D1--> <!--#exec cgi=/get_device.fn D3+--> <!--#exec cgi=/get_device.fn D7L--> <!--#exec cgi=/get_device.fn D2L+--> <!--#exec cgi=/get_device.fn D10RB--> <!--#exec cgi=/get_device.fn D8RF--> <!--#exec cgi=/get_device.fn D1RD-->

SB

None

<!--#exec cgi=/get_device.fn D3SB-->

21-12

ABB, 1SBC159002M0202

Network Functions in the Operator Terminal


Name LB SH LH AR ST None None None The number of values to be shown. Number of characters in the string. Length Explanation Shows the value as 32-bit BCD. Shows the value as 16-bit HEX. Shows the value as 32-bit HEX. Shows the values as signed 16-bit. Example <!--#exec cgi=/get_device.fn D7LB--> <!--#exec cgi=/get_device.fn D2SH--> <!--#exec cgi=/get_device.fn D1LH--> <!--#exec cgi=/get_device.fn D5AR,10-->

Shows a number of <!--#exec cgi=/get_device.fn D9ST,30--> registers as a string.

Automatic Updating The HTML page is not normally updated automatically, but by adding the following code in the HTML page this creates automatic updating.
<meta http-equiv=RefreshCONTENT=5>

CONTENT indicates how often the page will be updated (in seconds). Example of HTML Page with SSI Script
<HTML> <HEAD> <meta http-equiv=RefreshCONTENT=5> </HEAD> <!--#exec cgi="/get_ipaddr.fn"--><BR> <!--#exec cgi="/get_domainname.fn"--><BR> <BR> Some IO:<BR> <!--#exec cgi="/get_date.fn MM/DD/YY"--><BR> <!--#exec cgi="/get_time.fn HH:MM"--><BR> D5 = <!--#exec cgi="/get_device.fn D5"--><BR> M7=<!--#exec cgi="/get_device.fn M7"--><BR> D9 (string) = <!--#exec cgi="/get_device.fn D9ST,30"--><BR> D0-D9 =<!--#exec cgi="/get_device.fn D0AR, 10"--><BR> D8013 = <!--#exec cgi="/get_device.fn D8013"--><BR> </HTML>

ABB, 1SBC159002M0202

21-13

Network Functions in the Operator Terminal

CGI Script CGI (Common Gateway Interface) is a standard method for a web server to handle data to and from the user. When the user requests a web page (by clicking on a link or entering the address in the web browser) the server sends back the required page. If you fill in a dialog on the web page and send it, it is normally received by an application program. The server sends a confirmation. The method of sending data between server and application is called CGI, and is part of the HTTP protocol.

21-14

ABB, 1SBC159002M0202

Network Functions in the Operator Terminal The following CGI script is supported in order to change values in the operator terminal:
Name set_date.fn Parameters Date format, e.g. MM/DD/YY YY-MM-DD The operator terminal settings are used if none are given. Explanation Used together with FORM to set the date in the operator terminal. Example <FORM ACTION="http://<!--#exec cgi="/get_ipaddr.fn"-->/ set_date.fn" METHOD="POST"> <INPUT SIZE=10 MAXLENGTH=10 NAME="YY:MM:DD"> <INPUT TYPE="submit" VALUE="Submit"> </FORM> <FORM ACTION="http://<!--#exec cgi="/get_ipaddr.fn"-->/ set_time.fn" METHOD="POST"> <INPUT SIZE=10 MAXLENGTH=10 NAME="HH:MM:SS"> <INPUT TYPE="submit" VALUE="Submit"> </FORM> <FORM ACTION="http://<!--#exec cgi="/get_ipaddr.fn"-->/ set_device.fn" METHOD="POST"> <INPUT SIZE=10 MAXLENGTH=10 NAME="D0L"> <INPUT TYPE="submit" VALUE="Submit"> </FORM> <FORM ACTION="http://<!--#exec cgi="/get_ipaddr.fn"-->/ set_mode.fn" METHOD="POST"> <SELECT NAME="MODE"> <OPTION VALUE="RUN">Run <OPTION VALUE="PROG">Prog <OPTION VALUE="SETUP">Setup <OPTION VALUE="TRANSFER">Transfer </SELECT> <INPUT TYPE="submit" VALUE="Submit"> </FORM>

set_time.fn

Time format, e.g. HH:MM:SS HH:MM The operator terminal settings are used if none are given. XY X = device Y = presentation format (see separate table) e.g. D0L+D5SH

Used together with FORM to set the time in the operator terminal.

set_device.fn

Used together with FORM to set a device (a signal) in the controller.

set_mode.fn

RUN PROG SETUP TRANSFER

Used together with FORM to change the operator terminals operation mode.

ABB, 1SBC159002M0202

21-15

Network Functions in the Operator Terminal


Name push_key.fn Parameters (see separate table) Explanation Used to simulate pressing a key in the operator terminal. Example <FORM ACTION="http://<!--#exec cgi="/get_ipaddr.fn"-->/ push_key.fn" METHOD="POST"> <SELECT NAME="F2"> <OPTION VALUE="SET">Set <OPTION VALUE="RESET">Reset <OPTION VALUE="TOGGLE">Toggle </SELECT> <INPUT TYPE="submit" VALUE="Submit"> </FORM> <FORM ACTION="http://<!--#exec cgi="/get_ipaddr.fn"-->/ push_key.fn" METHOD="POST"> <INPUT SIZE=1 MAXLENGTH=1 NAME="Key"> <INPUT TYPE="submit" VALUE="Submit"> </FORM>

Presentation format for set_device.fn


Name None + L L+ RB RF RD SB LB SH LH ST Explanation Sets the value as signed 16-bit. Sets the value as unsigned 16-bit. Sets the value as signed 32-bit. Sets the value as unsigned 32-bit. Sets the value as 32-bit float BCD Sets the value as 32-bit IEEE float Sets the value as 32-bit IEEE float without exponent. Sets the value as 16-bit BCD. Sets the value as 32-bit BCD. Sets the value as 16-bit HEX. Sets the value as 32-bit HEX. Sets a number of registers as a string.

21-16

ABB, 1SBC159002M0202

Network Functions in the Operator Terminal Parameters for push_key.fn


Parameter KEY Explanation Can assume the values: A-Z 0-9 ACK LIST MAIN PREV BACKSPACE ENTER UP DOWN LEFT RIGHT Example <FORM ACTION="http://<!--#exec cgi="/ get_ipaddr.fn"-->/push_key.fn" METHOD="POST"> Key = <SELECT NAME="Key"> <OPTION VALUE="ENTER">Enter <OPTION VALUE="A">A <OPTION VALUE="B">B <OPTION VALUE="1">1 <OPTION VALUE="2">2 <OPTION VALUE="3">3 <OPTION VALUE="UP">Up <OPTION VALUE="DOWN">Down <OPTION VALUE="LEFT">Left <OPTION VALUE="RIGHT">Right <OPTION VALUE="PREV">Prev </SELECT> <INPUT TYPE="submit" VALUE="Submit"> <P> </FORM> <FORM ACTION="http://<!--#exec cgi="/ get_ipaddr.fn"-->/push_key.fn" METHOD="POST"> <SELECT NAME="F2"> <OPTION VALUE="SET">Set <OPTION VALUE="RESET">Reset <OPTION VALUE="TOGGLE">Toggle </SELECT> <INPUT TYPE="submit" VALUE="Submit"> </FORM>

F1-F22

Can assume the values: SET RESET TOGGLE

ABB, 1SBC159002M0202

21-17

Network Functions in the Operator Terminal Example of HTML Page with SSI and CGI Script:
<HTML> <FORM ACTION="http://<!--#exec cgi="/get_ipaddr.fn"-->/ set_date.fn" METHOD="POST"> Set date here (YY:MM:DD): <INPUT SIZE=10 MAXLENGTH=10 NAME="YY:MM:DD" VALUE="<!--#exec cgi="/get_date.fn"-->"> <INPUT TYPE="submit" VALUE="Submit"> <P> </FORM> <FORM ACTION="http://<!--#exec cgi="/get_ipaddr.fn"-->/ set_time.fn" METHOD="POST"> Set time here (HH:MM:SS): <INPUT SIZE=10 MAXLENGTH=10 NAME="HH:MM:SS" VALUE="<!--#exec cgi="/get_time.fn"-->"> <INPUT TYPE="submit" VALUE="Submit"> <P> </FORM> <FORM ACTION="http://<!--#exec cgi="/get_ipaddr.fn"-->/ set_device.fn" METHOD="POST"> D0 = <INPUT SIZE=10 MAXLENGTH=10 NAME="D0" VALUE="<!--#exec cgi="/get_device.fn D0"-->"> <INPUT TYPE="submit" VALUE="Submit"> </FORM> </HTML>

21-18

ABB, 1SBC159002M0202

Network Functions in the Operator Terminal

Save HTML Files with FTP


To transfer and save HTML files to the operator terminal, a standard FTP client program must be used, e.g. CP Tools FTP client (See the section FTP Server). The files are saved in (transferred to) the HTML directory in the operator terminals file system. The name of the files should be in DOS 8.3 format, i.e. the name has max 8 characters and the extension is htm.
Note: The file INDEX.HTM must always be used (must be available in the operator terminal).

ABB, 1SBC159002M0202

21-19

Network Functions in the Operator Terminal

21.5 Recommendations and Limitations for Network Communication


To make the communication between operator terminals and controllers in a operator terminal network (BDTP network) quick and efficient it is important to optimize the transfer of signals in the network. Read the chapter Efficient communication and carefully follow the rules described there to optimize the network functionality in the operator terminals. The maximum number of signals that can be transferred in a operator terminal network is 3000.

Example 1
A operator terminal network consists of three clients and one server. Each client has access to 1000 signals, i.e. the server can handle (transfer to the different clients) 3000 signals. This is also the case even if the address areas for the signals in the clients correspond. Accordingly, it is not possible to transfer more signals in the operator terminal network.

Example 2
The servers task is to collect together the addresses the clients are asking for. Thereafter the server asks for the status in the controller, which is then distributed to respective clients. Example A operator terminal network (BDTP network) consists of 1 server and 5 clients. Each operator terminal contains 50 alarms with the same address. For the server this means that 50 addresses must be checked with the controller, but the server will then also distribute 50 alarms to the respective client (5X50). The server therefore has 250 alarms to distribute.

Transparent Mode via Ethernet


For the function Transparent mode (see the chapter Communication) to function with communication through Ethernet (the TCP/IP protocol) the following requirements must be fulfilled. The driver and its programming tool must support communication in Transparent mode. For information, refer to the manual for respective driver and controller. If the programming tool for the controller does not support project transfer through TCP/IP a PC program to convert the COM port to TCP/IP must be used in the PC to communicate with the controller in Transparent mode through the TCP/IP network.
21-20 ABB, 1SBC159002M0202

Network Functions in the Operator Terminal

Passthrough Mode via Ethernet


With the program CP Tools Connect (an icon in the program group CP Tools) it is possible to activate/deactivate a communication port for communication in Passthrough mode (Transparent mode if this is supported by the drivers, see the chapter Communication). For the function Passthrough mode (see the chapter Communication) to function with communication through Ethernet (the TCP/IP protocol), the following requirements must be fulfilled. If the programming tool for the controller does not support project transfer through TCP/IP, a PC program to convert the COM port to TCP/IP must be used in the PC which is to communicate with the controller in Transparent mode through the TCP/IP network. For further information refer to the section on Transparent and Passthrough mode, to the manual for CP Tools and to the manuals for the actual drivers.

No Protocol Mode
The function No protocol mode, when one or more operator terminals are used as communication interface (see the chapter Communication), is not recommended in a large operator terminal network (BDTP network). A large network refers to a BDTP network, where a large number of signals are transferred between server and clients. Control registers and control signals are transferred when the operator terminal is used as a communication interface, and these influence the communication time and adversely affect the performance of the network. See the Efficient communication.

Packaging of Signals
To make the communication between operator terminals and controllers, in for example a network, quick and efficient it is important to optimize the transfer of signals in the network. Read the chapter Efficient communication and carefully follow the rules described there to optimize the network functionality in the operator terminals. This applies to all stations in the operator terminal network. If the packing of signals is not used this may result in an increase in the updating times.

ABB, 1SBC159002M0202

21-21

Network Functions in the Operator Terminal

Alarm Handling
The operator terminal network is a Client/Server network. Servers provide data, e.g. alarm signals, to clients. A large number of different signals influence the communication time between operator terminals and controllers in the network, which means that the number of these signals should be limited. For further information, see the chapter Efficient communication. The number of alarm signals the network receives must not exceed the number the server can handle in the complete network. One server can handle up to 300 alarms, depending on the application and operator terminal. This means that the network must not contain more than a total of 300 alarms.

Index in Network Client


Index addressing, which makes it possible to select in run mode from which register an object is to collect the shown value, see the chapter Index Addressing, cannot be used in operator terminals functioning as BDTP clients. BDTP clients only use the BDTP servers index register. If, however, a operator terminal which is a BDTP client also has a local controller, normal handling of index addressing is applicable in accordance with the chapter Index Addressing.

21-22

ABB, 1SBC159002M0202

LEDs

22 LEDs
This chapter is applicable for operator terminals with LEDs. The operator terminal has built-in LED, which are connected to a register defined by double-clicking LEDs in the Project Manager. The contents in the register determine the color, and appropriate blinking function of the LEDs according to the following table.
Register value (Hex) 00 01 02 11 12 21 22 31 32 41 42 Register value (Dec) 0 1 2 17 18 33 34 49 50 65 66 Blinking frequency (Hz) 5 5 2.5 2.5 1.2 1.2 0.6 0.6 Color None Green Red Green Red Green Red Green Red Green Red

ABB, 1SBC159002M0202

22-1

LEDs

22-2

ABB, 1SBC159002M0202

Function Keys

23 Function Keys
This chapter describes how function keys are used, and how to convert the arrow keys on the operator terminal to function keys. A function key can be configured to control and change the values of devices in the controller. The function key can also be assigned to switch block, start a Macro or other functions like load recipe, login and log out.
Note: It is only possible to activate two signals connected to function keys at the same time. This entail that if more than two function keys are pressed at the same time, only the first two will be activated.

F1

F5

F2

F6

F3

F7

F4

F8

F9

F10

F11

F12

F13

F14

F15

F16

The operator terminals have a different number of built-in function keys, depending on the operator terminal model.

ABB, 1SBC159002M0202

23-1

Function Keys

23.1 Definitions
There are two ways of defining function keys; globally and locally. Global function keys are defined and used in the complete application, i.e. they are valid in all blocks. Local function keys are defined and used in one block. A global definition is always accessible in run mode, on the assumption that the block shown in the display does not have any local definitions for the actual function key. Local definitions have a higher priority than global definitions. Global definitions are defined by doubleclicking Function keys in the Project Manager. Local function keys are defined under the Local function keys tab in the block properties dialog for the current block..

23-2

ABB, 1SBC159002M0202

Function Keys

Function I/O

Description The signal activated by the function key. (The subsequent field is used to specify an index register and signal format. See the chapters Index Addressing and Signal format.) With the function Event it is possible to select how the key will activate the given signal. Under Event there are the following alternatives: Momentary means that the signal is set to one as long as the key is active. Toggle means that the signal is set to one or reset alternately when the key is activated. Set to one means that the signal is set to one when the key is activated, and remains set to one. Reset means that the signal is reset when the key is activated, and remains reset. Grouped means that all signals belonging to a function key with the relevant group number are reset. The group number is given in the field Group No. A maximum of 8 function keys can be included in a group. Set Analog means that the analog signal linked to the function key is allocated the value given in the field Value. Inc analog means that the analog signal linked to the function key will increase the value by the value given in the field Value. Dec analog means that the analog signal linked to the function key will decrease the value by the value given in the field Value. Allocates maneuverable analog object selected with the cursor the entered value. Increases the value for the selected maneuverable analog object with the entered value or sets the selected maneuverable digital object to one. Decreases the value for the selected maneuverable analog object with the entered value or resets the selected maneuverable digital object. Sets the selected digital object to one as long as the key is pressed. Jump to block with the given name/number. The function keys can be defined with a security level. The security level means that the operator must login with a password for the same or higher security level to be able to use the function key.

Event

Set analog object to Increment analog object with or set digital object to one Decrement analog object with or resets digital object Set digital object momentarily Jump to block Security level

ABB, 1SBC159002M0202

23-3

Function Keys
Function Other function Description The function or touch key is linked to one of the functions in the list of options. See separate table Other functions for function and touch keys. The selected macro is run. See the chapter Macros. With the button Edit macro you change the name of the selected macro or change the macro event for the selected event.

Macro

Other Functions for Function and Touch Keys


Function Load recipe Save recipe Delete recipe Append recipe Login to specified security level Logout Scroll one page up Scroll one page down Zoom up text size Zoom down text size Save recipe on memory card Load recipe from memory card Erase recipe on memory card Save project on memory card Load project from memory card Description Collect recipe from the memory in the operator terminal. Save recipe to the memory in the operator terminal. Delete recipe from the memory in the operator terminal. Adds signals and their values from the current block to an existing recipe. See the chapter Recipes Login. See the chapter Passwords. Logout. Scroll the page in text block and in alarm list. Scroll the page in text block and in alarm list. Increase text size in the alarm list. Reduce text size in the alarm list. Save recipe in the memory card defined as backup. Collect recipe from the memory card defined as backup. Delete recipe from the memory card defined as backup. Save project in the memory card defined as backup. Collect project from the memory card defined as backup.

Change login password Change password.

Erase project on mem- Delete project from the memory card defined as backup. ory card Acknowledge alarm Show alarm list Acknowledge alarm in the alarm list. Show alarm list (block 990).

23-4

ABB, 1SBC159002M0202

Function Keys
Function Jump to info block connected to the alarm List alarm groups Return to previous block Description Jump to a block linked to the alarm. Applicable for selected alarm line or in the alarm list. See the chapter Alarm Management. Select from which alarm group the alarm should be shown in the alarm list. Show previous block functions in nine levels backwards. When block 0 is shown it is not possible to jump to the previous block with this function. Block jumping cannot be made with this function if log on is made in run mode at a higher security level than the current level. Shows the start block, block number 0. Shows min and max values for analog object in the Text block in operating mode. Corresponds to pressing the Enter key. Shows the diagnostics page. See the chapter Operator Terminal Functions. Initiates connection during serial TCP/IP connection. Disconnects serial TCP/IP connection. Edit recipe directory in the operator terminal. See the chapter Recipes. Create recipe directory in the operator terminal. See the chapter Recipes. Delete recipe directory in the operator terminal. See the chapter Recipes.

Jump to main block (block 0) Show object info Enter Show diagnostic page TCP/IP Connect TCP/IP Disconnect Change recipe directory Make recipe directory Delete recipe directory

23.2 Jump to Block with Function Keys


This function makes it possible to use function keys to jump to blocks without having to use Display signal. When the key is defined, locally or globally, you select Jump to block in the select list. Changing blocks through function keys is the quickest way of changing blocks, and does not occupy digital signals in the controller.

ABB, 1SBC159002M0202

23-5

Function Keys

23.3 Joystick Function


Does not apply to CP501, CP551, CP552, CP554 and CP555. The joystick function makes it possible to use the arrow keys as function keys. Select Setup/ System Signals, and type the command AK and an address on the command line, for example, AKM100 (command AK and memory cell M100).

Memory cell M100 is the enable signal and the following 4 memory cells have functions according to the following control blocks.
Memory cell Mn0 Mn1 Mn2 Mn3 Mn4 Description Activated. The arrow keys are deactivated. Dectivated = normal function. Left arrow Down arrow Up arrow Right arrow

If you press on an arrow when the enable signal is on, the memory cell corresponding to the key you press will be set to one. When the enable signal is set to one the arrow keys will not have their normal functions.

23-6

ABB, 1SBC159002M0202

Function Keys

Example
The following example can be used to switch between joystick function and normal function. Create a text block. Enter the static text JOYSTICK. Create a digital object as shown in the figure below:

Click Enable operator input under the tab Access.

Click OK.

ABB, 1SBC159002M0202

23-7

Function Keys

The text block after making the settings in the example.

23-8

ABB, 1SBC159002M0202

Macros

24 Macros
This chapter describes how macros are used to link several events in the operator terminal together to one single command. If you often perform the same commands and settings in the operator terminal you can use macros to automate these maneuvers, i.e create a macro for them. A macro is activated from local and/or global function and touch keys. Macros are defined by double-clicking on Macros in the Project Manager.

Add Macro
Click Add Macro to display the following dialog. There is no limitation to the number of macros that can be defined.

Specify an arbitrary name for the macro; the name must be unique. When clicking OK, the macro is shown in the list with the specified name.

ABB, 1SBC159002M0202

24-1

Macros

Insert Event or Append Event


Click Insert Event or Append Event to display the following dialog. Each macro can contain max eight different events (lines).

Parameter I/O

Description Specify the signal to be linked to an event in the macro. In the field Event, select which event is to be linked to the signal in the macro. You can choose between the following events: Set - means that the digital signal is set to one and remains set to one when the macro is activated from a key. Decrements analog - means that the analog signal will decrease the value by the value indicated in the field Value when the macro is activated from a key. Reset - means that the digital signal is reset and remains reset when the macro is activated from a key. Sets analog - means that the analog signal is given the value by the value indicated in the field Value when the macro is activated from a key. Toggle - means that the digital signal is set to one and reset alternately when the macro is activated from a key. Increments analog - means that the analog signal will increase the value by the value indicated in the field Value when the macro is activated from a key. Indicate the number of the name of the block to which a block jump is to be made when the macro is activated from a key. A block jump can only be the last event in a macro, since a block jump ends the macro.

Jump to block

24-2

ABB, 1SBC159002M0202

Macros

Edit
Click Edit to change the name of the selected macro or change the macro event for the selected event. You can also double click on the macro or macro event to edit.

Activate Macros
Macros are activated from function or touch keys. Each key (global or local) can be linked to a macro. The desired macro for the key is selected in the dialog for local and global function and touch keys.

ABB, 1SBC159002M0202

24-3

Macros

24-4

ABB, 1SBC159002M0202

Expansion Cards

25 Expansion Cards
Not applicable for CP501, CP502, CP503 and CP551. It is possible to connect different expansion cards in the operator terminal to expand communication possibilities.

25.1 IFC PBDP


The expansion card IFC PBDP allows operator terminals to be connected and communicate as slave units in a PROFIBUS DP network. For card settings refer to the manual for IFC PBDP, and for network settings refer to the manual for configuration of the PROFIBUS DP network.

25.2 IFC MC
With the expansion card IFC MC you can connect a PCMCIA card to the operator terminal. You can select between using the memory card to expand the project memory, to use it as backup, or to move files between operator terminals. For further information, refer to the manual for IFC MC.

25.3 IFC ETTP


The expansion card IFC ETTP is for Ethernet network communication through TCP/IP through twisted-pair cables. For further information, refer to the manual for IFC ETTP.

25.4 IFC PI
IFC PI is an expansion card which makes it possible to connect a printer through the parallel port to the operator terminal. The RS232C port on the expansion card cannot be used for external communication. For further information, refer to the manual for IFC PI.

ABB, 1SBC159002M0202

25-1

Expansion Cards

25-2

ABB, 1SBC159002M0202

Project Transfer

26 Project Transfer
To use a project in the operator terminal it has to be transferred from the PC where it is created to the operator terminal. Connect the PC where the programming tool is installed to the operator terminal with cable CAB5 or CAB6.
PC

Operator terminal
RS422/RS485 RS232C

CAB5 PC

Operator terminal
RS422/RS485 RS232C

CAB6

Note: The cable CAB6 cannot be used for transferring projects between CP501 and PCs. The adapter 232-25-ADP must be used on the RS422 port to transfer with a CAB5 cable. The adapter is supplied with CP501.

ABB, 1SBC159002M0202

26-1

Project Transfer

26.1 Installation of the Operator Terminal


Note: When a project is transferred to CP501 the driver and system program are also transferred. All communication between the PC and CP501 is conducted through CP Programmer.

It is not normally necessary to install the operator terminal. The transfer of projects is controlled from the programming tool. When necessary the transfer parameters are set in the operator terminal in configuration mode under Setup/Port Parameters/ CP Programmer.
Note: The communication settings must be the same in the programming tool as in the operator terminal.

26-2

ABB, 1SBC159002M0202

Project Transfer

26.2 Transfer Properties


The transfer of projects is controlled from the programming tool. In the programming tool under Transfer/Project you can select what is to be transferred.

ABB, 1SBC159002M0202

26-3

Project Transfer

Parameter Percent complete Byte count (Kb) Time elapsed Status Info Retries Terminal Version Test project on send Automatic terminal RUN/ TRANSFER switching Check terminal version Send complete project Partial send options

Description Shows how much of the project has been transferred during the transfer. Shows how many kilobytes have been transferred during the transfer. Shows how much time has elapsed since the functions Send, Receive or Verify were activated. Shows the transfer status and which part of the project is being transferred. E.g. settings, individual blocks, alarm groups, individual symbols and function keys. Shows the defined driver to be transferred to the operator terminal. In the event of transfer problems the programming tool makes a number of retries before the transfer shuts down. When contact has been established with the operator terminal, the current operator terminal type and its system program version number are shown. Automatically tests the project before transfer. The operator terminal is automatically set in transfer mode and returns after transfer to the mode the operator terminal was in before the transfer.

Compares the system program version in the operator terminal with the installed version for the project in the programming tool. Select whether the complete project is to be transferred. Block None: All: From To: Alarms: Symbols: Time channels: LEDs: Macros: Message library: Setup: Function keys: Passwords: Data exchange

No blocks to be sent to operator terminal. All blocks to be sent to operator terminal. Specify an interval of blocks to be sent to the operator terminal. Select if alarms are to be sent to the operator terminal. Select if symbols are to be sent to the operator terminal. Select if time channels are to be sent to the operator terminal. Select if LEDs are to be sent to the operator terminal. Select if macros are to be sent to the operator terminal. Select if message library is to be sent to the operator terminal. Select if configurations under Settings are to be sent to the operator terminal. Select if function keys are to be sent to the operator terminal. Select if passwords are to be sent to the operator terminal. Select if data transfer is to be sent to the operator terminal. All stored trend data in the operator terminal is deleted. All stored recipe data in the operator terminal is deleted.

Delete

Trend data: Recipe data:

26-4

ABB, 1SBC159002M0202

Project Transfer
Parameter Download driver Never: Always: Automatic: Description Driver never downloaded. Driver always downloaded. Driver will be downloaded to the operator terminal when the driver in operator terminal and the defined driver in the current project are not the same, or the same version.For CP501 the parameters are applicable both for the driver and system program. The clock in the PC is transferred to the operator terminal. Transfer the project to the operator terminal with the current settings. The programming tool imports the project from the operator terminal. The current project in the programming tool is overwritten. There must be an active project in the programming tool if you are to upload a project from the operator terminal. Checks that the project in the programming tool is the same as in the operator terminal. Interrupts the transfer in progress. Installation of transfer parameters. Must be the same as in the operator terminal. See table below.

Set terminal clock Send Receive

Verify Stop Settings

ABB, 1SBC159002M0202

26-5

Project Transfer

The communication parameters are set under Transfer/Communication Properties or by selecting Settings in the dialog Project Transfer.
Parameter Use TCP/IP transfer Use serial transfer Use modem transfer Port Baudrate Timeout (ms) Retries Speed set manually Description Select if the project is to be transferred through TCP/IP. See the section TCP/IP Transfer. Select if serial transfer of the project is to be used. See the section Serial Transfer. Select if modem transfer of the project is to be used. See the section Modem Transfer. Select communication port for the PC. Transfer speed (bits/second). Indicate the number of milliseconds between retries. Indicate the number of retries before the transfer shuts down. Only used for older operator terminal versions during modem communication. The transfer speed must then be set manually in the operator terminal and in the programming tool, they must be the same. The operator terminal must also be manually set in transfer mode. Select type of parity control. Number of databits for the transfer. Must be 8 bits. Select the number of stopbits for the transfer.

Parity Databits Stopbits

Note: Running other Windows programs at the same time as a project is transferred can lead to communication errors. This is avoided by closing other programs. Links to signals will be included when transferring blocks.

26-6

ABB, 1SBC159002M0202

Project Transfer

26.3 TCP/IP Transfer


Not applicable for CP501, CP502 and CP503. When transferring through TCP/IP, you must select Use TCP/IP transfer under Transfer/Communication Properties. When you click Send in the dialog Project Transfer the following dialog is shown.

Host address Indicate the IP address of the operator terminal you want to transfer to. Terminal control port Specify the TCP/IP port number for RUN/TRANSFER switching. Does not normally need to be changed. The default setting is 6001. Transfer port Specify the TCP/IP port number for the transfer (project transfer server). Does not normally need to be changed. The default setting is 6000. User ID Specify a user name to be used to verify RUN/TRANSFER switching. Not used if the operator terminal is already in transfer mode. Password Specify a password to be used to verify RUN/TRANSFER switching. Not used if the operator terminal is already in transfer mode. Save password in project Saves the password and user name so that you will not need to give them next time.

ABB, 1SBC159002M0202

26-7

Project Transfer

26.4 Serial Transfer


For serial transfer you select Use serial transfer under Transfer/Communication Properties. When you click Send in the dialog Project Transfer the project will be transferred to the operator terminal.

26.5 Modem Transfer


Not applicable for CP501. To transfer by modem you select Use modem transfer under Transfer/Communication Properties. When you click Send in the dialog Project Transfer the project will be transferred to the operator terminal.

Modem Settings
The settings on the modem connected to the operator terminal should be set as follows: AT &F E0 Q1 &D0 &K0 &W The settings on the modem connected to the PC should be set as follows: AT &F &D0 &K0 &W The table below describes the modem commands.
Command AT &F E0 Q1 &D0 &K0 &W Description Informs the modem that a command is coming. All command strings are preceded by AT. Loads the modems default settings. Echo off. Command answer off. Modem ignores the DTR signal. No flow control. Saves settings.

Note: The modem must be set to autoanswer for the transfer to function.

26-8

ABB, 1SBC159002M0202

Project Transfer

Communication Properties
1. Configure the modem. 2. Set the communication settings under Transfer/Communication Properties in the programming tool. Select Use modem transfer.

3. Select port, and set the transfer speed (baudrate), parity and stopbits. 4. Use the program CP Tools Connect to call up.

ABB, 1SBC159002M0202

26-9

Project Transfer 5. Then select Transfer in the programming tool.

Select Automatic terminal RUN/TRANSFER switching.

26-10

ABB, 1SBC159002M0202

Character Tables

27 Character Tables
Character Table 437
The first characters, 0-127, are the same as in character table 850.

ABB, 1SBC159002M0202

27-1

Character Tables

Character Table 850


Characters 0-127, 0-31 and 127 are reserved as control characters and must not be used.

27-2

ABB, 1SBC159002M0202

Character Tables

Character Table 850


Characters 128-255

ABB, 1SBC159002M0202

27-3

Character Tables

Character Table 852

27-4

ABB, 1SBC159002M0202

Character Tables

Character Table 866

Character Table 869

ABB, 1SBC159002M0202

27-5

Character Tables

Character table for CP501 and CP503

27-6

ABB, 1SBC159002M0202

Character Tables

National characters for CP501


The characters 33-125 in the table on the previous page (character table for CP501 and CP503) are also supported on CP501. CP501 also supports a number of national characters, depending on the selected national settings/character table. Press the Alt key and enter a number from the table below on the numeric portion of your keyboard to view the character on the terminal.
Character table Keyboard combination Alt + 142 Alt + 143 Alt + 153 Alt + 134 Alt + 132 Alt + 148 Alt + 129 Alt + 157 Alt + 152 Alt + 154 Alt + 155 Alt + 145 Alt + 144 Alt + 138 Alt + 136 Swedish German Norwegian/ Danish French

ABB, 1SBC159002M0202

27-7

Character Tables

27-8

ABB, 1SBC159002M0202

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy