B0193AV REV P
I/A I/A Seri Series es® Integrated Control Configurator October 1, 2004
Ladder Logic
Ladder Logic
Sequence Logic
Continuous EXACT_MV
Continuous Sequence Logic
Continuous EXACT_MV
EXACT_MV
Invensys, Foxboro, Foxboro, FIO, I/A Series, SPEC SPEC 200, SPECTRUM, SPECTRUM, and UFM are trademarks of Invensys plc, its subsidiaries, and affiliates. All other brand names may be trademarks of their respective owners. owners. Copyright Copyright 1990-200 1990-2004 4 Invensys Invensys Systems, Systems, Inc. All rights reserved
SOFTWARE LICENSE AND COPYRIGHT INFORMATION Before using the Invensys Systems, Inc. supplied software software supported by by this documentation, documentation, you should read and understand the t he following information concerning copyrighted software. 1. The license license provisi provisions ons in the software software license license for your your system govern govern your your obligatio obligations ns and usage rights to the software described in this documentation. If any portion of those license provisions provisions is violated, Invensys Invensys Systems, Inc. will no longer provide provide you with support services and assumes assumes no further responsibilities responsibilities for your system or its its operation. 2. All software software issued issued by Invensys Invensys Systems, Systems, Inc. and copies copies of the software software that that you you are are specifically permitted to make, are protected in accordance with Federal copyright copyright laws. It is illegal to make copies of any software media provided to you by Invensys Systems, Inc. for any purpose other than those those purposes mentioned mentioned in the software license.
Invensys, Foxboro, Foxboro, FIO, I/A Series, SPEC SPEC 200, SPECTRUM, SPECTRUM, and UFM are trademarks of Invensys plc, its subsidiaries, and affiliates. All other brand names may be trademarks of their respective owners. owners. Copyright Copyright 1990-200 1990-2004 4 Invensys Invensys Systems, Systems, Inc. All rights reserved
SOFTWARE LICENSE AND COPYRIGHT INFORMATION Before using the Invensys Systems, Inc. supplied software software supported by by this documentation, documentation, you should read and understand the t he following information concerning copyrighted software. 1. The license license provisi provisions ons in the software software license license for your your system govern govern your your obligatio obligations ns and usage rights to the software described in this documentation. If any portion of those license provisions provisions is violated, Invensys Invensys Systems, Inc. will no longer provide provide you with support services and assumes assumes no further responsibilities responsibilities for your system or its its operation. 2. All software software issued issued by Invensys Invensys Systems, Systems, Inc. and copies copies of the software software that that you you are are specifically permitted to make, are protected in accordance with Federal copyright copyright laws. It is illegal to make copies of any software media provided to you by Invensys Systems, Inc. for any purpose other than those those purposes mentioned mentioned in the software license.
Contents Figures.............................. Figures............................................ ............................ ............................ ............................. ............................. ............................ .......................... ................. ..... ix Tables............................ Tables.......................................... ............................ ............................ ............................ ........................... ........................... .............................. ...................... ...... xi Preface........................... Preface......................................... ............................. ............................. ............................ ............................ ............................ ............................ ................. ... xiii Revision Information ........................................ .................................................................................... ............................................ ......................... xiii Reference Documents ........................................... ............................................. .................... xiii 1. Introduction......................... Introduction....................................... ............................. ............................. ............................ ............................ ............................. ...................... ....... 1 Document Structure ....................................... ............................................. ............................. 1 Pointing Devices ............................................. ............................................ .............................. 2 Keys Used in ICC .......................................................................... ........................................... 3 One Function at a Time ............................................. ............................................... ................ 3 Selecting Functions and Menu Items ............................................. ........................................... 3 Menu Icons ...................................... ............................................ ............................................. 4 Invoking the ICC ...................................... ............................................ .................................... 4 AP/AW Hosts ......................................... ............................................ ...................................... 5 Configuring Hosts, Control Stations, and Volumes ...................................................... ......... ............................................. ............ 5 Editable Work Areas ........................................ .................................................................................... ............................................ ............................. 6 Configuration Files .......................................... ............................................. ............................ 7 Station File ......................................... ............................................. .......................................... 7 Library Volume ............................................ ............................................. ................................ 8 Work Volume ........................................... ............................................... ................................. 8 ICC Print Configuration ....................................... ............................................ ........................ Printer Configuration Files ............................................ ............................................... ........ Printer Configuration Parameters ......................................... ............................................... . Printer Configuration ........................................... ............................................ .................... Notes On Printer Configuration ...................................................................... ....................
8 8 9 9 9
2. The Compound Summary Access Access Utility Utility ................. ............................... ............................ ............................ ........................... ............. 11 CSA Conventions ............................................... ............................................... ..................... 11 Selecting Compound Name ............................................. ............................................ ........... 12 Searching by Character or Character String ...................................... ....................................... 13 Searching for Compounds by Block Name ...................................... ........................................ 13 Searching for Compounds by Block Type ........................................................................... ............................... ............................................ .... 13 iii
B0193AV – Rev P
Contents
Creating a New Compound from CSA .................................................................... ............... 14 Selecting the OK Key in CSA .................................................................................... ............. 14 Selecting the Vol Key in CSA .......................................... ................................................ ........ 15 Selecting the Close Key in CSA ............................................. .................................................. 15 Selecting Station Type to Edit .......................................... ............................................... ........ 15 Selecting a Control Processor to Configure ........................................................................ ..... 16 Select Screen .......................................... ............................................. .................................... 17 3. Compounds, Blocks, and ECBs....................................................................................... 19 ICC Basics and Conventions .............................................. ................................................ ..... 19 Compound Functions ............................................ ............................................ ..................... Insert New Compound ............................................... ............................................... ........ Edit Compound Parameters ..................................................................................... .......... Copy to Paste Buffer ........................................................... ............................................ ... Copy and Append to Paste Buffer ............................................ .......................................... Paste from Paste Buffer ........................................................................................ ............... Save to Diskette ............................................ ............................................. ......................... Load from Diskette ............................................................................................................ Move Functions .......................................... ............................................ ........................... Upload ..................................................................................... .......................................... Delete .......................................... ............................................ ........................................... Delete (Compound, Block, or ECB) .................................................................... .............. Delete & Undelete (Compound, Block, or ECB) .......................................................... Cancel ............................................. ................................................ .............................. View Blocks/ECBs in this Compound .............................................. ..................................
19 21 23 24 25 25 25 27 29 31 32 32 32 32 32
Block/ECB Functions Display .................................................................................... ............ 33 View Compound List .................................................................................... .......................... 33 Insert New Block ............................................ ............................................. ........................... 33 Block Name Window ............................................ ............................................. ..................... 35 Block Type Window ..................................................................................... .......................... 36 Show Block Type Names Window .......................................... ............................................ .... 37 Edit Block Parameters Window ........................................ ................................................ ...... 38 Copy a Block ........................................... ............................................... ................................ 38 Block Order ........................................... ............................................ ..................................... 39 Insert New ECB ................................................................................... ................................... 40 ECB Functions Menu ................................................................................... .......................... 43 ECB Name Window ......................................... ................................................ ...................... 44 ECB Type Window ......................................... ............................................. .......................... 45 ECB Device Identification Window ......................................... ............................................... 46 Copy ECB ................................................................................... ........................................... 46 iv
Contents
B0193AV – Rev P
Edit Block/ECB Parameters ............................................... ................................................ ..... 47 Warning and Error Messages ..................................................... .............................................. 48 Edit Sequence Logic .......................................... ............................................ .......................... 50 Edit Ladder Logic .............................................. ................................................ ..................... 50 Rename Block/ECB ........................................... ............................................. ........................ 51 4. Menu Bar Functions........................................................................................................ 53 Show Menu ................................................................................... .......................................... 53 Diskette Directory .................................................................................. ............................ 53 FBM Menu ........................................... ............................................ ...................................... 54 Fix All Function .......................................... ............................................ ........................... 54 Ladder Assignment Function ............................................... ............................................... 54 Print Menu ........................................... ............................................ ...................................... 55 New Menu ........................................................................................ ...................................... 55 Checkpoint Menu ........................................... ............................................ ............................ 55 Maint Menu ......................................... ............................................ ...................................... LoadAll ........................................................................................ ...................................... SaveAll .......................................... ................................................ ..................................... SaveAll w/Fmt ................................................................................... ................................. LoadAll/SaveAll for Batch Processing ......................................................................... ........ Shrink .......................................... ............................................ .......................................... Initialize ............................................... ............................................... ............................... Format Floppy ................................................................................................................... Eject Floppy .................................................................................. .....................................
56 56 56 57 57 58 58 58 58
Buffer Menu ............................................ ............................................ ................................... 58 Cancel/Done ........................................... ............................................ .................................... 59 Exit Menu ......................................... ............................................... ....................................... 59 5. Block Parameter Connections ......................................................................................... 61 Mixed Data Types ........................................... ............................................. ........................... 61 Boolean Connection Extensions ......................................... ............................................ ......... General Format of Boolean Connection Extensions .................................................... ....... Boolean Extensions to Source Data .................................................................................... Boolean Extensions to Source Status ................................................... ............................... Boolean Extensions to Status Parameters .................................................................. .......... Block Status Symbols .............................................. ................................................ ....... Alarm Status Symbols .............................................. ................................................ ...... Packed Boolean Connection Extensions .................................................................. ......
63 64 65 66 67 68 69 70
Defaults for Integer and Real Connections ......................................................................... ..... 71 6. Editing Ladder Logic ....................................................................................................... 73 Entering and Exiting the Ladder Logic Editor ........................................................ ................. 73 v
B0193AV – Rev P
Contents
Getting Help ............................................ ............................................... ................................ 73 Editing a Ladder Diagram ..................................................................................... .................. Creating/Modifying Functions ............................................. .............................................. Positioning Editing Cursor ............................................... ............................................. Adding or Replacing a Symbol ................................................ ...................................... Showing Symbols .......................................... ............................................. ................... Connecting Two Rows .............................................. ............................................... ..... Deleting a Symbol ............................................ ............................................... .............. Deleting a Rung Descriptor ............................................... ............................................ Entering Text Associated with a Symbol ......................................... ............................... Entering a Rung Descriptor ........................................... ............................................. ... Adding or Deleting a Ladder Row ......................................... ........................................
74 78 78 80 81 81 82 82 82 84 85
Selecting Library Functions ............................................ ............................................. ............ View Library ................................................................................... ................................... Copy From Library .............................................. ................................................ .............. Save In Library ........................................... ............................................. ........................... Cancel ........................................... ................................................ .....................................
85 85 85 86 87
Printing a Ladder Diagram ............................................ ............................................. ............. 87 Checking Syntax .................................................................................... ................................. 87 Ladder Installation ........................................... ............................................. .......................... Installation Requirements ............................................. ............................................. ......... Uninstallation ............................................ ............................................. ........................... Prerequisites for Ladder Installation .............................................. ..................................... Causes of Installation Failure ......................................... ............................................... ...... PLB Ladder Display Installation ........................................... .............................................. 50 Series Workstation Access ......................................................................................... Location of Ladder Displays ............................................................................... ........... Configuring Ladder Display Location ............................................. ...................................
87 88 88 88 89 89 90 90 90
7. Editing Sequence Logic ................................................................................................... 93 Help .......................................... ............................................. ................................................. 94 Sequence Files ........................................... ............................................ .................................. 94 Source File .................................................................................... ..................................... 95 Compiler Files .................................................................................. .................................. 95 Sequence Logic Functions .................................................................................. ..................... 96 Cancel ........................................... ................................................ ..................................... 96 Compile Source of this Block ..................................................... ........................................ 96 Copy Source of this Block from Library ............................................ ................................. 97 Delete Block Source from Library .............................................................. ........................ 99 Done With Sequence ................................................................................... .................... 101 Edit Source of this Block ................................................................... ............................... 101 Print Compilation Listing .................................................................................... ............ 105 Print Listing of this Block ......................................... ............................................ ............ 105 Save Source of this Block to Library ......................................... ........................................ 106 View Compilation Listing .................................................................................... ............ 108
vi
Contents
B0193AV – Rev P
View Include Library Contents ........................................................................... ............. 109 View Source Library Contents .......................................... .......................................... ...... 110 Sequence Code Installation .................................................................................. ................. 110 50 Series Workstation Access ............................................................................................ 111 High Level Batch Language Documentation ......................................................................... 111 Index .................................................................................................................................. 113
vii
B0193AV – Rev P
viii
Contents
Figures 1-1. 1-2. 2-1. 2-2. 2-3. 2-4. 3-1. 3-2. 3-3. 3-4. 3-5. 3-6. 3-7. 3-8. 3-9. 3-10. 3-11. 3-12. 3-13. 3-14. 3-15. 3-16. 3-17. 3-18. 3-19. 3-20. 6-1. 7-1. 7-2. 7-3. 7-4. 7-5. 7-6. 7-7.
AP Host_Cfg Dialog Box .............................................................................................. 5 Editable Work Areas ..................................................................................................... 7 Compound Summary Access ....................................................................................... 12 Selecting Volume Key from the CSA Utility Screen .................................................... 15 Override Lock Display ................................................................................................ 16 Compound and Block Overview Display .................................................................... 17 Compound Function Display ..................................................................................... 20 Compounds Functions Menu ..................................................................................... 21 Compound Name Window ........................................................................................ 22 Compound Parameters List ......................................................................................... 23 Save to Diskette Dialog Box ........................................................................................ 26 Selected Device ........................................................................................................... 26 Load from Diskette ..................................................................................................... 28 Select Device for Load from Diskette .......................................................................... 28 Moving Objects .......................................................................................................... 30 Delete and Undelete .................................................................................................... 32 Block/ECB Functions Display .................................................................................... 33 Enter New Block Location .......................................................................................... 35 Enter Block Type ........................................................................................................ 36 Show Block Type ........................................................................................................ 37 Edit Block Parameters ................................................................................................. 38 Block Order within a Compound ............................................................................... 40 Insert New ECB .......................................................................................................... 43 Enter Name of New ECB ........................................................................................... 44 ECB Type Window .................................................................................................... 45 ECB Device Identification Window ............................................................................ 46 Data Fields .................................................................................................................. 77 Block/ECB Functions Menu ....................................................................................... 93 Sequence Logic Functions Menu ................................................................................. 94 Copy Source of This Block From Library .................................................................... 98 Delete Block Source From Library ............................................................................ 100 Save Source of this Block to Library .......................................................................... 107 View Include Library Contents ................................................................................. 109 View Source Library Contents ................................................................................... 110
ix
B0193AV – Rev P
x
Figures
Tables 1-1. 1-2. 2-1. 5-1. 6-1. 6-2. 6-3. 6-4. 6-5.
Cursor Movement ......................................................................................................... 3 Menu Icons ................................................................................................................... 4 Detail Buttons ............................................................................................................. 18 Valid Mixed Data Peer-to-Peer Connections ............................................................... 63 Field Inputs ................................................................................................................. 74 Cursor Control ........................................................................................................... 74 Editing Keys ................................................................................................................ 75 Symbol Keys ............................................................................................................... 76 Technical Identifiers .................................................................................................... 77
xi
B0193AV – Rev P
xii
Tables
Preface This document is intended for use by process control and applications engineers. It provides specific information and procedures for configuring your process control database including Fieldbus Modules, equipment control blocks, compounds, and blocks and their parameters. Complete block descriptions and lists of their parameters are found in Integrated Control Block Descriptions (B0193AX).
Revision Information For Release 8.0, the following changes were made to the document: ♦ ♦ ♦
Changed references to Windows NT to Windows. Added references to Fieldbus Communication Modules where appropriate. Removed Chapter 8, “Sequence Language”, Chapter 9, “HLBL Statements”, and Appendix A, “Sequence Control Printed Error Messages”. These topics are covered in detail in High Level Batch Language (HLBL) User’s Guide (B0400DF).
Chapter 4 “Menu Bar Functions” ♦
Added the “FCM100 Addresses” Show menu entry
Chapter 5 “Block Parameter Connections” ♦
Added relevant status indicators to “Block Status Symbols” on page 68 and “Alarm Status Symbols” on page 69.
Reference Documents Refer to the following documents for additional information: ♦ ♦
♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦ ♦
Integrated Control Software Concepts (B0193AW) Control Processor 270 (CP270) Integrated Control Software Concepts (B0700AG) (for V8.0 systems) Integrated Control Block Descriptions (B0193AX) Integrated Control Configurator Application Programming Interface (B0193NE) Intelligent Transmitter Maintenance Workbench and Configurator (B0193MW) Display Engineering for FoxView Software and Display Manager Software (B0193MQ) System Management Displays (B0193JC) Fieldbus Cluster I/O User’s Guide (B0193RB) SPECTRUM Migration Integrator User’s Guide (B0193RC) SPEC 200 Control Integrator User’s Guide (B0193RD) OpenWindows User’s Guide SUN OS User’s Guide .
xiii
B0193AV – Rev P
xiv
Preface
1. Introduction This chapter serves as an introduction to the Integrated Control Configurator (ICC) and covers selecting functions and menu items, invoking and configuring the ICC and configuration files including station files, library volume, and work volume. The Integrated Control Configurator (ICC) is intended for use by process control and applications engineers. It provides procedures for configuring your process control database including Fieldbus Modules, equipment control blocks, compounds, and blocks and their parameters. NOTE
Windows Platform Users: All references in this document to “control processors” or “control stations” should be interpreted to mean “the processor.” Once you have physically connected your system and loaded the appropriate software through the System Definition, you can begin using ICC. The best way to become familiar with the ICC is to just sit down and use it. Use a pointing device (mouse or trackball) to make selections. ICC Help on the Electronic Documentation CD-ROM provides the information on ranges, parameters, and so forth. Compound and block parameters have a default value. Therefore, you can build simple compounds/blocks before you learn all the parameters and their functions. This feature saves time when building control structures for general applications use. NOTE
The Integrated Control Configurator is an initial condition configurator; that is, updates to parameter values from run-time displays are not automatically passed back to the configuration. You must use the update function to update the configuration.
Document Structure The Integrated Control document set consists of: ♦ ♦
♦ ♦ ♦
Integrated Control Software Concepts (B0193AW) (pre-V8.0 systems) Control Processor 279 (CP270) Integrated Control Software Concepts (B0700AG) (V8.x systems) Integrated Control Block Descriptions (B0193AX) Integrated Control Configurator (B0193AV) Intelligent Transmitter Maintenance Workbench and Configurator (B0193MW).
1
B0193AV – Rev P
1. Introduction
Integrated Control Software Concepts (B0193AW or B0700AG) contains conceptual information of the control software. It also contains: SCIX tables ♦ ♦ Parameter list ♦ Ranges. The Integrated Control Block Descriptions (B0193AX) document contains descriptions of each block, along with data diagrams and parameter list. This document, Integrated Control Configurator (B0193AV), describes the ICC functions and how to use them. The chapters in this document contain the following information: Chapter 1 “Introduction” ♦ Chapter 2 “The Compound Summary Access Utility” ♦ Chapter 3 “Compounds, Blocks, and ECBs” ♦ ♦ Chapter 4 “Menu Bar Functions” Chapter 5 “Block Parameter Connections” ♦ Chapter 6 “Editing Ladder Logic” ♦ Chapter 7 “Editing Sequence Logic”. ♦ Intelligent Transmitter Maintenance Workbench and Configurator (B0193MW) describes how to configure intelligent field devices. High Level Batch Language (HLBL) User’s Guide (B0400DF) describes the HLBL and Sequence Languages.
Pointing Devices The cursor is the primary means for making menu selections and for selecting ICC functions or data fields. Cursor control is available through the touchscreen, a pointing device (mouse or trackball), or keyboard cursor control keys. A menu or function is selectable if it is highlighted, or when it highlights or frames as the mouse moves over it. In some functions, auxiliary keystrokes from an alphanumeric keyboard are necessary for implementation. Two examples are: ♦
Typing in an expected name or value.
♦
Pressing Enter or Return to enter a selection.
The pointing device can also be used to select compound or block parameters during the compound and block-building processes. This enables you to move quickly around in the list rather than in a line-by-line order that the vertical arrow keys dictate.
2
1. Introduction
B0193AV – Rev P
Keys Used in ICC In addition to the standard alphanumeric keys, ICC recognizes keys (refer to Table 1-1) that direct: ♦
Cursor movement
♦
Deletions
♦
Entries.
UNIX Platform Users Only: Ladder logic uses other keys as well, for example, the function keys, Escape key, and Insert , to name a few. All Users: Table 1-1 describes the general control keys. Table 1-1. Cursor Movement
Key or Keys Horizontal Arrows Vertical Arrows* (One Line Scroll) 5 (Numeric Keypad) Backspace Delete Insert Return/Enter Shift+Delete Shift+End Shift+Home
Function Move cursor horizontally to next or previous character position. Move cursor vertically to corresponding position in next or previous row. Select an entry field once the cursor is positioned. Delete previous character of the current field (if any). Delete current character – cursor does not move. Insert character(s) at the current cursor position. Press to confirm user input expected by the ICC. Delete all characters on current line in the parameter list. Move cursor to the end of the current entry field. Move cursor to the beginning of the current entry field.
* Or use pointing device
One Function at a Time In general, ICC functions must be completed or cancelled before another function can begin. For example, if you are in the process of inserting a block, you cannot select another action from the menu bar until the insert is complete. Exceptions are Help and Show .
Selecting Functions and Menu Items Some functions can be selected either by pointing device or keyboard. When the ICC is expecting input from a pointing device, this document uses Select < function or menu item >. 3
B0193AV – Rev P
1. Introduction
When the ICC is expecting input from the keyboard, this document uses Press or Type.
Menu Icons Menus that allow cursor movement within a list have icons (refer to Table 1-2) at the bottom of each menu window. Table 1-2. Menu Icons
Icon Single Up/Down Arrow Double Up/Down Arrow Double Up/Down Arrow with a Rule Octagon
Function Move the highlighted cursor up or down one item. Move the highlighted cursor to the previous page or to the next page. Move the highlighted cursor to the beginning or end of the list. Close the window.
Invoking the ICC The Integrated Control Configurator resides with other configurators in the process engineer’s environment. UNIX Platform Users: From the engineer’s environment at a UNIX-based workstation processor (WP) or application workstation (AW), select:
Config
from the menu bar. From the list of configurators that appears, select: Control_Cfg
which takes you to the following submenu: CIO_Config CIO_AP_Cfg CIO_STN_Cfg CIO_VOL_Cfg
Selecting CIO_Config invokes the first display of the ICC, the Compound Summary Access (CSA) search utility. The other three are used to configure or display a list of workstation hosts, control stations, or volumes from which or for which an ICC session can be directly invoked. Windows Platform Users: From the engineer’s environment at an AW70, select:
Config
from the menu bar. Selecting CIO_Config invokes the first display of the ICC, the Compound Summary Access (CSA) search utility.
4
1. Introduction
B0193AV – Rev P
AP/AW Hosts UNIX Platform Users Only: The ICC executes in an AP/AW, performing remote-draws to the WP. When the CSA compound menu is displayed, the right-hand side of the title shows the letterbug of the AP/AW in which the information resides. Whenever a library or station volume is selected which is not hosted by the AP/AW noted in the title, execution of the ICC transfers from that AP/AW to the AP/AW which hosts the selected station or volume. To configure a list of AP/AWs from which an ICC session can be invoked, see “Configuring Hosts, Control Stations, and Volumes” on page 5.
Configuring Hosts, Control Stations, and Volumes UNIX Platform Users Only: Initial selection of the following options allows you to configure a menu listing all AP/AW hosts, control stations, or volumes from which or for which you wish to directly invoke a ICC session: ♦
CIO_AP_Cfg
♦
CIO_STN_Cfg
♦
CIO_VOL_Cfg.
After initial selection of the CIO_AP_Cfg, CIO_STN_Cfg, and CIO_VOL_Cfg, a dialog box appears (refer to Figure 1-1).
Figure 1-1. AP Host_Cfg Dialog Box
You use this dialog box to add workstation hosts, control stations, or volumes to the appropriate menu listing, or to delete them. To add AP/AW hosts, control stations, or volumes to the appropriate menu listing: 1. Select the appropriate submenu entry: CIO_AP_Cfg, CIO_STN_Cfg, or CIO_VOL_Cfg. 2. When the dialog box appears, enter All or an individual AP/AW host, control station, or volume name. Press Enter. NOTE
The entry box is case sensitive. For AP/AW hosts and control stations enter each letterbug in uppercase. For volumes, enter the volume name in lowercase. 3. Select Add. If individual entries are being made, continue to enter the letterbugs or names and select Add after each entry. 5
B0193AV – Rev P
1. Introduction
4. A message appears in the message line for each AP/AW, control station, or volume that has been successfully added to the menu or failed addition to the menu. 5. Select Close to close the dialog box. To delete AP/AW hosts, stations, or volumes from the appropriate menu listing: 1. Select the appropriate submenu entry: CIO_AP_Cfg, CIO_STN_Cfg, or CIO_VOL_Cfg. 2. When the dialog box appears, enter All or an individual AP/AW host, control station, or volume name. Press Enter. NOTE
The entry box is case sensitive. For AP/AW hosts and control stations enter each letterbug in uppercase. For volumes, enter the volume name in lowercase. 3. Select Delete . If individual entries are being made, continue to enter the letterbugs or names and select Delete after each entry. A message appears in the message line for each AP/AW, control station, or volume that has been successfully deleted from the menu. To access the list of AP/AW hosts, control stations, or volumes from which to directly initiate a configuration session: 1. After configuring the appropriate menu listings, select the appropriate option from the Control_Cfg submenu: CIO_AP_Cfg ♦ ♦
CIO_STN_Cfg
♦
CIO_VOL_Cfg.
2. A menu listing the configured AP/AW hosts, control stations, or volume names for direct access to an ICC session appears. The first entry in each menu listing provides access to the configuration dialog box: APhost_Cfg, Station_Cfg, and Volume_Cfg. Select the desired host, control station, or volume name to initiate the session. When the logical AP host of a WP50 is not configured for the ICC, one of the three new menu picks, CIO_AP_Cfg, CIO_STN_Cfg, or CIO_VOL_Cfg, must be used to access the ICC.
Editable Work Areas The editable work areas of the ICC (refer to Figure 1-2) are configuration files and a paste buffer. Configuration files consist of both station files and library volumes and are accessed from the CSA utility. UNIX Platform Users Only: Configuration files can also be accessed from a direct menu pick of an AP/AW, control station, or volume accessible from the Control_Cfg submenu. All Users: The Paste Buffer is an ICC function, and is accessed from the ICC menu bar. Editable file areas are illustrated below.
6
1. Introduction
B0193AV – Rev P
EDIT SESSION
CHECKPOINT
STATION
FILE
FILE
PASTE
PASTE
PASTE
BUFFER COPY
LIB/WORK VOLUME
COPY
REBOOT LOAD/PASTE/EDIT
CHECKPOINT
UPLOAD LOADALL/SAVEALL
CP
LOAD FROM DISKETTE SAVE TO DISKETT E
Figure 1-2. Editable Work Areas
Configuration Files A configuration file is either a station file, library volume, or work volume. A station file is a set of control compounds installed in a control processor or an AW70. A library volume is a set of uninstalled compounds. A work volume bears the same characteristics as a library volume without a given identifier. This provides a “scratchpad” volume in which to build compounds before selecting an eventual ICC file destination. These files can be directly accessed through the Vol key from the CSA utility, or indirectly by selecting a compound from the CSA utility.
Station File When you select a station file to edit: ♦
♦
♦ ♦
A copy of the current data in a control station (or the AW70 processor) is provided for editing. Editing is done in an active mode, which means that the control processor is connected. There is data validity checking and linkage to the process. The message line beneath the menu bar indicates that you are editing a station file in a station hosted by the designated AP, for example, STA = @ AP .
♦
Following the completion of a station edit, a check point of the control processor’s database is automatically initiated.
7
B0193AV – Rev P
1. Introduction
Library Volume When you select a library volume to edit: ♦
There is no control processor connected.
♦
Editing is done in an inactive mode.
♦
There is no data validity checking and linkage to the process.
♦
The message line beneath the menu bar indicates: VOL = @ AP .
♦
VOL = [volume name] @ AP [letterbug of hosting AP].
Work Volume You can access a scratchpad work volume from the CSA utility by selecting OK when a new, system-unique, compound name is entered in the Choice field (or the Choice field is blank). The work volume (Volwrk ) provides a place to create and edit compounds before assigning them to a particular library volume or station file. There is only one Volwrk (default name) in the system. In Volwrk , you have complete access to all the appropriate ICC functions. When you are finished editing, you can copy the compound to a target configuration file using the copy and paste functions. See “Copy to Paste Buffer” on page 24.
ICC Print Configuration Following is a discussion of printer configuration for the Integrated Control Configurator (ICC). The default printer configuration for ICC printed output is the Unix/Solaris standard of 66 lines per page. A partial page is filled out by blank lines up to a full page size of 66 lines. If you want a different page format, you perform the reconfiguration by modifying the file print_cfg.usr.
Printer Configuration Files The file print_cfg.usr is located in the directory /opt/fox/ciocfg/ciocfg_printers. There are two other files, print_cfg.src and print_cfg.old. ♦
♦ ♦
print_cfg.usr is the version of the file actually used by t he ICC. You modify this file to effect changes in ICC printing format. print_cfg.src is the configuration file initially installed as part of t he ICC package. print_cfg.old is a reference version of print_cfg.usr that is used by the software installation process to determine whether changes have been made to the print_cfg.usr file.
During the software installation process, the new version of the configuration file, print_cfg.src is copied to print_cfg.usr and print_cfg.old. Any previous versions of these files are lost. If you have modified print_cfg.usr, the new file print_cfg.src is not copied and warning messages are generated in the ICC install log. This means that if you have customized the printer configuration, a new installation of the ICC does not disable the customized file. The ICC install process determines whether the file print_cfg.usr has been modified by comparing it with the previously saved file print_cfg.old. If the files are different, it is assumed that you have modified the file print_cfg.usr. 8
1. Introduction
B0193AV – Rev P
In order to customize printer configuration, modify only the print_cfg.usr file. You should not modify other files in the ciocfg_printers directory. To perform configuration file edits on Solaris platforms, go to VT100 mode, then change the directory (cd /opt/fox/ciocfg/ciocfg_printers), then use a text editor to edit the print_cfg.usr file. To perform configuration file edits on Windows platforms, go to the Notepad, then go to the directory /opt/fox/ciocfg/ciocfg_printers, then use the Notepad to edit the print_cfg.usr file.
Printer Configuration Parameters The file print_cfg.usr contains three parameters as follows: ♦
♦
♦
USE_NEW_HEADERS can be set to the values yes (default) or no. For I/A Series Release 6.3 and later, the page headers of PLB ladder diagram printouts and Sequence listings include the applicable compound:block name. The page headers for compound and block reports now include the title of the report as depicted on the ICC PRINT menu. If for some reason this is not desired, USE_NEW_HEADERS should be set to no. Normally, this parameter would not be changed. LINES_PER_PAGE can be set to an integer value from 1 to 200. The usual range is 40 to 80. The default is 66, the Unix standard. This number is the number of lines per page of output. This parameter is used in combination with the EJECT parameter as explained in the following section, “Printer Configuration”. EJECT can be set to no (default) or yes. If set to yes, a page eject is produced following each printed page. If set to no, a partial page is filled with blank lines out to the number of lines as defined by the LINES_PER_PAGE parameter.
Printer Configuration The ICC normally assumes that the number of output lines per page is the Unix standard of 66. On some systems, such as Windows, this may not be true. For such cases, the parameter LINES_PER_PAGE can be modified to be equal to the number of lines appropriate to your printer. On a given system, there may be more than one printer, each with a different number of lines per page. For this case, you may configure a “lowest common denominator”. The parameter LINES_PER_PAGE is set to the smallest page size for any of the system’s printers minus one. In addition, EJECT is set to yes. As a result of this, the small size printer contains print on all possible lines. Any larger size printer contains LINES_PER_PAGE lines, followed by a page eject to provide proper alignment of the page header for the next page.
Notes On Printer Configuration If you want to use all possible lines of a printer (for example 66), and also terminate the page with a page eject, proceed as follows. 1. Set EJECT to yes. 2. Set LINES_PER_PAGE equal to the actual printer page size minus one (65 in this example) because if the number of lines is equal to the page size, the system provides a local page eject and then the ICC adds another one. This results in a printed page followed by an empty page, which is not desirable.
9
B0193AV – Rev P
1. Introduction
If the value of the LINES_PER_PAGE parameter is too small to accommodate the five-line header and five-line footer (that is, if the parameter is between one and ten), the ICC report is not formatted. If the printer configuration file is formatted improperly or is missing altogether, ICC printing still occurs. When you attempt to print, the error message Printer configuration file format/access FAILED appears on the display. However, the print job is still performed using hardcoded default values of USE_NEW_HEADERS=yes, LINES_PER_PAGE=66, and EJECT=no. So, for this case, printing shows no effect except for the annoying error message, which continues to appear until the problem with the printer configuration file is fixed.
10
2. The Compound Summary Access Utility This chapter contains information on the Compound Summary Access (CSA) utility including CSA conventions, searching for compounds, creating a new compound, selecting a station type to edit, selecting a control processor to configure, and the Select Screen. The Compound Summary Access (CSA) utility is the first display that appears when you select the ICC from the ICC menu. CSA has many uses. Use it to: ♦ ♦
Find and select a compound that resides anywhere in the system. Find and list all compounds in the system that begin with a particular character or character string.
♦
Find and list all compounds that contain a particular block name.
♦
Find and list all compounds that contain a particular block type.
♦
Create a new compound in a scratchpad work volume. Access the Edit Library Volume menu, which allows you to choose a particular library volume in which to work.
♦
Access the Edit Station menu, which allows you to modify a station.
♦
The following sections explain the use of the Compound Summary Access utility: ♦
“CSA Conventions” on page 11
♦
“Selecting Compound Name” on page 12 “Searching by Character or Character String” on page 13
♦
“Searching for Compounds by Block Name” on page 13
♦
“Searching for Compounds by Block Type” on page 13
♦
“Creating a New Compound from CSA” on page 14
♦
“Selecting the OK Key in CSA” on page 14
♦
“Selecting the Vol Key in CSA” on page 15
♦
♦
“Selecting the Close Key in CSA” on page 15 “Selecting Station Type to Edit” on page 15
♦
“Selecting a Control Processor to Configure” on page 16.
♦
Windows platform users can also access compounds via the Select Screen .
CSA Conventions ♦
♦
Compound and block names must be in full caps. If you do type a compound or block name in lowercase letters, the ICC converts them to uppercase. A pointing device and the Enter/Return keys govern your selections in the CSA utility. Use the pointing device to select, and the Enter or Return key to enter the
11
B0193AV – Rev P
2. The Compound Summary Access Utility
selection. The arrow keys on the numeric keypad also move you through the CSA utility. ♦
♦
♦
The hierarchy of CSA is always compound name, block name, and block type; in that order. Therefore, if you want to select either the block name or block type search, you must first select the compound name field to highlight its selection field. However, you do not need to type anything into the compound name field. After the selection box appears, just press the Enter key (or the arrow keys on the numeric keypad) an appropriate number of times to move down to the field of your choice. To create a new compound in the “scratchpad” work volume using CSA, press the Enter key (or the arrow keys on the numeric keypad) to move down to the Choice field. See “Creating a New Compound from CSA” on page 14. Spaces are not valid within compound or block names. If you wish to use two words, tie them together with an underscore, for example, REACTOR_1.
Selecting Compound Name The initial display of the Compound Summary Access is illustrated in Figure 2-1.
Figure 2-1. Compound Summary Access
If the compound that you want to find is visible in the CSA window, go right to Step 4. If it is not: 1. Select the Compound Name field with the pointing device to illuminate a 12-character search field. 12
2. The Compound Summary Access Utility
B0193AV – Rev P
2. Type the compound name in the appropriate case (or use the one to 12-character string search, described in “Searching by Character or Character String” on page 13). 3. Press Enter. The utility searches for, finds, and lists the compound that you requested. It appears highlighted in a list of compounds that reside in the same configuration file. 4. Using the pointing device, select the appropriate compound from the displayed list. Notice that the selected compound now appears under Choice. 5. If you accidentally highlight the wrong compound, go back to Step 4 and select the correct compound. The CSA utility overwrites the incorrect name in the Choice field. 6. When the selected compound is the one you want to view or edit, select OK at the bottom left of the display. CSA gets the selected compound with all its data, and transports it to the ICC. The selected compound appears, highlighted on the left of the display along with other compounds that reside in that same station or volume.
Searching by Character or Character String 1. Select the Compound Name field with the pointing device to illuminate a 12-character search field. 2. Type in a 1 to 12-character string. All compound names are in full caps. However, you may type in lowercase characters. These are automatically converted to uppercase by the system. 3. The UNIX-like wild card characters ? and * may be specified in names. ? matches any single character. * matches any group of characters. 4. Press Enter. The utility searches for, finds, and lists all the compounds in the system that start with the search string that you typed. Any others are removed from the window. You can use this search method for block names and types as well.
Searching for Compounds by Block Name 1. Select the Block Name Search field with the pointing device to illuminate a 12-character search field. 2. Enter the desired name. Include wild card characters to search for multiple names. 3. Press Enter (or Return) to initiate the search. 4. If there are no compounds that contain the block name for which you are searching in the system, the list of compounds disappears and a blank window appears. 5. If there are compounds in the system that contain the block for which you are searching, the appropriate compounds appear in the window and all others disappear.
Searching for Compounds by Block Type 1. Select the Block Type Search field with the pointing device to illuminate a 12-character search field. 13
B0193AV – Rev P
2. The Compound Summary Access Utility
2. Enter the desired block type. Include wild card characters to search for multiple types. 3. Press Enter (or Return) to initiate the search. If there are no system compounds in the system that contain a block of the type for which you are searching, the list of compounds disappears and a blank window appears. If there are compounds in the system that contain a block of the type for which you are searching, the appropriate compounds appear in the window and all others disappear.
Creating a New Compound from CSA You can create compounds both from the CSA utility and the Compound Functions display of the ICC. The advantage to creating compounds from CSA is that the newly created compound resides in the “scratchpad” work volume. This enables you to build compounds first, then copy them to an appropriate ICC file when you wish. See “Copy to Paste Buffer” on page 24 for copy information. To create a compound from the CSA utility: 1. Select the Compound Name field with the pointing device to illuminate a 12-character search field. 2. Press the Enter (or Return) key three times to get to the Choice field. 3. Type in a system-unique name. You must not give compounds names that are: a. the same as a letterbug of a CP or processor, or b. the letterbug of a CP or processor, followed by _VSTA, _STA, _VECB, or _ECB. For example, if a CP has the letterbug UCE001, do not assign the name UCE001 or UCE001_ECB to a compound. However, you can use UCE001_ECB07, for example. When building compounds that are to be copied and pasted to another location, assign names different from their “final destination” name. Otherwise the requirement for system-unique names complicates the copy and paste procedures. For example, when building a compound TOWER1 to be copied later to a CP, build it as TOWER1X in the volume and rename it TOWER1 as you “copy” or “paste” to the destination CP. 4. Press Enter. The name that you entered appears in the Choice field and the selection box moves up to the compound name field. 5. If you made a typing error, you can cancel the choice by pressing the Enter key again and repeating Steps 3 and 4. 6. Once the name is correct, select OK at the bottom left of the display. The work volume appears with the newly created compound, with its default values, listed at the top of the compound list in the work volume. All the appropriate compound/block editing functions are now available.
Selecting the OK Key in CSA Selecting the OK key exits the CSA utility. You can then: 1. View or edit the compound whose name appears in the Choice field. 14
2. The Compound Summary Access Utility
B0193AV – Rev P
2. If the Choice field is empty, you enter the work volume directly from the CSA utility without selecting a particular compound.
Selecting the Vol Key in CSA 1. Select the Vol key at the bottom of the display (see Figure 2-2). Selecting Vol exits the CSA utility and calls up the Select Station Type to Edit menu. 2. Select Edit Station or Edit Library Volume from this menu. 3. If you select Edit Library Volume , a list of library volumes appears. Select the volume of your choice. Subsequent editing is done in an inactive mode. 4. Selecting Cancel brings you back to the Select a Station to Edit menu.
Figure 2-2. Selecting Volume Key from the CSA Utility Screen
Selecting the Close Key in CSA If there are no compounds in the Paste Buffer, selecting Close exits the ICC. If there are compounds in the Paste Buffer when you select the Close key, an error dialog box appears. You must clear the Paste Buffer before you are allowed to exit.
Selecting Station Type to Edit Selecting the Volume (Vol) key from the CSA utility calls up the Select Station Type to Edit menu with the choices: ♦
Edit Station
♦
Edit Library Volume
15
B0193AV – Rev P ♦
2. The Compound Summary Access Utility
Cancel .
Selecting Cancel brings you back to the CSA utility menu. Selecting Edit Station displays the Select a Control Processor to Configure menu. Whenever you select a target station or library volume to edit, its corresponding compound database file is locked. You receive a copy of this file.
Selecting a Control Processor to Configure Selecting a control processor from the Select a Control Processor to Configure menu: ♦ ♦ ♦ ♦
♦ ♦
Retrieves that station’s current data files. Puts the file in an Active editing mode. Lists the compounds in that station. Indicates the station name and AP letterbug, STA = @ AP , and that the station is Active. The Active/Inactive mode status appears on the line under the menu bar function line. Calls up the Compound Functions menu. Highlights the keys in the system menu bar to show that they are enabled.
Selecting a station whose database file has been “locked” displays the dialog box illustrated in Figure 2-3.
Figure 2-3. Override Lock Display
Selecting Yes from the Database Locked dialog box displays the Communication to CP (-1000) Failed dialog box. Selecting No causes a return to the Select a Control Processor to Configure menu. Selecting Continue from the Communication to CP (-1000) Failed dialog box displays the IUC_ OR UC_OPEN Failed dialog box. Selecting Continue from the IUC_ OR UC_OPEN Failed dialog box causes a return to the CSA utility.
16
2. The Compound Summary Access Utility
B0193AV – Rev P
Select Screen Windows Platform Users Only: The Select Screen is a scrollable, hierarchical representation of the control database that allows compounds to be selected and turned on or off. It also provides direct access to associated block detail displays.
Figure 2-4 shows the compound and block overview display of the Select Screen function.
Figure 2-4. Compound and Block Overview Display
Double clicking on an expandable entry (that is, an entry with a + before it) expands the entry. Each entry includes the compound name, status (on or off ) and alarm state. The entry immediately above the compound names is the name of the AW in which the compound exists. A list of blocks is displayed from the selected compound; each block includes the block’s name, type, Auto/Manual status and alarm state. To call up a detail display for a compound: 1. Select the compound from the list. 2. Select the Detail button. (The Detail button is disabled if no compound has been selected.)
17
B0193AV – Rev P
2. The Compound Summary Access Utility
Each compound detail display shows all connectable compound parameters and allows settable parameters to be set. To call up a detail display for a block: 1. Select a compound from the list. 2. Access the list of blocks for the compound. 3. Select a block. 4. Select the Detail button. Detail buttons are listed in Table 2-1. Table 2-1. Detail Buttons
Button Cpd On Cpd Off Detail Refresh
18
Function Turns compound On. If compound is already On, only Cpd Off is selectable. Turns Compound Off. If compound is already Off, only Cpd On is selectable. Brings up the compound detail summary or block display. Refreshes the display to reflect the current status of the compound and blocks.
3. Compounds, Blocks, and ECBs This chapter provides general operating information of ICC software, and includes procedures to create and edit compounds, blocks, and ECBs. Also included in this chapter are descriptions of the various compound and block windows.
ICC Basics and Conventions This section describes the primary functions of the ICC. Edit Station selection (refer to Figure 3-1) is used to activate these functions. Edit Station allows you to see the compounds in a specific control processor and enables various function keys in the system menu bar.
Compound Functions The ICC expects certain conditions to be met before making a function selectable. When these conditions are satisfied, the appropriate function highlights. For example, you must: ♦ ♦ ♦ ♦ ♦
Create a compound before adding any blocks or ECBs (initially) Create a PLB block before accessing ladder logic Create a Sequence block before accessing sequence logic Copy to Paste Buffer before accessing the Rename function Select a station file (Active mode) to edit Fieldbus Modules (ECBs can be edited in volumes, but are not associated with physical FBMs).
You can use System Definition to define the letterbugs and hardware and software types of the following Fieldbus devices associated with a control processor: ♦
Fieldbus Modules (FBMs)
♦
Fieldbus Processor Modules (FBPs) for Fieldbus Cluster and SPECTRUM I/O
♦
Fieldbus Cards (FBCs)
♦
Fieldbus Communication Modules (FCMs).
Whenever these devices are added to the system by the System Definition, its name and specifications are sent to the ICC’s equipment list. The ECBs for the above devices are then installed in the ICC database using the Fix All function in the FBM pull-down menu. ECBs for the SPECTRUM I/O cards used in conjunction with the FBPs must be inserted individually via the ICC. Refer to the Fieldbus Cluster I/O User’s Guide (B0193RB) , SPECTRUM Migration Integrator User’s Guide (B0193RC), and SPEC 200 Control Integrator User’s Guide (B0193RD) documents for more information on these devices. The ICC allows you to edit ECBs in a manner similar to control blocks. Defining Fieldbus devices for a control processor consists of installing the appropriate ECBs in the ICC database. You can do this using the Fix All function in the FBM pull-down menu, or you can install and manipulate the ECBs in a manner similar to control blocks. ECBs can be part of the built-in ECB compound (), or you can install them in other compounds.
19
B0193AV – Rev P
3. Compounds, Blocks, and ECBs
You can configure: ♦
48 FBMs per CP10 64 FBMs for the CP30, CP30B, CP40, and CP40B
♦
120 FBMs per CP60 (including legacy or 200 Series, migration, FBP, FBC)
♦
32 FCMs per CP60 (or equivalent, including DCM, WFCM, and so forth)
♦
32 FBMs per FCP270
♦
120 FBMs per ZCP270
♦
32 FCMs per ZCP270.
♦
All ECBs, except for the primary ECB, have a DEV_ID parameter that contains the letterbug of the Fieldbus device associated with the ECB. In order to preserve backward compatibility and support the ability to install ECBs in any compound, the IOM_ID parameter in the I/O control blocks can contain either the letterbug value or the full pathname of the ECB block.
Compound List
Compound Functions List
Available FBMs
Figure 3-1. Compound Function Display
20
3. Compounds, Blocks, and ECBs
B0193AV – Rev P
Insert New Compound Select Insert New Compound from the Compound Functions menu and fill in a valid name in the name definition field. This causes a new compound to be created with default parameters and inserted before (that is, in front of) the currently highlighted compound or End position. Selecting End causes the compound to be inserted at the end of the list. (This list order can always be changed.) The procedure is detailed below. 1. Position the highlight bar on a compound or End, as shown in Figure 3-2.
Mixer has been highlighted, so the new compound will be inserted in front of it in the list.
Figure 3-2. Compounds Functions Menu
2. Select Insert New Compound . This displays a name definition window (see Figure 3-3).
21
B0193AV – Rev P
3. Compounds, Blocks, and ECBs
Enter the name of the proposed new compound within the yellow data entry field.
Figure 3-3. Compound Name Window
3. Type in a valid compound name and press the Enter (Return) key. (“Valid” means full caps, alphanumeric, unique in the system, and up to 12 characters.) Selecting Cancel before Enter aborts the insert operation. The ICC checks the validity of the name. If the name is accepted, the name definition template disappears and a compound is created with default parameter values. If the name is not unique, you are notified to enter a new name, or cancel the insert request. The newly inserted compound appears highlighted in the compound summary list. You can then edit the compound parameters, if you want, using the Edit Compound Parameters function (see Figure 3-4).
22
3. Compounds, Blocks, and ECBs
B0193AV – Rev P
Edit compound parameters as required.
Figure 3-4. Compound Parameters List
The following two compounds containing one block each are automatically installed in a UNIX platform control processor (on initial boot) and in the ICC when invoked the first time from a control station: ♦
♦
Station compound (cplbug_STA) containing the station block (_STA:STATION) ECB compound (cplbug_ECB) containing the primary ECB (_ECB:PRIMARY_ECB).
The same is true for Windows platform users, except that the primary ECB is not installed automatically.
Edit Compound Parameters After you have selected a compound to edit from the summary list, select Edit Compound Parameters from the Compound Functions menu. This retrieves a copy of the current parameter list of the highlighted compound. This list contains parameter labels with adjoining fill-in fields. If the compound has never been edited, it contains default values where applicable. If you are just checking values without making changes, you can select Cancel when you are done. Cancel aborts the edit. However, if you are making edits to the list, always select Done when you are finished. Done saves the edits and overwrites the original. 23
B0193AV – Rev P
3. Compounds, Blocks, and ECBs
Copy to Paste Buffer The Copy to Paste Buffer function is available from the Compound Functions menu. It works only with compounds and is not selectable if the current buffer is the Paste Buffer. Copy to Paste Buffer deletes the present contents of the Paste Buffer and copies the selected compound to the buffer.
If you want to queue a list of compounds in the Paste Buffer for a multiple paste function, use the Copy and Append to Paste Buffer function. The copy functions also copy any source code of Sequence blocks (and, in the case of UNIX platform users, PLB blocks) contained in the compound. To copy a compound to the Paste Buffer: 1. Move the highlight frame to the appropriate compound in the left window to select it. 2. Select Copy to Paste Buffer from the Compound Functions menu. 3. Since compound names must be unique within the system, a dialog box returns the name of the selected compound and asks you to rename it for the copy function. 4. Move the cursor to the field next to the new name request and select it with the pointing device. A boxed field is highlighted and the ICC waits for characters to be input from the keyboard. 5. Type in the new name and press Enter (Return). 6. Select Done. If compounds already exist in the Paste Buffer, a dialog box notifies you that the copy function deletes any compounds in the Paste Buffer. 7. Select Yes or No to the question, Empty Paste Buffer, Are You Sure? 8. Select Yes to delete the contents of the Paste Buffer and copy the highlighted compound into the buffer. 9. To verify that the copy function was successful, select Buffer from the menu bar. By selecting Buffer, you can enter the Paste Buffer area and edit the copied compound as you would in a ICC file. 10. Select Buffer again to return to the ICC file. After a successful Copy to Paste Buffer function, the Paste from Paste Buffer function is highlighted and becomes selectable from the Compound Functions menu. If you want the copied compound to assume a particular position in the summary list, select its position before you select Paste from Paste Buffer . UNIX Platform Users Only: The paragraph below describes how the Copy to Paste Buffer function could be used in a procedure that moves a compound from one control station to another (to balance loading, for example).
Before making this move, ensure that every display in the system is static (not being updated from points in that compound) to avoid problems with connecting displays. To move the compound from the paste buffer into a different ICC file, select New from the menu bar. This closes the current file and returns the ICC to the CSA utility. 24
3. Compounds, Blocks, and ECBs
B0193AV – Rev P
Select the Vol key to retrieve the CIO_STN_Cfg or CIO_VOL_Cfg menu. After you have chosen an ICC file, select Copy to Paste Buffer from the Compound Functions menu to retrieve the copied compound. The copied compound is inserted in front of the currently selected compound.
Copy and Append to Paste Buffer Copy and Append to Paste Buffer is selectable from the Compound Functions menu when the Paste Buffer already has some contents.
This function is not selectable from the Paste Buffer. It mirrors the Copy to Paste Buffer function with the exception that it does not delete the buffer contents before it performs the copy. If any compounds are already in the buffer, it appends the copied compound to the present list. Copy and Append to Paste Buffer allows you to queue a number of compounds in the buffer for a multiple paste operation.
Selecting Paste from Paste Buffer causes the entire contents of the Paste Buffer to move to the summary list. If you want the buffer contents to assume a particular position in the summary list, select the position before you select Paste from Paste Buffer .
Paste from Paste Buffer This function is only available from the Compound Functions menu, and is only selectable when the Paste Buffer has contents. Selecting Paste from Paste Buffer causes any compounds that exist in the Paste Buffer to be moved to the ICC file, in the preselected position in the summary list. 1. Select a compound name (or End) from the left ICC window. This selection indicates the position that the incoming compound takes in the compound summary list. 2. Select Paste from Paste Buffer . The copied compound(s) are inserted above the selected compound. If the Copy to Paste Buffer function was used to copy the compound to the Paste Buffer, only one compound is moved into the list. If the Copy and Append to Paste Buffer function was used to copy compounds to the Paste Buffer, the entire buffer contents are moved into the list. As each compound is successfully inserted into the station or volume, it is added to the workfile and display list. If an insert operation fails, the Paste from Paste Buffer process stops, and an error message is displayed. You can then edit the remaining contents of the Paste Buffer and retry the paste operation. UNIX Platform Users Only: The Paste from Paste Buffer function may be part of a procedure to move a compound from one control station to another (to balance loading, for example). See “Copy to Paste Buffer” on page 24.
Save to Diskette This function is only available from the Compound Functions menu. It copies only to a high density diskette that has been formatted with the appropriate file system. It copies the following to a diskette in the selected drive: 25
B0193AV – Rev P ♦
3. Compounds, Blocks, and ECBs
The currently highlighted compound (including its compound parameter list)
♦
All associated block parameter lists All associated ECB parameter lists
♦
All associated PLB (UNIX platform users only ) and sequence block source files.
♦
To execute a Save to Diskette operation: 1. Select Save to Diskette from the Compound Functions menu. This displays the dialog box illustrated in Figure 3-5. If the desired host and drive are listed in this dialog box, go to the next step; otherwise, go to Step 5.
Figure 3-5. Save to Diskette Dialog Box
2. In the Current Name field, enter the name of the compound to be saved. 3. In the New Name field, enter the name you want the compound to assume on diskette. 4. Select Done to save the compound or select Cancel to exit the operation. 5. If the desired host and drive are not listed in the above dialog box, select Device from the above dialog box to designate the appropriate drive. This displays the following dialog box:
Figure 3-6. Selected Device
6. In the Host Name field, enter the host letterbug.
26
3. Compounds, Blocks, and ECBs
B0193AV – Rev P
7. In the Device Name field, enter one of the following: ♦
For UNIX platforms, enter: /dev/fd0
♦
For Windows platforms, enter: a:
8. Select Done to continue the Save to Diskette operation with Step 2, or select Cancel to exit the operation. If the selected compound name already exists on the diskette, you are given the option of replacing the compound on diskette, renaming the selected compound, or cancelling the operation. ! WARNING Removing a diskette from the diskette drive during a Save to Diskette operation can destroy the information on the diskette. Wait until the menu reappears before removing the diskette. UNIX Platform Users Only: A WP failure during a Save to Diskette operation may cause the error message Floppy Disk Mount Failed which indicates that the diskette is still mounted to the file system of the associated AP. To recover when using a drive hosted by a 50 Series AP/AW, access the VT100 mode on the AP/AW hosting the disk drive and enter the commands:
umount /dev/fd0 eject
The diskette is unmounted and ejected from the drive.
Load from Diskette This function allows you to load a compound and its associated blocks into the configuration file or Paste Buffer from a high density diskette in the designated drive of the designated host AP/AW. ! CAUTION The compound maintains the same parameter settings as when it was saved to diskette. To avoid disruption of the process, the compound can be copied into the Paste Buffer and the parameters modified prior to pasting the compound into an active station.
To load a compound from diskette: 1. Select Load from Diskette from the Compound Functions menu. This displays the dialog box illustrated in Figure 3-7. If the desired host and drive have been automatically listed in this dialog box by the ICC, go to the next step; otherwise go to Step 5.
27
B0193AV – Rev P
3. Compounds, Blocks, and ECBs
Figure 3-7. Load from Diskette
2. In the Current Name field, enter the name of the compound to be loaded. 3. In the New Name field, enter the name you want the compound to assume when it is loaded. 4. Select Done to load the compound or select Cancel to exit the operation. 5. If the desired host and drive are not listed in the above dialog box, select Device from the above dialog box to designate the appropriate drive. This displays the dialog box illustrated in Figure 3-8.
Figure 3-8. Select Device for Load from Diskette
6. In the Host Name field, enter the host letterbug. 7. In the Device Name field, enter one of the following: ♦
For UNIX platforms, enter: /dev/fd0
♦
For Windows platforms, enter: a:
8. Select Done to continue the load operation with Step 2, or select Cancel to exit the operation. If the compound cannot be located on the diskette, the ICC displays a notification message and the operation is cancelled.
28
3. Compounds, Blocks, and ECBs
B0193AV – Rev P
If the compound exists on diskette, but already exists in the system, you are given the option of renaming the selected compound as it is loaded from the diskette, or cancelling the operation. Load from diskette copies from the currently active disk: ♦
The compound parameter list
♦
All associated block parameter lists
♦
All ECB parameter lists
♦
All associated PLB (UNIX platform users only ) and sequence block source files.
UNIX Platform Users Only: A WP failure during a Save to Diskette operation may cause the error message Floppy Disk Mount Failed which indicates that the diskette is still mounted to the file system of the associated AP. To recover when using a drive hosted by a 50 Series AP/AW, access the VT100 mode on the AP/AW hosting the disk drive and enter the commands:
umount /dev/fd0 eject
The diskette is automatically unmounted and ejected from the drive.
Move Functions Move and Move Group are used in conjunction with Select to Move and End Move to move one or more objects in the compound or block/ECB list on the left side of the display (see Figure 3-9). These functions are available from the Compound and Block/ECB Functions menus.
29
B0193AV – Rev P
TANK CPD ECB01 ECB02 END ECB*** AIN01 AIN02 AIN44 AIN56 END CON1** MON01 TIM01 EXC03 DEP22 IND01 END SEQ*** DGAP77 CALC22 PID13 PID14 END CON2** END DATA **
3. Compounds, Blocks, and ECBs
Step 1 Select to Move Object to be moved is highlighted in yellow.
Step 2 Point to and click on desired target point. Target is highlighted in blue
Step 3 Move Desired object is moved in front of target.
Step 3a If Move Group is selected, new movable object is highlighted.
TANK CPD ECB01 ECB02 END ECB*** AIN01 AIN44 AIN56 END CON1** MON01 TIM01 EXC03 DEP22 IND01 END SEQ*** DGAP77 AIN02 CALC22 PID13 PID14 END CON2** END DATA **
Figure 3-9. Moving Objects
To move one object in the list: 1. Click on the name of the object in the list. This displays the normal cursor on the object. 2. Click on Select to Move from the Compound or Block/ECB Functions menu. This rehighlights the selected object and displays the differently colored move cursor on it. 3. Click on the object immediately following the desired new position for the selected object. This displays the normal cursor at the target position. 4. Click on Move. This moves the selected object to a position immediately in front of the target position, and deactivates the move functions in the menu. To move more than one object in the list: 1. Click on the name of an object in the list. This displays the normal cursor on the object. 2. Click on Select to Move from the Compound or Block/ECB Functions menu. This highlights the selected object and displays the differently colored move cursor on it. 3. Click on the object immediately following the desired new position for the selected object. This displays the normal cursor at the target position. 30
3. Compounds, Blocks, and ECBs
B0193AV – Rev P
4. Click on Move Group. This moves the selected object to a position immediately in front of the target position. This also highlights the object immediately following the original position of the moved object and displays the move cursor on it. The normal cursor remains at the target position. 5. Click on Move Group again. This moves the second highlighted object in front of the target position. This highlights the next object and displays the move and normal cursors as in Step 4. 6. Repeat Step 5 until you have moved all the desired objects. 7. Click on End Move or the move cursor. This ends the move operation and deactivates the move functions in the menu. Clicking on the move cursor also redisplays it as the normal cursor. The Select to Move function is only active when the normal cursor is positioned on a legally movable object. The station and ECB compounds and the End marker cannot be selected for moving. When a valid compound has been selected for moving, it cannot be moved in front of either the station or ECB compounds. Within the Paste Buffer, copies of the station and ECB compounds are treated just like any other compound for moving purposes. A block cannot be moved into an invalid zone. For example, an ECB cannot be moved into the sequence zone. Blocks can be moved back and forth between the two continuous zones (CON1 and CON2). Within the ECB compound, the primary ECB cannot be moved. Neither can another ECB be moved to a position in front of the primary ECB.
Upload The Upload function retrieves “settable” configuration compound, block, and ECB parameter values from the station and stores these values into the ICC workfiles. Tuning parameters and alarm limits are examples of “settable” values which are changed via applications such as default displays, customer-configured displays, and user-written applications. Parameters that are uploaded include: ♦
Unconnected, settable parameters
♦
Unconnected inputs (value is not a pathname).
Parameters that are not uploaded include: ♦
Parameters that can be set only by the ICC
♦
Connected inputs (value is a pathname)
♦
Parameters of string data type.
The Upload function appears in three separate menus in the ICC. 1. Selecting Upload Compound Parameters from the Compound Functions display stores the compound, block, and ECB parameter values of the selected compound into the ICC workfiles. 2. Selecting Upload Block/ECB Parameters from the Block/ECB Functions display stores the block or ECB parameter values of the selected block or ECB into the ICC workfiles. 3. Selecting Upload from the menu bar’s Maint menu stores the compound, block, and ECB parameters of the selected station into the ICC workfiles. 31
B0193AV – Rev P
3. Compounds, Blocks, and ECBs
Delete Delete has two uses. You can use it to: ♦ ♦
Delete a compound or block from the display and database Re-establish broken compound or block connections.
Selecting Delete from the Compound or Block/ECB Functions screen displays the following dialog box:
Figure 3-10. Delete and Undelete
Delete (Compound, Block, or ECB) To delete a compound, block, or ECB, select Delete in the dialog box. This sends a delete request to the control station. You cannot delete the station compound, station block, ECB compound, or the primary ECB.
Delete & Undelete (Compound, Block, or ECB) The Delete & Undelete key moves a selected compound/block or ECB in and out of a temporary delete buffer. The temporary delete buffer is not an editable area. The position of the compound or block in the database is not changed.
Cancel Selecting Cancel discontinues the operation and returns to the previous display.
View Blocks/ECBs in this Compound This function is available from the Compound Functions menu. ♦
It replaces the compound list in the left window with the Block/ECB list.
It replaces the Compound Functions menu with the Block/ECB Functions menu. When the block list appears, the highlight bar illuminates the first block item in the list which is not in the ECB zone. This is either a continuous block or the End CON1 marker. ♦
32
3. Compounds, Blocks, and ECBs
B0193AV – Rev P
Block/ECB Functions Display The Block/ECB Functions display is illustrated in Figure 3-11.
Figure 3-11. Block/ECB Functions Display
View Compound List This function is available from the Block/ECB Functions menu. ♦
It replaces the Block/ECB list in the left window with the compound list.
♦
It replaces the Block/ECB Functions menu with the Compound Functions menu.
When the compound list appears, note that the highlight bar illuminates the compound name associated with the previous block/ECB list.
Insert New Block Selecting Insert New Block/ECB in the Block/ECB Functions display allows you to create: ♦
♦
A copy of a standard system block or ECB type with default parameters where appropriate. A copy of an existing block or ECB with the parameter settings of that copied block. 33
B0193AV – Rev P
3. Compounds, Blocks, and ECBs
Before you can insert a new block or ECB, you must create a new compound or select a compound in which the block or ECB is to reside. Following this action, the View Blocks/ECBs in this Compound option is highlighted in the Compound Functions menu. Selecting it provides access to the Block/ECB Functions menu for inserting a new block or ECB. NOTE
For PLB (UNIX platform users only ) and sequence blocks, only the parameter values are copied to the new block, not the logic. Use the PLB and/or sequence libraries for transporting this logic. To copy a standard system block (for example, AIN or MCOUT): 1. From the block/ECB list for the compound, highlight the block that is to follow the one you are creating. Highlight the appropriate End (End CON1 , End SEQ, or End CON2 ) if the new block is to be last one in the zone (see “Block/ECB Functions Display” on page 33). 2. Select Insert New Block/ECB from the Block/ECB Functions menu. This displays a window for Block Definition (see “Block Name Window” on page 35). 3. For the Name, enter a valid (full caps, unique within the compound, up to 12-characters) name for the block to be created. Press Enter (or Return ). If the name is accepted, the Block Type window appears (see “Block Type Window” on page 36). If the name is invalid, you are notified by an error message dialog box. You can then select Continue and enter a new name. 4. For the Type, there are two entry options: a. Enter (in full caps) the valid, block type name and press Enter, or b. Select Show from the menu bar and from the Show pull-down menu select Block Type Names to list all of the block types in the right window of the display (see the Show Block Type Names window). Selecting a block type from this list automatically transfers it to the Type field. Select Done. Select Cancel to abort an insert operation. 5. After the block type is entered, the ICC checks its validity. If valid, the block is inserted. The new block contains the default parameters of the standard block type. If the type is unknown or invalid for the current station or location within the station, you are notified with an error message dialog box. Select Continue and enter a new type, or cancel the insert operation. 6. The new block appears immediately above the selected block in the block/ECB list under the compound name. You can then edit the block parameters, if you wish, using the Edit Standard Block/ECB Parameters or Edit All Block/ECB Parameters selection to display the Edit Block Parameters window. New blocks must be inserted in accordance with the block order zones described in the paragraph “Block Order” on page 39. You cannot add blocks to the station compound.
34
3. Compounds, Blocks, and ECBs
B0193AV – Rev P
Block Name Window Refer to Figure 3-12 when entering a new block name.
Enter the name of the proposed new block within the yellow data entry field.
Figure 3-12. Enter New Block Location
35
B0193AV – Rev P
3. Compounds, Blocks, and ECBs
Block Type Window Figure 3-13 illustrates the location where the block type is entered.
Enter the type of the proposed new block within the yellow data entry field.
Figure 3-13. Enter Block Type
36
3. Compounds, Blocks, and ECBs
B0193AV – Rev P
Show Block Type Names Window Refer to Figure 3-14 when showing block type.
Select the block type name from the Show Block Type names window which displays the name within the yellow data entry field.
Figure 3-14. Show Block Type
37