CP500 User
CP500 User
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.
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
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
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
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.
ABB, 1SBC159002M0202
1-1
Installation
1.2
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
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
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
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.
2-4
ABB, 1SBC159002M0202
General
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
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.
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
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 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.
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.
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
3-4
ABB, 1SBC159002M0202
3.2
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.
3-6
ABB, 1SBC159002M0202
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.
ABB, 1SBC159002M0202
3-7
3.3
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
TOUT1 CSUM1 BYER DRIVER 2 DIGITAL I/Os ANALOG I/Os I/O POLL PKTS
ABB, 1SBC159002M0202
3-9
3-10
ABB, 1SBC159002M0202
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
ABB, 1SBC159002M0202
4-1
4.1
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.
4.2
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
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
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
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.
ABB, 1SBC159002M0202
4-5
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
ABB, 1SBC159002M0202
4-7
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.
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.
4-8
ABB, 1SBC159002M0202
4.5
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 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
4.6
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.
4-10
ABB, 1SBC159002M0202
ABB, 1SBC159002M0202
4-11
4.7
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.
4-12
ABB, 1SBC159002M0202
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
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:
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
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.
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
4.8
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 LEDs
Double-click on an LED to configure it. For definition of LEDs, see the chapter LEDs.
ABB, 1SBC159002M0202
4-17
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.
4-18
ABB, 1SBC159002M0202
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
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
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-22
ABB, 1SBC159002M0202
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
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
4-26
ABB, 1SBC159002M0202
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
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.
ABB, 1SBC159002M0202
4-29
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
Toolbars
All toolbars can be shown/hidden.
ABB, 1SBC159002M0202
4-31
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-32
ABB, 1SBC159002M0202
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
I/O Configuration
The properties for the driver of the connected controller or for internal variables are displayed by selecting I/O Configuration.
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
BFF BCTO
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
TBUP
CP512 - CP555
4-38
ABB, 1SBC159002M0202
DNBW
NHD
Index Registers
Index addressing of dynamic objects. For further information, see the chapter Index Addressing.
ABB, 1SBC159002M0202
4-39
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
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
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
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
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
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
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
ABB, 1SBC159002M0202
4-49
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-50
ABB, 1SBC159002M0202
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
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
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
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
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
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
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 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
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 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
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
Not equal to
Greater than
Less than
ABB, 1SBC159002M0202
5-9
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 value the influenced signal is to assume when the condition is fulfilled.
5.2
Graphic Objects
5-10
ABB, 1SBC159002M0202
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
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.
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
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
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
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
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
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
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
Other Tabs The functions under Dynamics are described in the section General Parameters.
5-20
ABB, 1SBC159002M0202
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
Curves
5-22
ABB, 1SBC159002M0202
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
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
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
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
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
Trend
The Trend object presents values collected from analog signals. See the chapter Trends for information.
5-28
ABB, 1SBC159002M0202
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
Other Tabs The functions under Dynamics are described in the section General Parameters.
5-30
ABB, 1SBC159002M0202
Alarm Banner
The Alarm Banner object displays a line from the alarm list. See chapter Alarm Management for more information.
ABB, 1SBC159002M0202
5-31
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:
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
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
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
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
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
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
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
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
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
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
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
5.3
Step between the maneuverable objects with the arrow keys. Selected objects are highlighted with a blinking frame.
c C b
d A a
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.
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
5.4
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.
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.
5-50
ABB, 1SBC159002M0202
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.
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.
ABB, 1SBC159002M0202
5-51
5-52
ABB, 1SBC159002M0202
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
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
6.2
Text Objects
6-4
ABB, 1SBC159002M0202
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
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.
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
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
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
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.
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
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.
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
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
Message
Not applicable for CP501. The Message object presents texts from message libraries.
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
6.3
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.
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
ABB, 1SBC159002M0202
7-1
Trends
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
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.
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
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 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
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
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.
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.
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.
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
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
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.
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.
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.
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.
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
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
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)
9-12
ABB, 1SBC159002M0202
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.
ABB, 1SBC159002M0202
9-13
Alarm Management
9.7
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
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
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
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.
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
ABB, 1SBC159002M0202
10-5
Recipes
10-6
ABB, 1SBC159002M0202
Recipes
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
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
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.
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 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.
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.
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.
ABB, 1SBC159002M0202
12-1
Passwords
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.
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.
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.
ABB, 1SBC159002M0202
12-3
Passwords
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.
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
ABB, 1SBC159002M0202
Printouts
ABB, 1SBC159002M0202
13-3
Printouts
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.
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.
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-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.
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
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.
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
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
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
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
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.
ABB, 1SBC159002M0202
16-1
Unicode
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.
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.
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
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
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
RS422
RS232
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%
RS422
RS232
RS422
19-10
ABB, 1SBC159002M0202
Communication
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
PLC program
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.
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.
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
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
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
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
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
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
Controller
Operator terminal 1 must be a server. Clients have access to the controller through the server.
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
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
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 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/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/Services Select BDTP client and click Edit... Setup/Network/TCP/IP Connections Click on the button TCP/IP...
20-10
ABB, 1SBC159002M0202
Network Communication
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
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.
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
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
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.
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.
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...
shld
Enable modem
Disconnects if the connection has been idle for the given number of minutes. 0 means that the connection is never disconnected.
Telephone number
String which initiates the modem. For further information, refer to the documentation for the modem.
20-20
ABB, 1SBC159002M0202
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
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
PPP Server
CAB5
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:
20-24
ABB, 1SBC159002M0202
Network Communication
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
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
controller 1>X0
1>X0
BDTP Server
X0
controller
controller
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.
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
123 53447 0
Register as transfer
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. 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..
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
123 53447 0
Register as transfer
123 53447 0
265346
265346
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.
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.
Server port
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.
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
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
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 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
ABB, 1SBC159002M0202
21-1
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.
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]
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
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.
ABB, 1SBC159002M0202
21-5
SMTP
POP3 PC
Operator terminal
SMTP client
21-6
ABB, 1SBC159002M0202
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
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.
21-10
ABB, 1SBC159002M0202
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
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
ABB, 1SBC159002M0202
21-11
get_diag.fn
None
get_mode.fn
None
Shows which <!--#exec cgi=/get_mode.fn--> operation mode the operator terminal is in: RUN/ PROG/SETUP/ TRANSFER
SB
None
21-12
ABB, 1SBC159002M0202
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
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
set_mode.fn
Used together with FORM to change the operator terminals operation mode.
ABB, 1SBC159002M0202
21-15
21-16
ABB, 1SBC159002M0202
F1-F22
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
ABB, 1SBC159002M0202
21-19
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.
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
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.
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
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
ABB, 1SBC159002M0202
23-5
Function Keys
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 OK.
ABB, 1SBC159002M0202
23-7
Function Keys
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
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.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.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
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
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
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.
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.
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
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
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
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
27-2
ABB, 1SBC159002M0202
Character Tables
ABB, 1SBC159002M0202
27-3
Character Tables
27-4
ABB, 1SBC159002M0202
Character Tables
ABB, 1SBC159002M0202
27-5
Character Tables
27-6
ABB, 1SBC159002M0202
Character Tables
ABB, 1SBC159002M0202
27-7
Character Tables
27-8
ABB, 1SBC159002M0202