Professional Documents
Culture Documents
B0193av R
B0193av R
REV R
I/A Series®
Integrated Control Configurator
February 15, 2008
Ladder
Logic
Sequence Ladder
Continuous
Logic Logic
EXACT_MV
Continuous
Sequence EXACT_MV
Logic
Continuous
EXACT_MV
Invensys, Foxboro, FIO, I/A Series, SPEC 200, SPECTRUM, and UFM are trademarks of Invensys plc, its
subsidiaries, and affiliates.
All other brand names may be trademarks of their respective owners.
Tables..................................................................................................................................... xi
Preface................................................................................................................................. xiii
Revision Information ............................................................................................................. xiii
Reference Documents ............................................................................................................ xiii
1. 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
Workstation Hosts and Remote Draw Capability ..................................................................... 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 ........................................................................................................... 8
Printer Configuration Files ................................................................................................... 8
Printer Configuration Parameters ......................................................................................... 9
Printer Configuration ........................................................................................................... 9
Notes On Printer Configuration .......................................................................................... 9
iii
B0193AV – Rev R Contents
iv
Contents B0193AV – Rev R
v
B0193AV – Rev R Contents
vi
Contents B0193AV – Rev R
vii
B0193AV – Rev R Contents
viii
Figures
1-1. AP Host_Cfg Dialog Box .............................................................................................. 5
1-2. Editable Work Areas ..................................................................................................... 7
2-1. Compound Summary Access ....................................................................................... 12
2-2. Selecting Volume Key from the CSA Utility Screen .................................................... 15
2-3. Override Lock Display ................................................................................................ 16
2-4. Compound and Block Overview Display .................................................................... 17
3-1. Compound Function Display ..................................................................................... 20
3-2. Compounds Functions Menu ..................................................................................... 21
3-3. Compound Name Window ........................................................................................ 22
3-4. Compound Parameters List ......................................................................................... 23
3-5. Save to Diskette Dialog Box ........................................................................................ 26
3-6. Selected Device ........................................................................................................... 26
3-7. Load from Diskette ..................................................................................................... 28
3-8. Select Device for Load from Diskette .......................................................................... 28
3-9. Moving Objects .......................................................................................................... 30
3-10. Delete and Undelete .................................................................................................... 32
3-11. Block/ECB Functions Display .................................................................................... 33
3-12. Enter New Block Location .......................................................................................... 35
3-13. Enter Block Type ........................................................................................................ 36
3-14. Show Block Type ........................................................................................................ 37
3-15. Edit Block Parameters ................................................................................................. 38
3-16. Block Order within a Compound ............................................................................... 40
3-17. Insert New ECB .......................................................................................................... 43
3-18. Enter Name of New ECB ........................................................................................... 44
3-19. ECB Type Window .................................................................................................... 45
3-20. ECB Device Identification Window ............................................................................ 46
4-1. Initializing a Self-Hosting Controller .......................................................................... 58
6-1. Data Fields .................................................................................................................. 77
7-1. Block/ECB Functions Menu ....................................................................................... 93
7-2. Sequence Logic Functions Menu ................................................................................. 94
7-3. Copy Source of This Block From Library .................................................................... 98
7-4. Delete Block Source From Library ............................................................................ 100
7-5. Save Source of this Block to Library .......................................................................... 107
7-6. View Include Library Contents ................................................................................. 109
7-7. View Source Library Contents ................................................................................... 110
ix
B0193AV – Rev R Figures
x
Tables
1-1. Cursor Movement ......................................................................................................... 3
1-2. Menu Icons ................................................................................................................... 4
2-1. Detail Buttons ............................................................................................................. 18
5-1. Valid Mixed Data Peer-to-Peer Connections ............................................................... 63
6-1. Field Inputs ................................................................................................................. 74
6-2. Cursor Control ........................................................................................................... 74
6-3. Editing Keys ................................................................................................................ 75
6-4. Symbol Keys ............................................................................................................... 76
6-5. Technical Identifiers .................................................................................................... 77
xi
B0193AV – Rev R Tables
xii
Preface
This document is intended for use by process control and applications engineers. It provides spe-
cific 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 this revision of the document (B0193AV-R), the following changes were made for the
I/A Series V8.4 release:
Chapter 4 “Menu Bar Functions”
♦ Updated “Checkpoint Menu” on page 55 to include information about self-hosting
FCP270 and ZCP270 modules.
♦ Added a paragraph to “Initialize” on page 58 indicating that you must disable self-
hosting and perform a checkpoint before initializing the control station.
Reference Documents
Refer to the following documents for additional information:
♦ Integrated Control Software Concepts (B0193AW) or 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 R Preface
xiv
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 applica-
tions 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 com-
pounds/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 R 1. Introduction
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 track-
ball), 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 imple-
mentation. 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 com-
pound 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 R
All Users:
Table 1-1 describes the general control keys.
3
B0193AV – Rev R 1. Introduction
When the ICC is expecting input from the keyboard, this document uses Press <key name> 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 Function
Single Up/Down Arrow Move the highlighted cursor up or down one item.
Double Up/Down Arrow Move the highlighted cursor to the previous page or
to the next page.
Double Up/Down Arrow with a Rule Move the highlighted cursor to the beginning or
end of the list.
Octagon Close the window.
4
1. Introduction B0193AV – Rev R
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 let-
terbug 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 R 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 let-
terbug 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.
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 R
EDIT SESSION
PASTE PASTE
CHECKPOINT STATION PASTE LIB/WORK
FILE FILE BUFFER VOLUME
COPY COPY
REBOOT
LOAD/PASTE/EDIT
CHECKPOINT UPLOAD
CP LOADALL/SAVEALL
LOAD FROM DISKETTE
SAVE TO DISKETTE
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 with con-
trol capability.
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 = <station name> @ AP <letterbug>.
♦ Following the completion of a station edit, a check point of the control processor’s
database is automatically initiated.
7
B0193AV – Rev R 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 = <volume name> @ AP <letterbug of hosting 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, sys-
tem-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.
8
1. Introduction B0193AV – Rev R
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
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 possi-
ble 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.
9
B0193AV – Rev R 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 for-
mat/access FAILED appears on the display. However, the print job is still performed using hard-
coded 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 util-
ity. Use the pointing device to select, and the Enter or Return key to enter the
11
B0193AV – Rev R 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 key-
pad) 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.
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 R
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 bot-
tom left of the display.
CSA gets the selected compound with all its data, and transports it to the ICC. The selected com-
pound appears, highlighted on the left of the display along with other compounds that reside in
that same station or volume.
13
B0193AV – Rev R 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.
14
2. The Compound Summary Access Utility B0193AV – Rev R
2. If the Choice field is empty, you enter the work volume directly from the CSA utility
without selecting a particular compound.
Figure 2-2. Selecting Volume Key from the CSA Utility Screen
15
B0193AV – Rev R 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 data-
base file is locked. You receive a copy of this file.
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 Config-
ure 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 R
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.
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 immedi-
ately 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 R 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.
Button Function
Cpd On Turns compound On. If compound is already On, only Cpd Off is selectable.
Cpd Off Turns Compound Off. If compound is already Off, only Cpd On is selectable.
Detail Brings up the compound detail summary or block display.
Refresh Refreshes the display to reflect the current status of the compound and blocks.
18
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.
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 fol-
lowing 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 specifica-
tions 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 (<cplbug_ECB>), or you can install them in other compounds.
19
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
Compound
Compound List Functions List Available FBMs
20
3. Compounds, Blocks, and ECBs B0193AV – Rev R
2. Select Insert New Compound. This displays a name definition window (see
Figure 3-3).
21
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
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 R
Edit compound
parameters as
required.
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
(<cplbug>_STA:STATION)
♦ ECB compound (cplbug_ECB) containing the primary ECB
(<cplbug>_ECB:PRIMARY_ECB).
The same is true for Windows platform users, except that the primary ECB is not installed
automatically.
23
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
24
3. Compounds, Blocks, and ECBs B0193AV – Rev R
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 cop-
ied compound. The copied compound is inserted in front of the currently selected compound.
Save to Diskette
This function is only available from the Compound Functions menu. It copies only to a high den-
sity diskette that has been formatted with the appropriate file system. It copies the following to a
diskette in the selected drive:
25
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
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:
26
3. Compounds, Blocks, and ECBs B0193AV – Rev R
! 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.
! CAUTION
The compound maintains the same parameter settings as when it was saved to dis-
kette. 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.
27
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
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.
28
3. Compounds, Blocks, and ECBs B0193AV – Rev R
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.
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 R 3. Compounds, Blocks, and ECBs
Step 1
TANK CPD TANK CPD
Select to Move
ECB01 Object to be moved is
ECB01
ECB02 highlighted in yellow. ECB02
END ECB*** END ECB***
AIN01 AIN01
Step 2
AIN02 AIN44
Point to and click on
AIN44 desired target point. AIN56
AIN56 Target is highlighted in END CON1**
blue MON01
END CON1**
MON01 TIM01
TIM01 Step 3 EXC03
EXC03 Move DEP22
DEP22 Desired object is IND01
IND01 moved in front of target. END SEQ***
END SEQ*** DGAP77
DGAP77 AIN02
Step 3a
CALC22 If Move Group is CALC22
PID13 selected, new movable PID13
object is highlighted.
PID14 PID14
END CON2** END CON2**
END DATA ** END DATA **
30
3. Compounds, Blocks, and ECBs B0193AV – Rev R
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 cur-
sors 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 val-
ues 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 appli-
cations 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 R 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:
Cancel
Selecting Cancel discontinues the operation and returns to the previous display.
32
3. Compounds, Blocks, and ECBs B0193AV – Rev R
33
B0193AV – Rev R 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 val-
ues are copied to the new block, not the logic. Use the PLB and/or sequence librar-
ies for transporting this logic.
34
3. Compounds, Blocks, and ECBs B0193AV – Rev R
35
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
36
3. Compounds, Blocks, and ECBs B0193AV – Rev R
37
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
Edit block
parameters as
required
Copy a Block
To copy a block from an existing block:
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 “Insert New Block” on page 33).
3. For the Name, enter a valid name (full caps, unique within the compound, up to
12 characters) for the new block. Press Enter (or Return). If accepted, a Block Type
window appears (see “Block Type Window” on page 36).
4. If the name is invalid, you are notified by an error message dialog box. You can then
select Continue and enter a new name.
5. For the Type (see “Block Type Window” on page 36), enter the name of the block to
be copied:
a. If the block is remote to the current compound, type (in full caps) the name of the
block using the COMPOUND:BLOCK_NAME convention and press Enter, or
38
3. Compounds, Blocks, and ECBs B0193AV – Rev R
b. If the block is in the current compound, type in the name of the block using the
:BLOCK_NAME convention and press Enter.
! CAUTION
The new block has the same parameter settings as the block that was copied. To
avoid disruption of the process when copying a block within an active station, you
should copy the block into the Paste Buffer and modify the parameters as follows:
1. Create a temporary compound within the Paste Buffer.
2. Copy the desired block into that compound.
3. View the parameter values and edit them for safe and effective operation, espe-
cially such settings as FBM assignments and output point connections.
6. After the name of the existing block is entered, the ICC checks its validity. If valid, the
block is copied with the new block name. The new block contains the same parameter
settings as the block that was copied.
7. If the block entered 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.
8. 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 Parame-
ters selection to display the Edit Block Parameters window.
Block Order
To provide you with maximum flexibility in implementing your control scheme, the ICC
enforces a particular block building order within a compound (refer to Figure 3-16). The order is:
1. Equipment Control Blocks (ECBs)
2. Pre-Sequence Continuous
3. Sequence Monitor/Timer
4. Sequence Exception
5. Sequence Dependent/Independent
6. Post-Sequence Continuous
7. Data Blocks (non-executing).
Before a block insert is permitted, the ICC compares the type of block being inserted to the resi-
dent block types. This ensures that the ordering rules are followed.
An inappropriate type request generates an error message that the operation is invalid.
You can build a control database so that a set of continuous blocks are processed either before or
after sequence blocks in the same block processing cycle. These are referred to as pre-sequence and
post-sequence blocks. The ICC provides a visual mechanism for differentiating the borders
between the sequence blocks and the two sets of continuous blocks.
ICC provides the following zones with unique background colors within the block list window at
the left of the display and indicates the end of each zone as shown in the figure and diagram
below. The zones are:
39
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
ICC also provides the following sub-zones for sequence blocks with the same background color:
♦ Monitor/Timer blocks
♦ Exception blocks
♦ Dependent/Independent blocks.
ICC also provides move functions that enable the blocks to be moved within any zone and
between the two continuous zones.
40
3. Compounds, Blocks, and ECBs B0193AV – Rev R
All Users:
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.
ECBs can be part of the built-in ECB compound (<cplbug>_ECB) or you can install them in
other compounds. The primary ECB must be in the ECB compound. You can only add ECBs to
the built-in ECB compound.
To create a new ECB:
1. From the block/ECB list for the compound, highlight the ECB that is to follow the
one you are creating. Highlight End ECB if the new ECB is to be last one in the zone
(see “ECB Functions Menu” on page 43).
2. Select Insert New Block/ECB from the ECB Functions menu. This displays the ECB
Name window for name definition.
3. For the ECB name, enter a valid (full caps, unique within the compound, up to
12-characters) name for the ECB to be created. Press Enter (or Return). If accepted,
the ECB Type window appears.
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. Enter (in full caps) the valid ECB type name and press Enter. From the Show pull-
down menu, select Legal FBM/ECB Combinations to list all of the ECB types in the
right window of the display. Entering the type displays the ECB Device Identifica-
tion window.
5. Enter the letterbug of the Fieldbus device for the device identification into the DEV_ID
field. The DEV_ID values must be unique within the station. For ECBs 43, 44, and 45,
entering the device identification displays the Hardware Type window. For all other
ECBs, entering the device identification immediately displays a list of all parameters
for that ECB.
NOTE
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. (UNIX platform users only:
fieldbus device letterbugs do not need to be unique across different control proces-
sors.)
41
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
a. For ECBs 43, 44, and 45, enter the Fieldbus device hardware type value in the
HWTYPE entry field. Entering the hardware type displays a list of all parameters for
that ECB.
b. For all other ECBs, enter the Fieldbus device hardware type value in the HWTYPE
field.
7. Enter the Fieldbus device software type value.
8. Enter the expander type value for the FBM, if required.
UNIX Platform Users Only:
For Fieldbus device hardware, software, and expander type values, if the DEV_ID
value was defined to the System Configurator/Definition, the defaults for HWTYPE,
SWTYPE, and EXTYPE are from that configuration, and probably do not need to be
changed. However, you can still change them at this point if you desire.
All Users:
If any of the above parameter values are unknown or invalid, you are notified with
an error message dialog box. Select Continue and enter a new value, or cancel the
insert operation. If the parameter values are valid, the ECB is inserted. The new
ECB contains the default parameters of the standard ECB type.
9. Select Cancel before Done (or Enter) to abort an insert operation.
10. Select Done or press Enter. (To abort an insert operation, select Cancel.)
11. The new ECB appears immediately above the selected ECB in the block/ECB list
under the compound name. You can then edit the ECB parameters, if you wish, using
the Edit Block/ECB Parameters function.
42
3. Compounds, Blocks, and ECBs B0193AV – Rev R
43
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
44
3. Compounds, Blocks, and ECBs B0193AV – Rev R
45
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
Software Type
Expander Type
Hardware Type
Copy ECB
To copy an ECB from an existing ECB:
1. From the block/ECB list for the compound, highlight the ECB that is to follow the
one you are creating. Highlight End ECB if the new ECB is to be last one in the zone
(see “ECB Functions Menu” on page 43).
2. Select Insert New Block/ECB from the Block/ECB Functions menu. This displays a
window for ECB Definition (see “ECB Name Window” on page 44).
3. For the ECB Name, enter a valid name (full caps, unique within the compound, up to
12 characters) for the new ECB. Press Enter (or Return). If the name is accepted, the
ECB Type window appears.
If the name is invalid, you are notified by an error message dialog box. You can then
select Continue and enter a new name.
46
3. Compounds, Blocks, and ECBs B0193AV – Rev R
4. For the ECB Type, enter the name of the ECB to be copied.
a. If the ECB is remote to the current compound, type (in full caps) the name of the
ECB using the COMPOUND:ECB_NAME convention and press Enter, or
b. If the ECB is in the current compound, type in the name of the ECB using the
:ECB_NAME convention and press Enter.
Entering the ECB Type displays the ECB Device Identification window.
5. Enter a new Fieldbus device letterbug for the device identification in the DEV_ID field.
The DEV_ID values must be unique within the station. Entering the device identifica-
tion displays a list of all parameters, all of which are copied from the specified ECB.
6. If changes are desired, you can enter them. These include the Fieldbus device hard-
ware type value, software type, and FBM expander type.
If any of the above parameter values is unknown or invalid, you are notified with an
error message dialog box. Select Continue and enter a new value, or cancel the insert
operation. If the parameter values are valid, the ECB is inserted. The new ECB con-
tains the same parameter settings as the ECB that was copied.
7. Select Done. (Select Cancel before Done or Enter to abort an insert operation.)
8. The new ECB appears immediately above the selected ECB in the block/ECB list
under the compound name. You can then edit the ECB parameters if you wish, using
the Edit Standard Block/ECB Parameters or Edit All Block/ECB Parameters
function.
47
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
ICC also allows local and peer-to-peer Boolean input connections to source data of any data type.
When configuring Boolean inputs, you can also configure additional extension information at the
end of the full pathname of the source parameter to specify additional functions.
ICC also allows block parameter (not string type) connections to shared variables that are not in a
control processor. The shared variable name consists of up to 12 uppercase characters that contain
no colons or periods.
All Users:
If the input parameter is a 16-bit packed Boolean variable, you can configure a connection exten-
sion to extract a specific set of bits from the source parameter without changing other bits in the
input.
To enter a hexadecimal number for a packed Boolean parameter value ranging from 0 to FFFF,
precede the number with 0X. For example, enter 0XFFFF to set all the bits in the value to one.
Enter 0X8000 to set only the high order bit. The same rule applies to a packed long parameter
value ranging from 0 to FFFFFFFF.
When entering data in the range 32768 through 65535 into a block parameter whose type is an
unsigned integer, you must enter the value as a hexadecimal number. For example, to set
ECB34.HORVAL to 50000, you must enter 0XC350.
48
3. Compounds, Blocks, and ECBs B0193AV – Rev R
49
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
50
3. Compounds, Blocks, and ECBs B0193AV – Rev R
Rename Block/ECB
This function is available from the Block/ECB Functions menu and is only selectable when the
current buffer is the Paste Buffer. It provides a dialog box which requests a new name for the cur-
rently selected block or ECB. The name must be unique in the current compound.
1. Select a block or ECB name from the summary list.
2. Select Rename Block/ECB from the Block/ECB Functions menu.
3. A dialog box returns the present name and asks you to enter a new name.
4. Key in the new name (which must be unique within the compound).
5. Once the name is accepted, the Block/ECB display is updated with the new name.
51
B0193AV – Rev R 3. Compounds, Blocks, and ECBs
52
4. Menu Bar Functions
This chapter contains information on menu bar functions.
Show Menu
This function enables you to request a variety of lists. Selecting Show provides a menu of the fol-
lowing items:
♦ Available CPs (control stations)
♦ Available FBMs (Fieldbus devices in <cplbug>_ECB compound only)
♦ Block Type Names
♦ Diskette Directory (displays the database on a SaveAll diskette)
♦ Available WPs (Workstation Processors)
♦ Available Printers
♦ Available Historians
♦ CP Processing Periods
♦ Integrator and Gateway Processing Periods
♦ Boolean Descriptors (for packed Boolean parameters)
♦ Configured ECBs (System Definition ECBs)
♦ Legal FBM/ECB Combinations
♦ SPECTRUM FBP Configuration
♦ SPECTRUM UCM I/O Cards
♦ SPECTRUM UIO I/O Cards
♦ SPECTRUM FIO I/O Cards
♦ SPECTRUM UFM I/O Cards.
♦ FCM100 Addresses (Fieldbus Control Modules).
Selecting Cancel causes the menu to disappear and the previous display to reappear. Any other
selection causes the menu to disappear and a new window to open at the right of the display. A
scrollable list appears in this window. If you select one of the items in this list and there is a cur-
rently open fill-in field, the selected item is copied to the fill-in field, replacing any previous con-
tents. This window closes when you select the close icon. Several windows do not allow copying
data to a fill-in field. They are: Boolean Descriptors, Configured ECBs, Legal FBM/ECB Combi-
nations, and the four SPECTRUM I/O Cards windows.
The Boolean Descriptors list contains mnemonic descriptions for each Boolean bit of the
selected packed Boolean parameter.
Diskette Directory
When Diskette Directory is selected from the Show menu, the database on a SaveAll diskette is
displayed.
53
B0193AV – Rev R 4. Menu Bar Functions
FBM Menu
UNIX Platform Users Only:
This function is only selectable when the ICC target is a station. Selecting FBM provides the fol-
lowing choices:
♦ Fix All
♦ Ladder Assignment
♦ Cancel (to close the FBM menu).
NOTE
Since ECBs can be contained in any compound, you are required to select the com-
pound containing the PLB ECBs before the ladder assignments for these ECBs can
be accessed.
Selecting Ladder Assignment moves you into the FBM Ladder Assignment function. The fol-
lowing is an example of the first display, the FBM Ladder Assignment Summary:
54
4. Menu Bar Functions B0193AV – Rev R
Print Menu
The Print menu allows you to print a hard copy of portions of the selected station database. You
can select from the Print menu:
♦ Parameters of all blocks in a compound
♦ Parameters of one compound or block
♦ Parameters of all compounds and blocks
♦ Names of all compounds
♦ Names of all blocks in a compound.
If one compound, block, or ECB is selected, you are prompted to fill-in a compound, block, or
ECB name. An unknown name causes an error notification and a return to the fill-in field. You
may try again with a new name, or Cancel.
Once you have made the item selection, you are asked to select a printer from a list of printers in
the system. When you select the printer, the print request is sent to the printer queue and control
returns to the ICC.
New Menu
Selecting New from the menu bar closes the file that you are working in, and saves it. The system
returns to the CSA utility so that you can choose another file.
Checkpoint Menu
Checkpoint saves the selected station’s database in a checkpoint file on the host file server. If the
control station is an FCP270 or a ZCP270, additional steps are taken depending on the FCP270
or ZCP270 controller’s mode of operation:
♦ If the FCP270 or ZCP270 is not currently in self-hosting mode and was not in self-
hosting mode prior to the Checkpoint command being issued, the checkpoint is
complete.
♦ If the FCP270 or ZCP270 is in self-hosting mode, the controller requests a copy of
the checkpoint file from the download server. This file is then copied (burned) into
the control station’s flash memory.
55
B0193AV – Rev R 4. Menu Bar Functions
Maint Menu
This selection provides a menu with the following functions:
♦ LoadAll
♦ SaveAll
♦ SaveAll w/Fmt
♦ Shrink
♦ Initialize
♦ Upload
♦ Format Floppy
♦ Eject Floppy.
LoadAll
LoadAll allows you to load the entire contents of a diskette to the currently selected buffer: paste,
volume, or station.
All Users:
For compounds other than the ECB compound, failure of any block or ECB to load causes failure
of the entire compound.
When performing a LoadAll operation, any block which causes either an error (failure) or warn-
ing message records the associated message in a log file. When an error (failure) is detected, the
operation stops and a dialog box is displayed. Select Continue to restart the operation. For warn-
ing messages, the operation continues, but at the end of the operation a summary box informs
you of the errors and warnings and identifies the file which contains the associated error messages.
When you do batch processing (recipes) with sequence type blocks (IND, DEP, TIM, EXC,
MON), it is recommended that you use the LoadAll/SaveAll ICCAPI shell scripts to perform
LoadAlls/SaveAlls to/from a hard drive. Refer to the Integrated Control Configurator Application
Programming Interface (B0193NE) document, the paragraph titled, “Load_All/Save_All
Recommendations.”
! CAUTION
The compounds, blocks, and ECBs maintain the same parameter settings as when
they were saved to diskette. The compounds can be copied into the paste buffer and
the parameters modified prior to installing the compounds into an active station.
SaveAll
SaveAll allows you to save all of the compounds in a control station, volume, or paste buffer to a
diskette or, if necessary, multiple diskettes. If the information being saved requires multiple dis-
kettes, the following dialog box appears:
56
4. Menu Bar Functions B0193AV – Rev R
The system indicates the first compound that will be saved to the new diskette.
! WARNING
Removing a diskette from the diskette drive during a SaveAll operation may
destroy the information on the diskette. Wait until the menu reappears before
removing the diskette.
Disk drive device errors occur during Maint operations in the ICC if the disk drive is currently
selected in a file manager application (for example, Windows Explorer). The device must be dese-
lected in the file manager to allow access to the drive.
SaveAll w/Fmt
SaveAll w/Fmt formats a double-sided, high density diskette in the designated diskette drive, and
then performs a SaveAll.
57
B0193AV – Rev R 4. Menu Bar Functions
Shrink
Shrink compresses the current ICC database to save disk space. Upon completion, it automati-
cally selects the New function.
NOTE
Shrink only affects files on the disk. It does not affect the control processor.
Initialize
Initialize removes all compounds, ECBs, and blocks, including sequence and (UNIX platform
users only) PLB source files, from the configuration file for the current station or volume. The sta-
tion must be rebooted after Initialize is performed.
If this is an FCP270 or ZCP270 configured for self-hosting mode, you will get the error message
shown below if you try to initialize the CP. If the CP is operating in self-hosting mode, you must
first disable self-hosting and perform a checkpoint as indicated in Figure 4-1 before initializing
the CP.
Format Floppy
Format Floppy formats a double-sided, high density diskette in the designated diskette drive.
Eject Floppy
UNIX Platform Users Only:
Eject Floppy, which applies only to a 50 Series host drive, automatically ejects the diskette from
the designated drive. If you use it with a Windows workstation, nothing happens.
Buffer Menu
The Paste Buffer is a temporary editable area that accommodates:
♦ Compound(s) that are being copied from one ICC file to another
58
4. Menu Bar Functions B0193AV – Rev R
Cancel/Done
Cancel always discards an action or menu and returns the previous display. Done always saves the
action and either returns to the previous display or proceeds to the next display.
Exit Menu
Exit indicates that you have completed the editing process and wish to exit from the ICC.
Selecting Exit causes ICC to automatically initiate a check point, save the file that you are work-
ing in, and examine the paste buffer.
If compounds exist in the paste buffer, ICC warns that they will be deleted upon exit, and asks:
Are You Sure?
If your response is Yes, ICC:
♦ Deletes any compounds contained in the paste buffer
♦ Discards the contents of the delete buffer
♦ Deletes all temporary data files
♦ Exits ICC.
If your response is No, the Exit request is cancelled and the previous display reappears.
59
B0193AV – Rev R 4. Menu Bar Functions
60
5. Block Parameter Connections
This chapter contains information on block parameter connections including mixed data types,
Boolean connection extensions, and defaults for integer and real connections.
To access a block parameter value from outside the resident compound, you must use the entire
path:
Cname:Bname.Pname
where:
Cname = compound name
Bname = block name
Pname = parameter name.
Connectivity between blocks in different compounds is through this same convention, whether
the compounds are in the same or different stations.
To connect to either a block parameter value from another block within the same compound, or
to a parameter value from within the same block, you can use:
:Bname.Pname
Topics relating to block parameter connections described in the following sections are:
♦ Mixed Data Types
♦ Boolean Connection Extensions
♦ General Format of Boolean Connection Extensions
♦ Boolean Extensions to Source Data
♦ Boolean Extensions to Source Status
♦ Boolean Extensions to Status Parameters
♦ Packed Boolean Connection Extensions
♦ Defaults for Integer and Real Connections.
61
B0193AV – Rev R 5. Block Parameter Connections
62
5. Block Parameter Connections B0193AV – Rev R
Peer-to-peer connections are input parameter connections to source parameters in different con-
trol stations.
Peer-to-peer connections support a mixture of the following data types. The same conversions
specified for the mixed local connections in the previous table are performed for the combinations
of mixed peer-to-peer connections listed in the following table.
Peer-to-peer connections do not support a mixture of real and integer data types, or a mixed con-
nection to a Boolean source.
63
B0193AV – Rev R 5. Block Parameter Connections
♦ Perform logic functions (AND, XOR) on the source data against a user-specified
Boolean bit mask
♦ Invert the extracted result.
In conjunction with any of these options, you can specify a default (fallback) value for the Bool-
ean input. When the block is installed, the sink value is initialized to the default value (0 or 1)
specified in the connection extension.
NOTE
If the Boolean input is connected to itself, this feature allows you to create a Bool-
ean constant of 0 or 1 that cannot be changed without reconfiguring the
connection.
If the connection is broken or the source value is BAD or out-of-service (OOS), and a default
value is specified in the connection extension, the sink value is set to the default value.
NOTE
This feature allows you to preconfigure deterministic fallback states for any Boolean
input that is connected peer-to-peer to a source parameter in a different station.
If the extension information is invalid, the connection is marked Unresolved, the block is marked
Undefined, and the Object Manager (OM) scan status of the input is set to 0.
NOTE
B, A, or X can be used only if source is integer, long, packed boolean, or packed long
(other types invalid).
H can be used only with A or X functions if source is long or packed long (other types
invalid).
64
5. Block Parameter Connections B0193AV – Rev R
Extension* Meaning
1 Set default result = 1.
If connection broken, set result = 1.
Else, set result = source.
~ If source = 0, set result = 1.
Else, set result = 0.
1.~ Set default result = 1.
If connection broken, set result = 1.
Else, if source = 0, set result = 1.
Else, set result = 0.
B12 Set result = boolean 12 of source.
0.B12 Set default result = 0.
If connection broken, set result = 0.
Else, set result = bit 12 of source.
~B12 Set default result = 0.
If connection broken, set result = 0.
Else, set result = inverse of source boolean 12.
65
B0193AV – Rev R 5. Block Parameter Connections
Extension* Meaning
A30A0 Bitwise AND the low-order 16-bits of source with hex 30A0.
If result not = 0, set result = 1.
Else, set result = 0.
~A30A0 Invert result of previous example.
X30A0 Bitwise XOR the low-order 16-bits of source with hex 30A0.
If result not = 0, set result = 1.
Else, set result = 0.
~XH30A0 Bitwise XOR the high-order 16-bits of source with hex 30A0.
If result not = 0, set result = 1.
Else, set result = 0.
Invert the result.
1.~XH30A0 Set default result = 1.
If connection broken, set result = 1.
Else, do logic in previous example.
NOTE
Pname cannot be BLKSTA, ALMSTA, or INHSTA in this format. For a description
of connections to these parameters, see “Boolean Extensions to Status Parameters”
on page 67.
Extension* Meaning
.B Result = BAD status bit of source.
.~B Invert result of previous example.
.BOD Result = logical OR of BAD, OOS, and OM Off-Scan status bits of source.
66
5. Block Parameter Connections B0193AV – Rev R
Extension* Meaning
.~BOD Invert result of previous example.
Pname.Extension Meaning
BLKSTA.BAD Result = BAD boolean of source BLKSTA.
BLKSTA.~BAD Invert result of previous example.
ALMSTA.LDA Result = LDA boolean of source ALMSTA.
ALMSTA.~LDA Invert result of previous example.
INHSTA.HOA Result = HOA boolean of source INHSTA.
INHSTA.~HOA Invert result of previous example.
BLKSTA.B12 Result = boolean 12 of BLKSTA.
BLKSTA.AH30A0 Bitwise AND the high-order 16-bits of BLKSTA with hex 30A0.
If result not = 0, set result = 1.
Else, set result = 0.
67
B0193AV – Rev R 5. Block Parameter Connections
68
5. Block Parameter Connections B0193AV – Rev R
69
B0193AV – Rev R 5. Block Parameter Connections
NOTE
The sink input data type must be packed Boolean. All other cases are invalid
(packed long extensions are not supported).
70
5. Block Parameter Connections B0193AV – Rev R
Example Meaning
Cname:Bname.Pname.xxxx 1. If Pname is Boolean data type:
if Pname = 0, clear booleans xxxx in sink.
Else, set booleans xxxx in sink.
2. If Pname is integer, long integer, or short integer data type:
copy booleans xxxx from Pname to sink.
booleans ~xxxx in sink are unchanged.
3. If Pname is real data type:
convert Pname to unsigned integer and
copy booleans xxxx from converted Pname.
booleans ~xxxx in sink are unchanged.
71
B0193AV – Rev R 5. Block Parameter Connections
72
6. Editing Ladder Logic
This chapter contains information on editing ladder logic including entering and exiting the
ladder logic editor, editing a ladder diagram, selecting library functions, printing a ladder
diagram, checking syntax, and ladder installation.
NOTE
This chapter does not apply to the AW70 platform.
Getting Help
You can use the ICC Help function on the I/A Series Electronic Documentation CD-ROM
which describes the general features of the Integrated Control Configurator.
73
B0193AV – Rev R 6. Editing Ladder Logic
You can also use the Symbols function (see “Showing Symbols” on page 81) to display a list of
function key assignments and select a symbol to insert in the ladder.
NOTE
1. Keys other than those listed for a given field are disabled.
2. Only an output symbol is accepted in the extreme right position.
74
6. Editing Ladder Logic B0193AV – Rev R
NOTE
1. Ladder line: A horizontal line of ladder logic providing only one path from the
input to an output coil or another ladder line.
2. Ladder rung: All ladder lines providing a path to a common output coil or to
fanned out output coils.
75
B0193AV – Rev R 6. Editing Ladder Logic
NOTE
When using function keys on the numeric keypad, be sure the Num Lock is not on.
76
6. Editing Ladder Logic B0193AV – Rev R
Display line One horizontal line of text or symbols (20 available display lines in the
ladder edit area)
Ladder line Six display lines, starting with the technical identifier line
Symbol position One of eight locations reserved for ladder symbols in the second display
line of a ladder row
HELP SYMBOLS COMPILE FILES PRINT NEW LINE NEW TI NEXT TI DONE CANCEL
LINE: 001 COMPOUND: name BLOCK: name TEST/RUN
Tech_ID
[Sym9]
User
Label
Rung Descriptor line 1
Rung Descriptor line 2 [Sym1]: Symbol position 1
Rung Descriptor line 3 Preset/Reset: counter/timer values
77
B0193AV – Rev R 6. Editing Ladder Logic
Creating/Modifying Functions
The following paragraphs describe the operations for editing ladder logic. The descriptions
include the addition and/or replacement of symbols, texts, values, rows, and rungs.
When making on-line edits keep in mind that:
♦ On-line edits to ladders do not cause the logic processor to re-initialize.
♦ On-line edits do not affect accumulated counts or latched coils.
♦ Because timer/counter status flags reflect the relation between the accumulator and
the preset registers, edits to preset values can alter status flags.
78
6. Editing Ladder Logic B0193AV – Rev R
79
B0193AV – Rev R 6. Editing Ladder Logic
2. A dialog box appears, containing a data input field, a Done button and a Cancel but-
ton.
3. Enter a Tech ID name, followed by a carriage return.
4. Select the Done button. This moves the cursor to the next forward ladder element ref-
erencing the named Tech ID. The display scrolls, if necessary. If the end of the ladder
is reached, the search wraps around to the first ladder line. If the search finds no ele-
ment with the named Tech ID, the cursor does not move.
5. Select the Cancel button at any time to exit the dialog box without moving the cursor.
Moving to the Next Ladder Element Referencing the Tech ID of the Element
at the Current Cursor Position
The Next TI top menu bar button allows you to move the cursor to the next (forward) occurrence
of the currently referenced tech ID. The display scrolls, if necessary.
Click the Next TI button. This moves the cursor to the next forward ladder element referencing
the currently referenced Tech ID. The display scrolls, if necessary. If the end of the ladder is
reached, the search wraps around to the first ladder line. If the search finds no element with the
named Tech ID, the cursor does not move.
80
6. Editing Ladder Logic B0193AV – Rev R
scan. All PLBs connected to that FBM receive this value of OFL_1 as an input parameter. This
implies that if the usage of technical identifiers is overlapped, a PLB block could receive values of
parameters from the FBM different from the ones expected on the basis of their own ladder seg-
ments. The same considerations apply to overlapped usage of COs, TCs, and IFLs.
The order of concatenation of multiple ladder segments is the same as the order of listing of the
PLBs in the Ladder Assignment pick of the FBM menu.
If any IFL is referenced in multiple segments of a composite ladder, the value sent down to the
FBM for use in solving the ladder is the value of that IFL parameter in the PLB which is processed
last. This depends on the zones, and positions within the zones, of the various PLBs involved, as
shown on the Block/ECB Functions display of the ICC.
Showing Symbols
The Show Symbols function displays the instruction set and function key assignments.
1. Select the Symbols function from the menu bar.
The list of symbols, symbol names, and function key assignments overlays a strip of
the ladder extending from the Symbols heading down to the bottom of the work area.
2. After viewing the Symbols display, select the stop sign at the end of the symbol list.
The editor withdraws the symbols overlay.
While viewing the Symbols display, you can insert a symbol, if the editing cursor is in a symbol
position, by either of the following methods:
♦ Press a function key. The editor inserts the symbol and withdraws the symbols overlay.
♦ Select a symbol from the displayed list and click the pointing device button.
The editor inserts the symbol and removes the symbols overlay.
81
B0193AV – Rev R 6. Editing Ladder Logic
Deleting a Symbol
Be sure that you want to delete the element at the cursor position before you press the Delete key,
because the effect is immediate. As soon as you press the key with a symbol selected, the symbol,
its technical identifier, and its label are deleted. If the cursor is in a rung descriptor when you press
Delete, all of the descriptor text is deleted immediately.
1. Use the arrow keys to position the cursor at a symbol.
2. See the appropriate subheading for the item to be deleted:
a. Coil or contact symbol: press the Delete key, the delete function key (F7), or
select Delete from the Symbols display to blank out the symbol, its Technical
Identifier and user-defined label, and any up or down connector immediately to
the left of it. If a coil represents a counter or timer, the preset and reset values in
the column at the right are also deleted.
b. Up or down vertical connector: With the cursor positioned at a symbol directly
following an up or down vertical connector, press the Shift+Delete keys to blank
out only the connector. See previous procedure for deleting a symbol if you want
to delete both the symbol and connector.
Blanks replacing a symbol open the rung connection, interrupting the power flow path.
NOTE
If no Technical Identifier has been entered (the field is blank), pressing Enter or
Return repeatedly cycles the cursor back and forth between the symbol position and
the Technical Identifier field.
82
6. Editing Ladder Logic B0193AV – Rev R
3. If a valid Technical Identifier exists (see Note under Step 2), press the Enter or Return
key to move the cursor to the first character position in the first line of the user-
defined label field, immediately below the symbol.
4. Press the Enter or Return key to move the cursor to the first character of the user-
defined label second line.
5. Press the Enter or Return key to move the cursor to the symbol position directly
above the user-defined label.
NOTE
Pressing the Return key while pointing to a text field without entering data does not
affect the original contents of the field. If you make a mistake while typing a text
field, use the Backspace key to delete incorrect characters.
NOTE
If the technical identifier you enter has been used elsewhere in the ladder, the editor
fills in the user-defined label fields with the label used previously and moves the cur-
sor to the first position of the first line. If you change the label, the new text appears
beneath all other symbols having the same Technical Identifier when they are redis-
played.
83
B0193AV – Rev R 6. Editing Ladder Logic
4. To return to the symbol position, type the seventh character of the second line or press
Enter or Return.
84
6. Editing Ladder Logic B0193AV – Rev R
View Library
The View Library function lists all of the previously saved ladder source files. To list files:
1. Select View Library from the menu. The first page of the library appears.
2. If the library is more than one display long, use the paging icons to view the entire
library.
3. To exit the View Library function, select Done. The library window disappears.
85
B0193AV – Rev R 6. Editing Ladder Logic
When ladders with the same logic differ in areas such as I/O connections, you can edit the current
source file after the copy to make adjustments.
To copy the contents of a library source file into the current ladder source file:
1. Select Copy From Library from the menu. A dialog box appears on the display. The
copy function displays the contents of the library.
2. Use either the alphanumeric keyboard or the pointing device to select a source file or
use the pointing device to select Cancel.
a. Type the name in the Choice field with the alphanumeric keyboard. If you type
the name incorrectly, use the Delete key to delete characters and type the name
again. Press the Enter or Return key to register your choice.
b. Use the pointing device to select the name from the displayed list. If the menu is
more than one display long, use the paging icons to view the entire library.
c. To leave the Copy From Library function without copying a file, select Cancel
from the dialog box. The copy function is canceled and the Files menu is redis-
played.
3. Select Copy from the dialog box. The source file selected in the previous step is copied
into the current ladder’s source file. An hour glass symbol is displayed until the copy is
complete. Then the Files menu is redisplayed.
Save In Library
The Save In Library function copies the current ladder source file into the library. The copy
takes place whether or not the ladder contains syntax errors.
The Save In Library function is the only way to save a source file that is not ready for compila-
tion when you want to exit the ladder logic editor. The two menu bar options that allow you to
exit the editor are Done and Cancel. The Done menu bar option is pickable only if all symbols
have valid technical identifiers and all ladder rows provide a complete path to the rung output.
Cancel can be selected at any time, but it does not save the source file. Therefore, to save an
incomplete ladder, you must save it in the library before selecting Cancel.
You can also save a ladder for use in more than one FBM. Once saved in the library, the ladder can
be copied into other source files where similar logic is needed.
To save the current ladder source file in the library source:
1. Select Save In Library from the menu. A dialog box appears on the display. The save
function displays the contents of the library.
2. Type the name in the Choice field with the alphanumeric keyboard. If you type the
name incorrectly, use the Delete key to delete characters and type the name again.
Press the Enter or Return key to register your choice.
It is not necessary for the name to be the same as that of the current PLB. A name can
have up to 12 alphanumeric characters and must start with a letter. Scan the library to
make sure you do not select a name that already exists.
To leave the Save In Library function without saving the file, select Cancel from the
dialog box. The save function is canceled and the menu disappears. The top menu bar
functions become pickable again.
86
6. Editing Ladder Logic B0193AV – Rev R
Cancel
To exit the Library functions menu, select Cancel. The menu display is removed and the top
menu bar functions again become pickable.
Checking Syntax
1. To check your ladder for syntax errors, select Compile from the menu bar or press the
Control and X keys. The keyboard is rendered inactive and the following message is
displayed:
Compiling ladder diagram XXXX. Please wait
XXXX is the ladder diagram source file’s related PLB name.
a. If the compilation was successful, the following message appears at the bottom of
the display:
Compile concluded – ladder is O.K.
b. If errors resulted from the compilation, the following message appears at the bot-
tom of the display:
Compilation complete. Error detected
The symbol associated with the error is highlighted and the error condition is dis-
played at the bottom of the display in ASCII text. If other errors exist, they remain
undetected until you correct the preceding error and perform another syntax
check.
You should correct error conditions immediately. If uncorrected, errors prohibit
downloading the interpretive code to the FBM when you select Done from the
menu bar.
2. When the compilation is complete, the ladder diagram reappears on the display and
the keyboard functions are reactivated. No interpretive code is generated, since Com-
pile is used only to check syntax. Interpretive code is generated when the ladder is
installed in the Fieldbus Module.
Ladder Installation
Ladder installation is the routine that:
87
B0193AV – Rev R 6. Editing Ladder Logic
♦ Merges the ladder source code (generated in the Ladder Logic editor) with the source
code of the other ladders residing in the assigned FBM.
♦ Converts the resultant composite source code (merged ladder) to interpretative code.
♦ Sends the interpretative code to the selected PLB-type FBM.
♦ Installs ladder displays to make them accessible to workstations on the network.
Note that installation (or uninstallation) always occurs as a result of an indirect user action. There
is no “install ladder” or “uninstall ladder” menu selection anywhere in ICC.
Installation Requirements
Ladder installation takes place automatically as soon as you complete the following two require-
ments:
1. The ladder source code that you generated in the ladder logic editor has been passed
through the editor’s Compile function, and exited via the Done option (rather than the
Cancel option).
2. The associated PLB block has been assigned to an on-line FBM with an ECB8 (mak-
ing it a PLB-type FBM).
The requirement that occurs last automatically triggers ladder installation:
♦ That is, if the PLB assignment (requirement 2) was completed first, the installation
automatically occurs the moment you select the Done key on the ladder logic editor
menu bar (completing requirement 1).
♦ Conversely, if the source code has previously been Compiled and Done (requirement
1), the installation automatically occurs the moment the assignment of the PLB to a
PLB-type FBM (requirement 2) is completed. ICC actions that can complete require-
ment 2 (thus triggering the installation if requirement 1 has been met) include:
a. Changing a null IOM_ID to a valid IOM_ID.
b. Changing one valid IOM_ID to another valid IOM_ID.
c. Pasting a compound containing one or more PLB blocks.
d. Performing a Maint LoadAll of a compound containing one or more PLB blocks.
Uninstallation
Ladders can be automatically “uninstalled,” or removed from the FBM. Some operations that can
trigger “uninstallation” are:
♦ Changing a valid IOM_ID to a null IOM_ID
♦ Deleting a PLB block
♦ Deleting a compound containing one or more PLB blocks.
88
6. Editing Ladder Logic B0193AV – Rev R
2. The associated PLB block must have a valid FBM letterbug in the IOM_ID field. The
following are examples of valid ways to configure the PLB Blocks IOM_ID parame-
ter; these examples assume the FBM letterbug is PLB001:
♦ IOM_ID = PLB001
The FBM letterbug PLB001 is configured in the <Station_1bug>_ECB
compound.
♦ :PLB001
The FBM letterbug PLB001 is configured within the same compound (current
compound) as the PLB block.
♦ TEST01:PLB001
The FBM letterbug PLB001 is configured within TEST01 compound.
♦ <Station_1bug>_ECB:PLB001
The FBM letterbug PLB001 is configured in the <station_1bug>_ECB
compound.
3. An ECB8 block must be built for the associated FBM.
4. The ECB associated with the target FBM must be successfully installed in the target
station (by adding the ECB to the station).
5. The targeted FBM must be on-line.
6. The targeted FBM must be downloaded.
89
B0193AV – Rev R 6. Editing Ladder Logic
90
6. Editing Ladder Logic B0193AV – Rev R
From the VT100 prompt, use the vi editor to edit the mount table files:
a. For Model 50 stations, add the following line to the /etc/fstab file:
/opt/ladder/disp20 /usr/fox/ia16/opt/ladder/disp20 lo rw o o
b. For Model 51 stations, add the following line to the /etc/vfstab file:
/opt/ladder/disp20 - /usr/fox/ia16/opt/ladder/disp20 lofs - yes -
Once these changes are made, all the 50 Series workstations can access the ladder displays from
the new directory, and ICC installs the PLB ladder displays into these directories.
If a workstation contains ladder displays on its local disk or logical host, the files on the disk can
be moved as described above.
91
B0193AV – Rev R 6. Editing Ladder Logic
92
7. Editing Sequence Logic
This chapter contains information on editing sequence logic including the use of ICC help,
sequence files, sequence logic functions, and sequence code installation. For a detailed
description of Sequence language, refer to High Level Batch Language (HLBL) User’s Guide
(B0400DF).
Sequence logic is composed of Sequence language statements and user-labeled parameters (refer to
High Level Batch Language (HLBL) User’s Guide [B0400DF]). To add sequence logic to a sequen-
tial control block:
1. Install a sequential control block in a compound or select a previously installed
sequential control block. After the block is selected or installed, the Block/ECB Func-
tions menu appears. Refer to Figure 7-1.
2. Select Edit Sequence Logic from the Block/ECB Functions menu. Edit Sequence
Logic cannot be selected unless the current block type is IND, DEP, EXC, or MON.
After you have selected Edit Sequence Logic, the Sequence Logic Functions menu
appears. See Figure 7-2.
93
B0193AV – Rev R 7. Editing Sequence Logic
When the Sequence Logic Functions menu is on the display, you cannot select any menu bar
functions except Help.
The current block name and block type are displayed above the menu.
The functions of the Sequence Logic Functions menu only operate on the current block. When
creating sequence logic, you are working in a source file. You must compile this file before you can
update the current block with the sequence logic.
Source and compiler files are described in “Sequence Files” on page 94. Sequence logic functions
are described in “Sequence Logic Functions” on page 96.
Help
Before or after selecting a function from the Sequence Logic Functions menu, you can use the
ICC On-line Help, which describes the general features of the Integrated Control Configurator
(ICC).
Sequence Files
A sequential control block has the following files associated with it:
♦ A source file
♦ Compiler files.
94
7. Editing Sequence Logic B0193AV – Rev R
Source File
The source file is supplied automatically by the Integrated Control Configurator. As you create
sequence logic, it is stored in the source file. The following functions of the Sequence Logic
Functions menu operate on the source file:
♦ Cancel
♦ Compile Source of this Block
♦ Copy Source of this Block From Library
♦ Done With Sequence
♦ Edit Source of this Block
♦ Print Listing of this Block
♦ Save Source of this Block to Library.
For a description of each function, refer to “Sequence Logic Functions” on page 96. The source
file has the same name as the current block followed by an .s extension (blockname.s). Source
file names appear in the library functions:
♦ Copy Source of this Block from Library
♦ View Source Library Contents
♦ Save Source of this Block to Library
♦ Delete Block Source from Library.
The library is a directory where you can save source files for future use. For more information on
the source file, refer to “Edit Source of this Block” on page 101.
Compiler Files
The compiler produces the executable files needed at run time. The source file must be compiled
before you can update the sequence block with the sequence logic. When compilation is success-
ful, the compiler produces the following files:
♦ An interpretive code module
♦ An operator representation module
♦ A formatted sequence program listing.
When the compiler detects errors in the source file, it only produces the formatted sequence pro-
gram listing. The interpretive code module and operator representation module are run-time files.
The formatted sequence program listing is a formatted copy of the source file that can be used for
archiving or debugging.
When the compiler detects errors, it places error messages in the formatted sequence program list-
ing. You can use the following functions in the Sequence Logic Functions menu to look at the
compiler error messages:
♦ View Compilation Listing
♦ Print Compilation Listing.
For more information on the compiler and compiler files, refer to “Compile Source of this Block”
on page 96.
95
B0193AV – Rev R 7. Editing Sequence Logic
Cancel
The Cancel function exits the Sequence Logic Functions menu without updating the current
sequence block with sequence logic. The source file and compiler files (if the source file has been
compiled) are not saved.
To exit the Sequence Logic Functions menu without updating the current block; select Cancel
from the menu. The Block/ECB Functions menu appears on the display. Refer to Figure 7-1.
NOTE
1. The current block is updated with sequence logic only when the source file com-
piles without errors and you select Done With Sequence to exit the Sequence Logic
Functions menu. See “Compile Source of this Block” on page 96 and “Done With
Sequence” on page 101.
2. To exit the Sequence Logic Functions menu and save an uncompiled source file,
select Save Source of this Block to Library prior to selecting Cancel. This saves
the source file for future edits but does not update the current block. Refer to “Save
Source of this Block to Library” on page 106.
96
7. Editing Sequence Logic B0193AV – Rev R
CONTINUE
97
B0193AV – Rev R 7. Editing Sequence Logic
To enter a name with the keyboard, type in the name and press the Return key. If you
enter the name incorrectly, use the Delete key to delete characters, and enter the
name again.
CHOICE
indblock.s
depblock.s
excblock.s
monblock.s
COPY CANCEL
To enter a name with the pointing device, select the file name from the list of source
files currently in the library. If the library is more than one display long, use the pag-
ing icons to view the entire library.
To move one display at a time to the end of the library, select the next display icon (a
pair of down arrows).
To move one display at time to the beginning of the library, select the previous display
icon (a pair of up arrows).
To go directly to the first display of the library, select the first display icon (a pair of up
arrows under a bar).
To go directly to the last display of the library, select the last display icon (a pair of
down arrows over a bar).
3. Select Copy from the dialog box. The source file selected in the previous step is copied
into the current block’s source file. An hour glass is displayed until the copy is com-
plete. Then, the Sequence Logic Functions menu appears.
4. To leave the Copy Source of this Block from Library function without copying a
file, select Cancel from the dialog box. The copy function is canceled and the
Sequence Logic Functions menu appears.
5. If the selected source file is not found in the library, the following message appears:
98
7. Editing Sequence Logic B0193AV – Rev R
Cannot Copy:
- Source Selected to copy from
library does not exist.
CONTINUE
The copy function is canceled. When you select Continue, the Sequence Logic
Functions menu appears.
! CAUTION
Do not delete any of the following skeleton files from the library: depblock.s,
excblock.s, indblock.s, and monblock.s.
99
B0193AV – Rev R 7. Editing Sequence Logic
CHOICE
indblock.s
depblock.s
excblock.s
monblock.s
DELETE CANCEL
To enter a name with the pointing device, select the file name from the list of source
files currently in the library. If the library is more than one display long, use the pag-
ing icons to view the entire library.
To move one display at a time to the end of the library, select the next display icon (a
pair of down arrows).
To move one display at time to the beginning of the library, select the previous display
icon (a pair of up arrows).
To go directly to the first display of the library, select the first display icon (a pair of up
arrows under a bar).
To go directly to the last display of the library, select the last display icon (a pair of
down arrows over a bar).
3. Select Delete from the dialog box. The source file selected in the previous step is
deleted from the library. Then, the Sequence Logic Functions menu appears.
4. To leave the Delete Block Source from Library function without deleting a file,
select Cancel from the dialog box. The delete function is cancelled and the Sequence
Logic Functions menu appears.
5. If the selected source file is not found in the library, the following message appears:
100
7. Editing Sequence Logic B0193AV – Rev R
Cannot Delete:
- Source Selected to delete from
library does not exist.
CONTINUE
The Delete function is cancelled. When you select Continue, the Sequence Logic
Functions menu appears.
NOTE
To exit the Sequence Logic Functions menu when the source file is not compiled,
use Cancel. This does not save the source file. If you want to save the source file,
select Save Source of this Block to Library before selecting Cancel.
101
B0193AV – Rev R 7. Editing Sequence Logic
INDEPENDENT_SEQUENCE{*******************************
** INDEPENDENT SEQUENCE **
** CONTROL BLOCK **
*****************************************}
CONSTANTS {*****************************************
* specify any Constants *
* in the following format: *
******************************************
* constant_name = value ; *
*****************************************}
VARIABLES {*****************************************
* specify any Block Local Variables *
* in the following format: *
******************************************
* variable_name [ , variable_name ] : type;*
* where type is one of B, I, R, S, S12, S6*
*****************************************}
USER_LABELS{****************************************
* specify any user labeled parameters *
* in one of the following formats: *
******************************************
* user_label_name : BI00nn; n = 01 -- 24 *
* user_label_name : BO00nn; n = 01 -- 16 *
* user_label_name : BA000n; n = 1 -- 4 *
* user_label_name : RI00nn; n = 01 -- 15 *
* user_label_name : RO00nn; n = 01 -- 15 *
* user_label_name : RA000n; n = 1 -- 2 *
* user_label_name : II000n; n = 1 -- 8 *
* user_label_name : IO000n; n = 1 -- 5 *
* user_label_name : IA0001; *
* user_label_name : SN00nn; n = 01 -- 10 *
*****************************************}
{*****************************************
* Specify any Subroutines *
******************************************
* SUBROUTINE name ( formal arguments ) *
* VARIABLES subr. local variables ; *
* STATEMENTS *
* ; *
* ENDSUBROUTINE *
*****************************************}
{*****************************************
* Specify any *
* Standard Block Exception Handlers *
******************************************
* BLOCK EXCEPTION exc_name [ DISABLE ] *
* STATEMENTS *
* ; *
* ENDEXCEPTION *
*****************************************}
STATEMENTS{*****************************************
* Specify the statements here *
*****************************************}
ENDSEQUENCE
102
7. Editing Sequence Logic B0193AV – Rev R
MONITOR {*****************************************
* MONITOR *
* CONTROL BLOCK *
*****************************************}
CONSTANTS {*****************************************
* specify any constants in the following *
* format: *
* *
* constant_name = value ; *
*****************************************}
USER_LABELS{****************************************
* specify user labeled parameters in *
* one of the following formats: *
* *
* user_label_name : BI00nn; n = 01 -- 24 *
* user_label_name : RI00nn; n = 01 -- 15 *
* user_label_name : II000n; n = 1 -- 8 *
*****************************************}
{***************************************************************
* specify all monitor case(s) in one of the following formats: *
****************************************************************
* nn ; *
* nn boolean_expression ; *
* nn boolean_expression --> user output ; *
* nn WHEN boolean_expression DO Sequence_Block_name ; *
* nn WHEN bool_expr --> user output DO Sequence_Block_name ; *
***************************************************************} CASES
1 ;
2 ;
3 ;
4 ;
5 ;
6 ;
7 ;
8 ;
9 ;
10 ;
11 ;
12 ;
13 ;
14 ;
15 ;
16 ;
ENDMONITOR
A copy of each template is stored in the library. If, while editing sequence logic, you choose to
start over again with a clean template, you can copy the template into the source file, overwriting
any previous sequence logic (refer to “Copy Source of this Block from Library” on page 97).
The templates are stored in the library under the following file names:
♦ indblock.s (Independent block template)
♦ depblock.s (Dependent block template)
♦ excblock.s (Exception block template)
♦ monblock.s (Monitor block template).
103
B0193AV – Rev R 7. Editing Sequence Logic
NOTE
The source file has the same name as the current block followed by an .s extension
(blockname.s). The source file name appears in functions that display the library
such as Copy Source of this Block from Library, View Source Library Con-
tents, and Save Source of this Block to Library.
NOTE
Do not enter Control+Z while in the sequence editor.
104
7. Editing Sequence Logic B0193AV – Rev R
All Users:
NOTE
You must use uppercase characters for all compound, block, and parameter names
in sequence logic. Since sequence commands (Activate, Start_timer, and so forth)
must also be in uppercase characters, you may find it easiest to use uppercase
throughout. Always leave a blank line after the Statements line, otherwise the All
Code page on the block detail display does not show the first statement.
PRINTERS AVAILABLE
CANCEL
2. Select the printer that is to produce the listing, or Cancel the printout. The ICC
returns to the Sequence Logic Functions menu.
105
B0193AV – Rev R 7. Editing Sequence Logic
PRINTERS AVAILABLE
CANCEL
106
7. Editing Sequence Logic B0193AV – Rev R
CHOICE
indblock.s
depblock.s
excblock.s
monblock.s
SAVE CANCEL
2. Type the file name with the alphanumeric keyboard and press the Return key. If the
name is entered incorrectly, use the Backspace key to delete characters and enter the
name again.
The name does not need to be the same as the current block name. A name can be up
to 12 alphanumeric characters long. The .s extension that identifies a source file is
optional for libraried files.
Scan the library to make sure you do not select a name that already exists. If you do,
the new file that you are saving overwrites the old file currently in the library.
When the library is more than one display long, use the paging icons to view the
entire library.
To move one display at a time to the end of the library, select the next display icon (a
pair of down arrows).
To move one display at a time to the beginning of the library, select the previous dis-
play icon (a pair of up arrows).
To go directly to the first display of the library, select the first display icon (a pair of up
arrows under a bar).
To go directly to the last display of the library, select the last display icon (a pair of
down arrows over a bar).
3. Select Save from the dialog box. The current source is saved in the library. An hour
glass is displayed until save is complete. When complete, the Sequence Logic Func-
tions menu appears.
4. To exit without saving the source file in the library, select Cancel from the dialog box.
The Sequence Logic Functions menu appears.
107
B0193AV – Rev R 7. Editing Sequence Logic
108
7. Editing Sequence Logic B0193AV – Rev R
3. When finished viewing the file, exit the Notepad session. Within the ICC display,
select Continue in the blue dialog box to return to the Sequence Logic Functions
menu.
All Users:
1. Select View Include Library Contents from the menu. The first page of the library
appears. See Figure 7-6.
2. If the library is more than one display long, use the paging icons to view the entire
library.
To move one display at a time to the end of the library, select the next display icon (a
pair of down arrows).
To move one display at a time to the beginning of the library, select the previous dis-
play icon (a pair of up arrows).
To go directly to the first display of the library, select the first display icon (a pair of up
arrows under a bar).
depblock.s
excblock.s
indblock.s
monblock.s
INCTEST.seq
NOINV.seq
DONE
To go directly to the last display of the library, select the last display icon (a pair of
down arrows over a bar).
109
B0193AV – Rev R 7. Editing Sequence Logic
3. To cancel the View Include Library Contents function, select Done. The Sequence
Logic Functions menu appears.
depblock.s
excblock.s
indblock.s
monblock.s
DONE
To go directly to the last display of the library, select the last display icon (a pair of
down arrows over a bar).
3. To cancel the View Source Library Contents function, select Done. The Sequence
Logic Functions menu appears.
110
7. Editing Sequence Logic B0193AV – Rev R
111
B0193AV – Rev R 7. Editing Sequence Logic
112
Index
A
Archiving
sequence logic file 108
Assigning
ladder function 54
B
Balancing loading 25
Block building
order 39
Block parameters
edit 47
Block/ECB
replace block/ECB list with compound list 33
replace ECB functions menu with compound functions menu 33
Blocks
continuous 39
create new 33
delete 32
editing parameters 47
reconnect 32
rename 51
retrieve settable parameter values 31
Boolean variable
16-bit packed 48
C
Checkpointing 55
Close current file and choose another 55
Compile
ladder logic diagram 87
sequence logic 94, 96
Compound
block names 12
create new 21
creating new 12
delete 32
functions menu
replace with the block/ECB functions menu 32
list
replace with the block/ECB list 32
move to the configurator file in a preselected position 25
parameters
113
B0193AV – Rev R Index
edit 23
reconnect 32
Compound summary access (CSA) search utility 4
Compress
configurator database 58
Configuration compound
retrieve settable parameter values 31
Connections
block parameter 48
Boolean input 48
local 47
peer-to-peer 47
Control keys 3
Control processor 19
selection 16
Copy
sequence logic source file from library 97, 99
Create
ladder logic 78
new compound 21
CSA 11
hierarchy 12
requirements 11
Cursor control 2
D
Database
compress 58
Debugging
sequence logic file 108
Defining Fieldbus Modules 40
Diskette
load compound from 27
save all compound function entities to 25
E
ECB
adding 41
create new 33
editing functions 19, 47
editing parameters 47
reconnect 32
rename 51
retrieve settable parameter values 31
Edit
block parameters 47
compound parameters 23
exit 59
114
Index B0193AV – Rev R
ladder logic 50
sequence logic 50, 93
sequence logic source file 101–105
Editing functions
ECB 19, 47
Engineer’s environment 4
Erroneous parameter
correction 48
Error
failure or warning 48
floppy disk mount failed 27, 29, 57
ladder diagram syntax 87
log file 56
operation is invalid 39
paste insert failure 25
sequence logic compilation 105
summary box 56
unknown name 55
Exit
edit 59
sequence logic function 96
the sequence logic functions menu 101
F
Failure
ladder logic installation 89
FBM
Fix all function 54
function 54
pull-down menu 19
Fieldbus
defining modules 40
File
close current and choose another (new) 55
ladder logic diagram source file 87
remove all compounds, ECBs, and blocks 58
sequence logic 94
sequence logic source file editor 101–105
Fix all 54
Formatted sequence program listing
sequence logic 96
Function keys 3
Functions
FBM 54
selecting 3
sequence logic 96
115
B0193AV – Rev R Index
H
Help
ladder logic editor 73
Hierarchy
control configurator 4
CSA 12
I
Initial boot
compounds automatically installed 23
Insert
new compound 21
Install
ladder logic (code) 87
K
Keys
control 3
function 3
vol 15
L
Ladder diagram
edit 74–77
Ladder displays
access 90
configuring location 90
installation 89
location 90
Ladder function
assignment 54
Ladder installation 87
requirements 88
Ladder logic
diagram syntax 87
installation failure 89
prerequisites 88
print diagram 87
uninstalling 88
Ladder logic block
edit 50
Ladder logic diagram
source file 87
Ladder logic editor
create/modify functions 78–85
help 73
introduction 73
116
Index B0193AV – Rev R
M
Menu item
selecting 3
Menus 4
Modify
ladder logic 78
station 11
Move
block within zone 40
objects in the compound or block/ECB list 29
N
Name
compound
block 12
P
Paste
load from diskette 56
Paste buffer 15, 58
copy and append 25
copy to 24
Prerequisites
ladder logic installation 88
Print
a hard copy of the current file 55
sequence logic block listing function 105
sequence logic compilation listing function 105
R
Remove
all compounds, ECBs, and blocks from the configuration file 58
Rename
currently selected block or ECB 51
Requirements
117
B0193AV – Rev R Index
CSA 11
Retrieve
settable configuration compound, block, and ECB parameter values 31
settable parameter values from station 31
Return to previous screen 59
S
Save
action 59
all compound function entities to diskette 25
all the compounds in a control processor, volume, or paste buffer to a diskette 56
sequence logic source file to the library 97, 106
Scratchpad work volume 14
Selecting
control processor 16
functions 3
menu item 3
Sequence block type
edit 50
Sequence code
access 111
installation 110
Sequence language statements
list of 105
Sequence logic 50, 93
copy source file from library 97, 99
exit functions 96
files 94
functions 96
print compilation listing function 105
print listing of this block function 105
save source file to library 97
source file 94
view compilation listing 108
view include library contents 109
view source library contents 110
Sequence logic file
archiving or debugging 108
Sequence logic source file
save to library 106
Show
various lists of items 25
Station
load from diskette 56
modifying 11
retrieving settable parameter values from 31
Store
settable parameter values 31
Syntax errors
118
Index B0193AV – Rev R
T
Template
Dependent block 101
Exception block 101
Independent block 101
sequence file source block 101
Transfer
AP hosting the selected volume 5
U
Uninstalling
ladder logic 88
User-labeled parameters 93
V
View
sequence logic file compilation listing 108
Volume
load from diskette 56
Volume (Vol) key 15
W
Workfiles
storing settable parameter values into 31
Z
Zones
background color 39
119
B0193AV – Rev R Index
33 Commercial Street
Foxboro, Massachusetts 02035-2099
United States of America
www.foxboro.com
Inside U.S.: 1-866-746-6477
Outside U.S.: 1-508-549-2424 or contact your local Foxboro representative.
Facsimile: 1-508-549-4999
Printed in U.S.A. 0208