Batch Suite User Guide
Batch Suite User Guide
REV C
I/A Series®
Batch Suite
User's Guide
July 30, 2001
Foxboro, FOX, FoxAPI, FoxView and I/A Series are trademarks of Invensys Systems, Inc.
Invensys is a trademark of Invensys plc.
ActiveX, Microsoft, MS-DOS, Windows and Windows NT are registered trademarks of Microsoft
Corporation.
Intel is a trademark of Intel Corporation.
NuTCRACKER is a trademark of DataFocus Inc.
PostScript is a trademark of Adobe Systems Inc.
All other brand names may be trademarks of their respective companies.
Tables................................................................................................................................. xxix
Preface.............................................................................................................................. xxxiii
General Enhancements ........................................................................................................ xxxiii
80 Character String Variables ......................................................................................... xxxiii
Configure System to Support 2 or 3 Recipe Levels ......................................................... xxxiii
Configure System to Disable Retain Recipe Approvals when Syncing ............................ xxxiii
Phase and Phase Parameter Descriptions ........................................................................ xxxiii
Process Modeling ................................................................................................................ xxxiii
Enumeration Data Type ................................................................................................. xxxiii
Update Database Confirm Dialog .................................................................................. xxxiv
Unit of Measure for Process Variables ............................................................................ xxxiv
Train Attributes .............................................................................................................. xxxiv
Train Information Interface ........................................................................................... xxxiv
Material Management Enhancements ................................................................................. xxxiv
Material Characteristic Data Types ................................................................................ xxxiv
Recipe Management Enhancements .................................................................................... xxxiv
Unit Procedure Level in Recipe ...................................................................................... xxxiv
Recipe Unit Procedure Library ....................................................................................... xxxiv
Cut, Copy & Paste ......................................................................................................... xxxiv
Sort Formula Parameters ................................................................................................. xxxv
Printing Enhancements ................................................................................................... xxxv
Print Recipe Procedure Only ...................................................................................... xxxv
Recipe Print Preview ................................................................................................... xxxv
Gray Background Option Switch for Procedure Printout ........................................... xxxv
Tabular (Non-PostScript™) Reports ......................................................................... xxxv
Landscape or Portrait Orientation .............................................................................. xxxv
Validate All Recipes ......................................................................................................... xxxv
Synchronize All Recipes with Model ............................................................................... xxxv
Download Phase Type ..................................................................................................... xxxv
Security on Recipe Delete ............................................................................................... xxxvi
Batch Management Enhancements ..................................................................................... xxxvi
Improved Performance ................................................................................................... xxxvi
Procedure Execution Jumps ............................................................................................ xxxvi
Simulation At Runtime .................................................................................................. xxxvi
View & Adjust Allocation Queue ................................................................................... xxxvi
Batch View/Batch Display .............................................................................................. xxxvi
Batch Information Server .................................................................................................... xxxvi
iii
B0193YB – Rev C Contents
iv
Contents B0193YB – Rev C
v
B0193YB – Rev C Contents
vi
Contents B0193YB – Rev C
vii
B0193YB – Rev C Contents
viii
Contents B0193YB – Rev C
Edit/Connections .......................................................................................................... 92
Edit/Transfers ................................................................................................................ 92
Edit/Segments ............................................................................................................... 92
Edit/Equipment Status .................................................................................................. 92
Edit/Units of Measure ................................................................................................... 92
Edit/Enumeration ......................................................................................................... 93
Help Menu ........................................................................................................................ 93
Help/Help Topics ......................................................................................................... 93
Help/About Process Modeling ....................................................................................... 93
Units Tab ................................................................................................................................ 93
Adding Units ...................................................................................................................... 94
Changing Unit Names ....................................................................................................... 94
Deleting Units .................................................................................................................... 95
Editing Unit Tags .............................................................................................................. 95
Processes Tab ......................................................................................................................... 96
Adding Process Classes ....................................................................................................... 97
Changing Process Class Names .......................................................................................... 97
Deleting Process Classes ..................................................................................................... 98
Unit Control/State Tags ..................................................................................................... 98
Assigning Units .................................................................................................................. 98
Process Class Attributes .................................................................................................... 100
Assigning Unit Attribute Values ....................................................................................... 101
Editing Process Class Tags ................................................................................................ 102
Process Class Phases ......................................................................................................... 103
Save History ................................................................................................................ 104
Control Buttons .......................................................................................................... 105
Phase Control/Status Bits ............................................................................................ 106
Interlocks ..................................................................................................................... 107
Formula Parameters ..................................................................................................... 109
Automatic Process Phases ............................................................................................ 110
Formula Parameter Configuration of Automatic Process Phases .................................. 112
Manual Process Phases ................................................................................................. 116
Formula Parameter Configuration of Manual Process Phases ....................................... 117
Connections Tab ................................................................................................................... 117
Editing Connections ........................................................................................................ 118
Assign Source and Destination Units ........................................................................... 118
Assigning Segments to Connections ................................................................................. 120
Connection Tags .............................................................................................................. 121
Transfers Tab ....................................................................................................................... 122
Editing Transfers .............................................................................................................. 123
Assigning Source and Destination Process Classes ............................................................ 123
Assigning Connections ..................................................................................................... 125
Transfer Tags ................................................................................................................... 125
Editing Transfer Class Phases ........................................................................................... 127
Saving History ............................................................................................................. 128
Control Buttons .......................................................................................................... 129
Phase Control/Status Bits ............................................................................................ 130
ix
B0193YB – Rev C Contents
x
Contents B0193YB – Rev C
xi
B0193YB – Rev C Contents
xii
Contents B0193YB – Rev C
xiii
B0193YB – Rev C Contents
xiv
Contents B0193YB – Rev C
xv
B0193YB – Rev C Contents
xvi
Contents B0193YB – Rev C
xvii
B0193YB – Rev C Contents
xviii
Contents B0193YB – Rev C
xix
B0193YB – Rev C Contents
xx
Contents B0193YB – Rev C
xxi
B0193YB – Rev C Contents
xxii
Contents B0193YB – Rev C
xxiii
B0193YB – Rev C Contents
xxiv
Figures
1-1. I/A Series Batch Configuration Architecture ............................................................... 13
1-2. I/A Series Batch Runtime Architecture ........................................................................ 14
4-1. Environment Management System Architecture ......................................................... 46
5-1. Interface Between Phase Logic and Batch Management System .................................. 73
5-2. Process Modeling Summary ........................................................................................ 84
5-3. Example Plant ............................................................................................................. 87
5-4. Copying the Process Model Configuration Database ................................................... 88
5-5. Analog Process Variable Parameter Example ............................................................. 156
5-6. Discrete Process Variable Parameter Example ............................................................ 157
5-7. String Process Variable Parameter Example ............................................................... 158
5-8. Input Parameter Example .......................................................................................... 159
5-9. Output Parameter Example ....................................................................................... 160
6-1. I/A Series Batch Tag Management System ................................................................ 161
6-2. I/A Series Batch Default TagMap File ....................................................................... 167
6-3. Phase-Block Function Diagram ................................................................................. 169
6-4. Phase Block Control State Diagram .......................................................................... 170
6-5. Unit Block Function Diagram .................................................................................. 171
6-6. Unit Control State Diagram ...................................................................................... 172
6-7. I/A Series Batch Default TIMMap File ..................................................................... 173
6-8. Default StrMap File .................................................................................................. 174
6-9. I/A Series Linker ....................................................................................................... 176
6-10. The Generate Menu .................................................................................................. 179
6-11. I/A Series Batch Link Editor Parameter Linking ........................................................ 180
6-12. Filter Window ........................................................................................................... 181
6-13. ProcStatus Display Window ...................................................................................... 184
6-14. I/A Series Batch PHASE_EXEC Configuration File* ................................................ 187
7-1. Materials Editor ........................................................................................................ 194
8-1. Four Parts of a Recipe ............................................................................................... 207
8-2. Architecture of a Formula ......................................................................................... 209
8-3. Transfer and Process Instance Examples .................................................................... 231
8-4. Equipment Requirements Diagram Example ............................................................ 237
8-5. Process Class Instance Editor Window ...................................................................... 237
8-6. Transfer Class Instance Editor Window .................................................................... 243
8-7. Recipe Editor ............................................................................................................ 260
8-8. Branch Execute Types ............................................................................................... 276
8-9. Deleting a Heat Phase ............................................................................................... 280
8-10. Deleting the ManAdd Phase ...................................................................................... 282
8-11. Deleting an Entire Branch ......................................................................................... 283
8-12. Deleting a Loop ........................................................................................................ 284
8-13. Input Phase Parameters ............................................................................................. 292
8-14. Output Phase Parameters .......................................................................................... 293
8-15. Process Variable Parameters ...................................................................................... 294
8-16. Material Transfer Operation and Phase Procedure .................................................... 296
8-17. Operation and Phases ................................................................................................ 297
xxv
B0193YB – Rev C Figures
xxvi
Figures B0193YB – Rev C
xxvii
B0193YB – Rev C Figures
xxviii
Tables
2-1. Station Type Software Requirements .......................................................................... 15
2-2. Upgrading I/A Series Batch Databases ......................................................................... 35
4-1. Environment System Parameters ................................................................................. 55
4-2. Simulation Manager (SimMngr) ................................................................................. 60
4-3. Process Log Manager (LogMngr) ................................................................................ 60
4-4. Batch Manager (BatchMngr) ....................................................................................... 60
4-5. Batch Display (BatchDspl) .......................................................................................... 61
4-6. I/A Series Tag Driver (IADriver) ................................................................................. 61
4-7. Event Manager ............................................................................................................ 61
4-8. Application Types ....................................................................................................... 63
5-1. Comprehensive, Connectionless, and Hybrid Model Approaches ............................... 69
5-2. Process Modeling Steps ............................................................................................... 70
5-3. Download Phases ........................................................................................................ 72
5-4. Phase Parameters ......................................................................................................... 75
5-5. Tag Types and Usage .................................................................................................. 76
5-6. Unit, Connection and Segment Information ............................................................... 79
5-7. Critical Phase Logic Data Points ................................................................................. 80
5-8. Tagname Structure ...................................................................................................... 82
5-9. Delimiters ................................................................................................................... 82
5-10. Automatically Generated Tagnames ............................................................................ 82
5-11. Deleting Model Components ...................................................................................... 89
5-12. Phase Parameter Configurations ................................................................................ 111
5-13. Formula Parameter Configurations ........................................................................... 114
5-14. Phase Parameter Configurations ................................................................................ 116
5-15. Phase Parameter Configurations ................................................................................ 136
5-16. Formula Parameter Configurations ........................................................................... 139
5-17. Phase Parameter Configurations ................................................................................ 141
5-18. Formula Parameter Configurations ........................................................................... 142
5-19. Automatic Tagname Examples .................................................................................. 151
5-20. Formula Parameter Elements .................................................................................... 154
6-1. Interface Groups and Action Groups ......................................................................... 162
6-2. Default Map File ....................................................................................................... 165
6-3. Phase Level Signals .................................................................................................... 168
6-4. CSV Format .............................................................................................................. 177
6-5. Valid Tag Data Classes .............................................................................................. 178
6-6. Generate Tag Options ............................................................................................... 179
6-7. Filter Options ........................................................................................................... 181
6-8. Default Configurations for Phase Block Status Values ............................................... 186
6-9. Default Configurations for Unit and Phase Block Batch Control Values ................... 186
6-10. Phase Block Status/Unit Block Control Values ......................................................... 188
8-1. Examples of Unit Procedures and Process Class Instances ......................................... 210
8-2. Example Operations .................................................................................................. 210
8-3. Examples of Process and Transfer Phases ................................................................... 211
8-4. Examples of Formula Parameters ............................................................................... 211
xxix
B0193YB – Rev C Tables
xxx
Tables B0193YB – Rev C
xxxi
B0193YB – Rev C Tables
xxxii
Preface
This manual is written for the individuals who will be configuring and applying the batch control
system. This includes process and control engineers, and experienced technicians who are very
knowledgeable about control system programming and process control.
Since the last release of the batch control system, the following enhancements and changes have
been made to the product.
General Enhancements
80 Character String Variables
Process Variables designated as type String now support 80 character string values.
Process Modeling
Enumeration Data Type
The enumeration data type for process variables is now supported. Enumeration sets can be cre-
ated and assigned to process variables. For example, COLOR is an enumeration set. The value of
1 represents the color White, the value 2 represents the color Blue, and so on. The COLOR
enumeration set can be assigned to the process variable, probably of the same or similar name,
COLOR. When used in the system, the operator will see and use the string attribute of the enu-
meration, White, Blue, and so forth. The control system uses the integer representation of the
string, 1, 2, 3, and so forth. Enumerations provide users and operators with the textual descrip-
tions of process variables and allow the control system to use a corresponding numerical value.
xxxiii
B0193YB – Rev C Preface
Train Attributes
The capability to define train attributes with units of measure is provided. Two train attributes,
Capacity and Production Rate, are pre-defined system attributes. Users can also add their own
train attributes. Train attributes are used by external scheduling programs.
xxxiv
Preface B0193YB – Rev C
Printing Enhancements
Print Recipe Procedure Only
The option to print only the recipe procedure without parameters is provided. Transition logic is
included in the printout.
xxxv
B0193YB – Rev C Preface
Simulation At Runtime
The capability to execute a recipe in simulation mode while batches are executing is provided.
xxxvi
1. Welcome to I/A Series Batch
This chapter provides a general overview and discussion of the capabilities of the I/A Series
Batch software, including process modeling, creating and using tags, recipe management,
materials tracking, batch management, history and reporting. It explains the interface between
I/A Series Batch software and I/A Series Control Suite software, including alarming and utility
programs.
Overview of Capabilities
I/A Series Batch is a flexible batch management system that is designed to be configured quickly
and easily once fundamental concepts are understood. It is extremely important to read this sec-
tion of the manual before attempting to use the batch system.
Once basic batch system concepts are understood, you should be able to build and edit configura-
tions quickly without using this manual. As with most menu driven systems, you will become
more proficient by using the manual as a reference to improve your understanding of the batch
system and how to apply features that may not be obvious.
Consistent with the Instrument Society of America (ISA) S88.01 standard, I/A Series Batch
allows you to create recipes quickly and easily and simulate their execution against a model of the
process – all before writing one line of control code. I/A Series Batch also provides complete pro-
duction history and materials genealogy.
I/A Series Batch’s powerful batch engine, combined with its integration to FoxView™, FoxAlert
and FoxSFC, means that you can reduce the cost and time to implement your batch-related
processes by up to 60% over competitive solutions.
I/A Series Batch provides out-of-the-box batch management functionality that eliminates the
need for unsustainable custom code in a programmable logic controller (PLC) or distributed con-
trol system (DCS) and dramatically reduces the life-cycle engineering effort. The sophisticated
batch engine is responsible for unit-to-unit material tracking, short term scheduling, dynamic
batch and equipment management, and batch history and reporting. The batch management sys-
tem also supports redundancy for critical applications.
Process Modeling
A batch processing plant consists of units and connections. Units process and/or hold materials
whereas connections transfer materials between units.
1
B0193YB – Rev C 1. Welcome to I/A Series Batch
A unit is a vessel that can hold and/or process materials. Some units have no processing capabili-
ties, as is the case with bulk storage vessels, manual add stations, and hold tanks. Other units have
significant processing capabilities, as is the case with most reactors, blenders, mixers, dryers,
retorts, and washers. Examples of processing capabilities are agitating, mixing, heating, cooling,
blending, and packaging. Other examples of units are storage tanks, silos, ovens, fillers, washers,
retorts, molders, bottlers, wrappers, cartoners and palletizers.
Connections consist of equipment such as pumps, valves, separators, condensers and flowmeters
that are necessary for transferring a product from one unit to another.
All units that have the same processing capabilities or perform the same function are grouped into
one process class. All the connections between the same two process classes are grouped into one
transfer class. Process Classes and Transfer Classes define a family of units and connections,
respectively. The ability to group units and connections into classes is the essence of a true flexible
batch system.
Processing and transferring capabilities are defined by phases. Each phase is an independent
action that may contain a unique set of Parameters. Parameters configure the phase based on rec-
ipe requirements. Phases can be automatically executed by the control system or manually exe-
cuted by an operator. The execution of automatic phases is performed by the control system using
Phase Logic.
Process Modeling is the process of identifying the processing capabilities of a plant. There are five
basic elements involved in any process modeling: defining the Units, Process Classes (Processes),
Connections, Transfer Classes (Transfers), and Processing Capabilities. The following guidelines
describe the basic steps that you use to develop a process model.:
1. Identify each unit and its attributes.
2. Group units into process classes.
3. Identify all connections between units.
4. Define all equipment segments and assign to connections.
5. Group connections into transfer classes.
6. Define the processing capabilities of each process class (phases and parameters).
7. Define the transferring capabilities of each transfer class (phases and parameters).
8. Define equipment statuses.
9. Define trains.
10. Develop phase logic.
An integral part of Process Modeling involves defining specific data points called Tags. Tags are
associated with all Units, Processes, Connections, and Transfers and allow data to move between
the batch system and the control system. Tags must be defined prior to configuring any of the
batch system programs. There is no limit to the number of tags that you can have in your batch
system.
2
1. Welcome to I/A Series Batch B0193YB – Rev C
Model and TIM tags must be linked to I/A Series Control compound:block.parameter and shared
variable tags using the I/A Series Link Editor. The I/A Series Link Editor provides automatic and
manual linking of tags and validates that the tags exist in I/A Series Control.
Recipe Management
The I/A Series Recipe Management provides the capability to create recipes according to the
guidelines outlined in the ISA S88.01 Flexible Batch Standard. A three-level hierarchical approach
to recipe building features the use of unit procedures, operations and phases.
The batch management system provides recipe management that enables master recipes to be
constructed and edited. Master recipes are not process line specific; rather, they are equipment
independent. They can be assigned to any process line (train) that has units belonging to the
classes of process equipment defined in the recipe. A master recipe becomes a control recipe when
units, defined in the train, are dynamically allocated and used to produce a batch.
A master recipe is not necessarily size specific, but can be scaled to the batch size defined by pro-
duction scheduling. All formula quantities for ingredients, intermediates, by-products, and fin-
ished goods are entered as either actual quantities or can be expressed as a percent of the total
batch size. Quantities expressed in percentages are scaled by the batch management system when
the batch is executed.
The Recipe Editor provides several text and graphical editors to develop and maintain recipes.
Recipes can be saved, retrieved, and printed. A version history capability provides an accurate
time stamped history of all changes that have been made to the recipe.
Batch Management
Batch Management consists of batch scheduling, batch initialization, co-ordination of batch exe-
cution with the control system, interfacing with operators, and batch history activity. These con-
cepts are further described in the following section.
3
B0193YB – Rev C 1. Welcome to I/A Series Batch
Scheduling
Batch Scheduler is responsible for dispatching the batches that are ready to run to the plant oper-
ators. Scheduling involves the manual entry of the batch identification, master recipe, batch size,
and Train into the Batch Scheduler. Each batch that is added to the scheduler, must be initialized
before it can be executed.
Batch Initialization
Each batch must be initialized before it is executed. The initialization process involves validation
of the recipe, checking if the Train exists, checking if the bulk materials defined in the recipe are
available in the Train, ensuring that the recipe’s equipment requirements are satisfied by the Train,
and verifying that the Process Model database is compatible with the recipe.
Batch Management
Batch Manager directs and supervises the execution of each batch. Batch Manager interprets reci-
pes and enables the control system. Based on the recipe’s procedure, blocks of control software
referred to as phase blocks, are signaled for execution by Batch Manager. Phase block control
logic, located in the control system, is responsible for controlling the process. Prior to starting
each phase block, Batch Manager verifies that the phase block is ready for execution. If it is ready,
the phase parameter values are downloaded to the block, and then the block is started.
Batch Manager also interfaces with Batch Display and Batch View which provide a user interface
for operators. Batch Display and Batch View provide information about all batches that are ini-
tialized and/or executing in the system. Operators can put a batch or phase in hold. They can also
use the interface to restart and abort batches or phases. The interface also allows operators to
change phase parameter values, acknowledge the execution of phases, review phase interlock sta-
tuses, and enter comments during batch execution.
Batch Manager co-ordinates the usage of process units for each batch and is capable of managing
the simultaneous execution of a large number of batches. Each batch is a unique entity within the
batch system. In batch systems that contain simultaneous batch executions, contention for the
allocation of the same process units may occur. Batch Manager allocates units to batches as they
become available and releases the units when they are no longer required by the batch.
Flexible batch systems using controllers must take the approach in which a supervisory computer
becomes an active participant in batch execution. The reason for this is attributed to the very
sophisticated unit management in a flexible batch system. Most controllers do not have the ability
to program a unit manager that is capable of interpreting and executing recipe procedures that can
be constructed in the batch control system.
A master recipe uses classes of process units, not specific units. This means that phases pertain to a
class of units, not to a specific unit. When Batch Manager executes a master recipe, each phase
encountered is converted into a unit specific phase. This process is called master recipe to Partial
control recipe conversion. The Train assigned to produce the batch specifies all of the units that
can be used. The Batch Manager automatically converts the master recipe into a control recipe
based on the units found in the Train.
History
Batch Manager captures and stores all processing and operator activity during the execution of a
batch.
4
1. Welcome to I/A Series Batch B0193YB – Rev C
Batch History
I/A Series Batch uses Microsoft SQL Server for its historical database. This approach is very open
and allows easy access to all batch history.
The batch management system is responsible for logging all information related to the production
of a batch into the history database. This data includes all of the events, process data, production
information, material usage, operator comments, operator actions, equipment used to produce
the associated batch, and all batch-related process alarms.
Batch Reports
I/A Series Batch uses a web-based interface for report configuration, scheduling and viewing. The
reporting system utilizes Seagate Crystal Reports Professional for report development. This
approach is very flexible and allows the creation of custom reports. I/A Series Batch includes a set
of predefined report templates. Utilizing these templates, you can create customized reports to
suit your specific requirements. The batch system also allows you to configure and execute histor-
ical reports during runtime. Report execution can also be configured to automatically trigger dur-
ing batch execution or at the end of a batch.
Model Editor
The Model Editor is used to construct the plant model consisting on units, connections, phases,
phase parameters and segments. Tags are automatically created using these names and are used by
the I/A Series Batch to communicate with I/A Series controllers.
5
B0193YB – Rev C 1. Welcome to I/A Series Batch
Tag Communication
All tag communication between the I/A Series Batch and I/A Series Control Suite is through the
FoxAPI™. Tag communication between I/A Series Batch and I/A Series Control Suite are used to
interface to unit control logic, phase logic and operator displays. There are two utilities or tools
available to diagnose, troubleshoot and exercise tag communications between I/A Series Batch
and I/A Series Control Suite.
Batch Alarms
Batch alarms, in I/A Series Batch, are captured, associated with a batch and stored in the history
database. The LOOPID parameter of the I/A Series compound is the key in accomplishing this
objective. All units, connections, and segments have system tags that reflect the batch to which
they are allocated. Each unit, connection and segment also has a corresponding I/A Series com-
pound or block in the I/A Series control station. The Batch Manager, when it allocates equipment
to a batch, writes the Batch ID to the equipment’s system tags. These tags are linked to the equip-
ment’s COMPOUND.LOOPID parameter. When alarms occur in the compound, an alarm mes-
sage is sent to I/A Series Batch where it is stored in the history database and annunciated in
FoxAlert.
The I/A Series Batch Display provides a capability to launch FoxAlert to view the alarms for a
selected batch. Additionally, from FoxAlert, an alarm can be selected and a comment can be
appended to it using the Alarm Comment Editor.
Extensibility
I/A Series Batch includes ActiveX™ objects, ActiveX Servers and a library of API functions that
allow integration with external applications such as ERP and scheduling systems. These features
allow you to develop custom applications that access the batch control system that share and
exchange formulas/recipes, materials and production results.
I/A Series Batch uses Microsoft SQL Server for its historical database. This approach is very open
and allows easy access to all batch history.
These features make it easy for you to integrate with enterprise resource planning (ERP) and
advanced planning systems (APS), allowing I/A Series Batch to be a key link in successful supply
chain management initiatives.
6
1. Welcome to I/A Series Batch B0193YB – Rev C
BatchLogger starts the BatchLogger application which displays all system activity, such
as starting and stopping of applications, warning messages, error messages,
and so forth.
Environment starts the Environment Display and initializes the background processes
Display necessary to access I/A Series Batch configuration and runtime applica-
tions.
Release Notes displays a summary of user documentation issues, and known issues and
solutions for the batch system.
What’s New displays a summary of the enhancements and features that are included in
the batch system.
Uninstall Batch starts the unInstallShield program which allows you to remove the
Server I/A Series Batch server from your computer.
7
B0193YB – Rev C 1. Welcome to I/A Series Batch
UnInstall starts the unInstallShield program which allows you to remove the Batch
Configuration Client from your computer.
unInstallShield starts the unInstallShield program which allows you to completely remove
the Batch Runtime Client from your computer.
Information Server
When you install an Information Server, a menu is created which contains the Batch InfoServer
submenu. The following summary describes these menu items and other installed components.
BatchLogger starts the BatchLogger application which displays all system activity, such
as starting and stopping of applications, warning messages and error
messages.
Uninstall starts the unInstallShield program which allows you to remove the Infor-
Information Server mation Server software from your computer.
8
1. Welcome to I/A Series Batch B0193YB – Rev C
Configuration Programs
The following configuration programs are used to develop and manage your batch system.
9
B0193YB – Rev C 1. Welcome to I/A Series Batch
Run-time Programs
The following run-time programs are used by the batch system during batch execution.
10
1. Welcome to I/A Series Batch B0193YB – Rev C
Event Manager
(Required) Event Manager is an NT service that is automatically started when NT boots. The
Event Manager is the batch alarm services responsible for storing the batch-related alarm in the
batch historian.
11
B0193YB – Rev C 1. Welcome to I/A Series Batch
Utility Programs
Phase Logic Testing Tool (PhaseLogic)
(Optional) The Phase Logic module permits individual phase execution independent of any batch
operation.
ProcessStatus (ProcStatus)
(Optional) The ProcessStatus application permits monitoring and changing any of the I/A Series
Batch equipment or TIM tags.
12
1. Welcome to I/A Series Batch B0193YB – Rev C
IALink
TAGMAP CfgIALinkDB
SecEdit
TIMMAP
STRMAP
IATIM.hostname1 IATIM.hostname2 IATIM.hostnameN
13
B0193YB – Rev C 1. Welcome to I/A Series Batch
Lock
Manager
RecipeDB MaterialDB BatchDB .BatchWR (lm_tcp)
BatchSched
(OCX Batch)
InfoMngr BatchMngr
SQL Server
BatchDspl
(OCX Batch,
SFCOCX)
TIMBatch
TIMSec
TIMFunc
SimMngr LogMngr
Batch History
IA Driver
IALinkDB TIMDB LogDB
IA Series
Control State
14
2. System Installation
This section describes the installation options for your I/A Series Batch system components.
An I/A Series Batch system consists of several different station types. These include a Batch Server,
Information Server, and Batch Clients (Runtime and Configuration). Each station includes both
I/A Series Batch Software and third-party software. A typical batch system consists of a Batch
Server, an Information Server, and Batch Clients that are connected over a network.
The I/A Series Batch software is dependent on the presence of third-party software for proper
installation and operation. If the third-party software is not present, you are unable to install the
I/A Series Batch software.
NOTE
If you are installing an Information Server on a Windows NT 4.0 Server platform,
you will need to obtain the following third-party software from Microsoft
Corporation:
The table below summarizes the Station Type and the I/A Series Batch software and third-party
software installed on each.
15
B0193YB – Rev C 2. System Installation
NOTE
The Information Server can reside on either Windows 2000 Server or Windows NT
4.0 Server.
The recommended procedures for installing the third party software are
included in this chapter.
If you are reinstalling I/A Series Batch software, see “Uninstalling I/A Series Batch
Software” on page 26.
The following diagram describes a possible network strategy that might be implemented as part of
your I/A Series Batch System.
NOTE
For information regarding Ethernet networking, refer to B0400BE I/A Series Ether-
net Networking.
16
2. System Installation B0193YB – Rev C
Corporate Network
I/A Series
Batch Information
Server
HUB
I/A NODEBUS
Control
Processors
NOTE
If the required third party software is not installed then you will be unable to
install the I/A Series Batch software.
In order to install the I/A Series Batch software, you must be logged on as an
administrator or as a user with administrative privileges.
17
B0193YB – Rev C 2. System Installation
♦
Execute the procedure for “Installing Microsoft SQL Server 7.0 SP2” on
page 18.
♦ Execute the procedure for “Installing Seagate Crystal Reports Professional
8.0” on page 18.
♦ Execute the procedure for “Installing I/A Series Batch Information Server
Components” on page 19.
b. If using Windows NT 4.0 Server operating system:
♦ Install Window NT 4.0 Server Service Pack 5.
♦ Execute the procedure for “Installing Microsoft SQL Server 7.0 SP2” on
page 18.
♦ Execute the procedure for “Installing Seagate Crystal Reports Professional
8.0” on page 18.
♦ Execute the procedure for “Installing Internet Information Server (IIS)” on
page 25.
♦
Execute the procedure for “Installing I/A Series Batch Information Server
Components” on page 19.
2. Setup an I/A Series Batch Server:
a. Execute the procedure for “Installing Microsoft Internet Explorer 5” on page 25.
b. Execute the procedure for “Installing an I/A Series Batch Server” on page 21.
3. Setup an I/A Series Batch Runtime Client or I/A Series Batch Configuration Client.
a. Execute the procedure for “Installing Microsoft Internet Explorer 5” on page 25.
b. Execute the procedure for “Installing an I/A Series Batch Runtime Client” on
page 22 or “Installing an I/A Series Batch Configuration Client” on page 23.
NOTE
The SQL Server installation takes 10 or more minutes. After the installation com-
pletes, the station automatically restarts.
18
2. System Installation B0193YB – Rev C
3. On the System Installation Options window, enable the Install Crystal Reports Pro-
fessional 8.0 radio button. Click Next.
4. Insert the I/A Series Batch Disk 2. After the CD is read. Click OK.
5. The Seagate Crystal Reports Professional Edition Setup window is provided. Click
Next.
6. The Seagate Crystal Reports Professional Setup window is displayed. Enable the I
accept the License Agreement radio button and click Next.
7. The Seagate Crystal Reports Professional Edition Setup window is displayed.
Enable the Typical radio button and click Next to begin the installation.
8. The Seagate Crystal Reports Professional Edition Setup window is displayed. Click
Next. The installation process is started and services are stopped as required. When
complete, the Seagate Software Registration Wizard is provided. Select Register
Later.
9. The last window is the Seagate Crystal Reports Professional Edition Setup window.
It will indicate the success of the installation. Click Finish.
To view the Release Notes click Yes. When finished reviewing the Release Notes close
them and continue to the next step in this installation procedure.
4. If you chose not to review the Release Notes at this time, click No and continue to the
next step in this installation procedure.
5. Review the information in the Welcome window. Click Next when finished.
6. Read the I/A Series Batch License Agreement. Click Yes to accept the agreement. If
you click No to reject the agreement, the installation will exit. Click Next when
finished.
7. On the Select Components window, enable the Information Server checkbox. Dis-
able all other checkboxes.
19
B0193YB – Rev C 2. System Installation
NOTE
It is recommended that you create the log files on a different physical drive than
where the database files are located.
NOTE
It is recommended that you create the log files on a different physical drive than
where the database files are located.
NOTE
The database creation process may take 10 or more minutes to complete.
11. On the Information Components window, accept the default Destination Folder or
browse to select a different location. Click Next to continue the installation.
NOTE
After clicking Next, a box will appear called “Updating Crystal Reports 8.0.”
12. On the I/A Series Batch Server Information window, enter the host name (computer
name) of your Batch Server in the Host1 field.
20
2. System Installation B0193YB – Rev C
NOTE
The Host1 field is case sensitive.
If you are installing a redundant system, see Chapter 19 “Redundancy” in this User’s
Guide.
13. Click Next to complete the installation. When the installation has completed, the sta-
tion must be restarted.
14. Enable the Yes, I want to restart my computer now radio button, and then click
Finished.
NOTE
When the Information Server is installed, the Report Path is C:\BatchInfoS-
erver\Crystal by default. The default Report Path is always associated with the C:
drive even if the Information Server is installed on a different drive. If the Informa-
tion Server is installed on a different drive, then Report Path must be edited using
the Config button on the Information Server's AdminWeb page. If you change the
Report Path, the ReportQReader service must be restarted. Users should consider
this when creating and editing recipes that include reports. For more information on
using the AdminWeb page, see Chapter 20 “System Administration”.
To view the Release Notes click Yes. When finished reviewing the Release Notes
close them and continue to the next step in this installation procedure.
If you chose not to review the Release Notes at this time, click No and continue to
the next step in this installation procedure.
6. Review the information in the Welcome window and then click Next when you are
finished.
21
B0193YB – Rev C 2. System Installation
7. Read the I/A Series Batch License Agreement. Click Yes to accept the agreement. If
you click No to reject the agreement, the installation exits.
8. On the Select Components window, enable the Batch Server checkbox and then
click Next.
NOTE
The Batch Clients check box is enabled since the Batch Client applications are a
necessary part of a Batch Server installation.
9. On the Information Server Hostname window, enter the host name (computer name)
of your Information Server.
NOTE
The host name of the Information Server is case sensitive.
To view the Release Notes click Yes. When finished reviewing the Release Notes
close them and continue to the next step in this installation procedure.
If you chose not to review the Release Notes at this time, click No and continue to
the next step in this installation procedure.
22
2. System Installation B0193YB – Rev C
6. Review the information in the Welcome window and then click Next when you are
finished.
7. Read the I/A Series Batch License Agreement. Click Yes to accept the agreement. If
you click No to reject the agreement, the installation exits.
8. On the Select Components window, enable the Batch Clients checkbox. Disable all
other check boxes.
9. Click the Change button.
10. On the Select Sub-components window, enable the Batch Runtime Client checkbox.
Disable the Batch Configuration Client checkbox. Click Continue.
11. On the Select Components Sub-components window, click Next.
12. On the Information Server Hostname window, enter the host name of your Informa-
tion Server.
NOTE
The host name (computer name) of the Information Server is case sensitive.
NOTE
The host name of the Batch Server is case sensitive.
NOTE
I/A Series applications need to be running on the client in order to map the net-
work drives during installation of Configuration and/or Runtime Client Options if
the client’s only connection to the server is through the Nodebus.
1. On the Batch Server, create a share for the D:\IASeriesBatch directory It is recom-
mended that you name the share “IABatch”.
23
B0193YB – Rev C 2. System Installation
2. On the station where you intend to install the I/A Series Batch Configuration Client,
map a drive to the Batch Server’s share for the D:\IASeriesBatch directory.
3. From the control panel, to disable FoxAPI and Fox I/A from starting when the station
is restarted.
4. Restart the station.
5. Insert the I/A Series Batch Disk 1 into the CD-ROM drive. The auto-run capability
of Windows starts the setup. If it does not, select Run from the Start menu and type
E:\IABatch\setup.exe (where E: is your CD-ROM drive).
6. On the Installation Options window, choose to install the I/A Series Batch software.
7. You are prompted to review the Release Notes. It is recommended that you review the
Release Notes, as they may contain important information regarding the installation
procedure.
To view the Release Notes click Yes. When finished reviewing the Release Notes
close them and continue to the next step in this installation procedure.
If you chose not to review the Release Notes at this time, click No and continue to
the next step in this installation procedure.
8. Review the information in the Welcome window and then click Next when you are
finished.
9. Read the I/A Series Batch License Agreement. Click Yes to accept the agreement. If
you click No to reject the agreement, the installation exits.
10. On the Select Components window, enable the Batch Clients checkbox. Disable all
other check boxes.
11. Click the Change button.
12. On the Select Sub-components window, enable the Batch Configuration Client
checkbox, disable the Batch Runtime Client checkbox, and then click Continue.
13. On the Select Components window, click Next.
14. On the Information Server Hostname window, enter the host name of your Informa-
tion Server.
NOTE
The host name (computer name) of the Information Server is case sensitive.
NOTE
The host name of the Batch Server is case sensitive.
24
2. System Installation B0193YB – Rev C
18. On the Setup Complete window, enable the No, I will restart my computer later radio
button. Remove the CD and click Finish.
19. From the control panel, check the box to re-enable FoxAPI and Fox I/A to start when
the station is restarted.
20. Restart the station.
NOTE
This procedure is only required if you are using the Windows NT 4.0 Server Oper-
ating System for your Information Server platform. The Windows 2000 Server
Operating system includes IIS.
25
B0193YB – Rev C 2. System Installation
NOTE
For more detailed information on installing IIS, see IIS 4.0 Recommended Installa-
tion Procedure at: www.microsoft.com/technet/support.
NOTE
During the uninstall the Removed Shared File? Dialog may pop up. Click the Yes
To All button to remove all shared files.
4. At the completion of the uninstall, if it was unable to remove all items then click on
the Details button to view the items that were not removed. (This is most likely to
include \HistQ\histq.taf, and \bin\*.aeh files.) Make note of the items that were not
removed and click OK to close the Remove Programs From Your Computer dialog.
5. Remove all items that may have been left behind, including the \IASeriesBatch folder.
6. Restart the station.
26
2. System Installation B0193YB – Rev C
2. Select uninstall Batch Configuration Client from the Start > Programs > IA Series
Batch > Configuration Client menu.
3. The Confirm File Deletion dialog appears. Click Yes to continue the uninstall.
4. The Remove Programs From Your Computer dialog appears. This dialog will provide
the status of the uninstall.
NOTE
During the uninstall the Removed Shared File? Dialog may pop up. Click the Yes
To All button to remove all shared files.
5. At the completion of the uninstall, if it was unable to remove all items then click on
the Details button to view the items that were not removed. (This is most likely to
include \HistQ\histq.taf, and \bin\*.aeh files.) Make note of the items that were not
removed and click OK to close the Remove Programs From Your Computer dialog.
6. Remove all items that may have been left behind, including the \IASeriesBatch folder.
7. Restart the station.
NOTE
During the uninstall the Removed Shared File? Dialog may pop up. Click the Yes
To All button to remove all shared files.
5. At the completion of the uninstall, if it was unable to remove all items then click the
Details button to view the items that were not removed. (This is most likely to
include \config_A\host.dat, \config_A\vista.taf, \config_A\batchwr, \HistQ\histq.taf,
and \bin\*.aeh files.) Make note of the items that were not removed and click OK to
close the Remove Programs From Your Computer dialog.
6. Remove all items that may have been left behind, including the \IASeriesBatch folder.
7. Restart the station.
27
B0193YB – Rev C 2. System Installation
28
2. System Installation B0193YB – Rev C
29
B0193YB – Rev C 2. System Installation
Upgrade Preparation
1. All open batches should be closed prior to running the upgrade. The batch schedule is
not preserved by the upgrade.
2. Open the Environment Editor and make a note of your configuration settings. If you
have customized the environment, you will need to re-edit the settings after the
upgrade.
3. Make note of any customized settings that you made to the StrMap.txt, TagMap.txt,
and TIMMap.txt files. You will need to edit these files after the upgrade.
4. Make a backup copy of your configuration(s) by copying your d:\IASeries-
Batch\cfg\config_A (and other configuration folders if applicable) to a location out-
side of the IASeriesBatch directory.
5. In SQL Server, backup the I/A Series Batch history and archive databases.
6. Uninstall the existing system software as follows:
a. If applicable, un-map the drives to the Batch Server on the Batch Configuration
Client.
b. If applicable, uninstall the Batch Configuration Client and restart the station.
c. If applicable, uninstall the Batch Runtime Client and restart the station.
d. Perform the following on the Batch Server station:
♦ Disable Fox API and Fox I/A at startup.
♦ Change the startup type of the CSAD service to manual.
♦ Restart the station.
♦ Uninstall the Batch Server and restart the station.
NOTE
Delete any I/A Series Batch files and folders that remain after the uninstall process,
that is, d:\IASeries Batch.
30
2. System Installation B0193YB – Rev C
NOTE
If you will not be converting your I/A Series Batch v7.x history databases then pro-
ceed to step 4.
! CAUTION
If you intend to use I/A Series Batch v7.x batch archive databases then they must be
converted to use the I/A Series Batch v8.0 schema. If you do not convert the archive
database and retain its v7.x format, then the restore function will place an old
schema in the v8.0 batch archive database. Therefore, when the next archive is
scheduled, it will fail because the schema is incorrect.
If your Batch Archive database is read-only you will need to remove this restriction.
Perform the following steps to remove the read-only restriction:
1.) From Enterprise Manager, select the appropriate SQL Server and then expand
the Databases folder.
3.) On the BatchArchive Properties window, select the Options tab and then disable
the Read Only check box.
4.) Click OK to save the changes and close the BatchArchive Properties window.
2. If you are upgrading from I/A Series Batch v7.1, copy the\convert folder from Disk 1
to your local hard drive, and then proceed as follows to convert I/A Series Batch v7.1
history databases to v8.0. Otherwise proceed to step 3.
a. Create a User account for Fox on the Information Server station:
♦ Start the User Manager program (Start > Programs > Administrative Tools >
User Manager)
♦ On the User Menu, select New User.
♦ Enter the User name Fox. Enter the password and confirm it.
NOTE
The password that you enter must be identical to the Fox account on all other I/A
stations.
♦ Enable the User Cannot Change Password and Password Never Expires
checkboxes. Disable all other checkboxes.
♦ Click the Groups button.
♦ Select Administrators from the Not member of list and click Add.
♦ Click OK on the Group Memberships window.
31
B0193YB – Rev C 2. System Installation
♦
Click the Add button to add the user account.
♦ Close the User Manager program.
b. Create a SQL login for the new user account Fox:
♦ Start SQL Server Enterprise Manager (Start > Programs > Microsoft SQL
Server 7.0 > Enterprise Manager).
♦ Navigate to your SQL server by expanding the tree under the Microsoft SQL
Servers > SQL Server Group node of the tree in the left pane.
♦ Expand the tree under your SQL server and, in the Security folder, right click
the Logins icon. Choose New Login.
♦ On the General tab, enter Fox as the Name.
♦ Under Authentication, enable the Windows NT authentication radio button.
♦ From the Domain drop-down box, select the name of the station. This should
modify the Name entry to show <station name>/Fox.
♦ Ensure that the Grant access radio button is enabled.
♦ On the Server Roles tab, enable the System Administrators checkbox. This
will grant administrative privileges to the Fox login.
♦ Click OK and then close Enterprise Manager.
c. Run the Convert71.bat file that is located in the \convert folder. The syntax for
running the file is as follows:
where:
<ServNM> is the name of the station where SQL Server resides (This is required).
<ArchDB> is the name of the archive database. By default, the name is BatchAr-
chive, and the command will use the default name if it is not given.
Example:
where:
32
2. System Installation B0193YB – Rev C
<ServNM> is the name of the station where SQL Server resides. This is required.
<HistDB> is the name of the history database. By default, the name is BatchHis-
tory, and the command will use the default name if it is not given.
<ArchDB> is the name of the archive database. By default, the name is BatchAr-
chive, and the command will use the default name if it is not given.
Example:
where:
<ServNM> is the name of the station where SQL Server resides (This is required).
<HistDB> is the name of the history database. By default, the name is BatchHis-
tory, and the command will use the default name if it is not given.
<ArchDB> is the name of the archive database. By default, the name is BatchAr-
chive, and the command will use the default name if it is not given.
Example:
33
B0193YB – Rev C 2. System Installation
h. Enable the With SQL Server authentication using a login ID and password
entered by the user radio button.
i. Click Client Configuration.
j. In the Edit Network Library Configuration window, enable the TCP/IP radio but-
ton. Click OK to close the window.
k. Enable the Connect to SQL Server to obtain default settings for the additional
configuration options checkbox.
l. Enter a Login ID and Password for an account with administrative privileges.
Default Login ID is “sa” and Password is blank.
m. Click Next.
n. Enable the Change the default database to: checkbox and then select your batch
history database.
o. Click Next.
p. When you have finished, click OK on the ODBC Data Source Administrator
window.
6. Complete the Information Server station setup as follows:
a. Insert the I/A Series Batch Disk 1 into the CD-ROM drive. The auto-run capabil-
ity of Windows will start the setup program. If it does not, select Run from the
Start menu and type E:\IABatch\setup.exe where E: is your CD-ROM drive.
b. On the Installation Options window, choose to install the I/A Series Batch
Software.
c. Review the information in the Welcome window. Click Next when finished.
d. Read the I/A Series Batch License Agreement. Click Yes to accept the agree-
ment. If you click No to reject the agreement, the installation will exit.
e. On the Select Components window, enable the Information Server checkbox.
Disable all other checkboxes.
f. Click the Change button.
g. On the Select Sub-components window, enable the Information Server Compo-
nents checkbox. If you are not using converted v7.1 history databases then enable
the SQL Database Creation checkbox. Otherwise, disable all other checkboxes.
Click Continue.
h. On the Select Components window, click Next.
i. On the Information Components window, accept the default Destination Folder
or browse to select a different location. Click Next to continue.
j. On the I/A Series Batch Server Information window, enter the host name (com-
puter/letterbug name) of your Batch Server in the Host1 field.
NOTE
The Host1 field is case sensitive.
34
2. System Installation B0193YB – Rev C
NOTE
If you are converting a configuration that contains a Report database, the conver-
sion utility will require that you enter a path name for the location on the Informa-
tion Server where report output files will be stored. It is recommended that you
create a folder on the Information Server for this purpose at this time.
Note: I/A Series Batch v8.0 does not support expression triggered
reports. If you were using expression triggered reports in a previous ver-
sion, they are converted when you upgrade the databases and they will
appear in the list of configured reports in the ReportWeb web page. The
report names will exist in the ReportDef table in batch history. How-
ever, even though these reports will be listed, they will not be generated.
Security Required
35
B0193YB – Rev C 2. System Installation
When the conversion has finished, a window will display the databases that were
converted, those that failed to be converted or were skipped, and those that were
up to date. A detailed log of the conversion operations is contained in the
DbCvt.txt file. This file is located in the configuration folder specified earlier.
4. Copy the following files from the converted configuration to D:\IASeries-
Batch\cfg\config_A.
NOTE
Copy only the files listed here. Copying files not listed may overwrite more recent
files, rendering the I/A Series Batch software inoperative.
36
2. System Installation B0193YB – Rev C
NOTE
It is assumed that D:\IASeriesBatch\cfg\config_A contains empty databases. If it does
not, it is recommended that the contents of \config_A be deleted and the contents
of \dflt_cfg be copied to \config_A.
NOTE
The following procedures should be performed by individuals with experience in
SQL Server administration. In some cases, these procedures may need to be slightly
modified to accomodate different server configurations.
The “-m” option enables the single user mode. Do not remove or change any parame-
ters that are already entered.
6. Click OK on the Startup Parameters window.
7. Click OK on the SQL Server Properties window.
8. In SQL Server Enterprise Manager, select Console Root, expand the Microsoft SQL
Servers folder, select SQL Server Group and then right-click the required server and
select Stop.
This will stop the selected SQL Server. If you are asked to stop other services, select
Yes for each request.
37
B0193YB – Rev C 2. System Installation
9. In SQL Server Enterprise Manager, select Console Root, expand the Microsoft SQL
Servers folder, select SQL Server Group and then right-click the required server and
select Start.
Backup Procedure
Backup the BatchHistory, BatchArchive, MSDB, and Master databases on the source machine. If
you are using tape backups, the following steps can be skipped and you can proceed directly to the
Restore procedure.
NOTE
When specifying the backup filenames, use filenames without spaces or special char-
acters. Also, there must be only one entry in the destination List Box.
7. Repeat the backup process for each of the BatchArchive, BatchHistory, and MSDB
databases.
8. Share the directory on the source machine (Windows NT 4.0 Server) where the back-
ups are located.
9. Using the share of the source computer, copy each of the backup files from the source
computer to the backup location C:\mssql7\backup\ directory of the destination com-
puter (Windows 2000 Server).
Restore Procedure
Restore the master database of the destination server from the backup of the master database of
the source computer (now located in the local backup directory C:\mssql7\backup).
NOTE
To restore the Master database, the destination SQL Server must be in the single
user mode.
38
2. System Installation B0193YB – Rev C
NOTE
Enable this checkbox only when restoring onto a system that has databases installed
already.
12. On the Restore Database window, click OK to start the Restore. A message notifies
you that the operation was successful and the server was stopped (this in not an error
message).
NOTE
Before you continue with this procedure, reverse single user mode setting of the
destination SQL server and restart the service. At this point it is likely that the His-
tory and Archive databases will be marked “suspect” and will appear gray in the
Enterprise Manager. This is to be expected and is not a problem.
13. Repeat the above restore process for each of the MSDB, BatchHistory, and BatchAr-
chive databases after reversing the single user mode.
39
B0193YB – Rev C 2. System Installation
Cleanup Procedure
After completing the above steps, perform the following cleanup procedure.
1. Remove the share that you created in the Backup Procedure earlier in this section.
2. Ensure that the source database is not set to single user (-m) mode (that is, the “-m”
switch is removed – see Disconnect Users from SQL Server earlier in this section).
3. In the Autostart policies when the operating system starts pane, enable the
Autostart SQL Server Agent and Autostart MSDTC checkboxes.
40
3. I/A Series Integration
I/A Series Batch Suite encompasses a very broad set of hardware, software and services needed
to provide a complete batch solution. I/A Series Batch is a key software component of I/A Series
Batch Suite. I/A Series Batch is designed to work with components of I/A Series Control Suite
and I/A Series Information Suite. This chapter of the I/A Series Batch User’s Guide describes
the roles and responsibilities of each of the major components that make up the I/A Series Batch
Suite and how they are integrated to provide an environment for creating a world class batch
solution.
Material Management
The Batch Suite Material Management capability provides an editor and database of materials
used and produced on the plant floor. The system provides capabilities to track incoming bulk
materials and is used by the Batch Suite to find bulk material locations and to append material
vendor lot identifications to history as bulk materials are consumed. The database is used exten-
sively to define formulas during recipe development.
Recipe Management
The I/A Series Batch Recipe Management capability provides a graphical editor to build, edit,
review and approve master recipes. The editor allows recipes to be assigned by type and by state.
The Recipe Editor makes extensive use of the process model and material databases.
Batch Execution
I/A Series Batch has a sophisticated batch engine that executes recipes to produce batches of mate-
rial as defined by a recipe. The batch engine is responsible for equipment arbitration, allocation
41
B0193YB – Rev C 3. I/A Series Integration
and release, phase execution, batch control, sending all batch events to history and interfacing
with the operator through batch displays and TIM tags.
Batch Displays
Standard batch displays provide operators with all the capability needed to interact with the batch
engine when executing batches.
Batch History
The I/A Series Batch Historian is a storage repository for all batch events and activity. The Batch
Historian is a relational database and fully complies with the FDA 21 CFR Part 11-Electronic
Record; Electronic Signatures; Final Rule.
Batch Reporting
Seagate’s Crystal Reports reporting product is a standard part of I/A Series Batch along with
default SQL queries that can be modified for easy creation of custom batch reports. Batch reports
can be triggered on demand by operators, or automatically through an event. Additionally, a run-
time batch report viewing capability is also provided.
Security
I/A Series Batch provides a comprehensive security system that fully complies with the FDA 21
CFR Part 11-Electronic Record; Electronic Signatures; Final Rule. The system includes a two-
part user identification code that can be assigned to any function in the system with or without
verification from a second user. All security events are logged to Batch history.
Process Logging
The I/A Series Batch Process Logger is responsible for retrieving critical tag values that must be a
part of batch history at periodic time intervals or by the occurrence of events and then logging the
data to the Batch Historian. The Process Logger editor defines groups of tags that are logged at a
defined time interval. Event triggers are defined to start and to stop logging for each group
defined. All values are logged to history with a Batch ID.
42
3. I/A Series Integration B0193YB – Rev C
Tag Communications
I/A Series Batch communicates with I/A Series Control Processors using IADriver.
Batch Alarms
I/A Series Batch uses the Event Manager application for filtering batch alarms from non-batch
alarms. An alarm is considered a batch alarm when it has a non-blank loopId value within the
alarm message. All batch alarms are automatically associated with a BATCH_ID and stored in the
Batch Historian. The association with the BATCH_ID provides for easy retrieval using standard
SQL report queries. A set of batch alarm report queries are provided with Batch Suite.
43
B0193YB – Rev C 3. I/A Series Integration
custom operator displays can be developed and background processes can be created to allow
automatic scheduling of batches, acknowledgement of batch events and in general, interact with
Batch Manager.
44
4. Environment Management
System
This chapter explains how the Environment Management system works, sorting and displaying
the list of selected applications in the order in which they will be executed.
The Environment Management System manages the execution of applications within the batch
system. The system consists of the Environment Editor, Environment Manager, and Environ-
ment Display. Use Environment Editor to configure the applications that run on the Batch
Server. Environment Manager starts and stops applications, manages databases and provides sys-
tem control. Environment Display is a graphical user interface (GUI) for visualizing and interact-
ing with the batch system.
The Environment Management System monitors the interdependencies of system applications to
ensure correct startup and shutdown sequences. The Environment Management System also
allows you to configure the operation of custom applications.
You can use Environment Editor to define the applications that run on a Batch Server. An Envi-
ronment is configured by selecting applications from a list of available applications. The editor
then sorts and displays the list of selected applications in the order that they will be executed. This
sequential ordering is necessary due to interdependencies of batch applications.
Environment Manager determines which applications are displayed in the Environment Display
by reading the environment database. Environment Manager ensures that the proper interdepen-
dent applications are running and displays an appropriate error message otherwise. For example,
you may want to add Batch Display to the Environment Display. The operation of Batch Display
requires the server capability of Batch Manager. Therefore, the editor must ensure that Batch
Manager is selected or already in the system.
Environment Display is the user interface to the batch server applications. Operators typically use
Environment Display to view the status of background applications and start foreground
applications.
The Environment Management System provides an environment for editing an offline copy of
the Process Model database (CfgModelDB). This capability allows you to edit an offline copy of
the model while the batch system continues normal run-time operation. After you complete your
changes to the model, you can shut down the run-time system, update the configuration process
model database with the run-time process model database, and then restart the system.
Figure 4-1 below illustrates the architecture of the Environment Management System.
45
B0193YB – Rev C 4. Environment Management System
NOTE
When Environment Display is started, the Environment Manager, Lock Manager
(lm_tcp) and Security Manager (SecMngr) applications are started in the back-
ground.
46
4. Environment Management System B0193YB – Rev C
3. When the Environment Display starts, it also starts the Batch Logger. The Batch Log-
ger displays messages for all system activity for the Batch Server, Runtime Clients and
Configurations Clients such as startup, shutdown, warnings and errors along with
time and date stamps. If the Batch Logger is closed, it can be restarted by selecting the
Windows Start menu, click Programs, point to IA Series Batch Suite, Batch Server
and then point to Batch Logger.
A typical Batch Logger window is shown here.
File Menu
The Environment Display File menu provides system functions for the Environment Display
application.
File/Exit
Use the File/Exit menu to stop the Environment Display application. Selecting File/Exit does not
stop background run-time applications or services.
47
B0193YB – Rev C 4. Environment Management System
File/Terminate App
♦ Use the File/Terminate menu to terminate applications that failed to start or stop in
the batch system (default timeout is two minutes). The File/Terminate App option
can only be selected when applications are available for termination.
To Terminate an application:
1. From the Applications list, select the application(s) you want to terminate.
2. Click Terminate.
3. Click Close.
NOTE
By default, Environment Manager waits 120 seconds before declaring that an appli-
cation is available for termination. It may be necessary to increase this system time-
out value. For more information on changing the default system timeout value, see
“Environment System Time-out” on page 65.
48
4. Environment Management System B0193YB – Rev C
NOTE
Choosing an Exit and Shutdown completely stops the batch system. If you are not
logged on to the Windows NT operating system with administration privileges, you
are not able to restart Environment Manager or Environment Display. To restart the
batch system, a user with proper administrative privileges must log on. To avoid this
situation you can configure security for the Environment Display Exit and Shut-
down function using the security system.
Update Menu
The Environment Display Update menu allows you to modify the environment (run-time and
configurations) based on changes that you have made to the batch system.
Update/Environment
Use the Update/Environment command to re-initialize the Environment Manager and Display
based on the environment database configuration. Changes that you make to the environment
database with the Environment Editor are not active until you update the environment.
NOTE
You cannot update the environment when any other batch application is running.
This includes applications started on a batch client that access your batch server. All
batch applications, including the run-time system, must be shut down before the
update can be successfully executed.
Update/Runtime
The environment system provides you with the ability to make off-line changes to process models
and tag linker databases. Use Update/Runtime to copy the contents of the process model, link,
and TIM configuration databases into the corresponding run-time databases. Changes that you
make to a process model are not active until you update the run-time databases. You cannot per-
form an Update/Runtime on a running system.
49
B0193YB – Rev C 4. Environment Management System
! WARNING
The contents of the run-time process model, link, and TIM databases are
overwritten by the configuration databases when you perform a run-time update.
You should back up your run-time databases before proceeding.
Update/Configuration
The environment system provides you with the ability to discard any offline changes to the
process model and tag linker databases. Use Update/Configuration to copy the contents of the
process model, link, and TIM run-time databases into the corresponding configuration databases.
You cannot perform an Update/Configuration on a running system.
! WARNING
The contents of the configuration process model, link, and TIM databases are over-
written by the run-time databases when you update the configuration. You should
back up your databases before proceeding.
View Menu
The Environment Display View menu allows you to monitor the operation of background appli-
cations that were started by the batch system.
View/Status
Use the View/Status menu to display the System Application Status window. This window dis-
plays the current status of the background applications that were automatically started with the
Environment Display. Each application listed in the window must be “Running” in order to ini-
tiate any of the associated configuration and run-time applications.
50
4. Environment Management System B0193YB – Rev C
The Database Manager entry refers to the database lock manager (lm_tcp). The His-
tory Queue entry refers to the History Queue functionality required for communica-
tion between the Batch Server and the Batch Information Server. The Security System
entry refers to the Security Manager. These applications are executed as an operating
system service and are started by the Environment Manager.
NOTE
If you are using Redundancy, the System Application Status window will also show
the status of the Redundancy Manager (Redundancy Mngr).
3. Click Close.
Help Menu
The Environment Display Help menu contains commands that provide you with access to the
on-line Help system and information regarding product version.
Help/Help Topics
Use the Help/Help Topics command to display the help contents for Environment Display.
51
B0193YB – Rev C 4. Environment Management System
Run-time Applications
Run-time applications can be started and stopped from the Environment Display. Run-time
applications run as Windows NT services. You can start and stop individual or multiple
applications.
52
4. Environment Management System B0193YB – Rev C
53
B0193YB – Rev C 4. Environment Management System
File Menu
The Environment Editor File menu provides system functions for the Environment Editor appli-
cation.
File/Exit
Use the File/Exit menu to close Environment Editor.
Edit Menu
The Environment Editor Edit menu allows you to view and modify environment system
parameters.
54
4. Environment Management System B0193YB – Rev C
Edit/System Parms
Use the Edit/System Parms menu to modify the parameter values assigned to background service
applications (for example, Lock Manager and Redundancy Manager) that are started prior to all
applications.
3. From the Parameters list, select the item that you want to edit.
4. In the Value field, enter the required value in accordance with the table below
Parameter Description
Max locked files The maximum number of database files under
lock manager control. Default is 256.
Max locks in queue The maximum size of the file lock request queue.
Default is 128.
Max users The maximum number of users lock manager may
control. Default is 32.
Redundancy Time-out The number of seconds that the backup computer
will wait when a communication failure occurs
before it becomes a master. (Applicable to redun-
dant systems only).
User ID Time-out The number of seconds that the current User ID
will be retained before it must be reentered. The
default value of 0 retains the User ID indefinitely.
Number Recipe Levels Number of recipe levels to be shown in Recipe
Edit: Options are 2 and 3. Default is 3.
Allow Sync Approvals Allows the Recipe Edit user to retain recipe
approvals when syncing recipes. Options are 1 or
0. Default is 1.
55
B0193YB – Rev C 4. Environment Management System
NOTE
You must shut down and restart your batch system in order for system parameter
changes to take effect.
Help Menu
The Environment Editor Help menu contains commands that provide you with access to the
online Help system and information regarding product version.
Help/Help Topics
Use the Help/Help Topics command to display the help contents for Environment Editor.
56
4. Environment Management System B0193YB – Rev C
NOTE
When you add an instance, a unique name is automatically assigned. You can use
Environment Editor to change the name. Instance names within the batch system
must be unique. If they are not, an error message appears.
Adding Applications
To Add an Application:
1. On the Environment Editor window, click the Add button.
2. The Add Application window will appear.
The Applications list contains all the batch system and user-defined applications that
can be added.
3. In the Applications list, select the item that you want to add.
4. Click Apply to add your selection to Environment Editor’s Application list.
Clicking OK also adds an application; however, the Add Applications window closes.
5. Click Close to close the Add Applications window.
57
B0193YB – Rev C 4. Environment Management System
NOTE
Applications in the Environment Editor Application list are shown in the sequence
in which the batch system will execute them.
58
4. Environment Management System B0193YB – Rev C
6. The default instance name appears in the Environment Editor Application list and in
the Instance name field.
7. In the Instance field, enter an appropriate name for the application.
8. Click Change.
9. The new Instance name appears in the Instance list of the Environment Editor.
59
B0193YB – Rev C 4. Environment Management System
Parameters Description
Seconds per Phase Length of time for which each new phase is executed. Default value
of 30 seconds.
Write R/O Tags Enables writing to read-only tags in the batch system.
Parameters Description
Configuration Enter the name of the configuration defined in the Process Log Editor.
Parameters Description
Restarting Batches All batches are resumed in their previous state upon system restart.
Phase/Batch Status Batch Manager controls all active phases upon a single batch phase becom-
ing held or restarted.
Init Status Tags The Batch Manager sets all unit and segment status tags to the default
value defined in the Process Model.
LIFO Materials Material consumption uses LIFO instead of the default FIFO method.
Unit States Enables the use of Unit State System tags by Batch Manager. Refer to
Chapter 10 “Batch Management System” for details on Unit Control using
Unit State tags.
COM Interface Enables the use of COM for Batch Hooks in Batch Manager.
Server Node ID Sets Batch Server Unique Indentifier. Allows multiple batch servers to use a
single history database. (Use only the characters A thru Z to define the ID)
Disable Warm Disables loading and saving of warm restart information. Batches are lost
Restart when application stops.
Parm Timeout (sec) Time, in seconds, of all attempts to read a parameter tag value before a tim-
eout failure. The default value is 30 seconds. A value of zero disables retries.
This parameter determines how long Batch Manager continues to retry
reading parameters before generating an error.
Semi-Auto On Batch is placed in semi-automatic mode when a phase is aborted.
Abort
Warm Restart Commit warm restart files to disk immediately when written.
Commit
60
4. Environment Management System B0193YB – Rev C
Parameters Description
Manual Operations Enable the selection of Manual Operation from Batch Display.
Parameters Description
Read Delta Default is 1.0 - Defines how much a tag value must change before it is
read and I/A Series Batch is updated.
Write Delta Default is 1.0 - Defines how much a tag value must change before it is
written to the I/A Series Control Suite (Control Processor).
Read Scan Rate Default is 1 seconds - Defines Object Manager read scan rate.
Write Scan Rate Default is 2 seconds - Defines Object Manager write scan rate.
Mreaidx Poll Rate Default is 500 ms - Defines the poll rate for I/A Series Batch updates.
The actual poll rate is the Mreaidx Poll Rate value times Read Scan
Rate value. The result is in milliseconds.
TIM Start Poll Rate Default is 10 - Defines the polling rate for TIM tags.
Unlinked Tag Warning Default is False - Enables detection and logging to Batch Logger when
tags are not linked.
Unlinked Tag Ignore Default is False - When this option is enabled, tags which are not
linked are not created by IADriver. This allows other tag servers, such
as SimMngr, to have the opportunity to create and service those tags.
Use caution when utilizing this option since unlinked phase or batch
control tags that are controlled by a simulator (that is, SimMngr) can
cause unexpected results in a production system.
Max Precision Default is False - Enables the maximum available resolution for tag val-
ues.
Parameters Description
FMI Logical Name If the value is not defined, the batch system uses the name “FBFMI” by
default. FBFMI is the default I/A Series alarm destination name for
Event Manager. You can assign a different alarm destination name, so
that when multiple batch servers are on the same I/A Series network,
I/A Series detected alarms can be sent to the correct Event Manager.
61
B0193YB – Rev C 4. Environment Management System
3. Enter a Name (16-char max), Type, Parameters, (optional), and select Client
Of/Server To designations (optional).
The Type drop-down menu lists three application types.
! CAUTION
The Application Name must be unique as compared to all other applications in the
environment. If the Name is not unique then the environment database may
become corrupted.
62
4. Environment Management System B0193YB – Rev C
Type Description
Editor Designates the application as a configuration application within the
Environment system.
Single Runtime Designates the application as a run-time application that can only be
added once to the Environment system.
Multiple Runtime Designates the application as a run-time application that can be added
more than once to the Environment system.
The Client Of and Server To selections define the list item location in the Add Applications list.
The selection of this location is important since the custom application also appears in the Run-
time Applications Display. The order in which the applications are listed is essential for proper
batch system operation. Editors do not appear in the Runtime Application Display and are placed
at the end of the Applications list in the Add Applications window.
63
B0193YB – Rev C 4. Environment Management System
64
4. Environment Management System B0193YB – Rev C
-x - This option performs stops all applications. This is identical to performing an Exit
and Shutdown command from the Environment Display. This option also automatically
halts all batch client applications such as Batch Scheduler and Batch Display.
NOTE
One of the above options is required when executing the application. There is no
feedback from this application. It executes without any confirmation.
NOTE
Remember that changing the Timeout value has a global effect; that is, Environ-
ment Display will wait the specified amount of time before it reports any applica-
tion that is available for termination.
Considerations
♦ Stopping the batch system automatically can be accomplished by using the function-
ality provided by most intelligent UPS systems. Typically, a UPS has an option that
allows the user to configure a command file, such as a batch file, that executes upon
loss of power. Parameters, such as time delay, associated with this execution can usu-
ally be configured. This provides a very easy method for stopping the batch run-time
system.
♦ Depending on the number of run-time and client applications that are started, the
batch system may take several minutes to shut down completely. The UPS must pro-
vide ample time for a complete, undisturbed shutdown.
65
B0193YB – Rev C 4. Environment Management System
♦ After an Exit and Shutdown occurs (- x), a confirmation dialog box appears on the
screen if the Environment Display is active. This must be acknowledged manually to
completely close the Environment Display application. However, failure to manually
acknowledge this dialog box does not result in any problems or loss of data. All
I/A Series Batch services and databases close prior to this confirmation dialog box.
♦ Starting the batch system automatically can be accomplished by creating a batch file
that starts the etcmds program. This batch file must be placed in the Windows Start-
up program group. The example shown below uses a delay of 150 seconds (sleep 150)
that allows FoxAPI to start before the etcmds program is started. The - r option must
be used to start the run-time applications.
sleep 150
cd d:\
d:\IASeriesBatch\bin\etcmds -r
♦ The start run-time option does not initiate any client applications, such as Batch
Scheduler or Batch Display.
♦ Exercise caution when restarting the batch system. The batch management system
retains knowledge of all active batches and phases. If the controller resets with a power
outage, the batch system and the controller logic may lose synchronization. Proce-
dures should be implemented to recover from such a situation. Options include
manually restarting all previously active phases, putting a UPS on the controller, or
aborting all active phases prior to shutdown.
66
5. Process Modeling
This chapter provides a summary of the three models available for process modeling and
describes the advantages and disadvantages of each.
Configuration of a process model requires a thorough understanding of the process and the con-
trol system that you want to model. Using the Process Modeling Editor to configure a process
model is not an overly complicated task. You will invest most of your development effort in
revising the process model based on information that you gather about a facility’s process, and
achieving the desired level of flexibility.
Obtaining accurate Process and Instrumentation Diagrams (P&IDs) of the process before config-
uring the process model is very important. You use the P&IDs to determine the components and
capabilities of the process.
Batch processing facilities are typically comprised of a variety of vessels, and the equipment neces-
sary to move materials and products between the vessels. Use the Process Modeling Editor to
configure a batch control system in a manner that facilitates recipe creation and the execution of
recipes within batches.
Process models for batch facilities are based on two primary modeling approaches: the Compre-
hensive Model and the Connectionless Model. You can also use a Hybrid Model that contains ele-
ments of both. To ultimately decide which approach is optimal for your specific application, you
should analyze the theoretical batch philosophy of the company, the process that is being mod-
eled, the flexibility requirements, the user interface requirements of the recipe builder and process
operators, and the historical batch recording requirements.
A summary of these approaches, including the benefits and liabilities of each, is described in this
section. All the features of the Process Modeling Editor are described, regardless of which model-
ing approach you choose.
Comprehensive Model
A comprehensive model approach uses all the available configuration tools of the flexible batch
system. It also provides complete material tracking and ease-of-use for the recipe builder and
operators.
In a comprehensive model, the physical process is defined with units and connections. A unit is
defined as any vessel that can hold and/or process materials. Examples of units are bulk storage
vessels, reactors, blenders, mixers, and hold tanks. Unique statuses can be defined that describe
the possible states that each unit can assume. A connection is a group of equipment that transfers
product between units. Examples of connections are pumps, and valves. Some plants have single
units with connections to multiple units while others have multiple connections between two
units. Connections can be further divided into segments. Connection availability is determined
by the status of all the segments that are a part of the connection. Unique statuses can be defined
that describe the possible states that each segment can potentially assume.
All units that have the same processing capabilities or perform the same function are grouped in
the same process class. All connections between the same two process classes are grouped in a
transfer class. The processing and transferring capabilities for each of these classes are defined with
phases. Each phase is an independent action that requires a unique set of parameters. Parameters
67
B0193YB – Rev C 5. Process Modeling
configure the phase based on a recipe’s requirements. A phase can be executed either automatically
or manually. The batch management system is responsible for coordinating unit-to-unit
management.
Connectionless Model
A connectionless model approach uses a subset of the available configuration tools of the flexible
batch system. This approach requires a more complete understanding of the process by the recipe
builder and the operators. A connectionless model approach also provides complete material
tracking.
In a connectionless model, the physical process is defined with units only. Units are the same in
any model, that is, any vessel that can hold and/or process materials. Unique statuses can be
defined that describe the possible states that each unit can assume.
All units that have the same processing capabilities or perform the same function are grouped in
the same process class. The processing capabilities of each class are defined with phases. Each
phase is an independent action that requires a unique set of parameters that configure the phase
based on a recipe’s requirements A phase can be executed either automatically or manually.
The connectionless model approach does not use connections and segments. The movement of
material between units is accomplished using complementary process phases. For example, to
move material from a reactor to a mix tank, a discharge phase associated with the reactor and a
charge phase associated with the mix tank are required. The recipe builder is responsible for coor-
dinating these two phases as part of the recipe procedure. Co-ordination of unit-to-unit manage-
ment is the responsibility of the operator or control system.
Proper material tracking within a connectionless transfer requires the definition of input parame-
ters for the appropriate source class discharge phase, and the definition of output parameters for
the appropriate destination class charge phase.
Hybrid Model
The hybrid model approach uses a combination of elements of the comprehensive and connec-
tionless models. It allows you to configure a process in a way that maximizes the benefits of both
approaches by providing all the available configuration tools, material tracking and ease-of-use for
the recipe builder and operators.
In the hybrid model, the physical process is defined with units and connections. However, only
the static, non-flexible material paths are defined as connections. Flexible paths or those that
involve many possible destinations are not defined as connections. Like the comprehensive and
connectionless models, all the units that have the same processing capabilities or perform the same
function are grouped in the same process class, and all connections between the same two process
classes are grouped into a transfer class.
Flexible paths that are not defined with connections use the complementary process phase
approach.
For more information on complementary process phases, see “Connectionless Model” on
page 68.
The hybrid approach’s most beneficial advantage is that it can minimize the overall number of
connections and associated tags in the model, while preserving all the connections for paths that
are constant.
68
5. Process Modeling B0193YB – Rev C
69
B0193YB – Rev C 5. Process Modeling
Units
A unit is a group of processing equipment that performs one of the following functions.
1. The unit processes materials; examples are reactors, mixers, blenders, and retorts.
2. The unit holds materials; examples are manual add stations, hold tanks, bulk storage
vessels, and filling stations.
Units can have unique attributes, such as capacity or material of construction, which define the
processing capabilities or limitations of the unit.
70
5. Process Modeling B0193YB – Rev C
Connections
A connection defines a group of equipment such as valves, pumps and flowmeters that transfer
materials from a source unit to a destination unit. All connections between units must be defined
when configuring the process model. Some processes may have more than one connection
between the same two units. In this case, each connection is defined separately.
Phases
A Phase is an independent process action. Phase Logic refers to the logical steps and sequences
within the control system that occur during the execution of a phase. Phase logic can be con-
structed to automatically accommodate formula parameter values received during run time.
Parameter values originate within a recipe.
71
B0193YB – Rev C 5. Process Modeling
Phase Types
There are three types of process phases and four types of transfer phases. Process phases are classi-
fied as either automatic, manual, or download. Transfer phases are classified as either automatic,
semi-automatic, manual, or download.
Automatic Phases
Automatic phases are executed by the control system. Therefore, there must be phase logic in the
control system for the phase to execute. Examples of automatic phases include bulk add, dis-
charge, heat, and mix.
Manual Phases
Manual phases are executed by the batch management system in conjunction with an operator.
The control system is not involved in the execution of a manual phase. Therefore, no phase logic
is required. Examples of manual phases include manual add and test.
Semi-automatic Phases
Semi-automatic can only be defined for transfer phases. Successful execution requires the operator
and the control system to work together in order to successfully complete the phase. Semi-
automatic phases require control system phase logic. An example of a semi-automatic phase is
drum add.
Download Phases
Download phases are executed by the batch management system. They have no phase control or
status tags for handshaking with the control system, and do not require operator acknowledge-
ment. They do not have control button capability, but do allow formula parameter assignments.
When a download phase is encountered during batch execution, the batch manager automatically
writes (downloads) all parameters values to the control system.
NOTE
Download phases are intended to be used to write a Target value to a controller. If
the process model has only parameter Target tags created, then the Target value is
written to both the Target and Actual in history. If Actual tags have been created in
the process model, then the Actual value from the controller is written to history.
72
5. Process Modeling B0193YB – Rev C
Phase Logic
Phase Logic refers to the steps and sequences in a control system that are exercised during the exe-
cution of a phase. Phase logic makes the control system program very structured and is required to
support every phase defined as automatic or semi-automatic. For example, if a process class of
blenders has three automatic phases, each blender in the process class requires three phase logic
blocks. Similarly, phase logic blocks are required for each automatic and/or semi-automatic phase
defined for each connection assigned to a transfer class. The logic for each may be identical; how-
ever, the physical I/O and internal address assignments are different for each blender in the class.
Manual phases are executed by the batch management system through interaction with operators
and do not require phase logic.
Figure 5-1. Interface Between Phase Logic and Batch Management System
This diagram shows the structured interface between phase logic and the batch management
system.
73
B0193YB – Rev C 5. Process Modeling
Phase Parameters
Phase parameters are used to configure, control, and monitor a phase. There are four types of
parameters: Formula Parameters, Phase Control and Status Bits, Interlocks, and Control Buttons.
Each of these types is shown in the table following the definitions.
Formula Parameters
There are three types of formula parameters: Input, Output, and Process Variable.
A recipe consists of a header, a procedure, equipment requirements, and a formula. The formula
contains the defined Input, Output, and Process Variable parameters. Input and output parame-
ters are used to define and track material transfer quantities. Process variable parameters define
setpoints. Parameter elements, such as high and low deviation, are used to quantify, define, and
track the formula when a batch is executed. Units of Measure can also be assigned to Process
Variables.
Interlocks
Each phase logic block may require interlocks. Interlocks provide safety and security for personnel
and equipment by preventing the execution of a phase when other equipment or operators are not
ready. All tags within the system can be assigned as an interlock to a phase. There is no limit to the
number of interlocks that can be assigned to a phase. The physical interlocking is performed in
the control system, not by the batch control system. In this case, the batch control system serves as
a diagnostic tool by displaying the status of interlocks.
Control Buttons
Operators use control buttons to initiate or alter process actions during phase execution. Control
buttons are included in user interfaces for batch execution displays. There are two control buttons
available for each phase. Control buttons are associated with the values of discrete tags.
A summary of all phase parameters is displayed in the following table.
74
5. Process Modeling B0193YB – Rev C
Segments
A segment is a subsection of a connection. Segments may be defined in the process model when-
ever multiple connections share the same equipment and when it is necessary to prevent the auto-
matic use of common segments. Examples of segments are sections of common piping, shared
valves and shared pumps. Segment definition and usage is optional. If you do use segments in
your model, it is not necessary to assign segments for all the connections.
75
B0193YB – Rev C 5. Process Modeling
Equipment Status
An equipment status represents the transition states of units and/or segments and is defined in the
process model. Equipment Status is evaluated before the allocation of units and/or connections.
The use of equipment status is optional.
Units of Measure
A unit of measure is an attribute of a formula parameter and can be defined for process variables
only. They are defined in the process model. An example of assigning a unit of measure might
involve a process variable formula parameter named Temperature. The unit of measure assigned
to this parameter might be Degrees F. Each process variable in your process model should have a
unit of measure assignment.
Enumeration
An enumeration is a data class which is identified by a Set Name in which a list of integer values
correspond to an alphanumeric string value.
The enumeration data class is available for process variable formula parameters. Enumeration data
class Set Names and Values are defined using the Process Model Editor. Each Enumeration Set
Name is a associated with at least one Enumeration Value and Name. An example of an Enumer-
ation is the Set Name “BOOLEAN”. In this example, you could associate the values 0 and 1 with
the names “FALSE” and “TRUE” respectively. The use of enumerations is optional.
Tags
A tag is a collection of data or information that is given. Tags are named and defined with the Pro-
cess Model Editor. A tag usually corresponds to a control system data point. Tags are also used to
configure batch control system applications such as recipes and reports. All tagnames must be
unique.
There are eight tag types in the batch control system: Unit Tags, Process Tags, Connection Tags,
Transfer Tags, System Class Tags, System Unit Tags, System Connection Tags, and System Seg-
ment Tags. Each type has a unique responsibility as described below
.
Table 5-5. Tag Types and Usage
Value
from
Control
Tag Type Use System Comments
Unit Process Modeling: Yes
Transfer and Process Phase
Interlocks
All SCADA Applications
76
5. Process Modeling B0193YB – Rev C
Value
from
Control
Tag Type Use System Comments
Process Process Modeling: No Note 1: For each process tag, the
Process Phase Control Buttons Model Editor automatically cre-
Process Phase Control Bits ates one unit tag for each unit in
Process Phase Status Bits the process class.
Process Phase Formula Parameters Note 2: For each process class, the
Recipes: Modeling Editor automatically
Transition Logic creates a set of System Class tags.
Note 3: For each unit in the pro-
cess class, the Model Editor auto-
matically creates a set of System
Unit tags.
Connection Process Modeling: Yes
Transfer and Process Phase Inter-
locks
All SCADA Applications
Transfer Process Modeling: No Note: For each transfer tag, the
Transfer Phase Control Buttons Model Editor automatically cre-
Transfer Phase Control Bits ates one connection tag for each
Transfer Phase Status Bits connection in the transfer.
Transfer Phase Formula
Parameters
Recipes:
Transition Logic
System Process Modeling: No Note 1: System tags are internal
Class Process Phase Formula Parameters batch control system tags and are
Transfer Phase Formula Parameters updated by the batch management
Recipes: system.
Transition Logic Note 2: System Class tags are
automatically generated for each
process and transfer class defined
in the process model.
System Unit All SCADA Applications No Note: System Unit tags are auto-
matically created for each unit
assigned to a process class.
System All SCADA Applications No Note: System Connection tags are
Connection automatically created for each
connection assigned to a transfer
class.
System All SCADA Applications No Note: System Segment tags are
Segment automatically created for each
defined segment.
77
B0193YB – Rev C 5. Process Modeling
Unit Tags
Unit tags define data points that are uniquely associated with a single processing unit.
Process Tags
Process tags define all the data points that are common to all the units associated with a process
class. Each automatically defined process tag generates a set of unit tags for each member in the
process class. For example, if there are three units in a process class and one process tag is entered,
three unit tags are created: one for each unit in the process class. Each of these unit tags may cor-
respond to a specific address in a control system. Process tags are indirectly associated to the con-
trol system by way of the unit tags that they create.
Process tags have an abstract nature; that is, they are not directly associated with the control sys-
tem. They represent a set of unit tags. Process tags become unit tags when a batch is executed in a
process. Process tags may be used as part of recipe transition logic.
Connection Tags
Connection tags define data points uniquely associated with a connection.
Transfer Tags
A transfer tag defines the data points that are common to all the connections associated with a
transfer class. Each automatically defined transfer tag generates a set of connection tags for each
member in the transfer class. For example, if there are three connections in a transfer and one
transfer tag is entered, three connection tags are created: one for each connection in the transfer
class. Each of these connection tags may correspond to a specific address in a control system.
Transfer tags are indirectly associated with the control system by way of the connection tags that
they create.
Transfer tags are abstract in nature; that is they are not directly associated with the control system.
They represent a set of connection tags. Transfer tags become connection tags when a batch is exe-
cuted in a process. Transfer tags may be used as part of recipe transition logic.
System Tags
System tags are automatically created by the Model Editor when a process class, transfer class, or
segment is added to the model. There are four types of system tags: System Class tags, System
Unit tags, System Connection tags, and System Segment tags. System Class tags are identical to
process/transfer tags, system unit tags are identical to unit tags, and System Connection tags are
identical to connection tags. System Segment tags are similar to system connection tags. System
Class tags do not correspond to a specific address in the control system. They are internal batch
control system tags. However, they may be assigned to formula parameter elements and used in
recipe transition logic. System unit, connection, and segment tags may be assigned to the control
system and can be used in SCADA applications.
78
5. Process Modeling B0193YB – Rev C
79
B0193YB – Rev C 5. Process Modeling
80
5. Process Modeling B0193YB – Rev C
Tag Definition
A tag consists of a structured name. Each tagname must be unique within the batch control sys-
tem. The terms tagname and tag are used throughout the documentation to refer to tags in the
process model.
Tagname
A tagname is a unique, structured name that defines one data point. Tagnames have a hierarchical
structure. The highest level of the structure depends on the tag type. The Unit name is the highest
level for unit tags, the Process class name for process tags, the Connection name for connection
tags and the Transfer class name for transfer tags. Each is followed by Phase, Parameter and
Element.
The following table describes tagname structure.
81
B0193YB – Rev C 5. Process Modeling
Item Delimiter
Between Names . (period)
Automatically
Tag Appended
Classification Parameter Name Element Name Description
Unit System not used CAMPAIGN_ID Campaign ID
Tags LOT_ID Lot ID
BATCH_ID Batch ID
RECIPE_ID Recipe ID
RECIPE_NAME Recipe Name
BATCH_SIZE Batch Size
BATCH_STATUS Batch Status
BATCH_MODE Batch Mode
STATUS Unit Status
ALLOCATION Unit Allocation
LAST_RECIPE_ID Last Recipe ID
STATE Unit State
Connection not used CAMPAIGN_ID Campaign ID
System Tags LOT_ID Lot ID
BATCH_ID Batch ID
AVAILABILITY Connection Availability
ALLOCATION Connection Allocation
LAST_RECIPE_ID Last Recipe ID
82
5. Process Modeling B0193YB – Rev C
Automatically
Tag Appended
Classification Parameter Name Element Name Description
Segment not used CAMPAIGN_ID Campaign ID
System Tags LOT_ID Lot ID
BATCH_ID Batch ID
STATUS Segment Status
ALLOCATION Segment Allocation
LAST_RECIPE_ID Last Recipe ID
Phase Control CONTROL_STATUS START Start
Tags HOLD Hold
RESTART Restart
ABORT Abort
RESET Reset
Phase Status CONTROL_STATUS READY Ready
Tags HELD Held
RUN Run
DONE Done
ABORTED Aborted
INTERLOCKED Interlocked
Unit Control not used UNIT_HOLD Unit Hold
Tags UNIT_RESTART Unit Restart
UNIT_ABORT Unit Abort
Phase Parameter Name ACTUAL Actual
Parameter Tags TARGET Target
HIGH_DEVIATION High Deviation
LOW_DEVIATION Low Deviation
HIGH_LIMIT High Limit
LOW_LIMIT Low Limit
PREACT Preact
LOT_CODE Lot Code
MATERIAL_ID Material ID
Tag Description
Each tag can be given a 120-character description. This allows for complete documentation of
every tag in the system.
Data Class
A tag can be classified as discrete, analog, string or enumeration. Discrete tags have two logical
states: zero (0) and one (1). Analog tags reflect the process status with a numerical value and may
have many states. String tags are identified by an alphanumeric value and can contain up to 80
characters. Enumeration tags are identified by an integer value which represents a textual enumer-
ation name.
83
B0193YB – Rev C 5. Process Modeling
Access Mode
Access Mode defines whether a tag is read-only or read/write. A checkbox is used to select the
access mode for a tag.
84
5. Process Modeling B0193YB – Rev C
85
B0193YB – Rev C 5. Process Modeling
86
5. Process Modeling B0193YB – Rev C
Model Editor
Use Model Editor (ModelEdit) to create and edit the process model. While you are using the
Model Editor, all additions and changes that you make to the model are dynamically updated in
the process model configuration database (CfgModelDB).
87
B0193YB – Rev C 5. Process Modeling
Model Editor guides and verifies, where possible, that entries and assignments are made correctly.
It is ultimately your responsibility to accurately define the process model.
Once all the configuration changes have been made, the Environment Display Update Runtime
menu option must be used to copy the process model configuration database (CfgModelDB) to
the process model run-time database (ModelDB). This allows the run-time system to access the
configuration changes. The Environment Display Update Configuration menu option should be
used to copy the process model run-time database (ModelDB) to the process model configuration
database (ModelDB).
! WARNING
Use caution when updating your configuration from Environment Display. When
you update the configuration, the process model configuration database is overwrit-
ten by the process model run-time database. All configuration changes are lost.
As you read this section, please note that all editors and windows utilize the following conven-
tions:
Editors: Whenever you enter new elements, you must click the Add button. If you make changes
to an element, you must click the Change button. To remove elements, click Delete.
Assigning and Selecting: After selecting the item(s), you must click the Apply button. Clicking
OK applies your selections and closes the associated dialog box. Clicking the Close button closes a
window. List box items are selected and deselected by single-clicking the list item. When applica-
ble, multiple entries can be selected by holding down the control (or shift) key while simulta-
neously left-clicking the desired items.
! WARNING
It is important to understand that when you delete a unit, process class, connection,
or transfer class, that other elements of the overall process model are also deleted.
Always back up your work before making changes. The following table describes the
effect of deleting model components.
88
5. Process Modeling B0193YB – Rev C
Element
Deleted Related Deletions
Unit All unit tags associated with the unit
All unit tags associated with the Process Class to which the unit is assigned
All connections in which the unit is a source or a destination
Process Class All process tags associated with the class
All unit tags resulting from the process tags
All process phases associated with the class
All transfers in which the class is a source or a destination
Connection All connection tags associated with the connection
All connection tags associated with the Transfer Class to which the connection
is assigned
Transfer Class All transfer tags associated with the transfer
All connection tags resulting from the transfer tags
All transfer phases associated with the class
NOTE
You cannot delete a Unit that is assigned to a train until you remove the unit from
each train. When you delete a unit that is assigned to a train(s), the train names in
which the unit has been assigned are displayed in the Batch Logger.
NOTE
Model Editor does not start if you are running Train Editor or IA Link. You cannot
start more than one instance of Model Editor.
89
B0193YB – Rev C 5. Process Modeling
File Menu
The Process Model Editor File menu provides system functions for the Process Modeling Editor.
File/Validate
Use the File/Validate menu to initiate a validation of the process model database. Validation con-
sists of a verification of the following elements.
♦ All Automatic phases have tag assignments for (minimally) the Start, Reset, Ready,
and Done phase control and status bits.
♦ All Semi-Automatic phases have tag assignments for (minimally) the Start, Reset,
Ready, and Done phase control and status bits.
♦ All tags assigned to an Edit Allowed or Edit Required actual element of a formula
parameter must have a read/write access mode.
♦ At least one equipment status has been defined.
♦ One of the defined equipment statuses has been assigned as the default status.
90
5. Process Modeling B0193YB – Rev C
File/Print
Use the File/Print menu to print one or more formatted reports. The reports allow you to select
the elements of your process model.
File/Print Preview
Use the File/Print Preview menu to view one or more formatted reports on the screen. The reports
allow you to select the elements of your process model.
91
B0193YB – Rev C 5. Process Modeling
File/Print Setup
Use the File/Print Setup menu to set up your printer using the standard windows printer dialog
box. Refer to your Windows NT documentation for more information.
File/Exit
Use File/Exit to close the Process Modeling Editor window.
NOTE
All your work is automatically saved in the configuration process model database as
you edit the process model. You do not need to be concerned about saving your
changes.
Edit Menu
The Process Modeling Editor Edit menu contains a list of items that correspond to the Process
Modeling Editor tabs. Each of the associated Process Modeling Editor tabs are discussed later in
this section.
Edit/Units
Use the Edit/Units menu to display the Process Modeling Editor Units tab.
Edit/Processes
Use the Edit/Processes menu to display the Process Modeling Editor Processes tab.
Edit/Connections
Use the Edit/Connections menu to display the Process Modeling Editor Connections tab.
Edit/Transfers
Use the Edit/Transfers menu to display the Process Modeling Editor Transfers tab.
Edit/Segments
Use the Edit/Segments menu to display the Process Modeling Editor Segments tab.
Edit/Equipment Status
Use the Edit/Equipment Status menu to display the Equipment Status tab.
Edit/Units of Measure
Use the Edit/Units of Measure menu to display the Units of Measure tab.
92
5. Process Modeling B0193YB – Rev C
Edit/Enumeration
Use the Edit/Enumeration menu to display the Enumeration tab.
Help Menu
The Process Modeling Help menu contains commands that provide you with access to the online
Help system and information regarding product version and licensing.
Help/Help Topics
Use the Help/Help Topics menu to display the online Help for the Process Modeling Editor.
Units Tab
Use the Units tab to define and edit process model units for the processing vessels in the plant.
93
B0193YB – Rev C 5. Process Modeling
All the available units in your process model are listed in the Units list box. The
selected unit name appears in the Name box. Information regarding the Unit appears
in the Description box.
Adding Units
To Add a Unit:
1. In the Name box, enter a name for the unit (12-char max).
2. In the Description box, you can optionally enter text describing the unit (120-char
max).
3. Click Add to include the new unit in the Units list.
The editor verifies all unit names to ensure validity and uniqueness. You are prompted
to change the unit name in the event you enter a duplicate.
94
5. Process Modeling B0193YB – Rev C
3. In the Description box, you can optionally enter text describing the unit (120-char
max).
4. Click Change to update the unit in the Units list.
The editor verifies all unit names to ensure validity and uniqueness. You are prompted
to change the unit name in the event you enter a duplicate.
Deleting Units
To Delete a Unit:
! WARNING
It is important to understand that deleting a unit affects other elements of the over-
all process model. Always back up your work before making changes.
1. From the Units list, select the Unit that you want to delete.
2. Click Delete.
If you attempt to delete a unit that is part of a train, the following Process Modeling
Editor warning appears, and the unit is not deleted. In this case, you must first delete
the unit(s) from the train, and then delete the unit from the model.
95
B0193YB – Rev C 5. Process Modeling
Processes Tab
Use the Processes tab to define and edit process class units for the processing vessels in the plant.
96
5. Process Modeling B0193YB – Rev C
All the available Process Classes (processes) in your process model are listed in the Pro-
cess Classes list box. When a process class is selected, its name appears in the Name
box. Information regarding the Process Class appears in the Description box.
97
B0193YB – Rev C 5. Process Modeling
2. In the Description box, you can optionally enter text describing the process (120-char
max).
3. Click Add to include the new process in the Process Classes list.
4. Click Change to update the Process in the Process Classes list.
The editor verifies all Process Class names to ensure validity and uniqueness. You will
be prompted to change the name in the event you enter a duplicate.
! WARNING
It is important to understand that deleting a process class affects other elements of
the overall process model. Always back up your work before making changes.
1. From the Process Classes list, select the Process that you want to delete.
2. Click Delete.
3. When you delete a Process Class, the editor displays a warning message indicating the
relationship of the tags in process class to other batch system elements. Read any such
warning messages very carefully.
Assigning Units
A process class can have one or more units assigned to it. Use the Assign Units button on the Pro-
cesses tab to associate units to a process class.
98
5. Process Modeling B0193YB – Rev C
2. All the units that are currently assigned to the selected Process Class are displayed in
the Units list.
3. You can select and deselect units appearing in the Units list.
4. If you want to add additional units to the Units list, and ultimately, the process class,
click the Assign Units button.
The Assign Units to Process window appears.
99
B0193YB – Rev C 5. Process Modeling
The Units list displays all the units (unassigned and previously assigned units) that can
be assigned to the process class. Units that were previously assigned are, by default,
selected.
5. In the Units list, select the appropriate items.
6. Click Apply.
The selected units appears in the Units list on the Processes tab.
100
5. Process Modeling B0193YB – Rev C
2. If Attributes have already been created for the process class, they appear in the Pro-
cess Attributes list.
3. If you are adding a new Attribute, enter a name in the Name box (16-char max).
4. Click Add.
5. The Process Attributes list displays the attributes.
NOTE
The editor verifies all new attribute names to ensure validity and uniqueness. You
are prompted to change the name in the event you enter a duplicate.
101
B0193YB – Rev C 5. Process Modeling
NOTE
It is important to remember that for every process tag that is created, unit tags are
automatically generated for each unit assigned to the class. These unit tags, not the
process tags, are associated to data points in the control system. However, the pro-
cess class tags are available for assignment to formula parameters and to the recipe
builder through the transition logic expression builder.
102
5. Process Modeling B0193YB – Rev C
Use the Edit Process Tags window to add, change or delete process class tag properties.
2. Enter/edit the Phase Name, Parameter Name, Element Name, Description, Data
Class and Access mode as described earlier in this section.
3. Click Add if you are creating a new tag, or click Change if you are modifying an exist-
ing tag.
4. Click Close to close the Edit Process Tags window.
103
B0193YB – Rev C 5. Process Modeling
Defining a process class phase requires the entry of the following information.
♦ Phase Name (optional, 12-char max)
♦ Description (optional, 120-char max)
♦ Phase Type (required, automatic, manual or download)
♦ Control Buttons (optional, 2 available buttons)
♦ Interlocks (optional, available for all tags)
♦ Formula Parameters (optional, Assign as required for the Process Class)
♦ Save History (optional, Save Control/Status Activity, and/or Parameter Status).
2. Enter/edit the appropriate Name and Description as described earlier in this section.
3. Click the Phase Type drop-down arrow, and select Automatic, Manual or Download
as required.
4. Click Add to include the phase in the list or click Change if you have edited an exist-
ing phase.
5. Configure additional phase options as described in the following text.
Save History
Use the Save History Control/Status Activity and Parameter Status checkboxes to configure the
type of phase activity that will be stored in the history database. All data stored in the history data-
base is stamped with the time and date. You can enable both checkboxes if required. Use of this
History feature is optional.
104
5. Process Modeling B0193YB – Rev C
Control Buttons
You can include Control Buttons as part of the user interface. The buttons are a part of the
selected process class phase. To use a control button, you must associate a tagname with the
desired button.
For more information on Control Buttons, see “Process Phase Configuration” and “Additional
Phase Configuration” later in this section.
105
B0193YB – Rev C 5. Process Modeling
106
5. Process Modeling B0193YB – Rev C
Interlocks
Use the Edit Process Interlocks window to configure interlocks for a process class phase. To assign
interlocks, you must associate unit tags with the process phase and process class.
For more information on configuring Interlocks, see “Process Phase Configuration” and “Addi-
tional Phase Configuration” later in this section.
To Configure Interlocks:
1. On the Edit Phases window, click the Interlocks button.
The Edit Process Interlocks window appears.
107
B0193YB – Rev C 5. Process Modeling
The window shows all the available units in the process class and any tags (process
class/transfer) assigned to the selected unit.
108
5. Process Modeling B0193YB – Rev C
Formula Parameters
Use the Edit Formula Parameters window to configure formula parameters for a process class
phase.
For detailed information on configuring Formula Parameters, see “Process Phase Configuration”
and “Additional Phase Configuration” later in this section.
109
B0193YB – Rev C 5. Process Modeling
The window shows the Formula Parameter configuration of the selected Process Class
and Phase.
For detailed information on configuring Formula Parameters, see “Process Phase Configuration”
and “Additional Phase Configuration” later in this section.
110
5. Process Modeling B0193YB – Rev C
The batch control system can be configured to handle many different automatic process phases.
The following examples describes several examples of automatic phases. The phase names corre-
spond to the processing capabilities associated with the example plant referenced earlier.
1. Phase Name: Heat
Increase the temperature of the unit to a specified temperature at a specified rate.
2. Phase Name: Cool
Decrease the temperature of the unit to a specified temperature at a specified rate.
3. Phase Name: Soak
Maintain the temperature of the unit at a specified temperature for a specified time.
4. Phase Name: Agitate
Turn the agitator on for a specified time.
5. Phase Name: AgitOn
Turn the agitator on.
6. Phase Name: AgitOff
Turn the agitator off.
7. Phase Name: Charge
Co-ordinated with a source unit discharge phase, this phase represents one of the ways
in which materials can be moved and tracked. It is responsible for enabling the flow of
a material into the unit.
8. Phase Name: Discharg
Co-ordinated with a destination unit charge phase, this phase represents one of the
ways in which raw materials can be moved and tracked. It is responsible for enabling
the flow of a material out of the unit.
Possible phase parameter configurations for these automatic process phase examples are shown
below.
Phase
Phase Control/Status Interlocks and
Phase Logic Parameters Formula Control
Name Required Required Parameters Buttons
Heat Yes Yes Rate Temp As Needed
Cool Yes Yes Rate Temp As Needed
Soak Yes Yes Time Temp As Needed
Agitate Yes Yes Time As Needed
AgitOn Yes Yes None As Needed
AgitOff Yes Yes None As Needed
Charge Yes Yes Quantity As Needed
Discharg Yes Yes Quantity As Needed
111
B0193YB – Rev C 5. Process Modeling
Target Element
The target element is available for all parameter and data class combinations and is configured as
follows:
1. Select the Enable Display checkbox if the target value is to be displayed during the
run-time execution of the phase. If a tag is assigned to the element, the value assigned
in the recipe will be written to the control system by the batch management system
prior to the start of the phase. Typically, the phase logic uses the target value to deter-
mine when to end the phase.
2. If the operator is allowed to modify the target, enable the Edit Allowed checkbox.
3. If the operator must modify the target, enable the Edit Required checkbox.
4. A Default Value can be assigned to the target element for process variable parameters
of any data class.
Actual Element
The actual element is available for all parameter and data class combinations and is configured as
follows:
1. Select the Enable Display checkbox if the actual value is to be displayed during the
run-time execution of the phase. If a tag is assigned to the element, the batch manage-
ment system reads the value of the tag, in real time, from the control system during
the execution of the phase.
2. If the operator is allowed to modify the actual value, enable the Edit Allowed check-
box.
112
5. Process Modeling B0193YB – Rev C
3. If the operator must modify the actual, enable the Edit Required checkbox.
Preact Element
The preact element is available for analog input parameters and is configured as follows:
1. Select the Enable Display if the preact value is to be displayed during the run-time
execution of the phase.
2. If a tag is assigned to the element, the preact value defined in the process model is
written to the control system by the batch management system prior to the start of the
phase.
113
B0193YB – Rev C 5. Process Modeling
3. If the operator must modify the lot code, enable the Edit Required checkbox.
4. If a tag is assigned to the element, the value assigned by the operator or the control
system is written to the batch management system during the execution of the phase.
Material ID Element
The material ID element is available for analog input and output parameters and is configured as
follows:
1. Select the Enable Display if the material ID value is to be displayed during the run-
time execution of the phase.
2. If the operator is allowed to modify the material ID, enable the Edit Allowed check-
box.
3. If the operator must modify the material ID, enable the Edit Required checkbox.
Formula parameter configurations for the automatic process phase examples given earlier are
shown below.
114
5. Process Modeling B0193YB – Rev C
115
B0193YB – Rev C 5. Process Modeling
Phase
Control/Status Interlocks and
Phase Logic Parameters Formula Control
Phase Name Required Required Parameters Buttons
QASample No No none N/A
OpAction No No none N/A
Agitate No No Time Speed N/A
116
5. Process Modeling B0193YB – Rev C
Connections Tab
Use the Connections tab to define all the material and product paths in the plant.
117
B0193YB – Rev C 5. Process Modeling
Editing Connections
To Edit a Connection:
1. In the Name box, enter a name for the connection (12-char max).
2. In the Description box, you can optionally enter text describing the connection
(120-char max).
3. In the Preact box, enter the required value.
Preact is a value that is equal to the difference between the target quantity (preset) and
the actual quantity (actual) that is delivered when material is transferred through a
connection. Many times, there is dribble or free fall of product in the connection
when a transfer occurs. This results in overflow. The preact defines the anticipated
overflow; that is, the difference between the target and the actual. The preact value is
only used in transfer phases.
The control system phase logic must include appropriate logic in anticipation of
receiving a preact during the execution of a recipe. Also, there are no automatic adjust-
ments made to the preact value by the batch control system. Any calculations and
adjustments that are to be made to the preact must be done at the control system level.
This is explained further in the section associated with automatic transfer phases.
118
5. Process Modeling B0193YB – Rev C
119
B0193YB – Rev C 5. Process Modeling
NOTE
Because of the relationship that connections have with units and their parent trans-
fer class, the source and/or destination units may not be changed. In order to
change the source and/or destination unit for a connection, the existing connection
must be deleted and a new connection must be added.
To Assign a Segment:
NOTE
If you have not assigned segments, the Segments list is empty.
2. All available segments are displayed in the Segments list box. Segments that were pre-
viously assigned are selected by default. In the example shown, the selected segments
are being assigned to the Bulk Tank1 to ReactorA connection.
3. Select the appropriate Segment(s) from the list.
4. Click OK.
120
5. Process Modeling B0193YB – Rev C
Connection Tags
Each connection in a process model may have tags associated with it. Use the Edit Connections
Tags window to associate tags with a connection. Connection tags are virtually identical to unit
tags, except connection tags are associated with the connections between units. All the tags that
are associated with a connection must be entered using the Edit Connections Tags window.
A Connection tag consists of the following elements, some of which are required while others are
optional:
♦ Phase Name (optional, 12-char max)
♦ Parameter Name (optional, 16-char max)
♦ Element Name (required, 16-char max)
♦ Description (optional, 120-char max)
♦ Data Class (required, Analog, Discrete, String or Enumeration)
♦ Access Mode (required, Either Read-Only or Read/Write).
121
B0193YB – Rev C 5. Process Modeling
Transfers Tab
Use the Transfers tab to define all the transfer classes in your process model. A transfer is a group
of connections in which all the source units have the same process class and all the destination
units have the same process class. Connections are assigned to transfers based on their source and
destination units. Unlike a connection, which cannot have the same source and destination unit
assigned, a transfer class may have the same source and destination process class assignment.
122
5. Process Modeling B0193YB – Rev C
Editing Transfers
To Edit a Transfer:
1. In the Name box, enter a name for the transfer (12-char max).
2. In the Description box, you can optionally enter text describing the transfer (120-char
max).
123
B0193YB – Rev C 5. Process Modeling
124
5. Process Modeling B0193YB – Rev C
Assigning Connections
Each transfer class can have one or more connections assigned to it.
All unassigned connections, and any connections previously assigned to a transfer that
have source and destination units belonging to the transfer’s source and destination
process class assignments, are displayed in the list. All previously assigned connections
are selected.
2. Select the appropriate connection(s) from the list.
3. Click OK to assign the connections to the transfer.
In the above example, the source process class is “Bulk Tanks” and the destination
process class is “Reactors.” The assignment window displays all the connections
between the four bulk sources and both of the reactors because the bulk sources are in
the Bulk Tanks process class and the reactors are in the Reactors process class.
Transfer Tags
Each transfer class may have tags associated with it. Use the Edit Transfer Tags window to associ-
ate tags with a transfer class. All tags associated with a transfer phase or common to all connec-
tions in the class must be entered using the Edit Transfer Tags window.
125
B0193YB – Rev C 5. Process Modeling
NOTE
It is important to remember that for every transfer tag created, connection tags are
automatically generated for each connection assigned to the class. These connection
tags, not the transfer tags, are associated to data points in the control system. How-
ever, the transfer class tags are available to the recipe builder through the transition
logic expression builder.
A Transfer tag consists of the following elements, some of which are required, while others are
optional.
♦ Phase Name (optional, 12-char max)
♦ Parameter Name (optional, 16-char max)
♦ Element Name (required, 16-char max)
♦ Description (optional, 120-char max)
♦ Data Class (required, Analog, Discrete, String or Enumeration)
♦ Access Mode (required, Either Read Only or Read/Write).
126
5. Process Modeling B0193YB – Rev C
127
B0193YB – Rev C 5. Process Modeling
Saving History
Use the Save History Control/Status Activity and Parameter Status checkboxes to configure the
type of phase activity that will be stored in the history database. All data stored in the history data-
base is stamped with the time and date. You can enable both checkboxes if required. Use of this
History feature is optional.
128
5. Process Modeling B0193YB – Rev C
Enable the Control/Status Activity box to include all phase control and status bit tran-
sitions.
Enable the Parameter Status box to include (when the phase is done) all parameter
element values, control button activity, and phase instructions.
2. Click Change.
Control Buttons
You can include Control Buttons as part of the user interface. The buttons are a part of the
selected transfer class phase. To use a control button, you must associate a tagname with the
desired button. Control buttons are not available for download type phases.
For more information on Control Buttons, see “Transfer Phase Configuration” and “Additional
Phase Configuration” later in this section.
129
B0193YB – Rev C 5. Process Modeling
130
5. Process Modeling B0193YB – Rev C
The window shows the configuration for the selected Transfer Class and Phase.
2. Configure the Phase Control and Phase Status bits as required.
For more information on Phase Control/Status bits, see “Transfer Phase Configuration” and
“Additional Phase Configuration” later in this section.
Interlocks
Use the Edit Transfer Interlocks window to configure interlocks for a transfer phase. Interlocks are
not available for download type phases.
For more information on configuring Interlocks, see “Transfer Phase Configuration” and “Addi-
tional Phase Configuration” later in this section.
To Configure Interlocks:
1. On the Edit Phases window, click the Interlocks button.
2. The Edit Transfer Interlocks window appears.
131
B0193YB – Rev C 5. Process Modeling
The window shows all the available units in the transfer class and any tags (process
class/transfer) assigned to the selected unit.
132
5. Process Modeling B0193YB – Rev C
Formula Parameters
Use the Edit Formula Parameters window to configure formula parameters for a transfer class
phase.
For detailed information on configuring Formula Parameters, see “Transfer Phase Configuration”
and “Additional Phase Configuration” later in this section.
133
B0193YB – Rev C 5. Process Modeling
The window shows all the Formula Parameter configuration for the selected Transfer
Class and Phase.
For detailed information on configuring Formula Parameters, see “Transfer Phase Configuration”
and “Additional Phase Configuration” later in this section.
134
5. Process Modeling B0193YB – Rev C
When the batch management system encounters an automatic transfer phase with an input type
parameter, a bulk material addition is (typically) being made to the batch. The batch management
system finds the storage unit that holds the material in the materials database, and determines
which connection (that is, which phase) to execute in order to successfully complete the transfer.
The batch management system updates the material usage record in the materials database based
on the actual amount used.
For more information on material location assignments, see Chapter 7 “Materials Editor”.
When the batch management system encounters a semi-automatic transfer phase with an input
type parameter, typically a non-bulk material addition is being made to the batch. Because the
phase is semi-automatic, the operator must acknowledge the start of the phase. Also, the batch
management system does not search for the location of the material in the materials database.
However, if the material has been assigned to a unit, the batch management system updates the
material usage record in the materials database based on the actual amount used.
The batch control system can be configured to handle many different automatic and semi-
automatic transfer phases. Described below are several examples that can be configured. Most of
the phase names correspond to the transferring capabilities associated with the example plant ref-
erenced earlier. The drum add and load bulk phases are used only for example purposes.
1. Phase Name: BulkAdd -Automatic
Raw materials stored in bulk units are transferred to other units in the plant. Measure-
ment of the actual amount transferred is made using a flowmeter, massflow meter, or
weigh scale. A record of the quantity added to the batch is required.
2. Phase Name: Separate -Automatic
Material is transferred through a separator from one unit to another unit. There is no
actual measurement of the by-product output of the separator, but a record of this
output is required.
3. Phase Name: Package -Automatic
Finished product is transferred from a processing unit to a finished goods package of
some form. The operator initiates the start of the fill for each package. Control of the
transfer and measurement of the actual amount is performed by the control system. A
record of the finished product and the number of packages is required.
4. Phase Name: Condense -Automatic
Material is transferred from one unit to another through a condenser. There is no
record of material usage or production output.
5. Phase Name: Transfer -Automatic
Material is transferred from one unit to another. There is no record of material usage
or production output.
6. Phase Name: LoadBulk -Automatic
Finished product is transferred from a processing unit to a bulk unit (railroad car,
tanker, and storage tank). The operator is responsible for starting the transfer. Control
of the transfer and measurement of the quantity transferred is performed by the con-
trol system. A record of the finished product output is required.
7. Phase Name: DrumAdd -Semi-Automatic
135
B0193YB – Rev C 5. Process Modeling
Material is transferred from a drum unload station to one unit. The operator must
acknowledge that the drum and pump are in place and properly connected before the
phase executes. The drum unload station is used to add many different materials.
Possible phase parameter configurations for the automatic and semi-automatic transfer phase
examples are shown in the following table.
Phase
Phase Control/Status Interlocks
Phase Logic Parameters Formula and Control
Name Type Required Required Parameters Buttons
BulkAdd Automatic Yes Yes Quantity As Needed
Separate Automatic Yes Yes Quantity As Needed
Package Automatic Yes Yes Quantity As Needed
Size
Count
Condense Automatic Yes Yes None As Needed
Transfer Automatic Yes Yes None As Needed
LoadBulk Automatic Yes Yes Quantity As Needed
DrumAdd Semi-Automatic Yes Yes Quantity As Needed
136
5. Process Modeling B0193YB – Rev C
Target Element
The target element is available for all parameter and data class combinations and is configured as
follows:
1. Select the Enable Display if the target value is to be displayed during the run-time
execution of the phase. If a tag is assigned to the element, the value assigned in the rec-
ipe is written to the control system by the batch management system prior to the start
of the phase. Typically, the phase logic uses the target value to determine when to end
the phase.
2. If the operator is allowed to modify the target, enable the Edit Allowed checkbox.
3. If the operator must modify the target, enable the Edit Required checkbox.
4. A default value can be assigned to the target element for process variable parameters of
any data class.
Actual Element
The actual element is available for all parameter and data class combinations and is configured as
follows:
1. Select the Enable Display if the actual value is to be displayed during the run-time
execution of the phase. If a tag is assigned to the element, the batch management
system reads the value of the tag, in real time, from the control system during the
execution of the phase.
2. If the operator is allowed to modify the actual value, enable the Edit Allowed check-
box.
3. If the operator must modify the actual, enable the Edit Required checkbox.
137
B0193YB – Rev C 5. Process Modeling
Preact Element
The preact element is available for analog input parameters and is configured as follows:
1. Set the Enable Display if the preact value is to be displayed during the run-time exe-
cution of the phase.
2. If a tag is assigned to the element, the preact value defined in the process model is
written to the control system by the batch management system prior to the start of the
phase.
Material ID Element
The material ID element is available for analog input and output parameters and is configured as
follows:
1. Set the Enable Display if the material ID value is to be displayed during the run-time
execution of the phase.
2. If the operator is allowed to modify the material ID, enable the Edit Allowed check-
box.
3. If the operator must modify the material ID, enable the Edit Required checkbox.
Formula parameter configurations for the automatic and semi-automatic transfer
phase examples presented earlier are shown in the following table.
138
5. Process Modeling B0193YB – Rev C
139
B0193YB – Rev C 5. Process Modeling
140
5. Process Modeling B0193YB – Rev C
updated on the Batch Display, is within the acceptable range, the operator depresses
the Acknowledge button. The operator then manually transfers the material to the
appropriate processing unit.
2. Phase Name: ManAdd
Material is weighed on a scale that is not attached to the control system. The operator
must enter the actual weight, press the Acknowledge button when the weight is
acceptable, and then manually transfer the material to the processing unit.
3. Phase Name: AckAdd
Materials are pre-weighed prior to the execution of the final production batch. As
materials are added, the operator acknowledges each addition. The Batch Manager
records the material usage by using the target value as the actual value.
4. Phase Name: PartsAdd
The material addition may have two parts. For example, 60 pounds of salt must be
added, and salt comes in 50 pound bags. A scale is attached to the control system.
One 50-pound bag is added to the batch. The operator enters 50 as the actual value,
enters the material lot code, and then acknowledges that the phase is complete. The
Batch Manager treats this as a partial addition.
The remaining material (10 lbs) is weighed on the scale. When the weight is within
the tolerances, the operator enters the material lot code and then acknowledges that
the phase is complete.
5. Phase Name: Fill
Material is transferred from a bulk source to a finished goods container where the
operator manually controls the transfer.
The following table shows the valid phase parameter configurations for the manual transfer phase
examples described in this section.
Phase
Control/Status
Phase Logic Parameters Formula Interlocks and
Phase Name Required Required Parameters Control Buttons
ScaleAdd No No Quantity No Interlocks
Control Buttons
As Needed
ManAdd No No Quantity No Interlocks
Control Buttons
As Needed
AckAdd No No Quantity No Interlocks
Control Buttons
As Needed
PartsAdd No No Quantity No Interlocks
Control Buttons
As Needed
141
B0193YB – Rev C 5. Process Modeling
Phase
Control/Status
Phase Logic Parameters Formula Interlocks and
Phase Name Required Required Parameters Control Buttons
Fill No No Quantity No Interlocks
Control Buttons
As Needed
142
5. Process Modeling B0193YB – Rev C
Segments Tab
Use the Segments tab to define, edit and delete segments in your process model. Segment names
must be unique. If you attempt to enter a duplicate segment name, a message box is displayed,
indicating that the segment already exists. If you attempt to delete a segment that is assigned to a
connection, a warning message is displayed. Deleting segments can affect other portions of your
process model.
143
B0193YB – Rev C 5. Process Modeling
All the segments that have been defined for the process model appear in the Segments
list.
To Edit a Segment:
1. On the Segment tab, enter or edit the Name (12-char max) and optional Description
(120-char max).
2. Click Add to include the segment in the process model or click Change if you are
editing an existing Name or Description.
For more information on assigning segments to connections, see “Assigning Segments to Connec-
tions” on page 120.
144
5. Process Modeling B0193YB – Rev C
There is a system tag that is automatically generated for each unit and/or segment defined in the
process model. The equipment statuses define the possible values of this system tag. The statuses
are used by the batch management system when evaluating the availability of a unit or
connection.
The availability of a unit is determined by the current status. If the status is set to “available,” the
batch management system can allocate the unit. If the status is not available, the unit cannot be
allocated.
The availability of a connection is determined by the current status of all the segments that com-
prise the connection. If a connection does not contain one or more segments, the connection is
always available.
All the statuses that have been defined for the process model appear in the Status list.
NOTE
You must define one default status.
3. Click Add to include the equipment status in the process model or click Change if
you are editing an existing Name or Description.
145
B0193YB – Rev C 5. Process Modeling
All the units of measure that have been defined for the process model appear in the
Units of Measure list.
2. Enter/Edit a Name (12-char max).
3. Click Add to include the unit of measure in the process model or click Change if you
are editing an existing Name or Description.
146
5. Process Modeling B0193YB – Rev C
and then click Import. If the import is successful, Units of Measure will be added to
the list.
If you want to export Units of Measure from your process model, click the Export
button. The exported file is named UOM_OUT.txt and is created in the config_A
folder of the batch system.
The format for the UOM_OUT.txt and UOM_IN.txt files is shown below. Note that
the line references enclosed in brackets (for example, <Line 1>) are not actually a part
of the file’s content. Each line in the text file represents one Unit of Measure consist-
ing of up to 12 alphanumeric characters. These files can be viewed and edited with
any ASCII text editor.
The file structure is:
<Line 1> ImportUOM1
<Line 2> ImportUOM2
<Line 3> ImportUOM3
|
|
|
<Line n> ImportUOMn
Enumeration Tab
Use the Enumeration tab to add, change, delete, import and export process model enumeration
set names and values. Enumeration Set Names must be unique within your process model. Enu-
meration Values must be unique for a given Set Name. You can use the same Enumeration Value
in another Set Name, or you can enable a checkbox to ensure that the Enumeration Values are
unique across all Set Names within your process model. It is important to remember that deleting
or changing Enumeration Set Names and Values affects the Enumerations list in the Formula
Parameter Editor.
Enumerations are used only with process variables and are available for selection using the For-
mula Editor.
Each Enumeration Set is defined by one or more enumeration integer values. And each enumera-
tion value is associated with an alphanumeric string. The enumeration value is used by the batch
system whenever the associated process variable is encountered as part of phase execution. The
alphanumeric string that is associated with the value is used for display purposes only. You can
modify the string without affecting the way that a process variable is used. However, before you
modify Set Names or assigned values, you should carefully consider how the process variable is
used and what the effect of changing the name will cause.
147
B0193YB – Rev C 5. Process Modeling
All the enumeration sets that have been defined for the process model appear in the
Sets list.
2. Enter/edit a Set Name (16-char max).
3. Click Add to include the Set Name in the process model or click Change if you are
editing an existing Set Name.
4. In the Enumerations pane, enter a Name (16-char max) and a Value (Integer, 0-
32767). By default, the Value is automatically assigned.
5. Click Add to include the Name and Value in the process model or click Change if you
are editing an existing Enumeration.
148
5. Process Modeling B0193YB – Rev C
149
B0193YB – Rev C 5. Process Modeling
♦ Select the desired control and status tags manually by enabling the appropriate check-
box for each option.
♦ Click the Select Required button to enable the checkbox for the Start, Reset, Ready,
and Done options. This represents the minimum set of tags that must be created.
♦ Press the Select All button to enable the checkbox for all the options.
After the checkboxes are enabled for the required control and status options, click the Create Tags
button to create and assign the appropriate tags.
Use the Clear All button to deselect the checkboxes for all the control and status options.
Use the Delete Tags button to remove the tags from the options selected. A warning message
must be acknowledged before you can delete the tags.
Use the Clear Tag button to remove the tags from the option selected.
150
5. Process Modeling B0193YB – Rev C
Editing Interlocks
An interlock is a condition that prevents the execution of a phase. This could be a process alarm
condition or an open valve. A phase may have one or more interlocks. However, the batch system
does not perform the interlocking logic. The physical interlocking for safety and equipment dam-
age prevention is the responsibility of the control system. The batch control system does provide
the ability to display the interlocks for each phase on the Batch Display. This allows operators to
quickly and easily identify and fix the interlocks that are preventing a phase from executing.
Assigning Tags
Interlock assignments are made to each phase in a class using Unit and Connection tags.
151
B0193YB – Rev C 5. Process Modeling
An assignment is made by selecting the required unit or connection and then clicking the Assign
Tags or Assign Tags button.
152
5. Process Modeling B0193YB – Rev C
In the Tag Selection window, select Phase Interlock Tags. The Tags list in the Edit Processes (or
Transfers) window displays the assigned tag(s).
153
B0193YB – Rev C 5. Process Modeling
Each parameter element can be assigned to a tag. Tags are either automatically created
and assigned, or they are manually created and assigned.
Each element can be further configured for operator interaction. The Enable Display
checkbox specifies whether or not the element is displayed to an operator. The Edit
Allowed checkbox specifies whether or not an operator is allowed to modify the ele-
ment at run time. The Edit Required checkbox specifies whether the operator is
required to modify the element at run time. However, the Edit Required option
applies only to the end of the phase. An Acknowledge on Entry setting used in con-
154
5. Process Modeling B0193YB – Rev C
junction with an Edit Allowed target element can be used to effectively represent an
edit that is required prior to the start of the phase.
♦ Element Default Values (optional)
Default values can only be defined for process variable formula parameter elements.
The default value is set to zero if it is not explicitly defined. These values are used by
the batch management system unless changed in the recipe.
The High Limit and Low Limit default values are used by the Recipe Editor to pre-
vent the user from entering an out-of-range value. When an out-of-range value is
entered into a recipe, an error message is displayed and the Recipe Editor clamps the
value to the default limit.
155
B0193YB – Rev C 5. Process Modeling
156
5. Process Modeling B0193YB – Rev C
157
B0193YB – Rev C 5. Process Modeling
158
5. Process Modeling B0193YB – Rev C
159
B0193YB – Rev C 5. Process Modeling
160
6. Tag Management
The Tag Management system consists of editors, tools and run-time components that
automatically manage tags in I/A Series Batch. This chapter describes how the Model Editor,
Tag Interface Management (TIM) System, I/A Series Linker, TIM Shared Variable Utility,
I/A Series Batch Tag Driver (IADriver) and the ProcStatus Tool work.
I/A Series Batch interfaces to the I/A Series Control Suite using tags. There are several I/A Series
Batch components that create, edit, link, validate, communicate and, in general, manage tags.
These components are: Model Editor, Tag Interface Management (TIM) System, I/A Series
Linker, TIM Shared Variable Utility, I/A Series Batch Tag Driver (IADriver) and the ProcStatus
Tool.
The Model Editor is used to construct the plant model consisting of units, connections, phases,
phase parameters and segments. Tags are automatically created using these names and are used by
the I/A Series Batch to communicate with the I/A Series Control Suite.
cfgModelDB
Model Editor
(ModelEdit)
TIM Editor
(TIMEdit)
cfgLinkDB
IATIM.hostname1
I/A Series TIMSV Utility
(IATIM)
IATIM.hostname N
The Tag Interface Management (TIM) system is a tag-based interface to the Batch Manager and
the Security Manager. TIM utilizes the Batch Talk API and Security API. TIM does not use C
functions to interact with the Batch Manager and Security Managers, but rather, uses tags. The
TIM system is flexible and allows functionality to be enabled or disabled. You can also use the sys-
tem to define any number of client nodes.
The tags created by Model Editor and TIM Editor are linked to I/A Series
Compound:Block.Parameter and Shared Variable tags using I/A Series Linker. I/A Series Linker
provides the capability to automatically link tags using the default links that are defined in the Tag
161
B0193YB – Rev C 6. Tag Management
Map file. TIM tags are also automatically linked using the default links that are defined in the
TIM Map file. Additionally, you can manually link Model and TIM tags when the default links
are not applicable. I/A Series Linker is also used to validate Model and TIM tags to verify that the
links are valid I/A Series Control Suite tags.
The TIM Shared Variable Utility creates a system startup file that is used to create and register
Shared Variables with the I/A Series control system. The utility eliminates the need to manually
create these tags. The TIM Shared Variable Utility is described later in this section.
Interfaces
There are three primary interface groups available. Tags are available for providing access to the
action groups included within each interface. The following table summarizes the interface groups
and the action groups within each.
162
6. Tag Management B0193YB – Rev C
Nodes
A Node is any logical entity, such as an I/A Series workstation or Control Processor. A Node can
also be a processing environment defined by an application. In other words, any application can
have a unique set of interface tags for communicating with Batch Manager and/or Security Man-
ager. This means that two different applications can each have an independent set of TIM tags
even though they may be executing on the same workstation.
Each Node has a unique set of TIM tags that are associated with the interfaces that are enabled for
the Node. Use TIM Editor to enable or disable interface functions for each Node.
NOTE
For those functions that support the display of list data, list length can be changed.
For more information on TIM tags, their functionality and how to use them, see Chapter 17 “Tag
Interface Management (TIM) System”.
163
B0193YB – Rev C 6. Tag Management
2. Enter a Node name (12-char max) and optionally, a Description (120-char max). The
editor verifies that all node names are unique.
3. Define the Node configuration by selecting the Node and then selecting the required
Interface.
4. Click the Enable radio button for each Interface that you select.
As each Interface is enabled, TIM tags are automatically created. The applicable con-
figuration items associated with each Interface are listed in the TIM Editor window.
5. If you need to change the default Value for a selected Interface and Configuration,
enter the Value and then click Apply.
164
6. Tag Management B0193YB – Rev C
NOTE
Configuration items are typically used to define the length of a list of data.
For more information on TIM tags, their functionality and how to use them, see Chapter 17 “Tag
Interface Management (TIM) System”.
NOTE
Model Editor and I/A Series Linker cannot run concurrently. Only one editor at a
time can access the Model database.
You can use I/A Series Linker to either manually link I/A Series Tags, or automatically link
I/A Series Tags to Model Tags or TIM Tags. Automatic linking of Model Tags is based on the
mapping configuration defined in the I/A Series Batch Tag Map file (TagMap.txt). Automatic
linking of TIM Tags is based on the mapping configuration defined in the TIM Map file
(TIMMap.txt). These mapping files are ASCII text files that can be edited to provide automation
linking configuration. Default tag mapping configurations are provided in the file. I/A Series
Linker stores information in the cfgLinkDB database.
165
B0193YB – Rev C 6. Tag Management
TagMap File
The TagMap file (TagMap.txt) defines how I/A Series Batch unit and phase tags are mapped to
I/A Series Control unit and phase blocks. Based on the configuration parameters in this file,
I/A Series Linker automatically creates I/A Series tag assignments for all phases and units in the
process model. Automatic generation reduces the need for extensive manual input. The TagMap
file contains a default configuration that can be edited using I/A Series Linker.
NOTE
To avoid errors when you link, do not change the names of the Model Tag
extensions.
The second column defines I/A Series Batch Parameter mapping. Discrete type tags can be
mapped to bits of an integer parameter or to a Boolean parameter.
Control Signals
Using the default TagMap file, all control signals are sent by I/A Series Batch directly to II0007 of
the corresponding phase block. The PHASE_EXEC sequence block (located immediately follow-
ing the unit block in every compound) then performs the required control operations on the par-
ticular sequence block.
166
6. Tag Management B0193YB – Rev C
# TagMap
# Revision History
# csz 8/10/95 Initial Release
# csz 10/ 2/95 Changed two strings to integers
# csz 10/23/95 Changed data types for BATCH_MODE and STATUS
# csz 2/22/99 Added Unit Status Tag Extensions and STATE
#
# PHASE CONTROL/STATUS PARAMETER EXTENSIONS (Discrete)# START SENT TO PHASE
BLOCK CONTROL WORD
START II0007 7
# HOLD SENT TO PHASE BLOCK CONTROL WORD
HOLD II0007 1
# RESTART SENT TO PHASE BLOCK CONTROL WORD
RESTART II0007 2
# ABORT SENT TO PHASE BLOCK CONTROL WORD
ABORT II0007 3
# RESET SENT TO PHASE BLOCK CONTROL WORD
RESET I00007 8
#
READY II0008 1
HELD II0008 2
RUN II0008 3
DONE II0008 4
ABORTED II0008 5
INTERLOCKED II0008 6
#
# EQUIPMENT SYSTEM TAG EXTENSIONS (String)
# CAMPAIGN_ID
# LOT_ID
BATCH_ID SN0010
RECIPE_NAME SN0009
# RECIPE_ID
# BATCH_SIZE
BATCH_STATUS II0003
BATCH_MODE SN0007
STATUS II0004
ALLOCATION SN0008
# LAST_RECIPE_ID
# AVAILABILITY
# UNIT_STATE
#
# UNIT CONTROL TAG EXTENSIONS (Discrete)
UNIT_HOLD II0007 1
UNIT_RESTART II0007 2
UNIT_ABORT II0007 3
#
# UNIT STATUS TAG EXTENSIONS (Discrete)
#UNIT_READY II0006 1
#UNIT HELD II0006 2
#UNIT_RUN II0006 3
#UNIT_ALARM II0006 4
167
B0193YB – Rev C 6. Tag Management
Equipment system tag extensions correspond to batch information that is downloaded to unit
blocks when the corresponding unit is allocated to any batch. All items are downloaded from
I/A Series Batch to the corresponding unit blocks, except for STATUS, which is read (checked) by
I/A Series Batch for an acceptable status value before I/A Series Batch allocates the corresponding
unit.
NOTE
When Batch Manager is started, I/A Series Batch downloads the STATUS word
with the model default status value (Batch Manager environment parameter). With
this parameter enabled, sequence logic code should continually update the STATUS
word to ensure the value does not represent an undesirable status.
The unit control tag extensions correspond to batch HOLD, RESTART, and ABORT control
signals that are sent by I/A Series Batch to the corresponding unit blocks. As a default configura-
tion, the PHASE_EXEC block is configured to process these signals.
CAMPAIGN_ID and LOT_ID are not included as defaults to conserve string allocations; how-
ever, they can be reconfigured for inclusion. All unit control tag extensions must be included in
the II000n word (the default is II0007) for compatibility with PHASE_EXEC functionality.
The following figure shows a general phase block diagram. I/A Series Batch reads the phase block
phase status word. Every phase block requires a designated status word.
The phase status word is a dependent/independent block configurable II000n input. (The default
is II0008.) The status word value is either 1, 2, 4, 8, 16, or 32, corresponding to one of the mutu-
ally exclusive phase status values (refer to FB_CONST.inc).
The phase control word is a dependent/independent block configurable II000n input. (The
default is II0007.) (Refer to FB_CONST.inc for assigned values.)
168
6. Tag Management B0193YB – Rev C
A phase block, initially inactive, has a READY status. When I/A Series Batch issues a START
control signal the PHASE_EXEC activates the corresponding sequence block and sets the Block
Status to RUN. If this RUN status is not received by I/A Series Batch within a short interval of
time (about 15 seconds), I/A Series Batch re-issues the START control signal.
169
B0193YB – Rev C 6. Tag Management
I/A Series Batch reads the RUN status and indicates this status on the appropriate display. When
the phase block is done, the HLBL or SFC logic sets the status word to DONE. This is done by
the TO_INACTIVE SBX function of the corresponding phase. TO_INACTIVE SBX processing
is initiated by having an HLBL Abort statement as the last statement in the phase.
If HLBL or SFC logic determines that the phase has not executed successfully, the control word
can be set to HOLD. The PHASE_EXEC processes this phase control signal by putting the phase
in Manual which activates the TO_MANUAL SBX function in the phase. This puts the Phase in
a Manual/Active condition and allows a phase to maintain a HELD status without the necessity
of activating an I/A Series Batch Exception Block. The functionality of a phase block in HELD
status is dependent upon whether or not Exception Block processing is enabled, and whether or
not the particular dependent Sequence Block is using TO_MANUAL SBX processing for a phase
HOLD condition.
170
6. Tag Management B0193YB – Rev C
On a RESTART control signal to the phase, the PHASE_EXEC processes this phase control
signal by initiating an Auto/Active condition. The TO_MANUAL SBX then continues its pro-
cessing and sets the phase status to RUN.
On an ABORT control signal to the phase, the PHASE_EXEC processes this phase control signal
by initiating an (HLBL) Abort for the phase. This activates the TO_INACTIVE SBX processing
of the phase which sets the status word to ABORTED.
After reading a DONE or an ABORTED status, the I/A Series Batch issues a RESET control
signal directly to the corresponding phase block control word. PHASE_EXEC then sets the corre-
sponding block status to READY.
In the Phase Block Control State Diagram, the rectangles show the five control signals that
I/A Series Batch sends to phase blocks. The ellipses indicate the six status values that I/A Series
Batch expects to see in response to control signals. The lines between the Run and Held states
indicate that I/A Series logic can initiate transfers between these two states, independent of
I/A Series Batch control actions. However, if I/A Series logic initiates these transitions, it must
ensure that correct values for the status words are maintained.
NOTE
If the status word is not maintained correctly, I/A Series Batch displays incorrect
phase block states which could result in batch processing errors.
The PHASE_EXEC acts as an interface between I/A Series Batch and I/A Series equipment logic.
The PHASE_EXEC is an independent sequence block positioned after every unit block in every
compound. Every compound must have a PHASE_EXEC block to process all sequence block
control operations.
Before allocating a unit, I/A Series Batch checks the unit block status word. If it is an acceptable
value, I/A Series Batch allocates the unit and downloads all recipe parameters to the unit block.
171
B0193YB – Rev C 6. Tag Management
On I/A Series Batch displays, when a batch (not a phase) Hold, Restart, or Abort action is initi-
ated, I/A Series Batch sends the corresponding unit control signal to all the units allocated for the
corresponding batch. I/A Series Batch does not verify that these unit control signals are used.
I/A Series logic is responsible for setting the unit block unit status word, which is monitored by
I/A Series Batch for a satisfactory status before allocating the particular unit block. During batch
execution, I/A Series Batch sends batch status information (Run, Held, and Aborting) to all the
unit blocks associated with the batch.
TIMMap File
The TIMMap file defines how the TIM tags that are defined for each TIM node are mapped to
the I/A Series Control Suite. The TIMMap file contains a default configuration that can be edited
using I/A Series Linker.
172
6. Tag Management B0193YB – Rev C
StrMap File
The StrMap file defines how I/A Series Control Suite integer values are mapped I/A Series Batch
strings. Any number (32,000 plus) of integer-string combinations can be defined. Integer-string
combination must be unique. Uniqueness is the responsibility of the user. The StrMap file is pro-
vided with a default configuration that can be edited using I/A Series Linker.
173
B0193YB – Rev C 6. Tag Management
4 Run
5 Held
6 Aborting
7 Locking
8 Locked
100 OK
101 NOT_OK
If StrMap conversions are not used, all the available string assignments for any particular unit
block are used. Converting some of these parameters to integer values reduces the number of
string allocations.
NOTE
Integer values in this StrMap file cannot be duplicated. Each integer value can only
be used once in the StrMap file.
In the default StrMap configuration shown in the previous figure, the second, third and fourth
lines relate to batch Status. These values are dynamically downloaded to II0003 of the unit block
at run time. Corresponding unit block assignments for all integer and string values must also be
configured in the equipment system tag extensions of the TagMap file.
The last two lines in the StrMap file relate to status II0004. I/A Series Batch reads the unit block
status word for an acceptable status prior to allocating the unit for a batch. The status word must
be an integer for it to be automatically updated by the I/A Series Object Manager on all I/A Series
Batch displays.
If the status word is configured as a string, this automatic updating (for string values) does not
take place. There is no limit to the number of status word assignment values that can be used.
However, all the corresponding integer/ASCII combinations used must be specified in the
StrMap file and also entered as Equipment statuses in the process model.
NOTE
IALink can only be started if the Process Model Editor (ModelEdit) is not running.
Only one editor can open and access the Process Model database at a time. A lock-
file error message is displayed if the Process Model Editor is running when attempt-
ing to run IALink.
174
6. Tag Management B0193YB – Rev C
Database Synchronization
Assuming that no errors are detected at startup, the configuration Link database (cfgLinkDB) is
synchronized with the Process Model and TIM configuration databases. The first time IALink is
started, synchronization can take several minutes. Any time thereafter, the time is significantly
reduced.
During synchronization, each Model and TIM Tag is retrieved and verified against the Link data-
base. If a Model Tag does not exist in the Link database, it is added. If a Model Tag exists in the
Link database, but is deleted from the Model database, the corresponding tag also is deleted from
the Link database.
As each tag is added to the Link database, I/A Series Linker determines what tag mapping cate-
gory should be assigned and stored with the tag. When the Link database is synchronized with the
Model and TIM databases, the I/A Series Linker window appears.
175
B0193YB – Rev C 6. Tag Management
File Menu
Use the File menu to access the I/A Series Linker system functions.
File/Export Tags
Use this option to display the Export File Selection window. You must enter the name of the file
to which the I/A Series Linker configuration data is to be written. The default location of this file
is the current configuration (config_A) directory. The file format is comma-separated variable
(csv) and is described later in this section. If the specified file exists, a message is displayed asking
you whether or not to overwrite the file.
NOTE
The filename must include a complete pathname.
The tag list is not filtered. The exported file contains an exact image of the configuration
I/A Series Linker (CfgIALinkDB) database. Once exported, tag configuration information can be
modified as a spreadsheet, text file, and so forth.
176
6. Tag Management B0193YB – Rev C
! WARNING
Do not add tags to, or remove tags from, the exported file. If you delete tags from
the file and then import the file, none of the tags that you deleted from the file is
deleted from the configuration link database. Any changes that were made however,
result in the modification of the link database. If you add tags to the file and then
perform an import, the additional tags are ignored since they do not currently exist
in the database.
File/Import Tags
Use this option to import tags into the Link database. You must specify the name of the file from
which the I/A Series Linker will import tags. The default location of this file is the configuration
(config_A) directory. The file format is comma-separated variable (csv) and is shown later in this
section.
Range/
Column Identity Length Type Description
1 Tag ID long_min, long I/A Batch internal tag id (READ-
long_max ONLY)
2 Equipment 16 characters string I/A Batch Equipment Name (READ-
ONLY)
3 Phase 16 characters string I/A Batch Phase Name (READ-ONLY)
4 Parameter 16 characters string I/A Batch Parameter Name (READ-
ONLY)
5 Element 16 characters string TIM List Item (READ-ONLY)
6 Compound 12 characters string Compound Name (READ-WRITE)
7 Block 12 characters string Block Name (READ-WRITE)
8 Parameter 12 characters string Parameter Name (READ-WRITE)
9 Shared 14 characters string Shared Variable Name (READ-WRITE)
10 Hostname 6 characters string Shared Variable Hostname (READ-
WRITE)
11 Bit 1 -16 Integer Control Status Bits (READ-WRITE)
2 characters
12 TIMNode 16 characters string I/A Batch TIM Node Name (READ-
ONLY)
13 Equipment- 0-3 enum Equipment Type (READ-ONLY)
Type 1 character
177
B0193YB – Rev C 6. Tag Management
Range/
Column Identity Length Type Description
14 Data Class 1-4 enum Data Class Type (READ-ONLY)
1 character
15 Data Access 1-2 enum Data Access Type (READ-ONLY)
1 character
16 OMType 1 - 10 enum Object Manager Type (READ-ONLY)
2 characters
File/Validate
Use this command to initiate a validation of the Link database.
NOTE
All shared variable type tags must be created prior to validation.
I/A Series Batch Tag Class I/A Series Control Suite Tag Class
Discrete OM_BOOL
INTEGER (Bit)
OM_LNG_INT (Bit)
OM_S_PKBOL (Bit)
OM_L_PKBOL (Bit)
Analog INTEGER
FLOAT
OM_LNG_INT
CHARACTER
SHORT INTEGER (8 Bits)
String STRING
INTEGER
OM_LNG_INT
♦ Model Tag and I/A Series Tag Data Access configuration are compatible. Data
Access refers to whether tags are Read/Write or Read Only.
File/Generate
Use this command to display the Generate I/A Series Tags window. From this window, you can
select the type of tags that you want to generate as shown in the following table.
178
6. Tag Management B0193YB – Rev C
Option Description
Control/Status Tags All Phase Control/Status and Unit Control tags are linked.
Parameter Tags All Phase Parameter tags are linked.
System Tags All Equipment System tags are linked.
TIM Tags All TIM tags are linked.
Generate Errors
When a Generate command is executed, the Tag Mapping files are verified. If the files are incor-
rect or do not exist, an error message window is displayed. After you correct the problem, you can
again attempt to regenerate the tags.
Generate Links
I/A Series tags are created by using a UNIT or Transfer name to create a COMPOUND name,
and a PHASE name to create a BLOCK name. The I/A Series PARAMETER is created by an
automatic process which determines if the Model tag is a Phase Control/Status, Phase Parameter,
Unit Control or an Equipment System tag.
If the tag is a Phase Control/Status, Unit Control or Equipment System tag, the I/A Series
PARAMETER is retrieved from the Tag Map file. If the tag is a Phase Parameter tag, the
I/A Series Linker automatically increments the I/A Series PARAMETER value and assigns it to
I/A Series Parameters based on the following rules:
♦ Analog Type Tags: Mapped to I/A Series Real Input Parameters
♦ Discrete Type Tags: Mapped to I/A Series Boolean Input Parameters
♦ String Type Tags: Mapped to I/A Series String Input Parameters
♦ Enumeration Type Tags: Mapped to I/A Series Integer Input Parameters.
NOTE
The tag used for a parameter must have a phase name for automatic generation to
function properly.
179
B0193YB – Rev C 6. Tag Management
When a duplicate I/A Series parameter assignment is identified, I/A Series Linker ignores the
parameter and continues until it finds an unused parameter.
TagMap
Configuration
File
File/Print
Use this command to select a printer and then print pre-formatted reports.
File/Print Preview
Use this command to preview pre-formatted reports.
File/Print Setup
Use this command to set up a printer.
File/Exit
Use this command to close I/A Series Linker.
Edit Menu
Use this menu to access the I/A Series Linker tag map editors.
Edit/Tag Mapping
Use this command to edit the Tag Mapping file. For more information, see “I/A Series Batch
Configuration Procedures” on page 189.
Edit/TIM Mapping
Use this command to edit the TIM Mapping file. For more information, see “I/A Series Batch
Configuration Procedures” on page 189.
Edit/String Mapping
Use this command to edit the String Mapping file. For more information, see “I/A Series Batch
Configuration Procedures” on page 189.
View Menu
Use this menu to modify the layout of the I/A Series Linker window.
180
6. Tag Management B0193YB – Rev C
View/Filter
Use this command to filter the I/A Series Linker tag list. The filter options are shown in the Filter
Options table.
Option Description
All Tags All tags in the Link database are displayed.
Unit Tags Units Tags are displayed. Select one or more units from the list and then click
OK. Only the tags associated with the selected units are displayed.
Connection Tags Connection Tags are displayed. Select one or more connections from the list
and then click OK. Only the tags associated with the selected connections are
displayed.
Segment Tags Segment Tags are displayed. Select one or more segments and then click OK.
Only tags associated with selected segments are displayed.
TIM Tags All TIM Tags in the Link database are displayed.
Unlinked Tags All tags in the Link database that do not have an I/A Series Tag assignment
are displayed.
181
B0193YB – Rev C 6. Tag Management
View/Status Bar
Use this command to enable or disable the display of the I/A Series Linker status bar.
View/Gridlines
Use this command to enable or disable the display of gridlines in the I/A Series Linker window.
Help Menu
Use this menu to view on-line help topics and information about I/A Series Linker.
! WARNING
Modification of the system registry should only be performed by personnel who are
fully trained in Windows NT system management. Unintentional editing of regis-
try entries can cause your system to become unusable.
182
6. Tag Management B0193YB – Rev C
IATIM_Script [OK]
5. Select the key name IATIM_Script that was added to the Applications area.
6. Select Edit/Add Value for each of the values shown in the Workstation Registry Entries
table:
Value Name Data Type
AppDir REG_EXPAND_SZ [OK]
D:\IASERI~1\cfg\config_A [OK]
Application REG_EXPAND_SZ [OK]
D:\IASERI~1\cfg\config_A\IATIM.AW7003.bat [OK]
AppParameters REG_EXPAND_SZ [OK]
[OK]
Mode REG_DWORD [OK]
1 [OK] Do not restart if application exits.
Order REG_DWORD [OK]
5
Requires I/A REG_DWORD [OK]
1 [OK] Wait for I/A Series initialization.
NOTE
When entering the string value for AppDir and Application, use the MS-DOS™
name “IASERI~1” that is associated with the “I/A Series Batch” folder. You can
view the MS-DOS name by using Windows Explorer to locate and then view the
Properties of the “I/A Series Batch” folder.
NOTE
Shared variable type tags can only be validated after they are created.
183
B0193YB – Rev C 6. Tag Management
NOTE
ProcStaus does not start unless the I/A Series batch system is started.
184
6. Tag Management B0193YB – Rev C
2. Click Start Update and then enter the required information in the text box adjacent
to the Write button.
3. Click Write.
The changes that you made to the tag are displayed in the Value column.
NOTE
Note that in the ProcStatus Display window shown, integer entries can be entered
directly, while string entries must be placed within quotation marks.
185
B0193YB – Rev C 6. Tag Management
must also correspond to the default assignment for unit control tag extensions in the
TagMap file.
♦ PCONTROL - Assignment for each phase block control word. Every phase block
must have a control word assignment. II0007 is the default assignment. This must
also correspond to the default assignment for this control word in the
FB_CONST.inc file (assignment for HOLD, RESTART, ABORT, START and
RESET).
♦ ABORT_STEP - This is the parameter assigned for the termination step of each
phase. II0006 is the default assignment in each phase. This assignment is made in the
FB_CONST.inc file along with all control and status phase block assignments.
Default configurations for Unit and Phase Block Batch Control values should correspond in both
the TagMap and PHASE_EXEC files as shown in the following table.
Table 6-9. Default Configurations for Unit and Phase Block Batch Control Values
186
6. Tag Management B0193YB – Rev C
INDEPENDENT_SEQUENCE
CONSTANTS
#define NUM_ID 0 /* Adjust for additional equipment compounds */
#define IDNAM1 “ /* Enter Names of equipment compounds */
#define BATCHID SN0010 /* Assign Unit Block Batch ID for LOOPID use */
NOTE
Default configurations for phase block status values and for unit block batch con-
trol values should correspond to both the TagMap and PHASE_EXEC files as
shown in the following table.
187
B0193YB – Rev C 6. Tag Management
TagMap Phase_Exec
Status/Control Value (bit position from right) (decimal)
Phase Block Status Values
READY (PREADY) 1 1
HELD (PHELD) 2 2
RUN (PRUN) 3 4
DONE (PDONE) 4 8
ABORTED (PABORTED) 5 16
INTERLOCKED (PINTERLOCKED) 6 32
Unit Block Batch Control Values
UNIT_HOLD (UHOLD) 1 1
UNIT_RESTART (URESTART) 2 2
ABORT (UABORT) 3 4
188
6. Tag Management B0193YB – Rev C
189
B0193YB – Rev C 6. Tag Management
190
6. Tag Management B0193YB – Rev C
NOTE
I/A Driver String Mapping Note – If you have two batch tags; one analog and one
string, and both are linked to the same I/A Series integer tag, it is possible for the
system to assign improper values to one of the batch tags. Therefore, whenever you
link multiple batch tags to a single I/A Series tag, ensure that the data class (Analog,
Discrete, String or Enumeration) is the same.
11. Sequence Block Configuration – ICC configuration of sequence blocks should follow
these guidelines:
♦ UNIT Block Unit Available configuration (default II0008) should be configured
to zero as the default. A non-zero value is used to trigger INTERLOCKED status
for all phase blocks in a READY state.
♦ UNIT Block Unit Control configuration (default II0007) should be configured to
zero as the default.
♦ UNIT Block STATUS (default II0004) should be configured to the default inte-
ger value as specified in the StrMap file and model/equipment status.
♦ The PHASE_EXEC block should have II0008 (UNITAVAIL) ICC-connected to
:UNIT.II0008. The PHASE_EXEC block should have II0007 (UNITCON-
TROL) ICC-connected to :UNIT.II0007.
♦ All sequence blocks being controlled by I/A Series Batch should have their status
word assignment (default II0008) set to a READY status (value of 1).
The following steps describe additional configuration procedures required to run
I/A Series Batch with models and recipes on your I/A Series control system.
12. Use the FB_HLBL code template (HLBL_PHASE.s) for phase logic implementation
with the standard HLBL language. The template includes all required phase com-
mand/state handling and indicates where application specific logic must be added.
13. Use the SFC_PHASE code template for phase logic implementation with FoxSFC.
This template (SFC_PHASE) is functionally identical to the HLBL template. Steps
are identified where application specific logic must be added
14. For each phase logic sequence, identify the ABORT_STEP by either letting the code
run to completion and then referencing the II0006 parameter value, or by using the
following procedure.
♦ From the default CODE display, set the block to Manual and Active. Write a large
value (for example, 200) into the entry field and then select EXEC STEP. The
logic immediately jumps to the end and indicates the last step number in the STP
field. The required ABORT_STEP is one less than the last step indicated in the
STP field.
♦ Write the ABORT_STEP into the II0006 parameter using the Control
Configurator.
191
B0193YB – Rev C 6. Tag Management
192
7. Materials Editor
Use the Materials Editor to define materials, assign material locations, and track the usage and
production of materials in a batch processing facility.
The Materials Editor provides a graphical user interface to the Materials Database. All the materi-
als that are used during recipe creation must be defined within this database. Use the Materials
Editor to define the following material types:
♦ Ingredients (Raw Materials)
♦ Intermediates (Premixes)
♦ Finished Goods
♦ By-Products
♦ Other.
In addition to the defining materials to be stored in the Materials Database, you can use the Mate-
rials Editor to configure tracking the location of materials that are stored in units. This is typically
associated with bulk ingredients and intermediate materials. The batch management system uses
the unit assignments to determine where an ingredient is located when a batch is executed. This
capability allows ingredient locations to be independent of recipes and control system logic, and
permits ingredients to change locations without affecting recipe execution.
The Materials Editor can also be used to track material quantities. When materials are received,
the shipment information and quantity can be entered into the materials database by plant per-
sonnel. The batch management system updates the database when ingredients are used and when
intermediates and finished goods are produced. The database provides for easy access to work-in-
progress information and can be used to update higher level material management and MRP sys-
tems with ingredient usage information and intermediate and finished goods production.
NOTE
The Materials Editor is not, within itself, an inventory management system. How-
ever, it can be used to complement existing systems.
The following diagram provides an overview of the Material Editor and its relationship with other
system components.
193
B0193YB – Rev C 7. Materials Editor
194
7. Materials Editor B0193YB – Rev C
The status of all the materials in the Materials Database is displayed. If there are no materials
defined in the database, the list is empty.
File Menu
The Materials Status File menu provides access to the system functions for materials
management.
File/Validate
Use the File/Validate menu to validate materials database entries. Validation consists of verifying
that all the units assigned to the materials exist within the process model.
If the validation is successful, a message is displayed indicating that the materials configuration is
valid. If validation errors exist, the associated tags are displayed as an error message.
195
B0193YB – Rev C 7. Materials Editor
File/Print
Use the File/Print command to select from one or more pre-formatted reports, and then print the
materials status. The print window also provides standard Windows printer options.
To Print a Configuration:
1. On the menu bar, click File and select Print.
2. The Print window appears.
196
7. Materials Editor B0193YB – Rev C
NOTE
If you want to print several reports, press and hold the control or shift key, while
selecting from the list with the left mouse button.
197
B0193YB – Rev C 7. Materials Editor
NOTE
If you want to preview several reports, press and hold the control or shift key, while
selecting from the list with the left mouse button.
File/Print Setup
Use the File/Print Setup command to select and configure a printer. Refer to your printer manu-
facturer’s documentation for more information.
File/Exit
Use the File/Exit command to close the Materials Editor.
NOTE
All your work is dynamically saved in the materials database as you edit and make
changes. Therefore, you do not need to be concerned with saving your work.
Edit Menu
Use the Edit menu to access the Materials Editor and the Materials Location Assignment Editor.
Edit/Materials Editor
Use the Edit/Materials Editor command to display the Materials Editor window.
198
7. Materials Editor B0193YB – Rev C
For more information on the Materials Editor, see “Using the Materials Editor” on page 201.
Edit/Material Locations
Use the Edit/Material Locations command to display the Material Location Assignment Editor
window.
For more information on editing Material Locations, see “Using the Material Location Assign-
ment Editor” on page 203.
View Menu
Use the Materials Status View menu to view a list of the materials that are assigned to units. You
can also use the menu to filter the materials ID list by specifying a portion of a material ID. A find
option is also provided for a direct search of a Material ID.
View/Assigned Units
Use the View/Assigned Units menu to display a list of all the Unit to Material assignments.
All the Unit assignments, material Type and Material ID are listed.
3. Click Close to close the Assigned Units window.
View/Partial List
Use the View/Partial List menu to filter the list of available Unit Assignments. This option is espe-
cially useful in helping you narrow your focus when there is a large number of Material IDs for a
given ingredient type.
199
B0193YB – Rev C 7. Materials Editor
3. In the Partial ID text box, enter the first portion of the Material ID (16-char max) that
you want to use as your filter.
4. Click OK.
5. The Material ID list now shows all the Material IDs that include the filter.
View/Full List
Use the View/Full List command to display a list of all the materials in the Materials database.
View/Find
Use the View/Find command to search for a specific Material ID.
3. In the Material ID text box, enter the Material ID (16-char max) for which you want to
search.
4. Click OK.
5. The Material ID list now shows only the Material that you entered.
If you enter a non-existent Material ID, an error message is displayed.
Help Menu
Use the Materials Status Help menu to access to the on-line Help system and information regard-
ing product version.
Help/Help Topics
Use the Help/Help Topics command to display the help contents for Materials Status.
200
7. Materials Editor B0193YB – Rev C
! WARNING
Deleting materials from the materials database can affect recipe execution. Before
you delete or modify a material, ensure that you understand how your particular
application manages materials.
Material definition requires the assignment of the following characteristics, some of which are
required while others are not.
♦ Type (required)
Each material must be defined as an Ingredient, Intermediate, Finished Good, By-
Product, or Other.
♦ Material ID (required, 16-char max)
♦ Name (optional, 40-char max)
This name can be used to represent the actual name of the material.
♦ Description (optional, 120-char max)
♦ Unit of Measure (optional, 12-char max)
♦ High Deviation (optional, value between 0.00 and 100.00 inclusive)
This value represents the General or default, high deviation when the material is used
in a recipe.
♦ Low Deviation (optional, value between 0.00 and 100.00 inclusively)
This value represents the General, or default, low deviation when the material is used
in a recipe.
♦ Characteristics (optional)
201
B0193YB – Rev C 7. Materials Editor
Each material can have an unlimited set of characteristics. Characteristics help distin-
guish materials from one another. They also allow you to separate lots of the same
material. A characteristic consists of a Name (16-char max), Data Type (Real, Integer
or String) and a Default Value. Examples of characteristics include potency, density,
color, and brix.
NOTE
Additions, deletions, and changes must first be made to the material before the
characteristics can be updated.
202
7. Materials Editor B0193YB – Rev C
To Define a Material:
1. In the Materials Editor, click the Materials drop-down arrow and select a material type
(Ingredient, Intermediate, Finished Good, By-Product, or Other.)
You can use the Find button and View Partial List checkbox to search all the defined
materials in the database. This is useful when you want to enter new materials that are
similar to existing entries.
2. Enter a Material ID, Name, Description, Unit of Measure, and High and Low Devia-
tions as described earlier in this section.
3. Click Add to include the entry in the Materials database.
NOTE
When you change the default characteristic Data Type, the corresponding Actual
Value is reset with the Default characteristic value. Therefore, before you change a
Material Characteristic Data Type, you should consider how this affects your
material definitions.
NOTE
The default FIFO material usage can be changed to last-in, first-out (LIFO) by assign-
ing the LIFO Materials application parameter to Batch Manager in the Environment
Editor.
203
B0193YB – Rev C 7. Materials Editor
The batch management system also adds lot tracking records for all materials produced in batches
by phases that have output formula parameters. This information can then be consumed by fur-
ther phases with input parameters.
NOTE
The Materials Editor does not require that lot tracking information be defined for
all materials used in production. The batch management system records the lot
tracking information to the historical database if this information is defined; but if
the information is not defined, the batch management system still executes all
batches using the material.
204
7. Materials Editor B0193YB – Rev C
205
B0193YB – Rev C 7. Materials Editor
NOTE
The Materials Editor uses the contents of the run-time process model database. It
may be necessary to perform an Update/Runtime from Environment Display in
order for the Unit Selection window to show the correct list. If the list is empty, it is
likely that you need to perform an Update/Runtime.
206
8. Recipe Editor
This chapter explains how to use the Recipe Editor to create and edit recipes. It describes the
various components of recipes, and how to define, edit and use them. Procedures for saving,
retrieving, printing, exporting and importing recipes are provided.
The batch control system co-ordinates the construction and management of recipes in accordance
with the guidelines outlined in the Instrument Society of America (ISA) S88.01 Flexible Batch
Specification. Consistent with this standard, Recipe Editor supports all three levels of the recipe
procedure.
The batch control system provides a recipe management system that enables Master Recipes to be
constructed and edited. Master recipes are not process line specific. They can be assigned to any
process line that has the classes of process equipment defined in the recipe. A master recipe
becomes a Control Recipe when it is assigned to a Train and it is initialized by the batch manage-
ment system. A control recipe is process line specific.
A master recipe may or may not be size specific. All formula quantities for ingredients, intermedi-
ates, by-products, and finished goods are entered as either actual quantities or as a percent of the
batch size. Quantities expressed as percentages are scaled by the batch management system when
the batch is scheduled and initialized.
The batch control system provides several table driven and graphical editors to construct and edit
recipes. Recipes can be saved, retrieved, and printed. Recipes can also be imported and exported.
A revision history capability enables users to enter, save, and review the change history for each
recipe.
A recipe consists of four parts: the Header, the Equipment Requirements, the Formula, and the
Procedure.
Header
A recipe Header identifies and documents each recipe. The header consists of a Recipe ID, Recipe
Name, Recipe State, Recipe Type, Product ID, Product Name, Minimum Batch Size, Maximum
Batch Size, Default Batch Size, and Comment.
207
B0193YB – Rev C 8. Recipe Editor
Equipment Requirements
Equipment requirements specify the process classes and attributes required by a recipe. When
defining attributes, you must specify the minimum and maximum values for each attribute. For
example, if a recipe requires a 500 or 1000 pound reactor, the minimum and maximum values for
the attribute “Capacity” would be 500 and 1000, respectively. When a very specific characteristic
is required, the minimum and the maximum should be assigned the same number.
When trains are defined, it is possible to have multiple destination units available for a given
transfer. There may be times when you want to give an operator the flexibility to select a destina-
tion unit and other times when this selection is automatic. You can enable this feature when you
define equipment requirements for a recipe.
The Recipe Editor automatically inherits all process and transfer phases associated with the pro-
cess classes defined in the equipment requirements. These are the only phases that you can use to
build a recipe procedure.
In addition to specifying process classes, specific instances of each process class can be defined.
You must define process multiple instances when your recipe procedure uses more than one unit
of the same class. Each process instance corresponds to an actual unit when the recipe is executed.
You may assign a specific unit to a process instance, or you can allow the unit to be selected when
the recipe executes using automatic or manual selection. When one or more process instances
have specific units assigned to them, the recipe is called an “equipment dependent” recipe. This
means that the recipe, by design always uses specific equipment for its execution. When process
instances are not assigned to specific units, the recipe is called an “equipment independent”
recipe.
Normally, whenever you define process instances, you would also define all the resulting transfer
instances. Defining multiple instances allows the recipe builder to simultaneously process-in or
transfer-to multiple units within the same process class. A process instance can have a specific
attribute range or it can have a specific unit assignment. This gives the recipe builder the ability to
create equipment independent or dependent recipes.
Formula
The formula specifies the inputs (raw materials, ingredients), outputs (intermediates, finished
goods, and by-products), and process variables for a recipe. Input and output quantities can be
entered as actual values or as percentage value. Process variable values are entered as actual quanti-
ties. Default tolerances for ingredients and process variables are automatically displayed. However,
the default tolerances can be changed for the current recipe or can be disabled altogether.
208
8. Recipe Editor B0193YB – Rev C
Procedure
The procedure defines the sequence of process actions needed to execute one batch of a recipe. A
procedure is constructed using unit procedures, operations, phases, transition logic, branch
objects, and loop objects. Unit procedures are associated with a process instance and are defined
in the recipe. Operations provide a convenient way of grouping the phases that are associated with
the recipe. Operations are defined during recipe construction. Phases are defined when you create
the process model.
Phases are defined with parameters. A parameter is assigned a value when the recipe formula is
entered. Parameter types are either input, output, or process variable. When the recipe is executed
by the batch management system, the values assigned to the parameters are written to the control
system.
Transition logic provides the ability to redirect the execution of a procedure based on the result of
a Boolean expression. Expressions can be constructed using process class and/or instance tags,
transfer class and or instance tags, and predefined functions such as questions that prompt an
operator. These questions are displayed and then answered by an operator when the recipe proce-
dure is executed.
Branch Objects allow the recipe builder to execute simultaneous unit procedures, operations and
phases, execute one of many unit procedures, operations or phases, and execute operations simul-
taneously on two or more units.
Loop Objects allow the recipe builder to re-execute unit procedures, operations and phases based
on an evaluated transition logic expression.
209
B0193YB – Rev C 8. Recipe Editor
Unit Procedures
A unit procedure is a process action consisting of one or more operations. The unit procedure
names are defined by the recipe builder. A process instance must be assigned to each unit proce-
dure created. All process phases associated with the assigned process instance, and all transfer
phases associated with a transfer instance that has the assigned process class as either its source or
destination class, can be used to define the unit procedure. Some examples of unit procedures and
associated process class instances are provided in the following table.
Operations
An operation is an independent process action which identifies one or more phases. The opera-
tion names are defined by the recipe builder. Defining an operation simply requires the assign-
ment of a name. Some examples of operations are provided in the following table.
Operation Name
Add and Process
Transfer-MixTank
Fill and Package
Transfer-RecvTank
Phases
A phase is an independent processing action. Automatic and semi-automatic phases are executed
by the control system using phase logic. Phase logic is constructed in a manner where it is auto-
matically configured through phase parameters and enabled and monitored by the batch manage-
ment system when recipes are executed.
Manual phases have no phase logic and are executed by the batch management system. Typically,
a manual phase is used to instruct an operator to perform a function such as manually adding an
ingredient, or performing a test sample.
210
8. Recipe Editor B0193YB – Rev C
Some recipe procedures require the acknowledgment of certain conditions by an operator before a
phase can be executed. A recipe procedure may also require an operator to acknowledge the com-
pletion of a phase. Additionally, a recipe procedure may require the entry of operator comments
before batch execution can continue. All these situations can be configured as part of the recipe
procedure. Several examples of process and transfer phases are provided in the following table.
In addition to the types of phases previously described, there are two special phases that can be
used at any time in a recipe procedure to reserve ownership of specific units or connections to a
batch. These phases are named Allocate and Release. When a unit or connection is allocated, it is
owned by the batch until it is either released automatically as part of the recipe procedure or when
the batch finishes or released manually by an operator.
All process and transfer classes and/or instances defined in the recipe equipment requirements can
be allocated or released. There are no parameters associated with allocate and release phases.
Parameters
You can use formula parameters to further define the execution of a phase. Formula parameters
are defined in the process model editor. There are three types of parameters: Inputs, Outputs, and
Process Variables.
Parameters act as mailboxes for data. Input parameters hold ingredient quantities based on the
formula. Process variable parameters hold process variable values. Output parameters hold output
quantities based on the formula. As a procedure is constructed, each element of the formula is
assigned to a parameter.
211
B0193YB – Rev C 8. Recipe Editor
Transition Logic
In addition to defining process actions and the sequence of execution, there is a way to control
(enable/inhibit) the execution of the parts of a recipe procedure based on operator decisions or
process conditions, unit status, and batch information. This is achieved through the use of transi-
tion logic.
With transition logic, a Boolean expression is constructed and evaluated. If the expression evalu-
ates to TRUE, the execution of the recipe moves to the point below the transition logic. If the
expression evaluates to FALSE, the recipe execution stops and waits for the transition logic to
evaluate to TRUE.
Transition logic is constructed with the expression builder using:
1. Process Class and/or Instance Tags
2. Transfer Class and/or Instance Tags
3. Pre-defined Functions (Ask, Not, WaitSec, WaitMin, WaitHour)
4. Constants.
The following table shows all the available transition logic operators.
Operator Symbol
Negate -
Multiply *
Divide /
212
8. Recipe Editor B0193YB – Rev C
Operator Symbol
Modulus %
Add +
Subtract -
Less Than <
Greater Than >
Less Than or Equal To <=
Greater Than or Equal To >=
Equal To =
Not Equal To <>
AND &
Or ¾
Assign :=
Not Not
213
B0193YB – Rev C 8. Recipe Editor
File Menu
The Recipe Editor File menu provides system functions for the Recipe Editor. The File menu
items are described in the following sections.
File/New
Use the File/New command to create a new recipe and clear an open recipe from memory. If prior
editing had been done and not saved, a message box is displayed providing the option to discard
the changes before clearing the recipe.
214
8. Recipe Editor B0193YB – Rev C
File/Open
Use the File/Open command to open an existing recipe and clear an open recipe from memory. If
prior editing had been done and not saved, a message box is displayed providing the option to dis-
card the changes before opening the recipe.
To Open a Recipe:
1. Click File, and then select Open.
You can also click the Open icon in the main toolbar.
All the recipes in the recipe database are listed. You can sort the list by clicking a list
heading.
3. Click Open.
4. Double-click the required list item.
You can also open a recipe by double-clicking an item.
5. The recipe that you selected appears in the Recipe Editor window.
To Find a Recipe:
1. Click the Find button.
2. The Recipe Find window appears.
215
B0193YB – Rev C 8. Recipe Editor
3. In the Search For text box, enter the text for which you want to search.
The space character acts as a wildcard entry. Entering a space character in the Search
For text box causes every item in the list to be searched.
4. From the In drop-down list, select whether you want to search the Recipe ID, Recipe
Name, State or Type, or all these fields.
5. Enable the Case Sensitive checkbox as required.
6. Click Find Next.
The first Recipe that matches your criteria is highlighted in the Recipes – Open list
box. You can click Find Next to continue searching and scrolling through the list.
7. When you identify the recipe that you want, click Open on the Recipes – Open
window.
8. Recipe Editor displays the selected recipe.
216
8. Recipe Editor B0193YB – Rev C
5. The Recipes – Open list now displays only those recipes that match the States and/or
Types that you specified.
6. When you identify the recipe that you want, click Open on the Recipes – Open
window.
7. Recipe Editor displays the selected recipe
File/Save
Use the File/Save command to save changes to an open recipe. The File/Save can also be used as a
Save As function by specifying a different Recipe ID when you are prompted to save the recipe.
The first time that you save a recipe, you are required to enter a Recipe ID (16-char max) and an
Author (30-char max). You can also enter optional Comments that describe any changes or details
that you want to document. All subsequent changes to a recipe require the entry of an Author.
You can effectively copy a recipe simply by saving it with a unique Recipe ID.
If you attempt to enter a Recipe ID that is not unique, a warning message is displayed prompting
you to overwrite the current version.
There may be occasions when either the Recipe ID and/or the Author is automatically supplied.
The Recipe ID is supplied when the current recipe has already been assigned an ID. You can
change this information at any time as explained earlier. The Author field is supplied when the
batch security system is enabled and the Recipe Editor Author function has been assigned to
require security clearance. In this case, security clearance is required whenever the save menu
option is selected. The corresponding Done By user entered in the security clearance request is
automatically assigned to the Author field. This field may not be changed.
To Save a Recipe
1. Click File, and then select Save.
You can also click the Save icon in the main toolbar.
217
B0193YB – Rev C 8. Recipe Editor
3. Enter a Recipe ID, Author and Comments as described earlier in this section.
4. Click Save.
File/Delete Recipes
Use the File/Delete Recipes command to remove a recipe from the recipe database. Any recipe
defined in the database can be deleted; however, you can only delete one recipe at a time. If you
delete the recipe that is currently open, you must use the File/New command to clear the deleted
recipe from the display.
To Delete a Recipe
1. Click File, and then select Delete Recipe.
2. The Recipes – Delete window appears.
218
8. Recipe Editor B0193YB – Rev C
4. Click Delete.
File/Validate
Use the File/Validate command to initiate a validation of the current recipe. The validation pro-
cess consists of the following elements.
♦ Verify that the process model database information used in the recipe exists. This
includes process classes, phases, parameters, and tags.
♦ Verify that the material database information used in the recipe exists.
♦ Verify that the minimum, maximum, and default batch sizes defined in the recipe
header are appropriate. (Minimum <= Default <= Maximum)
♦ Verify that all formula parameters defined in the recipe procedure are linked to the
appropriate information.
♦ Verify that all reports triggered by phases exist in the reporting database.
♦ Verify that all transition logic, including loop logic, is valid.
NOTE
The validation procedure only verifies user-configured information. Because of the
flexibility provided in constructing recipe procedures, it is impossible to verify a rec-
ipe design. This verification is the responsibility of the user.
To Validate a Recipe
1. Click File, and then select Validate.
You can also click the Validate icon in the main toolbar.
File/Approvals
Use the File/Approvals command to approve any recipe in the database for production or for test-
ing. Approvals are required before the Approved for Production checkbox can be set. A recipe can-
not be scheduled as part of a batch unless the Approved for Production or Approved for Test
checkbox has been enabled. The levels of approval required are configured in the Security Editor.
If security is not enabled, the Approved for Production or Approved for Test checkbox must be
manually enabled each time the recipe is saved. There are five levels of recipe approval permitted.
The first level corresponds to the author. The remaining levels of approval are numbered two
through five and can be assigned based on your requirements.
NOTE
In order to prevent the same person from approving recipes at different levels, each
level of approval should be assigned a different security level.
219
B0193YB – Rev C 8. Recipe Editor
You approve the recipe by selecting the appropriate level command button on the Approvals and
entering information required by the security request windows. Levels may be approved in any
order, but the Approved for Production or Approved for Test checkbox cannot be enabled until all
the required levels have been satisfied. The Approved for Production or Approved for Test check-
box can be enabled or disabled at any time for recipes in which all levels of approval have been sat-
isfied.
For more information on configuring security, See Chapter 14 “Security System”.
To Approve a Recipe
1. Click File, and then select Approvals.
You can also click the Approvals icon in the main toolbar.
File/History
Use the File/History command to view the construction history for any recipe in the database.
You can view the Version, Date of creation, and recipe Author for each entry.
220
8. Recipe Editor B0193YB – Rev C
NOTE
Old versions of recipes cannot be executed. If multiple recipe versions are required,
It is recommended that you enter the version identification in the Recipe ID.
221
B0193YB – Rev C 8. Recipe Editor
File/Import/Export
Use the File/Import/Export command to export recipes to files and import recipes from a file. You
can copy and/or move recipes between local recipe databases (those on your server) and across a
network.
To Export a Recipe:
1. In the Import/Export window, enter a directory or select it from the Directories list.
2. From the Recipe IDs list, select the required recipe(s).
3. Click Export.
This creates the recipe file(s) (.rcp extension) in the directory that you selected. If the
recipe file exists, the Duplicate Recipe window appears prompting you to overwrite
the existing file. Acknowledge the prompt as required. You can also specify a different
filename in the text box.
222
8. Recipe Editor B0193YB – Rev C
NOTE
The file that is created contains information in a proprietary format. Do not
attempt to view or edit the contents.
To Import a Recipe:
1. In the Import/Export window, enter a directory or select it from the Directories list.
2. From the Recipe IDs list, select the required recipe(s).
3. Click Import.
This creates the recipe file(s) (.rcp extension) in the directory that you selected. If the
recipe file exists, the Duplicate Recipe window appears prompting you to overwrite
the existing file. Acknowledge the prompt as required. You can also specify a different
file name in the text box.
NOTE
After you import a recipe, you should validate and approve it using the Recipe
Editor.
! WARNING
Do not attempt to import files that were not created by performing a recipe export.
An application error occurs.
File/Synchronize Recipes
Use the File/Synchronize Recipes command to automatically synchronize the phase parameters in
one or more recipes with the phase parameters in the process model. When phase parameters are
added, deleted or changed in a process model, all recipes that are associated with the parameters
are affected.
223
B0193YB – Rev C 8. Recipe Editor
When the synchronization process starts, it first initiates a synchronization of the phase parame-
ters in the recipe with those in the process model. When differences are encountered, the Recipe
phase parameter information is updated using the process model phase parameter information.
After the synchronization stage is completed, the recipe is validated.
Since the process can be set to execute automatically, security can be configured for the Sync &
Validate function to limit access. For more information on configuring security, see Chapter 14
“Security System”. Approvals are required whenever changes are made to a recipe. You can choose
to retain the approvals that are already assigned to a recipe, or you may require the entry of
approvals as part of the synchronization process. The process can be set to execute in a semi-
automatic mode that requires operator acknowledgement before the recipe synchronization
occurs. The synchronization process can be interrupted if necessary.
The following procedure assumes that you have already made changes to process model phase
parameters and that your process model is valid.
NOTE
It is recommended that you back up your recipe databases prior to using the Syn-
chronize Recipe feature.
To Synchronize Recipes:
1. On the menu bar, click File and select Synchronize Recipes.
The Sync & Validate Recipes window appears.
224
8. Recipe Editor B0193YB – Rev C
NOTE
If you have a recipe open, you must close it before you can use the synchronization
feature.
File/Print
Use the File/Print command to select one or more pre-formatted reports, and then print the sec-
tion(s) to a printer or a file. Printed output supports the use of PostScript formatting for graphical
representation as well as a standard format that is text-only. You can optionally print your reports
on a grey background. The Print window also allows you to select and configure the properties of
the printer.
To Print a Recipe:
1. On the menu bar, click File and select Print.
You can also click the Print icon in the main toolbar.
225
B0193YB – Rev C 8. Recipe Editor
File/Print Preview
Use the File/Print Preview command to select one or more pre-formatted reports, and then pre-
view them on the screen.
To Preview a Recipe:
♦ On the menu bar, click File and select Print Preview.
You can also click the Print Preview icon in the main toolbar.
File/Print Setup
Use the File/Print Setup command to select and configure a printer. Refer to your printer manu-
facturer’s documentation for more information.
File/Exit
Use the File/Exit command to close the Recipe Editor.
226
8. Recipe Editor B0193YB – Rev C
NOTE
If you have edited a recipe and did not save it, you are prompted to save or discard
the changes prior to closing the Recipe Editor.
Edit Menu
The Recipe Editor Edit menu provides system functions for the Recipe Editor.
Header
Use the Edit/Recipe Header menu to create and edit recipe header information.
Edit/Recipe Header
Use the Edit /Recipe Header command to define the name and other identification information
for a recipe. A recipe header contains the elements show in the following list. Not all the elements
are required.
♦ Recipe ID (required; display only; defined when recipe is saved)
♦ Recipe Name (optional, 16-char max)
♦ Recipe State (required, defaults to the default state defined in the recipe state editor)
♦ Recipe Type (optional, defaults to the default type defined in the recipe type editor)
♦ Product ID (optional, 16-char max)
♦ Product Name (optional, 16-char max)
♦ Minimize Batch Size (required, defaults to zero if left blank)
♦ Maximize Batch Size (required, defaults to zero if left blank)
♦ Default Batch Size (required, defaults to zero if left blank)
♦ Comments (optional, no size restrictions).
The Recipe ID is the only field that cannot be edited from the header. The Recipe ID is the
unique identifier for the recipe and is defined when the recipe is saved.
227
B0193YB – Rev C 8. Recipe Editor
228
8. Recipe Editor B0193YB – Rev C
NOTE
Assignment of a state is optional.
For more information on defining Recipe States, see “Recipe State Editor” later in this
section.
4. Click OK.
5. The State appears in the Recipe Editor window.
229
B0193YB – Rev C 8. Recipe Editor
NOTE
Assignment of a Type is required.
For more information on defining Recipe Types, see “Recipe Type Editor” later in this
section.
4. Click OK.
5. The State appears in the Recipe Editor window.
Equipment Requirements
Use the Edit/Equipment Requirements menu to define the equipment requirements for your
recipe. Use the Edit/Equipment Requirements command to access the Equipment Requirements
Editor which you use to edit recipe equipment requirements. Equipment requirements identify
the process classes and/or process and transfer instances from which process and transfer phases
can be used while building the procedure. The equipment requirements are also used by the batch
management system to verify train selection during batch scheduling, and also which units are
selected from the train when the batch is executed. You must define recipe equipment require-
ments before you can construct a recipe procedure.
The equipment requirements for a recipe consist of the following items.
♦ Process Classes (required, one or more selected from the process model)
♦ Process Instances (Optional, one process instance is created by default for each
selected process class. At least one process instance is required for a recipe.)
♦ Transfer Instances (optional)
♦ Unit Selection Mode (required, defined for each process class and/or instance)
♦ Attributes (optional, available for each process class and/or instance for which process
class attributes were defined in the process model)
♦ Unit Assignments (optional, required for equipment dependent recipes only)
230
8. Recipe Editor B0193YB – Rev C
NOTE
It is very important for you to remember that editing process instances is not neces-
sary if your requirements need only one unit from within the same process class.
231
B0193YB – Rev C 8. Recipe Editor
NOTE
You can delete process class assignments with the Equipment Requirements Editor.
Deleting a process class removes all the process and transfer instances that are associ-
ated with the deleted class. Phases previously assigned to instances associated with
the deleted process class must be manually deleted from the recipe procedure. Until
you delete these phases, the recipe is invalid. Should this condition arise, a message
box is displayed.
232
8. Recipe Editor B0193YB – Rev C
NOTE
Deleting a process instance also removes all transfer instances that were defined
using the deleted process instance. If you delete all the instances for a process class,
there are no instances available for assigning operations in the Procedure Editor.
New instances can be defined, or the process class can be deleted and reassigned
using the Equipment Requirements Editor in order to return the default instance
name. All the phases that were assigned to a deleted process instance must be manu-
ally deleted from the recipe procedure. The recipe is invalid until the phases are
removed.
If your recipe procedure requires multiple process instance names, you should first change the
name of the default instance, and then add the required instances. Remember that if you delete
233
B0193YB – Rev C 8. Recipe Editor
default process instances, then the default transfer instances are deleted as well. Also, if you retain
the default instance and name, and do not use it in the procedure, the batch management system
requires an extra unit in the train in order to initialize the recipe.
NOTE
Multiple process instances are not required unless you have a batch execution
requirement for the simultaneous allocation of more than one unit from the same
process class.
The Name box in the Process Class Instance Editor window displays a default
instance name which is the same as the selected process class name. If you only need
one unit from the class for the recipe, then you can use the default name. If more than
one unit is required from the process class, you must define multiple instance names.
3. In the Name box, enter an appropriate process instance name.
4. Click Add.
234
8. Recipe Editor B0193YB – Rev C
Making a specific unit assignment for a process instance requires that the selected unit be allo-
cated at run time. The recipe builder uses the instance name when building the procedure. The
specific unit is allocated when the recipe is assigned and then executed as part of a batch.
NOTE
If you remove an assigned unit assignment from a process instance, it is also
removed from the selected instance. If an instance has no unit assignments, then all
the units in the selected process class that are part of the train assigned to the batch,
are available for allocation when the batch is executed.
All the units assigned to the selected process class in the process model are displayed.
4. Select a Unit from the list and click OK.
The unit that you select is assigned to the instance. The unit name is displayed in the
Process Class Instance Editor window along with the appropriate process instance
name.
235
B0193YB – Rev C 8. Recipe Editor
NOTE
If a specific unit has been assigned to a process instance, you cannot set the selection
mode. In this case, the batch management system allocates the assigned unit when
the recipe executes.
Attributes
Use the Attributes list and, Min and Max text boxes, to provide additional equipment require-
ments for a recipe.
NOTE
Use of attributes is optional.
The batch management system uses attributes to allocate units in the train assigned to a batch
only if the unit attribute values satisfy the corresponding recipe attribute requirements. Attributes
are defined for the process class in the Process Modeling Editor
For more information on process class attributes, see Chapter 5 “Process Modeling”.
The assigned attributes are valid only for the selected process instance and the recipe that you are
creating. The attribute range consists of a minimum value (Min) and a maximum value (Max).
If you do not define a range, the attribute is ignored by the batch management system. If a recipe
requires a unit with an attribute range, the minimum and maximum attribute values must be
entered to include the value range needed for the recipe. If the attribute must be a specific value,
the minimum and maximum values must be the same.
Several examples of attribute range definitions are presented in the following table. Included with
each definition is the action on the part of the batch management system.
NOTE
If a specific unit has been assigned to a process instance, an attribute range cannot
be defined. The batch management system is required to allocate the assigned unit
when the recipe is executed as part of a batch.
236
8. Recipe Editor B0193YB – Rev C
The Process Class Instance Editor window shown below represents a possible configuration for
this example.
237
B0193YB – Rev C 8. Recipe Editor
In the example, the batch management system must allocate a reactor as the destination unit in
order to execute the bulk addition. The unit selection mode and the capacity attribute range
defined in the recipe are evaluated by the batch management system and compared with the unit
attribute values defined in the Process Model Editor. The following table shows variety of
scenarios and the result of the batch management system for the previous example.
Minimum Maximum
Process Unit Capacity Capacity
Instances Assigned Selection Attribute Attribute
Defined Units Mode Value Value Resultant Unit Selected
Reactors None Automatic 0 0 Reactor A or Reactor B
Reactors None Automatic 0 2000 Reactor A or Reactor B
Reactors None Automatic 0 1000 Reactor A
Reactors None Automatic 2001 3000 Batch cannot be initial-
ized because train does
not contain an acceptable
unit.
Reactors None Manual 0 0 Select Reactor A or
Reactor B
Reactors None Manual 0 2000 Select Reactor A or
Reactor B
Reactors None Manual 0 1000 Reactor A is automati-
cally selected because it is
the only reactor satisfying
the attribute range.
Reactors ReactorA N/A N/A N/A Reactor A
Reactors ReactorB N/A N/A N/A Reactor B
First_Reactor None Automatic 0 2000 Reactor A or Reactor B
First_Reactor None Manual 0 2000 Reactor A or Reactor B
First_Reactor None Manual 0 2000 Reactor A or Reactor B
Second_Reactor None Manual 0 2000 selected for the
First_Reactor instance.
The other reactor is
selected for the
Second_Reactor instance.
First_Reactor None Manual 0 2000 Manually select Reactor A
Second_Reactor None Manual 0 2000 or Reactor B for the
First_Reactor instance.
The other reactor is auto-
matically selected for the
Second_Reactor instance.
238
8. Recipe Editor B0193YB – Rev C
Minimum Maximum
Process Unit Capacity Capacity
Instances Assigned Selection Attribute Attribute
Defined Units Mode Value Value Resultant Unit Selected
First_Reactor ReactorA N/A N/A N/A Reactor A is allocated for
Second_Reactor None Automatic 0 2000 the First_Reactor
instance. Reactor B is allo-
cated for the
Second_Reactor instance.
First_Reactor ReactorA N/A N/A N/A Reactor A is allocated for
Second_Reactor ReactorB N/A N/A N/A the First_Reactor
instance. Reactor B is allo-
cated for the
Second_Reactor instance.
NOTE
Multiple transfer instances are not required unless more than one process instance
has been defined for a process class, or if multiple connections require simultaneous
allocation from the same transfer class during batch execution.
The default transfer instance name is the same as the name of the transfer class. The source and
destination instances associated with the default transfer instance correspond to the first process
instances defined for the source and destination process classes. If multiple process instances have
been defined for a process class, then multiple transfer instances must be defined so that the recipe
builder can differentiate the transfer phases into and out of each process instance.
If your recipe procedure requires multiple transfer instance names, you should first change the
name of the default instance, and then add the required instances.
If multiple transfer instance names are required, change the name of the default instance first,
then add any other required instances.
239
B0193YB – Rev C 8. Recipe Editor
NOTE
If you delete a transfer class instance, you must manually delete the phases that were
previously assigned. The recipe becomes invalid until the phases are removed.
All available transfer classes along with their source and destination classes defined in the process
model are listed. Note, in the lower pane of this window, that there is a single transfer instance
displayed for each transfer class.
240
8. Recipe Editor B0193YB – Rev C
or the user-defined process instances is available. The proper instance must be selected from the
appropriate dialog box and assigned to the transfer instance.
NOTE
If multiple transfer instances are being created from process classes that contain
multiple process instances, it is possible for a transfer instance to be defined for
which a connection does not exist in the process model. Therefore, the recipe
builder must be sure that the physical process model contains a connection that is
represented by the defined transfer instances.
241
B0193YB – Rev C 8. Recipe Editor
242
8. Recipe Editor B0193YB – Rev C
Formula
A recipe formula consists of the inputs, outputs, and process variables that are used in the recipe
procedure. You define these parameters using the Formula Inputs Editor, the Formula Outputs
Editor, and the Process Variables editors described in the following section.
Input and output materials are assigned from the materials defined in the materials database prior
to development of the recipe. Inputs and outputs must be selected for a recipe before they can be
used in the procedure. Once defined, the inputs and outputs are available for assignment in
phases that have input or output parameters defined. Value assignments for each material can be
made from the respective editor or locally at each phase. The process variable editor displays all
the process variable type parameters that are used in phases in the recipe procedure. Phases with
process variable parameters must be edited in the Procedure Editor before they can be displayed in
the Process Variable Editor. Value assignments for each process variable can be made while con-
243
B0193YB – Rev C 8. Recipe Editor
structing the recipe procedure or from the Process Variable Editor after the procedure is
constructed.
Edit/Formula Inputs
Use the Edit/Formula Inputs command to access the Formula Inputs Editor window which you
use to define the input materials that are used in the recipe.
Formula inputs are the materials that are used as raw materials in the recipe procedure. All phases
that have an input parameter defined must have an input material assigned.
The same material can be added to the recipe with as many configurations as you require. Inputs
that you define and add do not necessarily need to be used in the recipe procedure.
NOTE
The single instance of a material may be assigned to the input parameter of more
than one phase, and unique quantity values may be assigned to each parameter.
However, one material may not be used as both a percent value and an actual value
within different phases in a recipe. If this is desired, the material must be added
twice to the Formula Inputs Editor Inputs list.
244
8. Recipe Editor B0193YB – Rev C
245
B0193YB – Rev C 8. Recipe Editor
All the materials in the materials database of the selected Type are listed. The material
types include Ingredients, Intermediates, Finished Goods, By-Products, and Other.
3. Click the Type drop-down arrow, and select the applicable material type.
4. Select the required material(s) from the list.
5. Click OK.
All the materials in the materials database of the selected Type are listed. The material
types include Ingredients, Intermediates, Finished Goods, By-products, and Other.
3. Click the Type drop-down arrow, and select the applicable material type.
4. Select the required material from the list.
246
8. Recipe Editor B0193YB – Rev C
5. Click OK.
The new material retains the values and phase assignment that were assigned to previ-
ous input.
3. In the Material ID text box, enter the required material ID and then click OK or Apply.
If the material is located in the materials database, then the material is added to the list
in the Formula Inputs Editor window. If the material does not exist in the materials
database, an error message is displayed.
247
B0193YB – Rev C 8. Recipe Editor
individually. If the total intermediate is 25% of the batch and is included in the total,
the total would be 125%. If the Total checkbox is disabled for the intermediate, the
total would be 100%. In this example, the procedure would include parallel opera-
tions or phases for adding the inputs in question, with only the appropriate operations
or phases being executed. Transition logic evaluating the batch size would be used to
determine which operations or phases to execute.
4. Click the Tolerance drop-down arrow and select General, Recipe or None as
required.
General (default) tolerances are defined for each input as part of its entry into the
materials database. These tolerances are displayed in the high and low deviation fields
as percentages. The tolerances can be also be assigned as Recipe specific. If you do not
want to assign a tolerance, use the None option. You can change input material toler-
ances by using the Formula Inputs Editor window or by directly editing the phase in
the recipe procedure.
5. If you specified Recipe as the Tolerance, enter a High Deviation and Low Deviation.
6. In the Unit of Measure text box, enter an appropriate term (16-char max) (for
example, Kgs, Liters, Gallons).
7. Click Change.
Edit/Formula Outputs
Use the Edit/Formula Outputs command to access the Formula Outputs Editor window which
you use to define the materials that the recipe produces.
All phases that have output parameter definitions must have an output material assigned. A single
instance of a material may be assigned to the output parameter of more than one phase, and
unique quantity values may be assigned to each parameter. However, the same material cannot be
used as both a percent value and an actual value within different phases of a recipe. If this is
required, you must add the material twice.
248
8. Recipe Editor B0193YB – Rev C
249
B0193YB – Rev C 8. Recipe Editor
All the materials in the materials database of the selected Type are listed. The material
types include Ingredients, Intermediates, Finished Goods, By-Products, and Other.
3. Click the Type drop-down arrow, and select the applicable material type.
4. Select the required material(s) from the list.
5. Click OK.
All the materials in the materials database of the selected Type are listed. The material
types include Ingredients, Intermediates, Finished Goods, By-Products, and Other.
3. Click the Type drop-down arrow, and select the applicable material type.
4. Select the required material from the list.
250
8. Recipe Editor B0193YB – Rev C
5. Click OK.
The new material retains the values and phase assignment that were assigned to previous input.
3. In the Material ID text box, enter the required material ID and then click OK or Apply.
If the material is located in the materials database, then the material is added to the list
in the Formula Inputs Editor window. If the material does not exist in the materials
database, an error message is displayed.
251
B0193YB – Rev C 8. Recipe Editor
Process Variables
Formula process variables correspond to all process variable formula parameters defined for the
phases used in the construction of the recipe. Process variable formula parameters are defined in
the Process Modeling Editor. Use the Process Variables window to redefine the names or values
assigned to process variable parameters.
When you construct a procedure, you can use the same phase more than once. If you do this, the
associated process variable parameters are used as many times as the phase is used. Because of this,
the parameter names are listed in the Process Variables window more than once. To prevent con-
fusion when viewing the list, you can change the process variable names so that they are more
descriptive. Changing the name in this way only affects the specific instance of the parameter in
the recipe. Also, as you build the procedure, you can change the names.
Edit/Process Variables
Use the Edit/Process Variables command to edit formula process variables.
The list shows all the process variables used in the phases of the recipe procedure. The
list is empty until you use phases that contain process variable parameters in the recipe
procedure. Following recipe procedure creation, you can change process variable
parameter in the Process Variables window or directly in the specific phase.
For each process variable displayed in the list, the phase Type, Name, Value, Toler-
ances, and Description are displayed. This information is derived from the process
model database.
252
8. Recipe Editor B0193YB – Rev C
NOTE
The Value must be within the range of the High and Low Limit values defined for
the parameter in the process model database.
6. Click the Tolerances drop-down arrow and select General, Recipe, or None as
required.
7. In the High Deviation and Low Deviation text boxes, enter values that are consistent
with the Tolerance that you specified.
8. Click Change.
253
B0193YB – Rev C 8. Recipe Editor
All the unit procedures that have been previously saved appear in the list.
3. In the Unit Procedure Name text box, enter an appropriate name.
4. In the Comments box, enter a description for the unit procedure (optional).
5. Click Change and then Close.
Operations Library
Edit/Operations Library
You create and initially save recipe operations during recipe construction.
For more information on saving operations, see “Building a Recipe” later in this section.
Use the Edit/Operations Library command to edit the name and description of recipe operations
that were created during recipe development and then store them for future use.
A stored operation consists of an Operation Name (16-char max) and optional comments of
unlimited length. The Operation Library is recipe independent and there is no limit to the num-
ber of operations that you can store.
254
8. Recipe Editor B0193YB – Rev C
All the operations that have been previously saved appear in the list.
3. In the Operation Name text box, enter an appropriate name.
4. In the Comments box, enter a description for the operation (optional).
5. Click Change and then Close.
Edit/Recipe States
Use the Edit/Recipe States menu to access the Edit Recipe States window.
Recipe states are defined on a global basis throughout the entire recipe management system and
are available for every recipe created. Examples of recipe states might include test, production and
archive.
Recipe states consists of Name (16-char max) and an optional description. All recipes must con-
tain a state assignment in order for the recipe to be valid.
255
B0193YB – Rev C 8. Recipe Editor
Edit/Recipe Types
Use the Edit/Recipe Types menu to access the Edit Recipe Types window.
Recipe types are defined on a global basis throughout the entire recipe management system and
are available for every recipe created.
Using the Recipe Type Editor, you can essentially create categories that you can assign to the rec-
ipe header. Examples of recipe types might include CIP, barbecue, salad dressing, and so forth.
Once defined, recipe types are available for every recipe in the recipe management system.
A recipe type consists of a Name (16-char max) and an optional description. The assignment of a
type to a recipe is optional and does not prevent validation or approval of a recipe. Recipe types
can be changed at any time by a user.
256
8. Recipe Editor B0193YB – Rev C
View Menu
Use the Recipe Editor View menu to show or hide toolbars, change the magnification (zoom-in or
zoom-out) of the unit procedures, operation and phase displays, show or hide the unit procedures,
operations and phases views.
View/Main Toolbar
To View the Main Toolbar:
♦ Click View and then enable the Main Toolbar menu item.
257
B0193YB – Rev C 8. Recipe Editor
View/Operation Toolbar
To View the Operations Toolbar:
♦ Click View and then enable the Operation Toolbar menu item.
You can also use the Show/Hide Operations View icon in the Main toolbar.
View/Phase Toolbar
To View the Operations Toolbar:
♦ Click View and then enable the Phase Toolbar menu item.
You can also use the Show/Hide Phases View icon in the Main toolbar.
View/Status Bar
To View the Status Bar:
♦ Click View and then enable the Status Bar menu item.
View/Operation View
Use the View/Operation View menu item to show or hide the Operations pane and toolbar.
258
8. Recipe Editor B0193YB – Rev C
View/Operation Zoom In
To Zoom In on a Recipe Operation:
♦ Click View and then select Operation Zoom In to increase the displayed size of objects
in the recipe operation pane.
You can also use the Operation Zoom In icon in the Main toolbar.
View/Phase View
Use the View/Phase View menu item to show or hide the Phases pane and toolbar.
View/Phase Zoom In
To Zoom In on Recipe Phases:
♦ Click View and then select Phase Zoom In command to increase the displayed size of
phases in the recipe phase pane.
You can also use the Phase Zoom In icon in the Main toolbar.
Help Menu
The Recipe Editor Help menu contains commands that provide you with access to the on-line
Help system and information regarding product version.
Help/Help Topics
Use the Help/Help Topics command to display Help contents for Recipe Editor.
259
B0193YB – Rev C 8. Recipe Editor
Procedure Layout
The Recipe Editor Procedure window is divided into three resizeable panes: Unit Procedures,
Operations and Phases.
Unit Procedures
The Unit Procedures pane is used to layout the sequence of user-defined unit procedures that are
executed when the recipe is scheduled as part of a batch. Each unit procedure should contain at
least one phase. The operation sequence can be constructed using any of the procedure objects
described later.
260
8. Recipe Editor B0193YB – Rev C
Sequence of Operations
The Sequence of Operations pane is used to create a sequence of user-defined operations that are
executed when the recipe is scheduled as part of a batch. Each operation should contain at least
one phase. The operation sequence can be constructed using any of the procedure objects
described later.
Sequence of Phases
The Sequence of Phases section of the Procedure window is used to create a sequence of phases
that are executed within an operation. The phases are defined in the process modeling editor. The
phase sequence can be constructed using any of the procedure objects described later.
Procedure Objects
Recipe procedures are constructed using one or more of the various objects that are available
within the editor. These objects are accessed from one of the dockable toolbars.
261
B0193YB – Rev C 8. Recipe Editor
The Cut Unit Procedure Object icon is used to remove an object from the Unit Proce-
dure pane and store it in the Windows clipboard.
♦ Undo
The Undo icon is used to undo the most recent change.
NOTE
There is only one level of undo available. Undo is only applicable to the creation
and deletion of objects.
♦ Zoom In
The Zoom In icon is used to enlarge the Unit Procedure pane. There are 10 levels of
magnification available.
♦ Zoom Out
The Zoom Out icon is used to reduce the sequence of operations display. There are 10
levels of reduction available.
Operations Toolbar
♦ Add Operation
The Add Operation icon is used to enter a user-defined operation. The operation
name is displayed on the object.
♦ Load Operation
262
8. Recipe Editor B0193YB – Rev C
The Load Operation icon is used to load a pre-defined operation from the Operation
Library.
♦ Cut Operation
The Cut Operation Object icon is used to remove an object from the Operations pane
and store it in the Windows clipboard.
♦ Copy Operation
The Copy Operation Object icon is used to copy an object.
♦ Paste Operation
The Paste Operation Object icon is used to paste an object.
♦ Undo
The Undo icon is used to undo the most recent change.
NOTE
There is only one level of undo available. Undo is only applicable to the creation
and deletion of objects.
♦ Zoom In
263
B0193YB – Rev C 8. Recipe Editor
The Zoom In icon is used to enlarge the sequence of operations display. There are 10
levels of magnification available.
♦ Zoom Out
The Zoom Out icon is used to reduce the sequence of operations display. There are 10
levels of reduction available.
Phases Toolbar
♦ Add Phase
The Add Phase icon is used to add a phase to the procedure. The phases that are
available are read from the process model. The phase name and the associated process
or transfer instance name are displayed on the object.
♦ Cut Phase
The Cut Phase Object icon is used to remove an object from the Phase pane and store
it in the Windows clipboard.
♦ Copy Phase
The Copy Phase Object icon is used to copy a object.
♦ Paste Operation
264
8. Recipe Editor B0193YB – Rev C
♦ Undo
The Undo icon is used to undo the most recent change.
NOTE
There is only one level of undo available. Undo is only applicable to the creation
and deletion of objects.
♦ Zoom In
The Zoom In icon is used to enlarge the sequence of phases display. There are 10 levels
of magnification available.
♦ Zoom Out
The Zoom Out icon is used to reduce the sequence of phases display. There are 10 lev-
els of reduction available.
The unit procedure is added to the library list along with the Process Class, Process Instance, the
Date the unit procedure was added, and all phases and configuration information.
NOTE
Unit procedures in the library may have the same name. However, each operation is
individually maintained. Also, the unit procedure in the library can be sorted
according to each field by clicking the appropriate column header.
265
B0193YB – Rev C 8. Recipe Editor
To Load an Operation:
1. On the Unit Procedures toolbar, click the Load Unit Procedure icon.
2. The Load Unit Procedure window appears. Select the Unit Procedure that you want
to load from the list.
3. Click OK.
The unit procedure is added to the procedure beneath the location of the cursor.
You can also add an operation by clicking the Unit Procedures Library icon and then dragging the
target operation into the recipe procedure.
Unit Procedure
When you attempt to load a unit procedure into a recipe procedure, the following checks are per-
formed to ensure the validity of the unit procedure.
♦ The Process Class assigned to the unit procedure must exist in the Equipment
Requirements Editor. If the class does not exist, an error message is displayed and the
load fails.
♦ If the process class exists, the process instance is automatically added to the recipe
equipment requirements. A message must be acknowledged for each instance.
♦ Materials included in the unit procedure definition can optionally be added to the
recipe formula. A message must be acknowledged for each material.
NOTE
Remember that adding unit procedures from the library may result in the addition
of process and transfer instances to the recipe equipment requirements. You must
ensure sure that the recipe equipment requirements have only the required instances
defined. When the recipe is scheduled as a batch, the train must have equipment for
each instance regardless of whether the instance is called in the procedure. If not,
the batch cannot be initialized
Storing Operations
As you create your recipe you can use one of two methods to store the operation in the library.
♦ You can double-click the target operation to display the Operation Properties window
and use its Save Operation button to store the operation.
266
8. Recipe Editor B0193YB – Rev C
♦ You can click the Operations Library icon on the toolbar to open the Operations
Library window. You can then drag the target operation into the library dialog box.
The operation is added to the library list along with the Process Class, Process Instance, the Date
the operation is added, and all phases and configuration information.
267
B0193YB – Rev C 8. Recipe Editor
NOTE
Operations in the library may have the same name. However, each operation is indi-
vidually maintained. Also, the operations in the library can be sorted according to
each field by clicking the appropriate column header.
Loading an Operation
As you create your recipe you can use one of two methods to load an operation from the main
toolbar.
To Load an Operation:
1. On the Operations toolbar, click the Load Operation icon.
3. Select the Operation that you want to load from the list.
4. Click OK.
The operation is added to the procedure beneath the location of the cursor.
You can also add an operation by clicking the Operations Library icon and then dragging the tar-
get operation into the recipe procedure.
Operation Validity
When you attempt to load an operation into a recipe procedure, the following checks are per-
formed to ensure the validity of the operation.
268
8. Recipe Editor B0193YB – Rev C
♦ The process class assigned to the operation must exist in the Equipment Requirements
Editor. If the class does not exist, an error message is displayed and the load fails.
♦ If the process class exists, the process instance is automatically added to the recipe
equipment requirements. A message must be acknowledged for each instance.
♦ Materials included in the operation definition can optionally be added to the recipe
formula. A message must be acknowledged for each material.
NOTE
Remember that adding operations from the library may result in the addition of
process and transfer instances to the recipe equipment requirements. You must
ensure sure that the recipe equipment requirements have only the required instances
defined. When the recipe is scheduled as a batch, the train must have equipment for
each instance regardless of whether the instance is called in the procedure. If not,
the batch cannot be initialized
269
B0193YB – Rev C 8. Recipe Editor
The Process Instances in the list correspond to the process class selections and
instance definitions that you defined using the Equipment Requirements Editor.
For more information on equipment requirements, see “Equipment Requirements
Editor” earlier in this section.
3. Select a Process Instance from the list.
4. Enter a Name (16-char max).
5. Click OK to insert the operation object into to the sequence of operations.
To Insert an Operation:
1. On the Operations toolbar, click the Add Operation icon.
To Insert a Phase:
1. On the main toolbar, click the Add Phase icon.
270
8. Recipe Editor B0193YB – Rev C
3. Click the Type drop-down arrow and select a phase type from the list. The Phase
Type corresponds to the process class instance selection made for the corresponding
unit procedure. There are six types of phases available which are described in the fol-
lowing table.
Transition Objects
Use the Add Unit Procedure Transition, Add Operation Transition and Add Phase Transition
icons to insert a transition object into the respective procedure sequence beneath the current loca-
tion of the cursor.
Transition objects control the execution of a procedure. Transition logic consists of an expression
that is evaluated by the batch management system when the object is encountered. The result of
an expression is Boolean. If the result is FALSE, then execution stops at the transition. If the result
is TRUE, then the operations or phases following the transition are executed. There is no limit on
the number or transition objects in a procedure.
271
B0193YB – Rev C 8. Recipe Editor
4. On the Transition tab, enter a Label (8-char max), Name (16-char max) and optional
Description (120-char max).
When a transition is added, it is automatically assigned a unique Label (numeric
value). The Name is initially the same as the Label. You can edit these as required. The
Label however, must be unique. If it is not, a warning message is displayed.
5. On the Expression tab, click the Expression button.
6. The Expression Editor window appears.
272
8. Recipe Editor B0193YB – Rev C
Use the Expression Editor to construct transition expressions. You can build expres-
sions using process and transfer instance tags, mathematical operators, and pre-
defined functions. Several examples of valid expressions are shown in the following
tables.
For more information on building expressions, see Chapter 15 “Expression Editor”.
7. After you have entered the required expression, close the Expression Editor window.
8. On the Transition Properties window, click Close.
Expression Result
{TAG A} TRUE if TAG A is greater than 0.
FALSE if TAG A is 0.
Not({TAG A}) TRUE if TAG A is 0.
FALSE if TAG A is greater than 0.
{TAG A}>100 TRUE if TAG A is greater than 100.
FALSE if TAG A is less than 101.
{TAG A}&{TAG B} TRUE if TAG A and TAG B are both greater than 0.
FALSE if TAG A or TAG B is 0.
Ask(“Continue?”) A question is displayed to the operator. The result is TRUE if the
operator answers Yes. The result is FALSE if the operator answers No.
AskDoneBy(“Continue?”) Same as the Ask question except that the question can only be
answered by a user with the proper security clearance.
273
B0193YB – Rev C 8. Recipe Editor
Expression Result
AskCheckBy(“Continue?”) Same as the Ask question except that the question can only be
answered by a user with the proper security clearance, and the ques-
tion must be verified by another qualified user.
WaitSec(s) Batch execution is delayed the specified amount of seconds.
WaitMin(m) Batch execution is delayed the specified amount of minutes.
WaitHour(h) Batch execution is delayed the specified amount of hours.
NOTE
When entering questions, you are limited to 40 characters. The Expression Editor
allows you to enter more than 40 characters. However, during execution, the entry
is truncated and only the first 40 characters are displayed.
Branch Objects
The Add Unit Procedure Branch, Add Operation Branch and Add Phase Branch icons insert a
branch object into the respective procedure sequence beneath the current location of the cursor.
Branch objects are used to execute multiple operations or phases at the same time, or to make a
choice between running one of several operation or phases. There is no limit to the number of
branch objects that you can use in a procedure.
There are two types of branches: All and One.
274
8. Recipe Editor B0193YB – Rev C
4. In the Branch Size text box, enter the number of branches you want to add (maxi-
mum of 20).
While you are limited to 20 branches, you can nest branches for added flexibility. By
default, the Branch Size is 2.
5. Click the Execute Type drop-down arrow and select All or One.
For more information on branch types, see “Branch Execute Types” on page 275.
6. Click Change and then Close.
7. The branch is inserted into the recipe procedure.
NOTE
Branches cannot be added around an existing unit procedure, operation or phase.
However, you can add a branch object and then drag-and-drop objects into a
branch object.
275
B0193YB – Rev C 8. Recipe Editor
NOTE
Batch Manager does not continue past the Branch Return object until all transition
logic and operations or phases in all the legs are executed. Therefore, when con-
structing procedures you must ensure that all legs associated with the “Execute
Type: All” branch can be executed.
Use the “Execute Type: One” branch object when the execution of a single leg of a branch is
required. The batch management system evaluates the branch beginning with the left-most leg. If
the transition logic is TRUE, or there is no transition logic, operations or phases in the branch are
executed. All other branches are ignored. If all legs of a branch have transition logic that is FALSE,
the batch management system continues the evaluation of each transition until one of the legs
changes to a state of TRUE.
The Execute One Branch Object is graphically displayed as a single horizontal line.
Execute Type:All
Branch Return
Object
Branch Return
Object
Loop Objects
The Add Unit Procedure Branch, Add Operation Loop and Add Phase Loop icons insert a loop
object into the respective procedure sequence beneath the current location of the cursor.
276
8. Recipe Editor B0193YB – Rev C
Loop objects are used to re-execute unit procedures, operations or phases that are built inside of
the object. Any procedure object, including other loops, can be placed inside a loop structure
Objects are inserted within the loop by positioning the cursor on the top portion of the object
and following the normal insertion directions described earlier. The bottom portion of the loop
object contains a transition object that must be defined with the Expression Editor. The result of
the evaluation of the expression determines whether the objects contained within the loop are re-
executed or not. If the expression is TRUE, loop execution returns to the top of the loop. If the
expression is FALSE, then execution proceeds below the loop.
NOTE
You cannot add a loop around an existing operation or phase. However, you can
drag-and-drop existing objects into a loop object.
277
B0193YB – Rev C 8. Recipe Editor
278
8. Recipe Editor B0193YB – Rev C
NOTE
Use the Undo icon to undo the most recent deletion. Only one level of undo is
provided.
279
B0193YB – Rev C 8. Recipe Editor
280
8. Recipe Editor B0193YB – Rev C
281
B0193YB – Rev C 8. Recipe Editor
282
8. Recipe Editor B0193YB – Rev C
This example shows the deletion of an entire branch that includes one BulkAdd and
two ManAdd Phases.
283
B0193YB – Rev C 8. Recipe Editor
To Delete a Loop:
1. Position the cursor on the loop return object of the loop that is to be deleted.
2. Click the Delete icon.
This example shows the deletion of a loop which includes a Heat phase, an Agitate
phase, and two phase transitions.
284
8. Recipe Editor B0193YB – Rev C
285
B0193YB – Rev C 8. Recipe Editor
Operation Properties
Use the Operation Properties window to edit the properties of any operation object.
286
8. Recipe Editor B0193YB – Rev C
Phase Properties
Use the Phase Properties window to edit specific elements of the phase including its Phase defini-
tion, Instructions, Parameters and Document properties.
287
B0193YB – Rev C 8. Recipe Editor
Phase Tab
Use the Phase Tab to configure how the phase interacts with the batch system and operators.
288
8. Recipe Editor B0193YB – Rev C
289
B0193YB – Rev C 8. Recipe Editor
before the phase is started. Enabling Done By automatically enables the Acknowledge
checkbox. Configuration of the appropriate Check By security levels is performed in
the Security Editor.
For more information on the configuring security, see Chapter 14 “Security System”.
6. In the On Exit pane, enable the Acknowledge, Done By and Check By checkboxes is
required.
Acknowledge - Enable this checkbox if you want to require an operator to press the
acknowledge button prior to the end of a phase. The Acknowledge command button
is part of the Batch Display.
For more information on the Batch Display, see Chapter 10 “Batch Management
System”.
Done By - Enable this checkbox if you want to require an operator, or person with a
comparable security level, to verify the end of the phase. During recipe execution, the
option requires the operator to press the Acknowledge button on the Batch Display
and then enter a security identification number and password before the phase can
end. Enabling Done By automatically enables the Acknowledge checkbox. Configura-
tion of the appropriate Done By security levels is performed in the Security Editor.
Check By - Enable this checkbox if you want to require an operator and the supervi-
sor, or person with a comparable security level, to verify and confirm the end of the
phase. During recipe execution, the option requires the operator to press the
Acknowledge button on the Batch Display and then enter a security identification
number and password, and the security identification and password of a supervisor,
before the phase ends. Enabling Done By automatically enables the Acknowledge
checkbox. Configuration of the appropriate Check By security levels is performed in
the Security Editor.
For more information on the configuring security, see Chapter 14 “Security System”.
7. In the Comment pane, enable the Required checkbox if you want to require the entry
of operator comments during phase execution.
This causes the Edit Comment button to be displayed on the Batch Display and
pauses recipe execution until the entry is completed.
For more information on the Batch Display, see Chapter 10 “Batch Management
System”.
8. In the Execution pane, enable the Continue Mode checkbox if you want the batch
management system to allow recipe execution to continue when a Run status is
received from the phase.
If Continue Mode is disabled, recipe execution does not continue until a Done status
is received from the phase.
For more information on the batch management, see Chapter 10 “Batch Manage-
ment System”.
9. Click Change and then Close.
Instructions Tab
Use the Instructions tab to enter specific work instructions that display to an operator as part of
phase execution.
290
8. Recipe Editor B0193YB – Rev C
Parameters Tab
Use the Parameters tab to display and define specific formula parameter values. These parameters
were initially defined using the Process Modeling Editor.
There are three types of formula parameters: Input, Output, and Process Variable. Process
Variable parameters require the assignment of a value if the default value is not acceptable. In
addition, if the phase is used more than once in the procedure, the parameter name may be
changed in order to associate each parameter with its respective phase. Input and Output
parameters require a material assignment.
291
B0193YB – Rev C 8. Recipe Editor
For more information on input parameters, see “Edit/Formula Inputs” earlier in this section.
292
8. Recipe Editor B0193YB – Rev C
For more information on output parameters, see “Edit/Formula Outputs” earlier in this section.
293
B0193YB – Rev C 8. Recipe Editor
For more information on process variable parameters, see “Edit/Process Variables” earlier in this
section.
Document Tab
Use the Document tab to assign the file name of a document or program that you want operators
to view and optionally acknowledge as part of a phase’s execution. Acknowledgment can be speci-
fied to occur at the start of the phase (On Entry) or as the last step (On Exit) of the phase. When
the phase executes, Windows launches a program based on the file extension. For example, if the
extension is “.html,” Windows could launch a browser.
NOTE
The program that is launched is based on Windows settings.
For more information on associating file extensions with programs see your Windows user
references.
An example of how you might implement the Document Viewing feature could be based on a
requirement that operators must view material safety data and then acknowledge the action. Fur-
thermore, you might have the material safety data stored in an HTML document on a network at
the address http://Material_Safety.html.
294
8. Recipe Editor B0193YB – Rev C
NOTE
If you are using batch clients in your system, and intend to execute a recipe that uses
the Document Viewing feature, make certain that each client is properly configured
to access the document. One way to ensure this is to place all your document files in
a folder that is shared for your client systems.
Actual document viewing and acknowledgment is a function of the View Doc and View Doc Ack
buttons on Batch Display.
For more information on the Batch Display, see Chapter 10 “Batch Management System”.
On Entry - Enable this radio button if you want to require an operator and/or supervisor, or per-
son with a comparable security level, to verify and confirm viewing of the document as the first
step of the phase. During recipe execution, the option requires the operator to press the View Doc
and View Doc Ack buttons on the Batch Display. You can configure the buttons to require the
entry of security identification numbers and passwords as the first step of the phase. Configura-
tion of the appropriate Done By and Check By security levels is performed in the Security Editor.
Prior To Edit - Enable this radio button if you want to require an operator and/or supervisor, or
person with a comparable security level, to verify and confirm viewing of the document as the last
step of the phase. During recipe execution, the option requires the operator to press the View Doc
and View Doc Ack button on the Batch Display. You can configure the buttons to require the
entry of security identification numbers and passwords as the first step of the phase. Configura-
tion of the appropriate Done By and Check By security levels is performed in the Security Editor.
For more information on the configuring security, see Chapter 14 “Security System”.
295
B0193YB – Rev C 8. Recipe Editor
to track the amount of material transferred from the manually allocated bulk tank to the automat-
ically allocated reactor.
296
8. Recipe Editor B0193YB – Rev C
297
B0193YB – Rev C 8. Recipe Editor
298
8. Recipe Editor B0193YB – Rev C
299
B0193YB – Rev C 8. Recipe Editor
300
9. Train Editor
This chapter explains how to use Train Editor to create and edit lines of production that will be
used when you schedule batches.
Use the Train Editor to create lines of production that are assigned to scheduled batches. The
batch management system is responsible for scheduling and executing batches. Batches include a
recipe and a train assignment. A recipe is typically equipment independent. The train provides a
list of potential equipment to the batch engine for dynamic selection during batch execution. If a
unit is not in the assigned train, then it is not available to be used for the scheduled batch.
A train can contain one or more units, and a unit can be a part of multiple trains. Trains provide a
way to represent various paths through the process.
The train data is maintained in the process model database. The Train Editor writes to both the
configuration process model database and the run-time process model database. Trains can be
added at any time during batch system execution.
301
B0193YB – Rev C 9. Train Editor
NOTE
Only one instance of the Train Editor can be running. You cannot start Train Editor
if the Process Modeling Editor or Tag Linker application is running.
302
9. Train Editor B0193YB – Rev C
File Menu
Use the File menu to access system functions for Train Editor.
File/Print
Use this command to display the Print window to appear. The Print window contains a Select
Reports list box with several pre-formatted reports. It also allows you to output to a printer or a
file, as well as select number of copies that you want to print.
File/Print Preview
Use this command to display the Select Reports window.
303
B0193YB – Rev C 9. Train Editor
Select the report(s) that you want in the list. If you want to preview several reports, press and hold
the Control (or shift) key while selecting.
File/Print Setup
Use this command to display the Print Setup window. Refer to your Windows documentation for
more information.
File/Exit
This command is used to close the Train Editor.
NOTE
All your work is saved in the configuration process model database and the run-time
process model database as you edit and make changes to the trains. Therefore, you
do not need to be concerned with saving your work.
Help Menu
The Train Editor Help menu contains the commands that are used to access the main Help
screen, and information about the version and licensing of the application.
Help/Help Topics
Use this command to display online Help for Train Editor.
304
9. Train Editor B0193YB – Rev C
4. Select the appropriate units from the list and then click OK or Apply to add the units
to the train.
305
B0193YB – Rev C 9. Train Editor
306
10. Batch Management System
The Batch Management system consists of scheduling, initializing, co-ordinating the execution
of batches with the control system, interfacing with operators, and directing batch activity to
the historical database. The functions that are provided by the Batch Management system are
available through the Batch Scheduler, Batch View, Batch Display and Batch Manager
applications. By applying these applications, you achieve a flexible, reliable, and intuitive
solution to managing all your batch processes.
Scheduling: Batch Scheduler prepares the batches to be executed. Scheduling involves the manual
entry of the batch identification, master recipe identification, quantity to be produced, and train
identification into the schedule window. Once entered, the batch can be initialized.
Initialization: Each batch must be initialized before it can be executed. The initialization process
involves validation of the recipe, verifying that the train exists, the bulk materials defined in the
recipe are found in the Materials database, the recipe equipment requirements are satisfied by the
Train, and the Process model database is compatible with the recipe. Initialization is performed
using Batch Scheduler.
Batch and Unit Management: Batch Manager directs and supervises the execution of each batch.
Batch Manager is a recipe interpreter and control system enabler. Based on the recipe procedure,
blocks of control software, referred to as phases, are signaled to execute by Batch Manager. Auto-
matic and semi-automatic phases are programmed logic blocks existing in the control system.
They are responsible for controlling functions associated with a unit or a connection. Prior to
enabling each phase, Batch Manager verifies that the phase is ready to be executed. If it is, phase
parameter values are downloaded to the phase, and the phase is started.
Batch Manager also interfaces with the Batch Display application. Batch Display provides opera-
tors with information on all batches running in the system. Using this display, operators can put a
batch or phase in hold, restart and abort batches or phases, and change the batch execution mode.
Batch Manager also has a Jump mode that allows the execution point of an active batch that is in
hold to be changed. Operators can use this feature to either jump ahead during recipe execution
or repeat phases that have already executed. In addition, operators can change phase parameter
values, acknowledge the execution of phases, review phase interlock status, and enter comments.
All these can be done while a batch is executing.
Batch Manager co-ordinates the usage of process units for each batch. Each batch is a separate
entity and contends along with other batches to own the process unit(s) it needs. Batch Manager
assigns (Allocates) ownership of units to batches as units become available and releases (Releases)
units when no longer required by the batch.
Flexible batch control systems must be designed with the supervisory workstation being an active
participant in the execution of a batch. The reason for this is that unit management is very sophis-
ticated in a flexible batch system. Most control systems do not have the ability to program a unit
manager capable of interpreting and executing complex recipe procedures.
A Master Recipe uses classes of process units, not specific units. This means phases pertain to a
class of units, not a specific unit. When Batch Manager executes a Master Recipe, each phase
encountered is converted into a unit or connection specific phase. This process is called Master
Recipe to Partial Control Recipe conversion. The Train assigned to produce the batch contains all
the units that can be used. Batch Manager automatically converts the Master Recipe to a Control
307
B0193YB – Rev C 10. Batch Management System
Recipe based on the units in the Train and whether or not they are available.
Once a batch is done, the operator has the option of saving the As-Built recipe to the recipe data-
base. All final formula targets, and optionally all the specific equipment used for the recipe, can be
saved. These capabilities allow the recipe, which may have produced a high quality batch, to be re-
executed at a later date.
History: Batch Manager captures all batch execution events and operator activity during the exe-
cution of a batch and sends this information to the historical database.
For more information on the data that is stored and the format in which it is stored, see
Chapter 11 “History System”.
Only one instance of Batch Manager can be active in your batch management system. There are
no restrictions on the number of Batch Runtime Clients that you can have in a system. Batch
Manager interfaces with several databases as well as with the clients. The interaction is described
below.
♦ Master Recipes are retrieved from the Recipe Database (RecipeDB) when a batch is
started.
♦ The Process model Database is used to transform the Master Recipe to a Control
Recipe.
♦ The Materials Database is used to retrieve the location and Tracking IDs of materials
that are stored in units. The Materials Database is updated by Batch Manager when
materials are used and when materials are produced.
♦ All batch execution events and operator activity are logged to the Historical Database.
♦ Batch Scheduler manipulates the Batch Database through Batch Manager. Several
Batch Schedulers can be running in a system, but there is only one Schedule database.
♦ Batch Runtime Clients and Batch Display provide a window into Batch Manager.
From these, operators can select a batch, start a batch, put a batch in hold, restart a
batch, and abort a batch. All information needed to monitor and interact with the
process during the execution of a batch is provided.
♦ Batch Manager interacts with Phase Logic (Phases) located in the control system. As
each phase is to be executed, Batch Manager checks if the phase is ready. If the phase
status is ready, any configured phase parameter values are written to the phase, then
the phase is started. When the phase completes its task, it informs Batch Manager by
setting the Done status. Batch Manager responds by enabling the Reset command and
returning the phase to Ready.
308
10. Batch Management System B0193YB – Rev C
Batch Management
Batch
Client
Batch Scheduler
Recipe
Editor Batch View
Recipe
Database Batch
Manager Batch Display
Materials
Editor Batch
Material Database
Database
Contr ol
Control System
PhaseLogic
NOTE
Batch Manager must be running prior to the start of Batch Scheduler.
309
B0193YB – Rev C 10. Batch Management System
Configuration of Batch Scheduler and invoking the configurations is only possible from
FoxView. The following describes Batch Scheduler standard run-time operation followed by how
Batch Scheduler is configured.
File Menu
Use this menu to access system functions for Batch Scheduler.
File/Print
Use this command to display the Print window which allows you to set up your print device,
assign one or more reports, and then print to the selected device.
310
10. Batch Management System B0193YB – Rev C
File/Print Preview
Using this command to select one or more reports and then preview the report(s) on the screen
causes the Select Reports window box to appear.
File/Print Setup
Use this command to set up your print. Refer to your Windows documentation for more
information.
File/Exit
Use this command to close Batch Scheduler.
311
B0193YB – Rev C 10. Batch Management System
NOTE
If you have a Batch Alert button enabled, the File/Exit menu is disabled. In this
case, the only way that Batch View can be closed is to issue a FoxView command
using the -q property.
Edit Menu
Use this menu to access commands that you can use to modify the schedule list in Batch Sched-
uler. Complementary toolbar buttons also provide the same capability as the menu item. The
toolbar button icons are shown below.
Delete Batch
Use this command to remove the selected batch from the schedule. Only batches with a status of
Open, Ready, Done, or Aborted can be deleted. A message box is displayed requiring confirma-
tion of the deletion.
Edit/Cleanup
Use this command to remove all the batches from the schedule list that have a status of Done or
Aborted. It is recommended that you use this command on a regular basis, to minimize the size of
the Batch Scheduler list.
Move Up
Use the Move Up command to move the selected batch one row toward the top of the schedule
list. This option is typically used in conjunction with the Execute in Order option to sequence the
scheduled batches for production.
NOTE
If you sorted the Batch Schedule list using the Filter option, batches are executed in
the order defined by your sort preferences. In this case, Move Up option is not avail-
able.
Move Down
The Move Down button moves the selected batch one row toward the bottom of the schedule list.
This option is typically used in conjunction with the Execute in Order option to sequence the
scheduled batches for production.
312
10. Batch Management System B0193YB – Rev C
NOTE
If you sorted the Batch Schedule list using the Filter option, batches are executed in
the order defined by your sort preferences. In this case, the Move Down option is
not available.
View Menu
Use this menu to access the commands that allow you to sort the batch schedule list, display error
messages, and enable or disable Batch Scheduler's status bar.
View/Batch Editor
Use this command to edit existing batches or to add new batches to the schedule list.
View/Undo Sorting
Use this command to undo any sorting that you applied to the Batch Schedule list. By default,
batches are listed in the order in which they were initially scheduled.
View/Filters
Use this command to display the Schedule Filters window.
CLB
Use the CLB tab to sort the list of scheduled batches based on any combination of campaign, lot
and batch.
313
B0193YB – Rev C 10. Batch Management System
Recipe
Use the Recipe tab to sort the list of scheduled batches based on any combination of Recipe IDs,
Types and States.
Train
Use the Train tab to sort the list of scheduled batches based on one or more train assignments.
Mode/Status
Use the Mode/Status tab to sort the list of scheduled batches based on any combination of batch
execution mode and status.
314
10. Batch Management System B0193YB – Rev C
View/Errors
Use this command to view the Errors window. The Errors window lists all the batch errors that
are associated with the list of scheduled batches.
View/Toolbar
Use this command to enable or disable Batch Scheduler’s toolbar.
View/Status Bar
Use this command to enable or disable Batch Scheduler’s status bar.
315
B0193YB – Rev C 10. Batch Management System
Initialize Menu
The Batch Scheduler Initialize menu contains the commands that you use to prepare scheduled
batches for execution.
Initialize/Batch
Use this command to initialize the selected batch. The command is not available unless the
selected batch has an Open status.
Initialize/All
Use this command to initialize all the batches in the schedule that have an Open status.
The initialization process performs the following checks to ensure that the batch can be properly
executed.
Recipe Verification
Use this to verify that the recipe assigned to the batch exists. If the recipe does not exist, an error is
displayed. The recipe must be created or another recipe must be assigned to the batch.
Recipe Validation
The recipe assigned to the batch is validated with the process model database and the materials
database. If the recipe is not valid, an error is displayed. The recipe must be changed, or the pro-
cess model database and/or the materials database must be checked and corrected.
Train Verification
This verifies that the train assigned to the batch exists. If the train does not exist, an error is dis-
played. The train must be added using the Train Editor or another train must be assigned to the
batch.
Quantity Verification
This verifies that the quantity assigned to the scheduled batch is greater than the recipe minimum
batch size specification, and less than the recipe maximum batch size specification. If the quantity
is less than the minimum batch size, an error is displayed. The quantity assigned to the batch or
the recipe minimum batch size must be changed.
When the batch has been successfully initialized, the status changes from Open to Ready. A
selected batch can be “un-initialized” by clicking on the Change button. The batch status changes
from Ready to Open. This can only be done to batches that are Ready.
316
10. Batch Management System B0193YB – Rev C
! WARNING
Batch Manager verifies that all units required by the recipe are available in the train.
Connections and possible paths through the train are not verified. Thus, if a con-
nection is not available in the train, it is possible to take a path through a train that
results in a dead-end situation.
In this example, the recipe requires a transfer from Process Class A to Process Class C. The recipe
initializes properly on either Train 1 or Train 2, but does not execute properly on Train 2. The rea-
son for this is that although Train 2 has the correct unit, it does not have the connections needed
to execute the recipe.
Process Class A
Unit 1 Unit 4
Process Class B
Unit 2 Unit 5
Process Class C
Unit 3 Unit 6
Train 1 Train 2
Therefore, it is extremely important, when multiple paths are possible through a train, to deter-
mine if the recipe can execute properly for all possible paths. If not, a change in the train must be
made.
Options Menu
Use the Batch Scheduler Options menu to access commands that you can use to modify the exe-
cution of batches in the schedule list.
Options/Execute in Order
Use this command to enable or disable the Execute in Order mode. When disabled, batches can
be randomly selected and started. When enabled, batches can only be started for each train in the
order in which they are displayed in the schedule.
317
B0193YB – Rev C 10. Batch Management System
NOTE
If you sorted the Batch Schedule list using the Filter option, batches are executed in
the order defined by your sort preferences. In this case, the Execute in Order option
is not available.
Help Menu
The Batch Scheduler Help menu contains the commands that are used to access the main Help
screen, and information about the version and licensing of the application.
Defining a Batch
Use the Batch Editor to define a new batch or to edit an existing batch that has not been started.
The editor has features to save and retrieve default setting, clear all fields, create new batches or
edit a batch in the schedule. The editor itself can be either a floating dialog box, as shown below,
or an integral part of the schedule list. Refer to “Configuring Batch Scheduler” on page 321 for
more information.
Batch Identification
A batch is defined by a Campaign ID (16-chars max), Lot ID (16-char max), Batch ID (16-char
max), Recipe, Quantity (8-char max), Train, and Mode of operation. The scheduler verifies all
new batch names to ensure validity and uniqueness.
Each batch is identified by a unique three-part hierarchical name. The highest level is the Cam-
paign ID, followed by the Lot ID, and finally the Batch ID. The Batch ID must be entered man-
ually by an operator. It is not necessary to use all three of the identification fields. The Campaign
field is required. The Lot and Batch fields are optional.
NOTE
If the Batch ID is not defined or if the Batch ID that you enter begins with the
numeric value ‘0’ (zero), alarms and alarm comments for these batches will not be
stored in batch history. If you intend to store alarms and alarm comments, you must
enter a valid Batch ID.
All historical information about a batch is logged to history using the batch identification. If the
batch identification is not unique, duplicates can exist in the historical database. Batch Scheduler
can only verify that the batch identification is unique among the batches currently in the schedule
318
10. Batch Management System B0193YB – Rev C
window. Batch Scheduler does not verify that the identification for a batch is unique throughout
the history database.
Recipe Assignment
The Recipe button displays the Recipes window.
A recipe can be selected by double-clicking a list item. The list contains the recipes in the recipe
database that have been Approved For Production or Approved For Test. You can use the Find
button to search for a specific recipe in the database. The find options allow you to search all the
recipes, or select a recipe based on Recipe ID, Name, State or Type. Use the Filter button to filter
recipes based on their ID, Name, State or Type. After you select a recipe, it appears in the Recipe
field of the Batch Scheduler window.
Recipe filtering is only applied when the Recipes window is open, and you have defined specific
filtering criteria. When you close the Recipes window, any previous filtering criteria is no longer
applicable.
Quantity Assignment
The Quantity field defines the size of the batch to be produced. The quantity must be manually
entered by you. Input and output quantities that have been specified as percentages in the selected
recipe are automatically scaled to the appropriate actual quantities based on the batch size entered.
Train Assignment
The Train button displays the Trains window. A train can be selected by double-clicking on the
desired entry in the list. The selected train name is displayed in the Train field of the Batch Sched-
uler window.
319
B0193YB – Rev C 10. Batch Management System
Mode Description
Automatic The recipe procedure is executed exactly as defined in the recipe.
Semi-Automatic Each phase must be acknowledged by the operator before it is executed.
Prior to acknowledging the phase, phase parameter values can be edited.
Manual Any phase in the recipe defined for equipment that is allocated to the
batch can be manually executed.
For more information on dynamically changing the batch mode, see “Batch Execution Modes” on
page 359 in this section.
Status
Each batch in the schedule list has a Status. The status shows the current state of the batch. There
are nine possible statuses as shown here.
Status Description
Open Batch has been added to the schedule list, but has not been initialized.
Ready Batch has been successfully initialized.
Run Batch has been started and is running.
Held Batch has been held.
Done Batch has completed normally.
320
10. Batch Management System B0193YB – Rev C
Status Description
Aborting Batch is in the process of being aborted.
Aborted Batch has been aborted.
Locking Batch is in the process of aborting phases and entering Jump Mode.
Locked Batch has been successfully locked and Jump Mode is enabled.
Add
The Add button places an entry in the schedule list with the defined batch information. The
batch is displayed in the list of scheduled batches with a status of Open. When a batch is added in
which the quantity is greater than the recipe maximum batch size, the Scheduler displays a win-
dow asking the operator to confirm the addition of multiple batches each with the recipe default
value as its quantity assignment. If Yes is selected, the number of batches needed to produce the
entered quantity is automatically generated, and all the batches are added to the list. If No is
selected, no batches are added to the list. If no quantity is specified, the default batch size is used.
Change
The Change button is used to record modifications that are made to any of the fields for the
selected batch. Only batches with a status of Open or Ready can have their schedule information
changed. Batches that are Ready and are changed return to an Open status and require re-
initialization.
321
B0193YB – Rev C 10. Batch Management System
♦ Location to Toolbar
♦ Add, Delete and Define the Order of Toolbar Buttons
♦ Permanently Dock Toolbar
♦ Set Toolbar Buttons Icons as Large or Small.
♦ Location of Batch Editor
♦ Set Display to Always Be on Top
♦ Batch View Parameters.
-Iname Defines the configuration instance name. Valid characters for instance
names are: A-Z, a-z, 0-9 and _ (underscore). Names are case sensitive.
-Ahost Defines the name of the Batch Server node. Not required when Batch
Scheduler is running on the Batch Server.
-c Sets Batch Scheduler to configuration mode.
-q Terminates execution of Batch Scheduler.
-bc/l/b Defines the batch that is automatically selected when Batch Scheduler
is started.
The following example launches Batch Scheduler in configuration mode using instance ABC:
BatchSched –IABC -c
The following example terminates execution of Batch Scheduler instance ABC:
BatchSched –IABC –q
The following example launches Batch Scheduler instance ABC and automatically selects batch
identified as: CAMPAIGN: KAZ1 LOT: LOT1 BATCH: BATCH3
BatchSched –IABC –bKAZ1/LOT1/BATCH3
The following example launches Batch Scheduler in configuration mode using instance XYZ and
points the Batch Scheduler to NODE1, that is, the Batch Server.
BatchSched –ANODE1–IABC -c
322
10. Batch Management System B0193YB – Rev C
Always on Top
This defines whether or not Batch Scheduler is always displayed to you. Batch Scheduler is not
hidden by other displays when Always on Top is set.
323
B0193YB – Rev C 10. Batch Management System
Large Icons
When set, the large icons are displayed in the toolbar. The screen capture shown above has large
toolbar icons.
324
10. Batch Management System B0193YB – Rev C
Save Configuration
When all settings on the Properties dialog box are final, when the toolbar is located in the desired
position, when the Batch Schedule startup display position and size are set and the Batch Editor is
located in the desired position, click the Save button to save all configuration settings.
325
B0193YB – Rev C 10. Batch Management System
NOTE
Batch Manager must be running prior to the start of Batch View.
326
10. Batch Management System B0193YB – Rev C
Parameter Description
-Iname Defines the configuration instance name. Valid characters for instance
names are: A-Z, a-z, 0-9 and _ (underscore). Names are case sensitive.
-Ahost Defines the name of the Batch Server node. Not required when Batch
View is running on the Batch Server.
-c Sets Batch View to configuration mode.
-m Enables Manual Operation Button
-fUNIT1/UNIT2 Defines/re-defines the unit_filter configuration defined for the
instance. Delimiter between names is a /. The Unit Filter is used to
find the trains and any batches executing in the unit. For example, if
there are two trains, Train A and B. Unit 1A, 2A and 3A are in Train A
and unit 1B, 2B and 3B are in Train B. If the Unit filter is -f2A/2B
then all batches running on Train A and Train B are viewed. If the
Unit Filter is –F2A then all batches running on Train A are viewed.
The Schedule select is used to set focus on the batch when multiple
batches result from the filter.
-uUNITNAME Defines/re-defines the unit focus for the instance.
-q Terminates execution of Batch View.
-bc/l/b Defines the batch that is automatically selected when Batch View is
started.
The following example launches Batch View instance BV1 in configuration mode:
BatchView –IBV1 -c
The following example terminates execution of Batch View instance BV1:
BatchView –IBV1 –q
The following example launches Batch View instance BV1 and automatically selects batch identi-
fied as: CAMPAIGN: KAZ1 LOT: LOT1 BATCH: BATCH3
BatchView –IBV1 –bKAZ1/LOT1/BATCH3
The following example launches Batch View instance BV2 in configuration mode and points
Batch View to NODE1, that is, the Batch Server.
BatchView –ANODE1 –IBV2 -c
The following example launches Batch View using instance BV1, points Batch View to NODE1,
that is, the Batch Server and defines the unit filter as UNIT1 and UNIT2.
BatchView –ANODE1 –IBV1 –fUNIT1/UNIT2 -c
327
B0193YB – Rev C 10. Batch Management System
The following example redefines the unit filter for Batch View instance BV1, which is already
running, points Batch View to NODE1, the Batch Server.
BatchView –ANODE1 –IBV1 –fUNIT3/UNIT4
The following example launches Batch View using instance BV1, points Batch View to NODE1,
the Batch Server node and sets the unit focus to UNIT1.
BatchView –ANODE1 –IBV1 –uUNIT1
The following example redefines the unit focus for Batch View instance BV1, which is already
running, to UNIT2 and points Batch View to NODE1, the Batch Server.
BatchView –ANODE1 –IBV1 –uUNIT2
328
10. Batch Management System B0193YB – Rev C
Always on Top
This defines whether or not the Batch View is always displayed to you. Batch View is hidden by
other displays when Always on Top is enabled.
View Type
This defines the view that is displayed when Batch View is started. The default view is the SFC
view as shown below.
329
B0193YB – Rev C 10. Batch Management System
330
10. Batch Management System B0193YB – Rev C
331
B0193YB – Rev C 10. Batch Management System
332
10. Batch Management System B0193YB – Rev C
Exit_Applications
This allows you to use the File/Exit command, the system X button, or the Close command to
shut down BatchView.
333
B0193YB – Rev C 10. Batch Management System
Customize Toolbars
Customize Toolbar Buttons
When selected, a Customize Toolbar dialog box is displayed. The dialog box is used to insert or
remove toolbar button and to arrange the order in which they are displayed.
Batch Scheduler
Errors
Active Transitions
Offline Phase Editor
Equipment Allocation
Messages
Schedule
Save Recipe
Manual Operation
FoxSFC
FoxAlert
334
10. Batch Management System B0193YB – Rev C
335
B0193YB – Rev C 10. Batch Management System
Large Icons
When set, the large icons are displayed in the toolbar. The screen capture shown above has large
toolbar icons.
Batch Alert
When the Batch Alert radio button is set, the button icon shown above displays. The Batch Alert
button can be positioned anywhere on the display, is always be on top, and flashes red when oper-
ator action is required, even if Batch View has been minimized.
Save Configuration
When all setting on the Properties dialog box are final, when the toolbars are located in the
desired position, when the View is selected and the startup position and size are set, click the Save
button to save all configuration settings.
Use the Restore button to retrieve the last saved configuration for the Batch View instance.
336
10. Batch Management System B0193YB – Rev C
instructions, and answer questions pertaining to the batch. Batch Display also provides the neces-
sary interface for external document viewing and acknowledgement.
Batch execution data is accessible to external applications by way of ActiveX controls and the
Toolkit.
NOTE
Batch Manager must be running prior to the start of Batch Display. The batch sys-
tem supports the operation of multiple instances of Batch Display. This requires
you to configure multiple instances of Batch Scheduler using Environment Editor.
For more information on setting up multiple Batch Scheduler instances, see Chapter 4 “Environ-
ment Management System”.
3. Use the Batch Display window to monitor and modify batch execution. Batch Dis-
play displays the execution of a single batch.
4. Use the menu bar to access system functions for Batch Display.
337
B0193YB – Rev C 10. Batch Management System
File Menu
The File menu provides system functions for Batch Display.
File/Exit
Use this command to close Batch Display.
Actions Menu
The Batch Display Actions menu contains the commands that are used to access Batch Display
options.
Actions/Manual Operation
Use this command to initiate the scheduling of the selected batch in a fully manual operation
mode. This type of batch is called a phantom batch. Within the batch management system, a
phantom batch is identified as follows.
Field Value
Campaign ID <MANUAL OPER>
Lot ID <MANUAL OPER>
Batch ID <MANUAL OPER>
Mode Manual
Manual Operation provides the capability to execute the phases for all the units and connections
in the process model. Manual Operation is especially helpful during startup and system verifica-
tion. Manual Operation option is available only when is configured to use the Manual Operations
application parameter is configured for Batch Display using the Environment Editor.
The execution mode for a phantom batch is always Manual.
When the phantom batch is selected, all the phases for any allocated units can be executed. Units
must be manually allocated from the Equipment Allocation window in order to have phases to
execute. There is no history of activity associated with the phantom batch. A phantom batch is
removed from the schedule by putting the Batch in Hold and then selecting Abort.
For more information on Manual Operation, see “Manual Operation” on page 376.
338
10. Batch Management System B0193YB – Rev C
This window allows you to save the recipe associated with a completed batch to the recipe data-
base. All final target values for formula parameters are saved. You also have the option to save the
recipe as an equipment-dependent recipe by enabling the Save Runtime Equipment checkbox.
Additionally, recipe approvals can be retained by enabling the Retain Recipe Approvals checkbox.
This allows the recipe to be immediately scheduled. You also have the option of overwriting the
existing recipe or changing the Recipe ID and saving it as a new recipe. If the existing recipe is
overwritten the version number is incremented. Regardless of the options selected, you must enter
your name in the Author field and optionally enter a comment. The comment is saved as part of
the version history.
NOTE
If the recipe was created as read-only, you are not able to save it with the same
Recipe ID. You can however, save it using a different Recipe ID.
339
B0193YB – Rev C 10. Batch Management System
NOTE
A message is displayed advising you that all Held phases is aborted if you continue.
Interrupting recipe execution using this feature should be carefully planned to avoid
undesirable results.
Windows Menu
Use the Batch Display Windows menu to access the batch configuration windows.
Windows/Schedule
Use this command to display the Schedule window. The Schedule window provides a list of all
batches that are scheduled and active in the system. Any batch with a status of Ready, Run, Held,
Done, Aborting or Aborted is considered active. The list also indicates which batch requires
action by displaying double-asterisks (**) in the Action column of the list. Double-clicking a
batch in the Schedule list changes the Batch Display to show information for the selected batch.
This option is also available from the Schedule icon in the Batch Display Toolbar.
Windows/Batch Messages
Use this command to display the Batch Messages window.
340
10. Batch Management System B0193YB – Rev C
The Batch Messages window contains all messages associated with the batch that you are currently
viewing. It also displays messages to alert operators of other batches that require operator action.
The messages are summarized in the following section.
♦ Waiting for the operator to answer a transition logic question.
♦ Waiting for a transition logic expression or wait function to conclude.
♦ Waiting for the operator to manually select a unit to allocate to an instance. The
instance name is provided in the message.
♦ Waiting for equipment to become available for allocation to the current batch. The
instance name is provided in the message.
♦ Waiting for the operator to acknowledge the beginning of a phase. The equipment,
operation, and phase requiring the acknowledge is provided in the message.
♦ Waiting for the operator to acknowledge the end of a phase. The equipment, opera-
tion, and phase requiring the acknowledge is provided in the message.
♦ Waiting for the operator to edit one or more phase parameters. The equipment, oper-
ation, and phase requiring the parameter editing is provided in the message.
♦ Waiting for the operator to enter a comment for a phase. The equipment, operation,
and phase requiring the comment is provided in the message.
♦ Waiting for an operator action on another batch. The campaign, lot, and batch iden-
tification information is provided for the batch requiring the action.
This option is also available from the Batch Messages icon in the Batch Display Toolbar.
Windows/Equipment Allocation
Use this command to display the Equipment Allocation window. This option is also available
from the Equipment Allocation icon in the Batch Display Toolbar.
341
B0193YB – Rev C 10. Batch Management System
Use this window to view the status and availability of the units and/or connections in the train
assigned to the selected batch. The Equipment Allocation window is only available for batches
that have a status of Run, Held, or Aborting.
Each unit in the train has a Status corresponding to one of the statuses defined in the Process
Modeling Editor. Each connection in the train has a status of Available or Unavailable. This status
corresponds to the status of any segments that were assigned to the connection in the process
model. If segments were not assigned to a connection, the status of the connection is always
Available. The status of a connection is Unavailable if any one of the segments assigned to the
connection has an equipment status that has not been marked as Available in the process model.
The Allocation of a unit or connection relates to the ability of the unit or connection to be allo-
cated by Batch Manager. The Ready allocation value means that the unit or connection is avail-
able to be allocated. The Allocated value means that the unit or connection is allocated by a batch.
A Busy value indicates that the unit or connection has been allocated by another batch.
Any unit or connection in the train, if Ready, can be manually allocated by selecting the unit or
connection, selecting the proper instance, and then clicking on the Allocate button. The instance
names correspond to those defined in the recipe assigned to the selected batch. This allocates the
chosen instance to the selected unit or connection. Any unit or connection in the train, if Allo-
cated, can be manually released by selecting the unit or connection and clicking on the Release
button. Manual allocation and release overrides automatic and recipe allocation.
342
10. Batch Management System B0193YB – Rev C
The Allocation Queue button allows you to display a list of the batches that are waiting for the
selected equipment. The list is displayed in the order in which the batch executes in the unit.
Using the arrow buttons provided in the Equipment Allocation Queue window, you can, after
selecting a batch from the list, move it up or down in the queue. The batch at the top of the list is
the next batch to execute.
The View Filter options allow you to enable and disable the display of Units and/or
Connections in the equipment list.
The Unit Control options enable the particular Unit Control tags for the selected unit. This pro-
vides individual control over each unit in the process. There are two Hold Propagation Modes
available. In addition to the Hold Propagation modes, Unit Control can be further enhanced by
using Unit State system tags.
NOTE
Hold Propagation Mode 1 is enabled by default. In order to enable Hold Propaga-
tion Mode 2, you must enable the Phase/Batch Status parameter name using Envi-
ronment Editor. In order use Unit State system tags, you must enable the Unit
States parameter using Environment Editor.
NOTE
There is an assumption that a unit in a Held state can be restarted and then imme-
diately changes to a Run or Alarm state. If this mode does not appear to function as
described, you should review the Restart logic that you are utilizing.
343
B0193YB – Rev C 10. Batch Management System
written and all allocated units transition to either the Run or Ready state, the batch status returns
to Run.
Hold Propagation Mode 2 - Unit State Disabled
This mode allows unit allocation only if it is Unallocated and has an Available Status. During nor-
mal execution, if any running phase changes to Held, or if the batch is held by the operator, then
Unit Hold is set for all units allocated by the batch and phase Hold is set for all running phases.
The batch state goes to Held. The operator can restart the batch at any time. After a Restart com-
mand is written, the batch status returns to Run.
NOTE
There is an assumption that a unit in a Held state can be restarted and immediately
changes to a Run or Alarm state. If this mode does not appear to function as
described, you should review the restart logic that you are utilizing.
Windows/Transition Logic
Use this command to display the Active Transitions window.
For more information on viewing active transitions, see “Active Transition Objects” on page 356.
This option is also available from the Active Transitions icon in the Batch Display Toolbar.
Windows/FoxAlert
Use this command to display Alarm Manager.
For more information on Alarm Manager, see your Foxboro documentation.
This option is also available from the Alarm Manager icon in the Batch Display Toolbar.
Windows/Phase Sequence
Use this command to display Foxboro SFC/ST Display Manager.
For more information on using Foxboro SFC/ST Display Manager, see your Foxboro
documentation.
This option is also available from the Display Phase Sequence icon in the Batch Display
Toolbar.
You can enable security for the Display Phase Sequence button by editing the Launch FoxSFC
function for a Batch Client.
For more information on using the Security Editor, see Chapter 14 “Security System”.
344
10. Batch Management System B0193YB – Rev C
View Menu
The Batch Display View menu contains the commands that are used to toggle the display of the
application toolbars and status bar, as well as to change the focus of the unit procedure, operations
and phases displays. The menu options are described below.
View/Errors
Use this command to display the Errors window. All batch errors are contained in this list.
This option is also available from the Errors icon in the Batch Display Toolbar.
View/Main Toolbar
To View the Main Toolbar:
♦ Click View and then enable the Main Toolbar menu item.
View/SFC Toolbar
To View the SFC Toolbar:
♦ Click View and then enable the SFC Toolbar menu item.
View/Fox Toolbar
To View the Fox Toolbar:
♦ Click View and then enable the Fox Toolbar menu item.
345
B0193YB – Rev C 10. Batch Management System
You can also use the Unit Procedure Zoom Out icon in the Unit Procedures Toolbar.
View/Operation View
Use the View/Operation View menu item to show or hide the Operations pane and toolbar.
View/Operation Zoom In
To Zoom In on Operations:
♦ Click View and then select Operation Zoom In to increase the displayed size of objects
in the operation pane.
You can also use the Operation Zoom In icon in the Main toolbar.
View/Phase View
Use the View/Phase View menu item to show or hide the Phases pane and toolbar.
View/Phase Zoom In
To Zoom In on Recipe Phases:
♦ Click View and then select Phase Zoom In command to increase the displayed size of
phases in the phase pane.
You can also use the Phase Zoom In icon in the Main Toolbar.
346
10. Batch Management System B0193YB – Rev C
View/Large Icons
To View Large Icons:
♦ Click View and then enable the Large Icons menu item to increase the size of the
icons on the toolbars.
Help Menu
The Batch Display Help menu contains the commands that are used to access the main help
screen, and information about the version and licensing of the application.
Help/Help Topics
Use this command to display the online Help for Batch Display.
347
B0193YB – Rev C 10. Batch Management System
♦ Manual Operation
The Manual Operation icon is used to display a phantom batch.
♦ Save Recipe
The Save Recipe icon is used to display the Save Control Recipe window.
♦ Schedule
The Schedule icon is used to display the Schedule window.
♦ Batch Messages
The Batch Messages icon is used to display the Batch Messages window.
♦ Equipment Allocation
348
10. Batch Management System B0193YB – Rev C
The Equipment Allocation icon is used to display the Equipment Allocation window.
♦ Offline Phase Editor
The Offline Phase Editor icon is used to display the Phase Parameter Editor window.
♦ Active Transitions
The Active Transitions icon is used to display the Active Transitions window.
♦ Errors
The Errors icon is used to display the Errors window.
SFC Toolbar
♦ Zoom In
The Zoom In icon is used to enlarge the sequence of operations display. There are
10 levels of magnification available.
♦ Zoom Out
The Zoom Out icon is used to reduce the sequence of operations display. There are
10 levels of reduction available.
♦ Zoom In
The Zoom In icon is used to enlarge the sequence of phases display. There are 10
levels of magnification available.
♦ Zoom Out
The Zoom Out icon is used to reduce the sequence of phases display. There are 10
levels of reduction available.
Batch Identification
Across the top of the Batch Display main window is the batch identification information.
Included here are the Campaign ID, Lot ID, Batch ID, Mode, Status and Action.
Phase List
The Phase List contains a dynamic list of active phases. The equipment allocated for each phase
and the status of each phase are also included in the list.
Question List
The Question List contains a dynamic list of active questions. Answering a question requires the
selection of the question and the appropriate answer button.
349
B0193YB – Rev C 10. Batch Management System
Instruction List
The Phase List provides a list of instructions associated with the phase selected in the Phase List.
Color Description
Cyan Continue Mode Execution
Gray Inactive
Green Active
Yellow Completed
Sequence of Phases
The Sequence of Phases dynamically shows the current phases executing in the selected batch for
the selected operation. The status of each phase in the SFC is represented with colors.
Color Description
Gray Inactive
Green Active
Red Interlocked, Held, or Waiting for Operator Action
Yellow Completed
350
10. Batch Management System B0193YB – Rev C
Batch Control
Batches that are initialized have a status of Ready. If a batch is Ready, it can be selected from the
Schedules window and started using the Batch Start button. Batches that are running have a sta-
tus of Run. If a batch has a status of Run, the batch can be put in Held. If a batch has a status of
Held, the batch can be Restarted or Aborted.
351
B0193YB – Rev C 10. Batch Management System
For more information on dynamically changing the batch mode, see “Batch Execution Modes” on
page 359.
Phase Comments
The Edit Comment button displays the Comment window.
The Comment window can be used at any time. While a phase is executing, a comment associ-
ated with the selected phase can be entered. The comment is stored in the historical database. If
phases are not executing and a comment is entered, it is stored as a general comment associated
with the batch. If a phase is active, the operator can change the comment type to Batch if the
comment is not related to the phase.
NOTE
A batch must be initialized in order for comments to be written to history.
Phase Interlocks
The Interlocks button displays the Interlocks window. This is used to view the status of the inter-
lock tags for any active phase in the procedure.
Equipment Selection
The Select Equipment button displays the Equipment Selection window.
352
10. Batch Management System B0193YB – Rev C
This window contains a list of possible units that can be allocated for a particular recipe instance.
Whenever Manual Unit Selection is configured for a process instance in the recipe Equipment
Requirements Editor, the operator must select the equipment to be allocated and used by the cur-
rent batch. In the Equipment Selection window shown, the operator must choose which one of
two units is to be allocated for the first reactor process instance.
The Equipment Selection window is dynamic. The current status of units that are available for
selection is displayed in the window. If the status of any equipment changes while the window is
displayed, the status displayed updates accordingly. The status of units displayed in the Equip-
ment Selection window corresponds to those statuses defined in the process model. As long as the
new unit status represents an available status, the unit remains displayed in the list.
Phase
Status Description Action
Wait Phase is waiting for operator action. Message line indi- Acknowledge or Edit
cates whether a comment or an acknowledge is Comment.
required.
353
B0193YB – Rev C 10. Batch Management System
Phase
Status Description Action
Wait Phase is currently running. Phase can be run after Acknowledge “Unex-
acknowledging the message. Batch Manager waits pected Status Window.”
until the phase is Ready.
Run Phase is executing. Phase Hold
Held Phase is in Hold; Phase can be Re-started or Aborted. Phase Restart or
Phase Abort
Done Phase execution is complete. N/A
Interlocked Interlocks are preventing the phase from executing. Select Interlocks button.
Aborted Phase has been Aborted. N/A
Answering Questions
Transition objects that have been configured in the recipe to ask a question of the operator are in
the Questions List box. The operator must select the question that is to be answered and click the
Yes button.
Depending on the recipe, there may only be one question or there may be several. For an Execute
All branch, all the questions must be answered. If the branch is an Execute One, then only one
question must be answered.
If the question applies to a loop object, then the question is a Yes or No question. If the answer is
Yes, then the loop back is executed.
Phase Acknowledgment
Any phase in the recipe that has been configured with an Acknowledge On Entry or Acknowledge
On Exit option, as well as all semi-automatic phases requires the operator to acknowledge the
phase when executed. A message is displayed in the Message box when an acknowledgment is
required. The Acknowledge button must be selected when required.
354
10. Batch Management System B0193YB – Rev C
NOTE
Phase parameter changes are dynamic and are used during the execution of the
batch if made for a phase that has not yet executed. Phases that are not running are
not displayed in the list.
355
B0193YB – Rev C 10. Batch Management System
When a transition is selected, its expression is displayed and if tags are associated with the expres-
sion, they are displayed along with their current value.
Any active transition object must have a result of False. The Transition can be forced to True by
selecting the active transition and selecting the Force to True button.
356
10. Batch Management System B0193YB – Rev C
provide the necessary interface for external document viewing and acknowledgement. This fea-
ture is available in Batch Display.
Batch execution data is accessible to external applications by way of ActiveX controls and the
Toolkit.
For more information on setting up multiple Batch Scheduler instances, see Chapter 4 “Environ-
ment Management System”.
Batch Execution
Batch Manager is responsible for the execution of all the batches running in the system at any
point in time. There are many different areas of functionality that Batch Manager must co-
ordinate while executing batches. These include allocation of equipment, batch execution modes
and mode changes, unit selection, process phase execution, and transfer phase execution.
There are three types of equipment allocation that are available: Automatic, Recipe, and Manual.
There are three modes of batch execution: Automatic, Semi-Automatic, and Manual. There are
two methods for selecting units for a batch: Automatic and Manual. There are two categories of
phases: Process and Transfer. There are three types of phases: Automatic, Semi-Automatic, and
Manual. Each of the batches may have any combination of the above options. Each of the areas is
described below.
Equipment Allocation
In order to execute any phase as part of a batch, equipment must be allocated to the batch. If suit-
able equipment has been previously allocated to the batch, then that equipment is used. If equip-
ment has was not previously allocated, then the batch management system must allocate suitable
equipment to the batch before proceeding with phase execution. There are three approaches to
allocating equipment for a batch: Automatic Allocation, Recipe Allocation, and Manual Alloca-
tion. Each allocation approach is described below.
357
B0193YB – Rev C 10. Batch Management System
not currently allocated to the batch. Batch Manager allocates the equipment required and releases
the equipment automatically when it thinks it no longer needs the equipment. For process phases,
only the unit is allocated. For transfer phases, both the destination unit and the connection are
allocated. Source units are never automatically allocated when a transfer phase is executed.
As part of the evaluation criteria for unit allocation, Batch Manager uses the equipment status
(that is, Clean, Dirty), equipment availability (that is, in use by another batch), train definition
(that is, is the unit in the train assigned to the batch), equipment attribute requirements (that is,
capacity, material of construction), and the equipment state (that is, Ready, Run, Held, Alarm).
When there are multiple units from which to select, Batch Manager makes the selection based on
the manner in which unit selection has been defined in the recipe. If no units are available, Batch
Manager continuously evaluates the possible units and waits until one becomes available.
Connection allocation is a result of source and destination unit allocation. When multiple con-
nections are available between two units, Batch Manager selects the first connection encountered.
For cases when the source unit has not been allocated, either a material is used for connection
selection or Batch Manager selects the first connection encountered. Connection allocation is also
influenced by any segments that are assigned to the connection in the process model. Segments
with an unavailable status render all connections to which the segments are assigned unavailable
for allocation.
Segment allocation occurs when a connection to which the segment is assigned is allocated to exe-
cute a transfer phase.
Allocated equipment is automatically released when no longer needed or at the end of the batch.
Therefore, units are automatically released after a transfer phase in which the unit is the source is
complete or at the end of the batch. Connections and segments are automatically released after
the transfer phase in which the connection and segment(s) were allocated to execute is complete.
358
10. Batch Management System B0193YB – Rev C
359
B0193YB – Rev C 10. Batch Management System
Hold a Batch
When the Batch Hold button is selected, Batch Manager puts the batch in Held. The actions
taken in response to a Batch Hold depend on the way in which Batch Manager is configured in
the Environment Editor. If configured by default (that is without any application parameters in
the Environment Editor), when the Hold is initiated, the batch status changes to Held and the
Unit Hold tag for each unit allocated to the batch is set. It is the responsibility of the control sys-
tem logic to alter the status of the phases associated with the unit(s). Typically, the phases are put
in the Held status. However, the results of a batch hold can be unique for each phase.
NOTE
When the Batch Hold button is clicked it is possible that the Batch Abort may
become available before all phases are in the Held status. If you quickly press the
Batch Abort button before all phases are in the Held status, any phase not in the
Held state will not respond to the Phase Abort command issued by the Batch Abort
command. In this situation the phases remain in Held or the last status. The Batch
status remains Aborting until all phases have completed. Phases in Run complete
normally, or can be manually held and aborted. To resolve this situation, verify all
phases are in Held before pressing the Batch Abort, manually abort all phases in
Held, or assign security to the Batch Abort button. In most cases this allows enough
time for all phases to go to the Held state.
If Batch Manager is started with the Phase/Batch Status application parameter defined in the
Environment Editor, Batch Manager manages all phase hold activity. As above, when a Batch
Hold is triggered the batch status changes to Held and the Unit Hold tag for each allocated unit is
set. In addition, a phase hold signal is sent to any phase in the batch that has a status of Run. Also,
if any phase becomes held during the execution of a batch, Batch Manager places the batch in
held and sends a phase hold signal to all other phases in the batch that are in run. This applies
whether the held condition was the result of an operator initiated hold or generated internally to
the phase logic.
The batch hold concept is further advanced if the Unit States application parameter is defined for
Batch Manager in the Environment Editor. If this parameter is defined by itself without also
defining the Phase/Batch Status application parameter, Batch Manager monitors the unit state
tags for each allocated unit. If any unit state tag changes to the Held or Alarm state, Batch Man-
ager puts the batch that has the unit allocated in Held. No other units or phases are held by Batch
Manager, and the response of the phases to the unit state change is the responsibility of the con-
trol system. If both the Unit States and Phase/Batch Status application parameters are defined,
Batch Manager uses the unit states to determine when to propagate phase hold commands. In this
case, if a unit goes into the Held or Alarm state, Batch Manager recognizes this and sets the Unit
Hold tag and Phase Hold tags for each unit and phase associated to the batch. Whenever the Unit
States parameter is defined, a batch cannot be restarted until the unit state returns to Run.
Regardless of the manner in which Batch Manager is configured, transition logic Wait functions
are not put in Held. The Wait function continues to execute and time out if the Held time
exceeds the time of the function. When a Wait function times out, execution continues to the
next phase but the phase does not start until the batch is restarted.
360
10. Batch Management System B0193YB – Rev C
Restart a Batch
When the Batch Restart button is selected, Batch Manager restarts the batch. The actions taken in
response to a Batch Restart depend on the way in which Batch Manager is configured in the Envi-
ronment Editor. If configured by default (that is without any application parameters in the Envi-
ronment Editor), when the Restart is initiated, the batch status changes to Run and the Unit
Restart tag for each unit allocated to the batch is set. It is the responsibility of the control system
logic to alter the status of the phases associated with the unit(s). Typically, the phases are put in
the Run status. However, the results of a batch restart can be unique for each phase.
If Batch Manager is started with the Phase/Batch Status application parameter defined in the
Environment Editor, Batch Manager manages all phase restart activity. As above, when a Batch
Restart is triggered, the batch status changes to Run and the Unit Restart tag for each allocated
unit is set. In addition, a phase restart signal is sent to any phase in the batch that has a status of
Held. However, unlike hold commands, an individual phase restart does not cause the batch and
all other phases to restart.
The batch restart concept is further advanced if the Unit States application parameter is defined
for Batch Manager in the Environment Editor. If this parameter is defined by itself without also
defining the Phase/Batch Status application parameter, Batch Manager monitors the unit state
tags for each allocated unit. Batch Manager does not permit a Batch Restart for any batch which
has allocated units and these units are in a state other than Held (that is, the Alarm state must be
cleared). Typically, units are in the Held state from the batch hold command. All allocated units
must be changed to Held in order to restart the batch. Unit state changes are the responsibility of
the control system. Once the required unit states are in Held, the Unit Restart tag is set for each
allocated unit. If both the Unit States and Phase/Batch Status application parameters are defined,
Batch Manager uses the unit states to determine when to propagate phase restart commands. In
this case, a batch and all held phases are not automatically restarted if any unit is in a state other
than Held.
Abort a Batch
When the Batch Abort button is selected, Batch Manager aborts the batch. The actions taken in
response to a Batch Abort depend on the way in which Batch Manager is configured in the Envi-
ronment Editor. If configured by default (that is without any application parameters in the Envi-
ronment Editor), when the Abort is initiated, the batch status changes to Aborting and the Unit
Abort tag for each unit allocated to the batch is set. It is the responsibility of the control system
logic to alter the status of the phases associated with the unit(s). Typically, the phases are put in
the Aborted status. However, the results of a batch abort can be unique for each phase. Once all
phases have completed or aborted, the batch status changes to Aborted. The batch status remains
Aborting as long as phases are active.
NOTE
When Batch Abort is selected, a window appears prompting you to confirm the
Abort. When Yes is clicked, Batch Manager aborts the batch.
If Batch Manager is started with the Phase/Batch Status application parameter defined in the
Environment Editor, Batch Manager manages all phase abort activity. As above, when a Batch
Abort is triggered, the batch status changes to Aborting and the Unit Abort tag for each allocated
unit is set. In addition, a phase abort signal is sent to any phase in the batch that has a status of
Held. However, unlike hold commands, an individual phase abort does not cause the batch and
361
B0193YB – Rev C 10. Batch Management System
all other phases to abort. Also, once all phases have completed or aborted, the batch status changes
to Aborted.
The batch abort concept is not as affected as the hold and restart if the Unit States application
parameter is defined for Batch Manager in the Environment Editor. If this parameter is defined
by itself without also defining the Phase/Batch Status application parameter, Batch Manager
monitors the unit state tags for each allocated unit. However, Batch Manager does not require a
particular unit state in order to abort a batch. The Unit Abort tag is set for each allocated unit
regardless of its state. If both the Unit States and Phase/Batch Status application parameters are
defined, Batch Manager propagates phase abort commands regardless of the state of the allocated
units.
NOTE
Error messages are not displayed when unexpected unit states are received when one
of the following conditions apply:
If a unit is not allocated and has an Available status, the unit should have a state of
Ready. A unit state of Run, Held, or Alarm is not permitted.
If a unit is allocated and phases for that unit are active, the unit should have a state
of Run, Held, or Alarm. A unit state of Ready is not permitted.
It is your responsibility to avoid the conditions that are described. If either condi-
tion exists, you must manually change the unit state.
362
10. Batch Management System B0193YB – Rev C
Batch Manager can be configured to switch from Automatic to Semi-Automatic after a phase is
aborted. The batch then continues to execute in Semi-Automatic Mode. To enable this feature
you must use Environment Editor to assign the “Semi-Auto On Abort” parameter to Batch Man-
ager. If this feature is enabled, both the phase abort and the mode change from Automatic to
Semi-Automatic are logged to history.
For more information on configuring the Environment Editor, see Chapter 4 “Environment
Management System”.
Automatic to Manual
Any active phases continue to run to completion. Batch Manager monitors these phases and resets
the phases when they are done. No new phases are executed. Batch Manager maintains its posi-
tion in the recipe procedure, and the operator may manually execute any phases associated with
allocated equipment.
Semi-Automatic to Automatic
Any phases that are running continue to run. Any phase waiting for an operator Acknowledgment
or any new phase encountered automatically starts. This assumes that the phase is not configured
for Acknowledge on Entry in the recipe procedure. If this is the case, the Acknowledge is still
required.
Manual to Automatic
Execution of the recipe begins from the point where Manual mode was started. Phases start as
configured in the recipe procedure. Any phases started in Manual mode complete and are reset by
Batch Manager. Any equipment that was manually allocated stays allocated until a Release phase
for the equipment is encountered or the batch completes.
Manual to Semi-Automatic
Execution of the recipe begins from the point where Manual Mode was started. Phases require an
Acknowledge before they can be started. Any phases started in Manual Mode complete and are
reset by Batch Manager. Any equipment that was manually allocated stays allocated until a
Release phase for the equipment is encountered or the batch completes.
363
B0193YB – Rev C 10. Batch Management System
able equipment status, and has a Ready unit state (if defined). If all possible units are not avail-
able, Batch Manager re-evaluates potential units as they become available and waits until the
availability of one of the units changes.
Process Phases
Automatic Phases
When an automatic process phase is encountered, Batch Manager first checks if a suitable unit is
allocated. If so, Batch Manager evaluates the status of the phase. If the phase is Ready, the formula
parameter values are downloaded to the control system and the phase is started. Typically, the
phase status changes to Run. Batch Manager monitors the status of the phase waiting for it to
change. Under normal circumstances, the phase status eventually goes to Done. Upon seeing the
Done, Batch Manager resets the phase. The phase status returns to Ready. When Batch Manager
evaluates the phase and finds a status of Interlocked, Batch Manager waits indefinitely until the
interlock has cleared. When Batch Manager finds a status of Run, Held, Done, or Aborted, Batch
Manager displays an error message for an unexpected phase status.
Manual Phases
Manual Type Process Phases require unit allocation and also require the operator to Acknowledge
the completion of the phase. Manual Process Phases typically include instructions which the oper-
ator must perform. When the instructions have been performed, the operator Acknowledges the
phase.
Manual phases can also be used to write data to the control system. This is accomplished by
assigning a tag to the Target element in the process model. When the phase is executed, Batch
Manager writes the Target Value, that was assigned in the recipe, to the control system.
364
10. Batch Management System B0193YB – Rev C
365
B0193YB – Rev C 10. Batch Management System
Transfer Phases
Automatic Transfer Phases
When an automatic transfer phase is encountered, Batch Manager first checks if a suitable desti-
nation unit is allocated. Once the destination unit is decided, Batch Manager must determine the
source of the transfer. If material input parameters are defined, Batch Manager uses the material
database configuration for the required source unit. For non-material transfer phases, either a pre-
viously allocated source unit is used or the first source unit encountered in the model is selected.
In both cases, the source unit is not automatically allocated. Once the source and destination
units have been determined, the connection is allocated. Following allocation, Batch Manager
evaluates the status of the phase. If the phase is Ready, the formula parameter values are down-
loaded to the control system and the phase is started. Typically, the phase status changes to Run.
Batch Manager monitors the status of the phase waiting for it to change. Under normal circum-
stances, the phase status eventually goes to Done. Upon seeing the Done, Batch Manager resets
the phase. The phase status returns to Ready. When Batch Manager evaluates the phase and finds
a status of Interlocked, Batch Manager waits indefinitely until the interlock has cleared. When
Batch Manager finds a status of Run, Held, Done, or Aborted, Batch Manager displays an error
message for an unexpected phase status.
366
10. Batch Management System B0193YB – Rev C
defined, it is possible to use material from more than one lot in a batch. When this occurs, Batch
Manager uses a first-in, first-out (FIFO) approach and decrement the first lot to zero, removes the
lot from the material database, and decrements the remaining quantity from the second lot. Both
quantities and their respective lot numbers are logged to history.
NOTE
The FIFO approach can be changed to last-in, first-out (LIFO) by using the LIFO
Materials application parameter for Batch Manager in the Environment Editor.
367
B0193YB – Rev C 10. Batch Management System
368
10. Batch Management System B0193YB – Rev C
with the Continue mode property enabled and executing remains in the active Phase List and can
be monitored and controlled just as any other active phase. If the recipe execution has moved on
to a subsequent operation, the operation with a phase running with the continue mode property
enabled is displayed in cyan. This allows the operator to identify unfinished operations easily.
NOTE
Use caution when enabling the continue mode property for any phase within a loop
object. Because of the risk of re-executing an active phase, batch execution does not
proceed into the loop in which a phase with the continue mode property enabled is
active. As soon as the phase completes, batch execution proceeds into the loop.
Because the phase is executing normally, it also must finish like a normal phase. Batch execution
does not end until all phases have completed. Therefore, any phase with the Continue mode
property enabled is required to complete either normally according to the internal phase logic or
based upon some external signal. An example of the use of the Continue mode is vessel agitation.
It is not unusual for agitation to span multiple operations. When this is required, the recipe
builder is forced to use “one-shot” phases that start the agitator and then complete, or to use com-
plex branching to keep the agitator running throughout the course of the multiple operations.
Using one-shot phases is undesirable because even though the agitator remains running, the phase
is no longer active and cannot be controlled. The branching option is also undesirable if the recipe
builder does not have experience with the process. The Continue mode option allows the agita-
tion phase to be placed in the recipe as required without complex branching and remains active
until it ends on its own or until another phase or external signal tells the phase to end. Thus, it is
always visible and can be controlled.
Unit 1 Unit 2
Pump 1
Unit 3 Unit 4
There are several methods for managing the contention of the use of the pump. One of the meth-
ods defines each source unit/destination unit combination as a connection in the process model.
With this method only one of the transfers (one connection) can be functioning at any one time
because there is only one pump. For this method in the above example, there is one connection
369
B0193YB – Rev C 10. Batch Management System
phase for each connection. Therefore, in this example, there are four phase logic blocks in the
control system. Since there is only one pump to handle all four connections, the four phase logic
blocks must be interlocked with one another.
Using this method, contention for use of the pump is handled as follows. When the batch in Unit
1 or Unit 2 is ready to transfer to either Unit 3 or Unit 4 and the destination unit is Ready, then
Batch Manager allocates the destination unit. Knowing the source unit and the destination unit,
Batch Manager can determine which phase logic block to enable to execute the transfer. If a trans-
fer phase is executing between Unit 1 and Unit 3, the phase blocks associated with the three other
connections are inhibited because of the interlocking done in the control system. If Batch Man-
ager needs to execute a transfer between Unit 2 and Unit 4, it waits until the Unit 1 to Unit 3
transfer is complete. When the transfer is complete, the interlocks are released on the three other
connection phases. The phase status changes from Interlocked to Ready, and Batch Manager is
then able to proceed with the transfer.
Another method requires defining segments, as well as connections, in the Process Modeling Edi-
tor. The segments assume one of the statuses defined in the model. The availability of each of the
connections corresponds to the status of all the segments that have been assigned to the connec-
tion. Batch Manager is only able to utilize connections that are available.
Using this method, contention for use of the pump is handled as follows. When the batch in Unit
1 or Unit 2 is ready to transfer to either Unit 3 or Unit 4 and the destination unit is Ready, then
Batch Manager evaluates the availability of the connection from the status of each segment
assigned to the connection. If an available connection is found, the destination unit and connec-
tion are allocated, and the proper connection phase is enabled. This method requires no extra
control system interlocking. When the transfer is complete, the segment statuses changes accord-
ingly, and the availability of the connection is automatically updated.
If connections and/or segments are not defined in the process model and transfers are performed
by co-ordinating the simultaneous execution of multiple process phases, Batch Manager evalua-
tion process is different. Batch Manager insures that a suitable source unit and destination unit are
allocated. However, the control system is responsible for interlocking the remaining process
phases from executing until the transfer of material has been completed.
370
10. Batch Management System B0193YB – Rev C
disallowing the action. If Jump mode has been entered and an abnormal termination of the Batch
Display or Batch View occurs, the batch is placed in Held (as if Jump mode had not yet been ini-
tiated) and a message indicating that the batch does not have and execution pointer is displayed.
In this case, if a user attempts to restart the batch (which has no execution pointer), a message is
displayed advising you to go to Jump mode, define a pointer, and then restart the batch.
Abnormal termination of a batch that has not been started results in the batch changing from a
Locked to Ready status. Under these circumstances, the execution pointer is at the start of the rec-
ipe procedure and allows a batch to start. A batch that does not have an execution pointer can be
aborted. The execution pointer is always at the start of the recipe procedure for a batch with a
Ready status.
Report Triggering
Reports can be linked to any phase in a recipe procedure. The report is triggered when the phase
is complete. Also, if an end of batch report is defined, Batch Manager signals the Information
Server upon completion of the batch. Batch Manager passes the name of the report, the Cam-
paign ID, Lot ID, and Batch ID.
371
B0193YB – Rev C 10. Batch Management System
372
10. Batch Management System B0193YB – Rev C
Warm Restart
Batch Manager has the capability to recover from abnormal events such as system shutdowns due
to hardware failures and other unanticipated failures. This functionality is known as Warm
Restart. As the batch management system executes batches, all batch execution and equipment
allocation information is written to multiple data files. In the event of a system failure, these files
are read by the batch management system when restarted. The data in these files allows the batch
management system to resume batch operation.
373
B0193YB – Rev C 10. Batch Management System
Batch
Manager
Warm Restart
Data Files
Control System
Phase Logic
Batch Execution
As the batch management system executes batches and allocates equipment, Batch Manager stores
each event in data files residing in the .BatchWR folder. By retaining all batch execution and
equipment allocation actions, Batch Manager can resume batch execution following a system fail-
ure. In the event of a failure, the sequence of operation in the following list occurs. Operator
interaction is denoted where applicable.
1. Upon the occurrence of a system failure, the batch control system must be completely
shut down if the failure did not automatically accomplish this.
2. The batch control system must then be restarted.
3. All equipment allocated by any of the previously active batches remains allocated.
4. All batches previously in the Batch Scheduler are returned to the scheduler with their
previous status. The exceptions are that the Execute in Order option in the Batch
Scheduler is not set upon restarting the system and all batches that were in the run
state prior to the failure are in the Held state when the system is restarted.
For more information on changing the mode in which batches are resumed, see
“Batch Restart Mode” below.
5. The statuses of all phases are unchanged during a system failure that does not involve
the control system. In other words, phases that were executing before the failure con-
tinue to execute during the failure. However, phases that previously had changed to a
status of Held, Done, or Aborted remain in that state until the batch management sys-
tem is restarted. Batch Manager resumes the batches controlling these phases, and
upon resuming these batches, Batch Manager restarts or resets the affected phases.
6. The mode of all batches and the value of all phase parameters are unchanged follow-
ing the restart of a failed system.
374
10. Batch Management System B0193YB – Rev C
safety issue. However, this default batch-held state may be overridden when Batch Manager is
restarted. If it is the intention of the personnel with the proper authority to resume system opera-
tion with all batches retaining the state each was in when the failure occurred, then Batch Man-
ager application must be configured with the Restarting Batches application parameter in the
Environment Editor.
For more information on configuring the Environment Editor, see Chapter 4 “Environment
Management System”.
When Batch Manager is started with the Restarting Batches option, all batches that were in run
resume with a status of run. This applies for all possible batch states.
! WARNING
It is strongly recommended that the Restarting Batches option be used only by per-
sonnel that are very familiar with the operation of the batch system, the operation
of the control system, and the process itself.
For example, suppose the batch management system is controlling a phase that previously had a
status of Run. If the batch control system is shut down and the phase in the control system con-
tinues execution and becomes Done before the batch control system is restarted, the batch man-
375
B0193YB – Rev C 10. Batch Management System
agement system recognizes this as a valid status transition, updates the status of the phase to
Done, and initiates a phase Reset. However, if the control system is also shut down and the status
of the phase becomes Ready, then Batch Manager assumes the control system and possible human
intervention caused the phase to go to Ready. Batch Manager assumes the phase is done and con-
tinues on to the next phase.
Manual Operation
The flexibility that Manual Operation provides does present the possibility of some unusual phase
states. This section describes the precautions and considerations of which you should be aware
when using phantom batches. If you need to access Manual Operation, you must be aware of the
phases that are executing manually, and must be able to resume or abort the phases after a system
failure. You should also be aware of how Batch Manager initializes Batch Display for Target, Hi
Dev, and Lo Dev values when tags are assigned to them.
If Manual Operation is being utilized and a system failure occurs, the following sequence of
events occurs:
1. All equipment that was manually allocated in order to execute phases through the
manual operation batch is not allocated when the system is restarted.
2. All phases that were active prior to the system shutdown are active while the system is
shut down. However, the state of the phases is unknown to the system when it is
restarted.
3. The operator using Manual Operation is responsible for returning to the Manual
Operation batch, manually allocating the equipment that was previously manually
allocated, and starting the phases that were previously active.
4. Upon restarting the previously active phases, the status of the phase is the current sta-
tus of the phase in the control system. Thus, the phase may go to Run, Held, Done,
or Aborted, depending on the actual state of the phase in the control system.
5. The operator can continue manual operation as normal.
Operator actions are required to rectify the manual operation status.
NOTE
Manual Operation can be made accessible only by personnel with the proper secu-
rity clearance. Therefore, it is their responsibility to clean up the manual operation
phases following a system failure. Failure to properly clean up the manually operat-
ing phases can cause problems when scheduled batches require the use of the “stray”
phases. It is also recommended that when Manual Operation is in use and a system
failure occurs, that Batch Manager be restarted without the Restarting Batches
option. This ensures that all batches are resumed in Held and that none of these
batches can automatically allocate equipment that is needed to clean up any phase
executed using manual operation.
376
10. Batch Management System B0193YB – Rev C
log data class. For the Hi Dev element, you may have disabled the Edit Allowed attribute. When
you schedule and execute a phantom batch, the Edit Allowed attribute of the tag is enabled. Batch
Display, therefore, allows the Hi Dev value to be edited even though your process model was con-
figured to disable it.
The following table shows the relationship between each tag data class and element, and how the
Enable Display and Edit Allowed attributes are forced in Batch Display.
377
B0193YB – Rev C 10. Batch Management System
378
11. History System
The History System databases are located on an I/A Series Batch Information Server. The
Information Server uses Microsoft SQL Server which stores and archives all information
related to the production of a batch. This includes events, process data, production information,
material usage, operator comments, operator actions, equipment used, and so forth. Historical
data can be accessed with Seagate Crystal Reports to develop comprehensive reports for your
batch system requirements.
Historical batch information is stored on an I/A Series Batch Information Server. The Informa-
tion Server uses Microsoft SQL Server, and is dedicated to the task of providing all database
requirements for the batch system. At the Batch Server and Batch Runtime Client levels,
Microsoft Access formatted databases are used for local storage in the event of a communications
failure with the Information Server during batch execution. These local databases are used by
Batch Manager whenever a connection to the Information Server is interrupted. When the con-
nection is restored, the local database content is read by the Information Server and the SQL
Server database is updated.
This User’s Guide is not intended to describe how to use Microsoft SQL Server. However, you
may want to use such tools as Microsoft Enterprise Manager for maintaining and viewing infor-
mation about the historical databases. For more information on using Microsoft SQL Server, refer
to the appropriate user references.
For more information on maintaining your history databases, including History Archiving proce-
dures, see Chapter 20 “System Administration”.
For more information regarding the Information Server and how to use Seagate Crystal Reports,
see Chapter 12 “Reporting System”.
AlarmComment
The AlarmComment table contains one record for each I/A Series Alarm Comment entered dur-
ing batch execution.
379
B0193YB – Rev C 11. History System
AnalogAlarm
The AnalogAlarm table contains one record for each I/A Series Analog Alarm generated during
batch execution.
380
11. History System B0193YB – Rev C
Archive History
AuditEvent
The AuditEvent table contains one record for system level event that is generated during batch
execution.
381
B0193YB – Rev C 11. History System
BatchAdmin
The BatchAdmin table contains records for archive tasks defined in History Archive. History
Archive is responsible for the data in this table. The structure of this table is presented below.
BatchDetail
The BatchDetail table contains a record for every event in the execution of a batch. Events are
defined using an Action Code. The Action Codes are defined in the CodeTable table. Batch Man-
ager is responsible for the data in this table. The structure of this table is presented below.
382
11. History System B0193YB – Rev C
BatchIdLog
The BatchIdLog table contains a record for each batch produced. Batch Manager is responsible
for the data in this table. The structure of this table is presented below.
383
B0193YB – Rev C 11. History System
BatchQuestion
The BatchQuestion table contains a record for every question displayed and answered by the
operator during the execution of a batch. Batch Manager is responsible for the data in this table.
The structure of this table is presented below.
BooleanAlarm
The BooleanAlarm table contains one record for each I/A Series Boolean Alarm generated during
batch execution.
384
11. History System B0193YB – Rev C
CodeTable
CodeTable contains the codes and descriptions that are used in as part of other history tables.
This table is a permanent part of the History database and is not modified during batch execu-
tion. The structure of this table as well as the codes are presented below.
Code Description
201 Batch Start
202 Batch Hold
203 Batch Restart
204 Batch Abort
205 Batch received Done
206 Batch received Close
207 Batch Warm Restart
208 Batch Redundancy Switchover
210 Allocate
211 Release
221 Phase wait for Allocate
222 Phase received Allocate
385
B0193YB – Rev C 11. History System
Code Description
223 Phase wait for Entry Ack
224 Phase received Entry Ack
225 Phase received Interlock
226 Phase received Ready
227 Phase set Start
228 Phase received Run
229 Phase set Hold
230 Phase received Held
231 Phase set Restart
232 Phase set Abort
233 Phase received Aborted
234 Phase received Done
235 Phase set Reset
236 Phase received Bad Ready
237 Phase received Bad Run
238 Phase received Bad Held
239 Phase received Bad Done Aborted
240 Phase received Bad Interlock
241 Phase wait for Req Edits
242 Phase received Req Edits
243 Phase wait for Req Cmmt
244 Phase received Req Cmmt
245 Phase wait for Exit Ack
246 Phase received Exit Ack
247 Phase wait for Start
248 Phase received Start
249 Phase resync
250 Phase wait for Entry Doc View
251 Phase received Entry Doc View
252 Phase wait for Entry Doc Ack
253 Phase received Entry Doc Ack
254 Phase wait for Exit Doc View
255 Phase received Exit Doc View
256 Phase wait for Exit Doc Ack
257 Phase received Exit Doc Ack
260 Batch mode changed to Automatic
261 Batch mode changed to Semi-Automatic
262 Batch mode changed to Manual
386
11. History System B0193YB – Rev C
Code Description
265 Phase set Control Button1
266 Phase set Control Button2
270 Unit Hold set
271 Unit Restart set
272 Unit Abort set
273 Force Transition True
274 Transition Start
275 Transition Stop
276 Transition True
277 Transition False
300 Yes
301 No
305 Approved for Production
306 Approved for Test
400 Batch set to Run
401 Batch set Held
402 Batch set Aborting
403 Batch received Lock
404 Batch received locking
405 Batch received Locked
406 Batch received Unlock
410 Unit Received Ready
411 Unit Received Run
412 Unit Received Held
413 Unit Received Alarm
Config
DocViewEvent
The DocViewEvent table contains one record for each event that is generated when batch execu-
tion requires you to view and acknowledge an external document.
387
B0193YB – Rev C 11. History System
EquipStatus
The EquipStatus table contains a record for every unit or segment status transition. Batch Man-
ager is responsible for the data in this table. The structure of this table is presented below.
388
11. History System B0193YB – Rev C
ErrorQ
Event
MaterialChar
The MaterialChar table contains a record for every characteristic defined for a material used in a
batch. Batch Manager is responsible for the data in this table. The structure of this table is pre-
sented below.
389
B0193YB – Rev C 11. History System
MaterialInput
The MaterialInput table contains a record for every material consumed in a batch. Batch Manager
is responsible for the data in this table. The structure of this table is presented below.
MaterialInputChange
The MaterialInputChange table contains a record for every quantity change made by an operator
for a material consumed in a batch. Batch Manager is responsible for the data in this table. The
structure of this table is presented below.
390
11. History System B0193YB – Rev C
MaterialOutput
The MaterialOutput table contains a record for every material produced in a batch. Batch Man-
ager is responsible for the data in this table. The structure of this table is presented below.
391
B0193YB – Rev C 11. History System
NonBatchOperatorActions
The NonBatchOperatorActions table contains a group of one or more records for every operator
action that is not part of a batch. Event Manager is responsible for the data in this table. The
structure of this table is presented below.
OperatorAction
The OperatorAction table contains a group of one or more records for every action of an operator
during a batch. Batch Manager is responsible for the data in this table. The structure of this table
is presented below.
OperatorComment
The OperatorComment table contains a group of one or more records for every comment entered
by an operator during a batch. Each record contains a portion (40 characters) of the comment.
The SeqNum field defines the comment sequence. Batch Manager is responsible for the data in
this table. The structure of this table is presented below.
392
11. History System B0193YB – Rev C
PhaseInstruction
The PhaseInstruction table contains a group of one or more records for every phase instruction
presented to an operator during a batch. Each record contains a portion (40 characters) of the
instruction. The SeqNum field defines the instruction sequence. Batch Manager is responsible for
the data in this table. The structure of this table is presented below.
ProcessLog
The ProcessLog table contains a record for every data sample logged. Process Log Manager is
responsible for the data in this table. The structure of this table is presented below.
393
B0193YB – Rev C 11. History System
ProcessVar
The ProcessVar table contains a record for the value of every phase process variable parameter
associated with a batch. Batch Manager is responsible for the data in this table. The structure of
this table is presented below.
ProcessVarChange
The ProcessVarChange table contains a record for every change made to a phase process variable
parameter by an operator during a batch. Batch Manager is responsible for the data in this table.
394
11. History System B0193YB – Rev C
ReportDef
ReportLog
395
B0193YB – Rev C 11. History System
ReportOutputTypes
ReportPrinters
ReportQueue
ReportQueueParams
ReportViewers
396
11. History System B0193YB – Rev C
SequenceBlock
The SequenceBlock table contains a record for each I/A Series Sequence Block associated with a
batch.
397
B0193YB – Rev C 11. History System
Transition
The Transition table contains a record for every transition event. The events are: Start Transition,
Transition False, Transition True and Transition Forced. Batch Manager is responsible for the data
in this table.
TransitionExpression
The TransitionExpression table contains a record for each Transition Expression that is encoun-
tered during batch execution.
UserProfile
The UserProfile table contains a record that describes a user's identification. A record is generated
during batch execution whenever user identification is required.
398
11. History System B0193YB – Rev C
399
B0193YB – Rev C 11. History System
400
12. Reporting System
The reporting system provides I/A Series Batch users with the ability to schedule, view and
print reports relating to the batch history that is stored on the I/A Series Batch Information
Server (BIS). The user interface for the reporting system is a web browser which functions as a
reporting client by way of an HTTP connection. Accesses to all report configurations and batch
history on the Batch Information Server is established using a Microsoft Internet Information
Server (IIS).
Information Server
The Information Server is an Intel™-based PC, running under Windows 2000 Server or
Windows NT 4.0 Server, and is dedicated to batch information management. The Batch Infor-
mation Server contains Microsoft SQL Server, a History Queue, History Queue Reader Service,
Report Queue, Report Queue Reader Service, and the Web Server (IIS) components.
History Queue
The History Queue is a first-in-first-out (FIFO) queue which is located on the Information Server
that is responsible for transferring all historical data from the Batch Manager on the Batch Server
to the Batch History Database on the Information Server. The History Queue is also responsible
for notifying the report queue of End-of-Batch and End-of-Phase events which trigger reports.
Report Client
A Report Client is a Microsoft Internet Explorer (5.x or higher) that accesses the Information
Server by way of an HTTP connection (internet or intranet). The Microsoft IIS on the Informa-
tion Server contains the Active Server Page (ASP) content for all Report Configuration, Report
Scheduling and Report Viewing.
401
B0193YB – Rev C 12. Reporting System
Report Configuration
Report Configuration is accomplished using ASP content that is hosted on the Information
Server and accessed using a Report Client. Report Configuration allows users to create the map-
ping between the named report and the actual Crystal Reports report file (.rpt) on disk. This tool
also allows users to define the Information Server’s report output printer and/or report file output
path.
Report Queue
The Report Queue is a first-in-first-out (FIFO) queue located on the Information Server that
handles all requests for reporting activity. The queue also contains all parameter data necessary for
the execution of the report.
Report Schedule
Report Scheduling is accomplished using ASP content that is hosted on the Information Server
and accessed using a web browser on a client PC. It allows users to define schedules for the
reports. Users can schedule reports on a one-shot basis or a repeating basis.
Report View
Report Viewing is accomplished using ASP content that is hosted on the Information Server and
accessed using a web browser on a client PC. Report Viewing allows users to run and view reports
on demand. It also provides the ability to save reports to disk and/or print them.
402
12. Reporting System B0193YB – Rev C
Reporting Portal
Web Page
ReportSchedule
ReportConfig
ReportView
Report
Output
REPORTING CLIENT
HTTP
Web Browser
Batch Reporting
Web Server (IIS)
Server Components:
- Define
Crystal Server - Schedule
Component - Demand
- Security Intrface
Report Config
Crystal Reports Table
Directory
History
Tables
SQL Job
Table
BATCH INFORMATION
SERVER
403
B0193YB – Rev C 12. Reporting System
Configuring Printers
All printers on which you intend to print must be installed on the Information Server and must
be associated with the same Windows account (User ID and Password). It is recommended that
you install your printers using the same account that you used when the Information Server soft-
ware was installed. If you do not use the same account, your printers are not available for selection
when you attempt to configure reports.
If you have installed the Information Server software using a different account than the one you
used when printers were installed, you can edit the InBatch_ReportQReader service in the
Windows operating system. Use the following procedure if you need to edit the
InBatch_ReportQReader service.
1. Stop the Wonderware Logger Service. You are advised that the InBatch_HistQReader
and InBatch_ReportQReader services will also be stopped.
2. Edit the InBatch_ReportQReader service Account and Password, and then save the
changes.
3. Start the Wonderware Logger Service, and then start the InBatch_HistQReader and
InBatch_ReportQReader services.
When the InBatch_ReportQReader service is started, the printers associated with the user
account that you specified are available for configuration.
NOTE
When the Information Server is installed, the Report Path is C:\BatchInfoS-
erver\Crystal by default. The default Report Path is always associated with the C:
drive even if the Information Server is installed on a different drive. If the Informa-
tion Server is installed on a different drive, then Report Path must be edited using
the Config button on the Information Server's AdminWeb page. If you change the
Report Path, the ReportQReader service must be restarted. Users should consider
this when creating and editing recipes that include reports. For more information
on using the AdminWeb page, see Chapter 20 “System Administration”.
404
12. Reporting System B0193YB – Rev C
NOTE
I/A Series Batch v8.0 does not support expression triggered reports. If you were
using expression triggered reports in a previous version, they are converted when
you upgrade the databases and they will appear in the list of configured reports in
the ReportWeb web page. The report names will exist in the ReportDef table in
batch history. However, even though these reports will be listed, they will not be
generated.
Batch Reporting
To Open the Batch Reporting Web Page:
♦ In the Environment Display, click the BatchReport icon.
If you want to access the Batch Reporting web page from a different computer on
your network, you need to use the following URL address: http://<computer
name>/ReportWeb, where <computer name> is name of the computer on which the
Information Server is installed.
405
B0193YB – Rev C 12. Reporting System
Report Configuration
The Report Configuration web pages allow you to view, edit, delete, and add report configura-
tions to the reporting system.
2. All reports that have been previously configured appear in the Configured Reports
list.
406
12. Reporting System B0193YB – Rev C
407
B0193YB – Rev C 12. Reporting System
Parameter Description
Name The name of the report.
Description (optional) Optional text that describes the report.
Crystal Report The name of the Crystal Reports template that will be
used for the actual report layout and content.
Auto Batch End Enable this checkbox to have the report generated
automatically at the end of a batch.
Output To Printer Enable this checkbox if you want the report to be
printed on a printer.
Printer The printer to which the reports will be sent.
Note: See “Configuring Printers” on page 404.
Output To File Enable this checkbox if you want to retain a file copy
of the report.
Output Path The name of folder on the Information Server where
the configured report will be printed.
Output Type The available report options are Crystal Report, CSV,
Excel, Text and Word. To view these reports, you
must have the appropriate application installed on the
Report Client.
3. When you have finished entering the required configuration data, click the Add
Report button.
408
12. Reporting System B0193YB – Rev C
409
B0193YB – Rev C 12. Reporting System
NOTE
Before you delete any reports, it is recommended that you perform a backup.
Report Scheduling
The Report Schedule web pages allow you to define schedules for the reports that you have con-
figured. Reports can be scheduled for one-shot execution or on a recurring basis. The schedules
are stored on the Information Server and can be edited as your specific application requires.
410
12. Reporting System B0193YB – Rev C
2. All report schedules that have been previously defined appear in the Report Schedule
list.
411
B0193YB – Rev C 12. Reporting System
412
12. Reporting System B0193YB – Rev C
Parameter Description
Name The name assigned for the scheduled report.
Options Enable this checkbox if you want to enable the report. If the box is not
enabled, the report is not executed.
Report Selection Select the name of the Report Configuration from drop-down list. The list
contains the report configurations that you have defined using the Report
Configuration pages.
Report Duration Allows you to set the amount of batch data you want to include by specify-
ing a period of elapsed time).
Preset Duration - Fifteen Minutes, Thirty Minutes, One Hour, Two Hours,
Four Hours, Eight Hours, One Day (24 Hours), and One Week
3. When you have finished entering the required schedule data, click the Save Report
Data button.
The Edit Report Schedules page lists the Report Properties which shows all details of
the schedules that have just been defined. You can make additional changes to the
schedule directly from this page.
413
B0193YB – Rev C 12. Reporting System
4. On the Report Schedule - Report Detail page, select the report schedule interval at
which the report recurs. The options are as follows.
♦ One Time Schedule
♦ Add Daily Schedule
♦ Add Weekly Schedule
♦ Add Monthly Schedule.
414
12. Reporting System B0193YB – Rev C
Parameter Description
Name The name of the report.
Options Enable this checkbox if you want to enable the report. If the box is not
enabled, then the report will not be executed.
Run Date/Time Date (mm/dd/yyyy) and the Time (hh:mm am/pm) that you want the
report to execute.
Parameter Description
Name The name of the report.
Options Enable this checkbox if you want to enable the report. If the box is not
enabled, then the report is not executed.
Occurs The frequency of recurrence (in days).
Daily Frequency The time and recurrence of the report. The options are:
Occurs Once At - Enter the specified time (hh:mm am/pm) at which you
want the report to execute.
Occurs Every - Enter the interval (in Hours or Minutes), and start and end-
ing time (hh:mm am/pm) at which you want report execution to occur.
Duration The length of time during which you want the report to execute. The
options are:
No End Date - Use this option if you want report execution to occur on a
recurring basis (no stop date).
End Date (mm/dd/yyyy) - Use this option in conjunction with the Start
Date to specify the duration of the reporting period.
415
B0193YB – Rev C 12. Reporting System
Parameter Description
Name The name of the report.
Options Enable this checkbox if you want to enable the report. If the box is not
enabled, then the report will not be executed.
Occurs The frequency of recurrence (in weeks). Checkboxes are provided so that
you can select the day(s) of the week on which you want the report to
occur.
Daily Frequency The time and recurrence of the report for selected day. The options are:
Occurs Once At - Enter the specified time (hh:mm am/pm) that you want
the report to execute at.
Occurs Every - Enter the interval (in Hours or Minutes), and start and end-
ing time (hh:mm am/pm) that you want report execution to occur.
Duration The length of time during which you want the report to execute. The
options are:
No End Date - Use this option if you want report execution to occur on a
recurring basis (no stop date).
End Date (mm/dd/yyyy) - Use this option in conjunction with the Start
Date to specify the duration of the reporting period.
Parameter Description
Name The name of the report.
Options Enable this checkbox if you want to enable the report. If the box is not
enabled, then the report is not executed.
Occurs The frequency of recurrence (in months). The options are:
Specify the day of the month on which you want the report to occur.
Specify the day of the week and the monthly recurrence of the report.
416
12. Reporting System B0193YB – Rev C
Parameter Description
Daily Frequency The time and recurrence of the report. The options are:
Occurs Once At - Enter the specified time (hh:mm am/pm) at which you
want the report to execute.
Occurs Every - Enter the interval (in Hours or Minutes), and start and end-
ing time (hh:mm am/pm) for report execution.
Duration The length of time during which you want the report to execute. The
options are:
No End Date - Use this option if you want report execution to occur on a
recurring basis (no stop date).
End Date (mm/dd/yyyy) - Use this option in conjunction with the Start
Date to specify the duration of the reporting period.
After you have defined the required Report Schedule, click Add Schedule on the Edit Report
Schedules page.
417
B0193YB – Rev C 12. Reporting System
3. Edit the Report Properties as required. Refer to Table 12-2, on page 413 for more
information. After you have completed your changes, click the Save Report Data but-
ton to apply the changes.
4. To edit a Report Schedule, click the Name of the schedule that you want to edit.
418
12. Reporting System B0193YB – Rev C
6. After you have completed your changes, click the Edit Schedule button to apply the
changes. The content of the page varies depending on the type of schedule that you
have defined.
Report Viewing
The Report View web pages allow you to run and view reports that have been defined in your
system.
419
B0193YB – Rev C 12. Reporting System
All reports that have been previously defined appear in the Reports list.
To Run a Report:
1. On the Report View page, click the Run button associated with the report that you
want to view. This displays the Report View - Run Report page.
420
12. Reporting System B0193YB – Rev C
2. The contents of the Run Report page will vary depending on the type of report that
you have defined.
3. After entering the required information, click the Run button.
The specific output for a report depends upon the configuration you defined. Run-
ning a report may result in an output to a browser window, a file on disk, a printer
device, and so on.
421
B0193YB – Rev C 12. Reporting System
To View a Report:
1. On the Report View page, click the View button associated with the report that you
want to view. This displays the View Report page.
All instances for the selected report that have been printed to a disk file are listed.
2. Identify the instance (as determined by Date/Time) and then click the corresponding
View button.
Report formats are defined when you configure a report and include: Crystal Report,
CSV, Excel, Text and Word.
NOTE
Viewing a report requires the installation of the appropriate application on the sys-
tem on which you are viewing.
Creating Reports
The reporting system provides a Batch Journal report template which consists of a comprehensive
journal of batch history for a specific batch. Other report templates are provided with the soft-
ware; however, they are not supported and should only be used as examples which you can use to
design your own custom templates.
422
12. Reporting System B0193YB – Rev C
423
B0193YB – Rev C 12. Reporting System
424
13. Process Logging
The Process Logging system captures data at periodic time intervals or based on the occurrence
of events, and then logs the data to a printer or to the history database for storage.
Use Process Log Editor to create Process Log Configurations and store them in the Process Log
Database. A Process Log Configuration consists of one or more groups of tags with each group
having its own logging criteria. The criteria specify how the groups of tags and their respective val-
ues are sampled and logged at run time by the Process Log Manager.
425
B0193YB – Rev C 13. Process Logging
Log Interval
The Log Interval defines the frequency of sampling for each tag in the group. The interval options
are On Event, 2 seconds, 5 seconds, 10 seconds, 30 seconds, 1 minute, 5 minutes, 15 minutes, 30
minutes, 1 hour, 2 hours, 4 hours, and 24 hours. If On Event is selected, a true/false Boolean
expression must be defined. The Expression Editor is used to create a true/false Boolean expres-
sion using any tag in the process model. Each time the expression is true, the data values for each
of the tags in the group are logged.
NOTE
Logging only takes place when the trigger and interval settings are satisfied. Also,
data is not logged when Process Log Manager is first started.
This example shows a simple Boolean expression that initiates logging whenever ReactorA is
allocated.
For more information on building expressions, see Chapter 15 “Expression Editor”.
Data Destination
The data destination defines where the logged data is directed during run-time execution. Data
can be logged to the Historian, a printer, or both.
426
13. Process Logging B0193YB – Rev C
Tags
Tags that are logged as part of the group are assigned from the Tag Selection window which is
accessed from the Process Logger Group Editor. All analog and discrete tags in the process model
database are available for selection. You can select as many tags as you want.
NOTE
If you modify a Process Log Configuration that is in use by the run-time system,
you should stop and then restart the Process Log Manager so that your changes take
effect.
File Menu
Use the File menu to access system functions for your process log configurations.
File/New
Use the File/New command to create a new process log configuration.
427
B0193YB – Rev C 13. Process Logging
NOTE
If you edit a configuration and do not save it, you are prompted to save or discard it
prior to the creation of a new configuration.
File/Open
Use the File/Open command to open an existing process log configuration.
To Open a Configuration:
1. On the menu bar, click File and select Open.
2. The Configurations window appears.
NOTE
If you edit a configuration and do not save it, you are prompted to save or discard it
prior to opening a different one.
3. From the Configurations window, select the configuration that you want to open.
4. Click Open.
File/Save
Use the File/Save command to save a process log configuration.
To Save a Configuration:
1. On the menu bar, click File and select Save.
2. The Configurations window appears.
428
13. Process Logging B0193YB – Rev C
NOTE
The save option is unavailable if you have opened a configuration but have not
made any changes.
File/Validate
Use the File/Validate command to validate a process log configuration. The validation process ver-
ifies that all tagnames assigned in the configuration are available in the process model.
To Validate a Configuration:
1. On the menu bar, click File and select Validate.
2. The Validate window appears. If the validation is successful, the window displays the
message “Process Log configuration is valid.” If the configuration contains errors, all
invalid tagnames are listed.
File/Delete
Use the File/Delete command to delete a process log configuration from the database.
To Delete a Configuration:
1. On the menu bar, click File and select Delete.
2. The Delete window appears, requiring you to confirm the deletion.
NOTE
When you delete a process log configuration, it is removed from the database. How-
ever, Process Log Editor still displays the Configuration Name and Description of
the deleted configuration. To clear these fields, you must use the File/New
command.
File/Print
Use the File/Print command to select from one or more pre-formatted reports, and then print the
process log configuration. The print window also provides standard Windows printer options.
To Print a Configuration:
1. On the menu bar, click File and select Print.
2. The Print window appears.
429
B0193YB – Rev C 13. Process Logging
NOTE
If you want to print several reports, press and hold the control or shift key, while
selecting from the list with the left mouse button.
File/Print Preview
Use the File/Print Preview command to select one or more formatted reports, and then view the
report(s) on the screen.
430
13. Process Logging B0193YB – Rev C
NOTE
If you want to preview several reports, press and hold the Control or Shift key, while
selecting from the list with the left mouse button.
File/Print Setup
Use the File/Print Setup command to select and configure a printer. Refer to your printer manu-
facturer’s documentation for more information.
File/Exit
Use the File/Exit command to close the Process Log Editor.
NOTE
If you edit a configuration and do not save it, you are prompted to save or discard
the changes prior to closing the Process Log Editor.
Edit Menu
Use the Edit menu to access system functions to define the criteria for your process log
configuration.
431
B0193YB – Rev C 13. Process Logging
Edit/Groups
Use the Edit/Groups menu to define the criteria for your process log configurations. For each
group that you define, you must configure the general logging criteria and tags. General logging
criteria consists of configuring a Log Trigger, Log Interval, and a destination for the logged data.
The tags that are available for selection are those that exist in the process model.
For more information on configuring logging criteria, see “General Logging Criteria” on
page 425.
For more information on creating Process Log Groups, see “Creating a Process Log Group” below.
432
13. Process Logging B0193YB – Rev C
4. Enter a Group Name, Name (16-char max) and an optional Description (120-char
max).
5. Click Add.
6. The Group Name that you entered appears in the Process Logger Group Editor
Group Names list.
NOTE
All Group Names are verified for uniqueness when you click Add or Change.
433
B0193YB – Rev C 13. Process Logging
When you select the On Event option, you must also provide an expression, using the
Expression Editor, for the event.
2. Click the Expression button to open the Expression Editor.
3. Enter an expression. In this example, the Boolean expression,
{ReactorA---BATSZ.Value}>1000, initiates logging when the batch size in ReactorA is
greater than 1000.
434
13. Process Logging B0193YB – Rev C
2. If you want to log process data to a printer, enable the Printer checkbox in the Pro-
cess Logger Group Editor window and then click the Printer button.
The Printer Selection dialog box appears.
3. Select the printer that you want from the list and then click OK.
To Select Tags:
1. On the Process Logger Group Editor, click Select Tags.
2. The Tag Selection window appears.
435
B0193YB – Rev C 13. Process Logging
3. From the list, select the tags that you want to include in the process log.
NOTE
You can sort the list by clicking a column heading. For example, to sort the list by
parameter, click the Parameter heading. If you want to select multiple tags, press
and hold the Control or Shift key, while selecting from the list.
4. Click OK.
5. The Tag Selection window closes and the tags that you selected appear in the Process
Logger Group Editor.
436
13. Process Logging B0193YB – Rev C
NOTE
If you have not entered a Configuration name, you are prompted to do so. If you
have made changes to an existing configuration, you are prompted to overwrite the
configuration. If you have not made any changes to the configuration, the Save
option is unavailable.
437
B0193YB – Rev C 13. Process Logging
! WARNING
If you stop the Process Log Manager while it is in the process of logging data at a
fast interval, or if there is batch activity that results in data logging, data loss can
result. It is strongly recommended that you only stop Process Log Manager when
logging activity is minimal.
NOTE
If a batch is not active within the unit or connection, the value is not logged.
438
14. Security System
The Security System provides a high level of protection for all recipe and batch management
applications, functions, operator stations, and products. System design is open and completely
configurable allowing external applications to be easily interfaced
Configuration of the system consists of defining system security parameters, security levels, opera-
tor stations, user accounts, application access security levels, and application function security
levels.
The security system consists of the Security Editor, Security Manager, and a Security Application
Program Interface (API).
The Security Editor is used to edit the system security configuration. All of the batch manage-
ment system applications and functions are provided with the system.
All applications utilize the Security API when security clearance is required. When needed, the
application prompts the operator for an ID and password. The information is compiled into a
security request message and sent to the Security Manager along with the application and/or func-
tion name, the operator station from where the request was made, and if applicable, the recipe
identification code. The Security Manager compares the security request with the information
defined in the security database and returns an OK or NOT OK result to the application making
the request. The application acts on the result accordingly.
439
B0193YB – Rev C 14. Security System
440
14. Security System B0193YB – Rev C
NOTE
If security has been enabled for accessing Security Editor, the Security Clearance
Request window is displayed and you are prompted to enter a valid User ID and
Password.
441
B0193YB – Rev C 14. Security System
File Menu
Use the Security Editor File menu to access system functions for Security Editor.
File/Validate
Use this command to validate security configuration. Validation consists of verifying that all the
recipes assigned to users exist in the recipe database and that the Password Timeout and Password
Reuse values are non-negative.
If the validation is successful, the validation window indicates that the configuration is valid. If
validation errors exist, the associated tags are displayed along with a validation error message.
File/Print
Use this command to display the Print window.
Use the Select Reports list box to select one or more formatted reports.
File/Print Preview
Use this command to display the Select Reports window. You can select the report(s) that you
want and then preview them on the screen.
442
14. Security System B0193YB – Rev C
File/Print Setup
Use this command to set up your printer devices. Refer to your Windows documentation for
more information.
File/Exit
Use this command to close Security Editor.
NOTE
All your work is saved in the security database as you edit and make changes to the
security configuration.
Edit Menu
Use the Security Editor Edit menu to access security configuration windows.
Edit/Security Levels
Use this command to access the Security Levels Editor.
Edit/Operator Stations
Use this command to access the Operator Stations Editor.
Edit/User Accounts
Use this command to access the User Accounts Editor.
Edit/Applications-Functions
Use this command to access the Applications-Functions Editor.
Help Menu
Use the Security Editor Help menu to display online Help and view version information for
Security Editor.
443
B0193YB – Rev C 14. Security System
Help/Help Topics
Use this command to display online Help for Security Editor.
Security Enabled
Use the Security Enabled checkbox to enable or disable the entire security system. Disabling the
system may be desirable during startup or when maintenance on the process is required.
Retries
The Retries entry is associated with the number of requests a user is permitted to attempt in order
to obtain a security clearance. If the number of retries is exceeded, an error message is displayed
and access is denied. For example, if the retries value is set to 2, the error message is displayed
following the third invalid entry. If desired, the operator may immediately re-attempt to obtain
security clearance.
Password Time-out
The Password Time-out specifies the time period, in days, that a password is valid. Any passwords
older than the set period automatically expires. After a time-out, you are required to enter your
old User ID and Password before security clearance is granted. You are then required to change
your password when security clearance is requested
Password Reuse
The Password Reuse specifies the time period, in days, which must pass before a password can be
re-used. This feature prevents operators from repeatedly using the same password.
Comment
This optional field can be used to document or comment on the security system configuration.
Security Levels
Use the Security Levels Editor window to add, delete, and change security levels in the system.
Security level names are verified to ensure uniqueness. New security levels can be added to the
security system at any time. There is no restriction placed on the number of security levels that
you can assign.
444
14. Security System B0193YB – Rev C
NOTE
When a security level is deleted, all users that are assigned that level have their secu-
rity level assignment deleted. If a user does not have a security level, the user is not
able to obtain security clearance.
Operator Stations
The Operator Stations Editor dialog box is used to add, delete, and change operator stations in
the system.
445
B0193YB – Rev C 14. Security System
New operator stations can be added to the security system at any time, and there is no limit to the
number of stations that can be defined.
An operator station can be any computer that is a part of your system. The name defined for the
Batch Server or a Batch Configuration Client corresponds to the network host name assigned to
the node. The name defined for the Batch Runtime Client corresponds to the Client Type
Instance.
NOTE
Both the network host name and the client type instance name must be defined for
nodes that function as both a batch server and a run-time client.
User Accounts
Use the User Accounts window to add, delete, and change users in the system.
446
14. Security System B0193YB – Rev C
User account names are verified to ensure uniqueness. New users can be added to the security sys-
tem at any time, and there is no limit to the number of user accounts that can be defined.
You can assign passwords to a user and select specific recipes and operator stations on which the
operator is authorized. These account configuration options are described in the following
section.
447
B0193YB – Rev C 14. Security System
Security Level
Security Levels typically define a user’s job function, such as Operator, Supervisor, Lab Techni-
cian, Mixer Operator, Boiler Operator, Control Engineer.
Assign security levels by clicking the Security Level button.
Password
A password can be assigned to a user be selecting the Password button. A password must contain
between 6 and 12 characters.
Because the combination of user ID and password is always unique in the system, duplicate pass-
words are permitted. Passwords expire when the Password Timeout period defined for the system
is reached. User passwords are independently maintained.
If an invalid password is entered or the new and verified passwords are not the same, an error mes-
sage is displayed.
All passwords in the system are stored and transmitted in an encrypted format.
448
14. Security System B0193YB – Rev C
Recipes
Use the Recipe Access window to assign recipes to a user. You can assign as many recipes to a user
as required. If you do not want an operator to have recipe access, you do not have to grant it.
Recipe assignments provide protection against operators working on products for which they have
not been trained.
Recipes can be assigned to a user by selecting the Recipes button.
All recipes that have been approved for production or approved for test in the Recipe Editor are
available for assignment. In addition, all recipes can be assigned by enabling the All Recipe Access
checkbox.
NOTE
Security for the Delete Recipe Function does not restrict you to a specific number
of recipes to access when the recipe access list is intended to be restricted. This
allows you to delete any recipe in the list, not just the ones to which you are
restricted. RecipeEdit does not use Security Editor's list of recipes assigned to a user.
Recipes that are available for configuration in the Security Editor restrict run-time
access only. That is, the configuration that you are changing is applicable when the
listed recipes are executed as part of a batch. There is no real correlation between
recipe definition in the Security Editor and the Recipe Editor. To more appropri-
ately manage these types of requirements, you may want to configure each user's
security model, that is, the definition and configuration of users, levels, operator
stations, and so forth. When you are setting up the accounts, you can configure
each for unauthorized recipe deletion, saving, and so forth.
Operator Stations
Use the Operator Stations window to assign specific operator stations to users. You can assign as
many operator stations to a user as required. If you do not want an operator to have access to an
operator station, you do not have to grant it. Operator station assignments provide protection
449
B0193YB – Rev C 14. Security System
against operators working at operator stations for which they have not been trained or should not
have access.
Operator stations can be assigned to a user by selecting the Op Stations button.
All operator stations that have been defined using the Operator Stations Editor are available. You
can assign all stations by enabling the All Station Access checkbox.
Applications-Functions
Use the Applications-Functions Editor to add, delete, and change applications or functions
defined for an application, assign security levels to restrict access to applications, and assign secu-
rity levels required for the Done-By and Check-By functions. A description of the applications
and their associated functions is described later in this section.
450
14. Security System B0193YB – Rev C
NOTE
When designing a new application, make sure that you use the same application ID
when making security clearance requests through the Security API.
451
B0193YB – Rev C 14. Security System
The Security system is provided with the standard batch management system applications. Each
application has a pre-defined ID and name. The ID is used whenever a security clearance request
is sent to the Security Manager. The default application ID and name cannot be changed. If the
ID and/or name information is altered, an error message is displayed.
All security levels that have been defined in the Security Levels Editor are available.
NOTE
To properly enable security, you must enable the checkbox in the Applications-
Functions Editor and define at least one level of security access.
! WARNING
There is one exception to defining application security. You cannot enable security
for a Batch Client application. This application is the basis for all Batch Display and
Batch Scheduler security. Security may be configured for any or all of the functions
defined for a Batch Client, but not for the application itself. If security is defined
for the Batch Client application, none of its functions pass a security request.
452
14. Security System B0193YB – Rev C
NOTE
When designing a new function, make sure to use the same application ID when
making security clearance requests through the Security API.
The Security system is provided with a standard set of appropriate functions for each Batch
management system application. Each function has a pre-defined ID and name. The ID is used
whenever a security clearance request is sent to the Security Manager. The default function ID
and name cannot be changed. If the ID and/or name information is altered, an error message is
displayed.
NOTE
Security is not enabled unless the appropriate checkbox has been set and one or
more Done By security levels have been defined. Also, Checked By security is not
enabled unless there is also Done By security defined. If the Done By security levels
are removed and there are Checked By security levels assigned, an error message is
displayed notifying the user that Done By levels cannot be removed. Finally, secu-
rity can be enabled for functions even if security is not enabled for the parent appli-
cation.
Application-Function Descriptions
The following table describes the available Applications (default) and the associated (default)
Function descriptions for each. The Function Names and Descriptions shown in the table can be
edited as required for your application.
453
B0193YB – Rev C 14. Security System
454
14. Security System B0193YB – Rev C
Run-time Security
The run-time Security system interfaces with the Security database and the Security API to permit
or deny requests for security clearance that are received from the batch control applications.
Changing Passwords
Use the Change Password (ChgPwd) window to change user passwords whenever required.
455
B0193YB – Rev C 14. Security System
The window prompts you for User ID, Current Password, New Password, and to Verify Password.
If all of the information has been entered correctly, the you have successfully changed your
password.
If an invalid user identification or current password is entered or the new and verified passwords
are not the same, an error message displays.
You must enter your User ID and Password. If you are permitted to access the application, the
application starts when OK is clicked.
If you are not permitted to access the application, an error message is displayed notifying you that
permission has been denied. The error message also provides the reason that access was denied.
If your password has not yet been defined or the password has expired, the New Password window
is displayed. This requires you to enter your current User ID and Password, and then enter and
verify a new password.
456
14. Security System B0193YB – Rev C
Manager displays the Done By (or Check By) Security Clearance Request window.
You must enter your User ID and Password. If you are permitted to perform or verify the func-
tion, the function executes when OK is clicked.
If you are not permitted to access the function, an error message is displayed notifying you that
permission has been denied. The error message also provides the reason that access was denied.
If your password has not yet been defined or the password has expired, the you are required to
enter a User ID and Password as explained earlier in this section.
NOTE
When a user-defined application or function is executed, the code for the applica-
tion and/or function must transmit the required security request to the Security
Manager through the Security API. As with the default applications and function,
you must enter your ID number and password. If you are permitted to use the
application or function, it is performed. If you are not permitted to access the
application or function, one of the above error messages displays notifying you that
permission has been denied.
457
B0193YB – Rev C 14. Security System
458
15. Expression Editor
This chapter describes how to use the Expression Editor to construct logical expressions that are
used in the Recipe Editor, Report Editor, and Process Log Editor.
Expressions consist of mathematical operators (+,-...) and/or operands (tags, constants...). For
each application, the expression normally returns a logical true or false result. It is possible to
assign values to tags under certain circumstances in the Expression Editor, but caution must be
used.
Expressions are entered when recipes or other configurations are defined. Expressions are stored as
part of the configuration. Each application uses the Expression Editor for different reasons. The
Recipe Editor uses the Expression Editor to construct true/false Boolean expressions for transition
logic and loop-back logic. The Process Log Editor uses the Expression Editor for defining a Log
Trigger and a Log Interval. In all cases, the Expression Editor functionality is the same.
Editing an Expression
Expressions are defined in the Edit Area. The Edit Area functions similarly to a word processor.
All entries are automatically inserted to the right of the cursor. Therefore, each time a numeric
key, operand, or delimiter key is selected, the character is inserted. Your computer keyboard can
also be used to enter an expression.
After the expression is completed, click OK or Apply to save the expression to the target object. If
the expression is not valid, an error message is displayed indicating the nature of the error and that
the cursor is positioned near or immediately after the error.
459
B0193YB – Rev C 15. Expression Editor
Formatting Numeric
Commands Edit Area Keypad Operators Delimiters
Edit Buttons
The formatting commands (Space, Back Space, New Line, Tab, Store, Recall, Clear, and Reset)
are available to assist you in constructing expressions. The Store and Recall are two buttons that
are especially helpful for reusing expressions.
Whenever the Store button is selected, the expression displayed in the Edit Area is stored. The
Recall button is used to retrieve and redisplay the stored expression. This feature is extremely
helpful when there are several expressions that are similar. The Store and Recall buttons are used
as follows.
1. After completing the first expression, save the expression to the target object (for
example, a recipe transition object or a report expression trigger) by clicking Apply,
and then clicking Store to store the expression.
2. Next, select the new target object. The Edit Area is now clear.
3. Click Recall to retrieve the expression.
4. Modify the expression as needed, then Apply the expression to the new object.
460
15. Expression Editor B0193YB – Rev C
Tag operands and functions can be entered by typing them in or they can be automatically
inserted into the expression using the selection dialog box. The details of each operand and func-
tion are described in the following pages.
To Insert a Function:
1. Click inside the Edit Area at the desired position.
2. Click Functions. The Functions window appears.
3. Select the desired function. This inserts the function, with the appropriate delimiters,
into the Edit Area.
Expression Elements
The following sections describe, in detail, the elements available for constructing expressions.
Operators
An operator is a symbol used to manipulate the value of one or more operands. Below is a list of
valid operators from highest precedence to lowest.
461
B0193YB – Rev C 15. Expression Editor
Operands
Operands can be of type Boolean (True or False; also referred to as Discrete), Numeric (any posi-
tive or negative number) and String (alpha-numeric string of any length). Below is a list of valid
operands.
Functions
There are seven functions currently available. All functions are available in the Recipe Editor.
However, only the Not function is available in the Process Log Editor applications.
462
15. Expression Editor B0193YB – Rev C
Delimiters
There are five delimiters that are used to identify operands and to build expressions within expres-
sions (recursive expressions).
Table 15-4. Delimiters
463
B0193YB – Rev C 15. Expression Editor
4. Add, Subtract, Multiply, and Divide are valid only when used with numeric
operands.
5. Modulus can only be used with numeric integer values.
6. Less Than, Greater Than, Less Than or Equal To, Greater Than or Equal To, Equal
To, and Not Equal To are valid only when evaluating non-Boolean operands and/or
expressions that have a non-Boolean result.
7. AND and OR operators are only valid when evaluating Boolean operands and/or
expressions that have a Boolean result.
8. Tag assignments can be made but require a special format so that the overall expres-
sion results in a Boolean value. Assignment expressions must be defined with the fol-
lowing format. Examples of tag assignment expressions are provided later in this
chapter.
({Tag}:=Value)=1
9. Equipment must be allocated for tags to work properly in an expression.
! WARNING
Tag assignments can be constructed in the Expression Editor. However, caution
must be used in defining these expressions. Only tags with an Access of Read/Write
can be used in an assignment expression. Attempting to create assignment expres-
sions using read-only tags results in run-time errors.
Expression Examples
The following tags are used in the examples listed below.
The following examples are included to illustrate the types of expressions that can be created as
well as expressions that are invalid.
464
15. Expression Editor B0193YB – Rev C
465
B0193YB – Rev C 15. Expression Editor
466
16. Phase Logic Development and
Testing
This section is intended to provide the control engineer with information on how to design and
test phase logic blocks. A phase block testing tool is provided and is described later in this
section.
NOTE
This information is written in a very generic manner in order to address the overall
use of phase logic, and is intended to be used strictly as a guide. The concepts can
be applied regardless of the control system in which the phases are being written.
The batch management system controls and monitors the execution of batches through equip-
ment phases. A phase is an independent processing action that can reside in the server or client
platform, a PLC, an I/A Series Control Processor, an I/A Series AW or other control system used
to evaluate logic and/or interface with manufacturing equipment. Even though phases can reside
in many different locations, the interface between the batch management system and the phase is
the same and must follow certain guidelines.
For more information on implementing unit and phase logic in I/A Series Control Suite refer to
Chapter 6 “Tag Management” of this User's Guide.
467
B0193YB – Rev C 16. Phase Logic Development and Testing
468
16. Phase Logic Development and Testing B0193YB – Rev C
469
B0193YB – Rev C 16. Phase Logic Development and Testing
470
16. Phase Logic Development and Testing B0193YB – Rev C
♦ Most control systems have different types of memory that correspond to different
aspects of the overall program.
♦ The most sophisticated control systems allow the memory to be configured by the
user.
♦ There exists a finite number of analog and discrete memory available within each con-
trol system.
♦ There is a limit to the number of inputs and outputs a certain control system is capa-
ble of supporting.
Phase Block
A template has been created to assist in the structuring of a phase block. As can be seen from the
diagram on the following page, the phase block code consists of six sections. This diagram shows
471
B0193YB – Rev C 16. Phase Logic Development and Testing
the components in a distinct order. This order is recommended for sequential processing control
systems. For control systems that are capable of parallel processing, the flow of information is
different.
♦ Phase Control
This section of the phase block handles the manipulation of the phase control bits
needed to operate the phase logic. The batch management system enables the appro-
priate control word within the control system associated with a particular phase block.
The phase logic must be written to interpret this word and resolve the individual con-
trol bits of the word to the start, restart, hold, abort, and reset commands. It is recom-
mended that the phase logic reset the control word so that the next requested function
can be recognized. Thus, the control bits are essentially one-shot commands. This sec-
tion must be included for every automatic and semi-automatic phase block.
♦ Control Buttons
The section of the phase block corresponding to the control buttons is constructed
similarly to the phase control section. The batch management system enables any
defined control buttons in the control system, and the control system interprets the
control button request and performs the appropriate function. This section can be
used in automatic, semi-automatic, and manual phases, but is optional and depends
on the function of the phase.
♦ Interlocks
The interlock section of the phase block defines only the specific interlock conditions
associated with that phase block. Each interlock condition is assigned to a discrete
memory point and to a tag if the batch control system is to display the interlocks to
the user. This section appears only if there are specific interlocks associated with the
phase block.
♦ Alarms
The alarm section handles all error conditions specifically associated with the phase
block. All alarms appropriate to the phase are placed in parallel with each other to
engage a single discrete point that is used through the remainder of the phase logic to
affect the operation of the block. This section appears only if there are alarms
associated with the phase block.
♦ Phase Status
The phase status section includes the logic necessary to place the phase block into any
one of the possible status modes. The possible phase status values are ready, run, held,
done, interlocked, and aborted. Only one of these modes may be enabled at any time.
When all status control logic has been evaluated, the results are transferred to the
phase block status word that is monitored by the batch management system. This sec-
tion must be included for every automatic and semi-automatic phase block.
♦ Functional Logic
The remainder of the phase block is used to write the logic that is necessary to per-
form the required process or transfer action. This section varies in size and complexity
depending on the phase block operation, and contains the computational,
comparison, and timing functions required by the phase block. This section also
includes code that is associated with any formula parameters that may be assigned to
the phase block, as well as logic necessary to energize process outputs.
472
16. Phase Logic Development and Testing B0193YB – Rev C
Complete Program
A template has been created to assist in the structuring of the complete control system program
structure. As can be seen from Figure 16-4, the complete program consists of multiple sections
depending on the complexity of the system. Also, the control system code is structured in a man-
ner similar to the batch control system process model. The diagram shows the components in a
distinct order. This order is recommended for sequential processing control systems. For control
systems that are capable of parallel processing, the flow of information is different.
♦ Processes
Each defined process in the process model has a corresponding process section in the
control system program. The code for this section is located between any transfer
classes defined in the model that use this process class. Within each process section is
the control logic for the units associated with the process in the model.
♦ Units
Within each process section of the control system program is the logic corresponding
to the units defined for the process class in the process model. Within each of these
units, there exists the control system code for all phases defined for the unit.
♦ Transfers
Each defined transfer in the process model has a corresponding transfer section in the
control system program. This section is located just prior to the transfer’s destination
process class section of the control system program. Within each transfer section are
the connections associated with the transfer in the model.
♦ Connections
Within each transfer section of the control system program is the logic corresponding
to the connections defined for the transfer class in the process model. Within each of
473
B0193YB – Rev C 16. Phase Logic Development and Testing
these connections, there exists the control system code for all phases defined for the
connection.
♦ Phases
The control system code for the phase blocks assigned to each of the defined units and
connections appears after the appropriate unit or connection section of the program.
The number of phase blocks varies with the sophistication of the system.
♦ Unit Control and Status Words
The code for the unit control and status words is typically kept together in one section
of the program. This code receives all relevant batch hold, restart, and abort com-
mands from the batch control system and performs the requested action on each of
the phases associated with this unit.
♦ System alarms
All logic generating control system alarms appear in one section of the program. The
specific alarms can then be referenced in the various phase logic to affect the operation
of a phase as desired.
♦ System Outputs
All logic required to exercise the control system outputs are contained in one section
of the program. This logic contains references from the phase logic necessary to
manipulate the outputs. Also, any manual device operation logic is present in this
section.
474
16. Phase Logic Development and Testing B0193YB – Rev C
Unit Control
The batch control system transmits its batch requests to the control system through a series of tags
that are mapped to the memory of the control system. One group of these requests is for handling
the unit control commands. The control bits used for each unit are hold, restart, and abort. When
the batch control system desires to alter the status of a recipe, it writes to a tag in the control sys-
tem that corresponds to the particular unit control bit. Similar to the phase control bits, these
commands are typically packed into a word in order to maximize control system memory. In the
control system program, the unit control word can be monitored continuously or upon a change
of status. Each of the commands is read as a one-shot action, and only one request is transmitted
475
B0193YB – Rev C 16. Phase Logic Development and Testing
at a time. The particular control bits are utilized within each phase block associated with the par-
ticular unit and the phase operation responds accordingly. Transfer phases that utilize a unit that is
being placed on hold act according to customer specifications. Usually, when the unit is the source
of the transfer, the phase holds, and when the unit is the destination of the transfer, the phase con-
tinues to completion. It is recommended that the control system also contain unit status bits.
These status bits are not monitored by the batch management system, but are very useful within
the operation of the control system program. The defined unit control bits and recommended
unit status bits are described in this section.
The batch control system provides an enhanced Unit Control option which consists of two Hold
Propagation modes that can be used to propagate a phase Hold during batch execution. These
Hold Propagation modes are described later in this section.
♦ Hold
The unit hold command is enabled by the batch management system for all units that
are booked when a batch hold command is executed. The phase blocks associated
with the unit respond according to the user specification. When the unit hold bit is
enabled, none of the remaining unit control bits is set.
♦ Restart
The unit restart command is enabled by the batch management system for all units
that are booked when a batch restart command is executed. The phase blocks associ-
ated with the unit respond according to the user specification. When the unit restart
bit is enabled, none of the remaining unit control bits is set.
♦ Abort
The unit abort command is enabled by the batch management system for all units
that are booked when a batch abort command is executed. The phase blocks associ-
ated with the unit respond according to the user specification. When the unit abort
bit is enabled, none of the remaining unit control bits is set.
♦ Ready
The ready bit is an optional status value that can be generated and used within the
control system to keep track of the status of a particular unit. Generally, the ready sta-
tus bit is set when there is no execution of any of the phase blocks associated with the
unit and all phases have been reset and are ready for execution. When the ready status
control relay is enabled, none of the remaining unit status bits should be set. This sta-
tus bit is only used within the control system program, and is not monitored by batch
control system.
♦ Run
The run bit is an optional status value that can be generated and used within the con-
trol system to keep track of the status of a particular unit. Generally, the run status bit
is set when any of the phase blocks associated with the unit have been started and
everything in the phase blocks is executing normally. When the run status control
relay is enabled, none of the remaining unit status bits should be set. This status bit is
only used within the control system program, and is not monitored by batch control
system.
♦ Held
The held bit is an optional status value that can be generated and used within the con-
trol system to keep track of the status of a particular unit. Generally, the held status bit
476
16. Phase Logic Development and Testing B0193YB – Rev C
is enabled only after the unit hold bit has been received from the batch management
system. When the held status control relay is enabled, none of the remaining unit sta-
tus bits should be set. This status bit is only used within the control system program,
and is not monitored by batch control system.
♦ Aborted
The aborted bit is an optional status value that can be generated and used within the
control system to keep track of the status of a particular unit. Generally, the aborted
status bit is set only after the unit abort bit has been received from batch management
system. When the aborted status control relay is enabled, none of the remaining unit
status bits should be set. This status bit is only used within the control system pro-
gram, and is not monitored by batch control system.
Hold Propagation
I/A Series Batch provides two Hold Propagation modes which can be used to propagate a phase
Hold during batch execution. Hold mode functionality is enhanced when you use the Unit Con-
trol option since the Unit State is included in the unit control logic. A brief description of the
Hold modes is described below. For more information on Hold Propagation and enabling the
Unit Control option, see Chapter 10 “Batch Management System”.
Mode 1
The Batch Manager sets the Unit Hold tags whenever an operator puts a batch in Hold and con-
trol system logic is responsible for putting all its phases in Hold. Using this mode, if a unit or
phase goes to Held state, no action is taken by the Batch Manager.
Mode 2
The Batch Manager monitors all phases and if any phase goes to Held state or if the operator puts
the batch in Held state then all other phases associated with the batch are issued a Hold
command.
Phase Control
The batch control system transmits its phase requests to the control system through a series of tags
that are mapped to the memory of the control system. One group of these requests is for handling
the phase control commands. The control bits available for each phase are start, hold, restart,
abort, and reset. Only the start and reset bits are required. When the batch control system desires
to alter the status of a phase block, it writes to a tag in the control system that corresponds to the
particular phase control bit. These commands are typically packed into a word in order to maxi-
mize control system memory. In the phase logic, the phase control word can be monitored contin-
uously or upon a change of status. Each of the commands is read as a one-shot action, and only
one request is transmitted at a time. The particular control bits are utilized within the phase
block, and the phase operation responds accordingly.
The phase control bits are described below.
♦ Start
The phase start command is enabled by the batch management system for a phase as it
is encountered in a batch. Generally, the start command begins the execution of the
requested phase and puts the phase status in the run mode. When the phase start bit is
enabled, none of the remaining phase control bits is set. Finally, the batch manage-
477
B0193YB – Rev C 16. Phase Logic Development and Testing
ment system cannot send a request to start a phase block unless the phase block status
is in the ready mode.
♦ Hold
The phase hold command is enabled by the batch management system for a phase
whenever the hold command button is selected. Generally, the hold command sus-
pends the execution of the particular phase. When the phase hold bit is enabled, none
of the remaining phase control bits is set. Finally, the batch management system can-
not send a request to hold a phase block unless the phase block status is in the run
mode.
♦ Restart
The phase restart command is enabled by the batch management system for a phase
whenever the restart command button is selected. Generally, the restart command
resumes the execution of the requested phase, and returns the status of the phase block
to the run mode. When the phase restart bit is enabled, none of the remaining phase
control bits is set. Finally, the batch management system cannot send a request to
restart a phase block unless the phase block status is in the held mode.
♦ Abort
The phase abort command is enabled by the batch management system for a phase
whenever the abort command button is selected. Generally, the abort command ends
the execution of the requested phase and puts the phase status in the aborted mode.
When the phase abort bit is enabled, none of the remaining phase control bits is set.
Finally, the batch management system cannot send a request to abort a phase block
unless the phase block status is in the held mode.
♦ Reset
The phase reset command is enabled by the batch management system for a phase
whenever the phase has completed normally or been aborted. Generally, the reset
command returns all phase logic to its original state and puts the phase status in the
Ready mode. When the phase reset bit is enabled, none of the remaining phase con-
trol bits is set. Finally, the batch management system cannot send a request to reset a
phase block unless the phase block status is in either the done or aborted mode.
Phase Status
The batch control system recognizes the current status of a phase block through a series of tags
that are mapped to the memory of the control system. One group of these requests is for monitor-
ing the status of each phase. The status bits available for each phase are ready, run, held, done,
interlocked, and aborted. Only the ready and done bits are required. When the phase block status
changes, either via the phase logic or from a request from the batch management system, the
phase status word is set accordingly. In the phase block, the phase status word can be continuously
written or written only when the status changes. When a phase status changes in the control sys-
tem, the bit associated with that status in the phase status word is altered. All phase status changes
must be transmitted to the batch management system through the phase status word. It is
required that the phase block be in only one status mode at a time. The phase status bits are
described below.
♦ Ready
478
16. Phase Logic Development and Testing B0193YB – Rev C
The ready status bit is enabled by the control system for all phases ready to run. Gen-
erally, the ready status bit is set when there is no execution of the phase block and
everything in the block has been reset and is ready for execution. When the ready sta-
tus bit is enabled, none of the remaining phase status bits can be set. Finally, the batch
management system cannot send a request to start a phase block unless the phase
block status is in the ready mode.
♦ Run
The run status bit is enabled by the control system for all executing phases. Generally,
the run status bit is set when the phase block has been started or restarted and every-
thing in the block is executing normally. When the run status bit is enabled, none of
the remaining phase status bits can be set. Finally, the batch management system can-
not send a request to hold a phase block unless the phase block status is in the run
mode.
♦ Held
The held status bit is enabled by the control system for all phases that have been put
on hold either by the batch management system or from the occurrence of a critical
alarm. Generally, the phase logic freezes the current operation in progress, and places
the block in the held mode. However, the actual operation of the phase logic while in
the held mode is application specific. When the held status bit is enabled, none of the
remaining phase status bits can be set. Finally, the batch management system cannot
send a request to restart or abort a phase block unless the phase block status is in the
held mode.
♦ Done
The done status bit is enabled by the control system for all phases that have finished
their execution. When the done status bit is enabled, none of the remaining phase sta-
tus bits may be set. Finally, the batch management system cannot send a request to
reset a phase block unless the phase block status is in the done or, as seen below, the
aborted mode.
♦ Interlocked
The interlocked status bit is enabled by the control system for all phases in which a
condition prevents their safe execution. Generally, the interlocked status bit is set
before the start of execution of the phase block. The interlocked status represents a
condition of the process which prevents proper operation of the phase block. When
the interlocked status bit is enabled, none of the remaining phase status bits can be
set. Finally, the batch management system cannot send a request to start a phase block
if the phase block status is in the interlocked mode.
♦ Aborted
The aborted status bit is enabled by the control system for all phases that have been
aborted. The only way this bit can be turned on is by placing the phase block on hold
and then selecting the abort option. Therefore, it is impossible to abort a phase with-
out first placing the phase in hold. When the aborted status bit is enabled, none of the
remaining phase status bits can be set. Finally, the batch management system cannot
send a request to reset a phase block unless the phase block status is in the Aborted or
Done mode.
479
B0193YB – Rev C 16. Phase Logic Development and Testing
Formula Parameters
The phase block parameters correspond to the temperatures, times, speeds, rates, quantities, and
alarm settings configured in a particular formula for a recipe in the batch control system. The for-
mula parameters are downloaded to the control system just prior to the phase start command.
The control system receives the desired values and returns any corresponding actual values. Phase
blocks can have no parameters, or they can have many parameters.
Parameter Types
There are three types of parameters: Input, Output, and Process Variable.
Input parameters are used to define and monitor the addition (input) of a material to a batch. A
common Input parameter is Quantity.
Output parameters are used to define and monitor the production (output) of a material from a
batch. A common Output parameter is Quantity.
Process Variable parameters are used to define how a phase should function when the phase is exe-
cuting. Common Process Variable parameters are Temperature, Speed, Flow Rate, Mix Time,
Cook Time, React Time, Hi-Hi Temp Alarm, Hi Temp Alarm, and Rate of Change Alarm.
480
16. Phase Logic Development and Testing B0193YB – Rev C
Low Deviation
Preact
Lot Code
Material ID
♦ Output Parameter Extensions
Target
Actual
Material ID
♦ Process Variable Extensions
Target
Actual
High Deviation
Low Deviation
High Limit
Low Limit.
481
B0193YB – Rev C 16. Phase Logic Development and Testing
♦ High Limit
The high limit extension is a batch control system configured value that corresponds
to the maximum value that can be entered in the recipe for a parameter target.
♦ Low Limit
The low limit extension is a batch control system configured value that corresponds to
the minimum value that can be entered in the recipe for a parameter target.
♦ Preact
The preact extension value corresponds to the addition of bulk ingredients, and it is
defined as the amount of an ingredient that is discharged from a source after the com-
mand has been given to stop the flow. An example of a preact would be the extra
quantity of an ingredient that is being fed to a scale from a conveyor. When the
desired weight is reached and the conveyor is turned off, there remains some extra
quantity of the ingredient that falls from the conveyor to the scale. The quantity of
this extra amount of an ingredient is called the preact. Automatic adjustments of the
preact must be done in the control system.
♦ Lot Code
The lot code extension is a batch control system configured value that corresponds to
the lot code entered by the operator for an input material.
♦ Material ID
The material ID extension is a batch control system configured value that corresponds
to the identification code of the input or output material being moved by the opera-
tor. The material ID is assigned in the recipe, but may be changed by the operator.
Control Buttons
Each phase block may contain two control buttons that are available for whatever functions the
phase block desires. These control buttons are operated from the batch control system display
screen and are transferred to the control system via tags that are associated with control system
memory locations. Examples of control buttons are the scale reset and tare buttons used during a
weighing operation.
Interlocks
Interlocks are conditional statements that are used to prevent the start of a particular phase block.
Phase blocks can have any number of interlocks, as well as share interlock conditions with multi-
ple phase blocks. The interlocks are found in the interlock section of the program corresponding
to the unit or connection with which they are associated. Usually, the interlocks correspond to an
output device. If a particular interlock condition exists, the respective interlock bit is set, the phase
status interlock bit is set, and the phase block is unable to be started. Interlock conditions must be
changed for the interlock to clear and the block to become ready. Also, interlock conditions are
disabled if the phase block is in operation. Some examples of phase block interlocks are listed
below.
♦ Reactor discharge valve open prevents the operation of any phase block that adds bulk
ingredients to the reactor.
♦ The level in a reactor must be a certain height before the agitator phase block can be
started.
482
16. Phase Logic Development and Testing B0193YB – Rev C
Alarms
Alarms are conditional statements that can be enabled at any time and can alter the status of a par-
ticular phase block. Phase blocks can have any number of alarms. The alarms are found in the
alarm section of the program corresponding to the unit or connection with which they are associ-
ated. Usually, the alarms correspond to an output device. There are usually two levels of severity
associated with alarms for a given set of conditions. One is an advisory alarm. This alarm may
require an acknowledgment by the operator. However, the advisory alarm does not require an
operator reset, and usually, the phase block does not require a restart command. The block opera-
tion continues as normal. The other alarm is a critical alarm. This alarm condition usually
requires the operator to acknowledge the alarm, reset the alarm, and restart the phase block. If a
particular alarm condition exists, the respective discrete memory location is enabled, the phase
block alarm is set, and if it is a critical alarm, the phase block status may be altered.
NOTE
It is recommended that, for the safety of process personnel, alarms are configured as
critical alarms whenever possible so that the phase block must be manually
restarted.
483
B0193YB – Rev C 16. Phase Logic Development and Testing
NOTE
The Phase Logic testing tool is not included in the Environment Display by default.
You must add the application using Environment Editor.
484
16. Phase Logic Development and Testing B0193YB – Rev C
File Menu
Use the Phase Logic testing tool File to access system functions for the Phase Logic testing tool.
File/Exit
Use this command to close the Phase Logic testing tool.
! WARNING
It is the responsibility of the user to end and reset all phases before exiting the Phase
Logic testing tool. If a phase is not properly reset, the batch management system is
unable to use that phase in a batch successfully.
Help Menu
Use the Phase Logic testing tool Help menu to access online help and information about product
version.
485
B0193YB – Rev C 16. Phase Logic Development and Testing
Help/Help Topics
Use this command to display Help for the Phase Logic testing tool.
Exercising Phases
A phase can be executed very easily from the Phase Logic testing tool. The following steps are nec-
essary to generate, export, refresh, and print a report.
1. Select the unit or connection that contains the phase that you want to execute from
the Units/Connections list.
The Phases list updates to show the process or transfer phases available for the
selected unit or connection.
2. Select the phase to be executed from the Phases list.
The Parameter list updates to show any formula parameters defined for the selected
phase.
NOTE
Phases are not required to have formula parameters.
3. To modify any formula parameter value, select the parameter extension in the
Parameter list, enter the new value in the text entry field, and select the Change
button.
The new formula parameter value is displayed in the Parameter list.
4. Use the buttons at the bottom of the window to send control signals to the phase.
The Status signals change to show the current state of the phase.
For more information on the handshaking between the phase control and status com-
mands, see “Operational Flow Chart” on page 469.
NOTE
It is very important to Reset each phase when the state of the phase is either Done
or Aborted.
5. Click the Interlocks button to view any interlock tags assigned to the phase.
The Interlocks window displays all interlock tags and their current values.
486
17. Tag Interface Management
(TIM) System
The Tag Interface Management (TIM) system is a tag based interface between the I/A Series
Batch and I/A Series Control system.
I/A Series Batch provides several ways a user can interact with the scheduling and execution of
batches. Another, more flexible, option is available that utilizes the Tag Interface Management
(TIM) system included with I/A Series Batch. The TIM system is designed to provide a tag based
interface to the functions available in the batch management system and security system.
The TIM system should be used if custom logic is required in the I/A Series Control system rela-
tive to interfacing with the I/A Series Batch Manager to:
♦ Manipulate the Batch Schedule
487
B0193YB – Rev C 17. Tag Interface Management (TIM) System
TIMMap File
The TIMMap file defines how TIM tags defined for each TIM node are mapped to the I/A Series
Control system. The TIMMap file is edited from the I/A Series Tag Link Editor and used by the
Link Editor and by the TIM Tag Shared Variable Utility.
488
17. Tag Interface Management (TIM) System B0193YB – Rev C
NOTE
It is possible, but not recommended, to combine both batch-centric and unit-
centric focusing within the same client. This requires extensive scripting using the
tags presented in this manual.
489
B0193YB – Rev C 17. Tag Interface Management (TIM) System
BT.SCHEDULE.SCHED_LIST.FIRST_ITEM
BT.SCHEDULE.SCHED_LIST.ITEM3
BT.SCHEDULE.SELECT.SCHED_ITEM
BT.SCHEDULE.SELECT.SCHED_BATCH BT.SCHEDULE.SELECT.SCHED_MODE
BT.SCHEDULE.SELECT.SCHED_LOT BT.SCHEDULE.SELECT.SCHED_RECIPEID
BT.SCHEDULE.SELECT.SCHED_CAMPAIGN BT.SCHEDULE.SELECT.SCHED_SIZE
BT.SCHEDULE.SCHED_LIST.NUM_ITEMS
BT.SCHEDULE.SELECT.SCHED_TRAIN
BT.SCHEDULE.COMM.HANDSHAKE
The .NUM_ITEMS tag value defines the number of items that are in the list. The value may
exceed the number of items that can be displayed using the .ITEM# tags. If the value is zero, there
are no entries in the list.
The .FIRST_ITEM tag value defines the item number to be displayed first in the list. Manipula-
tion of this value allows for paging up and down or scrolling up and down through the list.
The .ITEM# tags contain the data for the display lists. There are 16 item tags created for each list,
except for the Batch Function Interface, which has 99 tags.
The .SELECT. tag is used to select an item in the list. Whenever an item is selected and it is not in
the display list, the .FIRST_ITEM tag value is changed so that the selected item is brought into
view.
The .HANDSHAKE tag is used to communicate with the runtime TIM application. Values are
written to the .HANDSHAKE tag to perform the functions permitted with the list of data.
490
17. Tag Interface Management (TIM) System B0193YB – Rev C
on the client. Writing to TIM security tags is not required in this case. However, if an application
or function that is accessible by an operator requires security that has been added to the Security
system, there are TIM security tags that are used to verify that an operator is allowed to perform
the action. It is the responsibility of the client application to obtain the operator’s user identifica-
tion and password and apply them to the appropriate TIM security tags. If security is not required
for an action, the tags must be left blank. Two levels of security are available. The DoneBy level by
itself records who performed the action and requires the .DONEBY and .DONEBY_PWD tags
to be written. The DoneBy and CheckBy levels used together record who performed the action
and who verified the action was performed properly. This requires the .DONEBY,
.DONEBY_PWD, .CHECKBY, and .CHECKBY_PWD tags to be written. Refer to Chapter 14
“Security System” for more information on defining security.
NOTE
Caution must be exercised if any of the Batch Function Interface options is enabled.
Batch execution activity for all batches is suspended until client responses are
provided.
Tag Generation
The following table provides a summary of the tags generated for each Node instance if the TIM
interface option is enabled in the TIM Editor.
491
B0193YB – Rev C 17. Tag Interface Management (TIM) System
492
17. Tag Interface Management (TIM) System B0193YB – Rev C
493
B0193YB – Rev C 17. Tag Interface Management (TIM) System
494
17. Tag Interface Management (TIM) System B0193YB – Rev C
Value Mode
0 Automatic
1 Semi-Automatic
2 Manual
495
B0193YB – Rev C 17. Tag Interface Management (TIM) System
17. The following tags contain the specific train information corresponding to the
selected item from the list.
BT.SCHEDULE.SELECT.TRAIN_NAME - String tag containing the selected Train
Name.
18. The BT.SCHEDULE.SELECT.TYPE_ITEM tag is an integer tag used to select the
item in the list that is the focus of the action being performed. This is equivalent to
the selection of the recipe type from the list with the mouse.
19. The following tags contain the specific recipe type information corresponding to the
selected item from the list.
BT.SCHEDULE.SELECT.TYPE - String tag containing the selected Recipe Type.
20. The BT.SCHEDULE.SELECT.STATE_ITEM tag is an integer tag used to select the
item in the list that is the focus of the action being performed. This is equivalent to
the selection of the recipe state from the list with the mouse.
21. The following tags contain the specific recipe state information corresponding to the
selected item from the list.
BT.SCHEDULE.SELECT.STATE - String tag containing the selected Recipe State.
22. The BT.SCHEDULE.SECURITY.DONEBY tag specifies the ID and the
BT.SCHEDULE.SECURITY.DONEBY_PWD tag specifies the password for the
user executing the action. The user ID and password should be obtained from the
operator once or whenever an action is to be executed. Values are required for these
tags if security has been configured for the Batch Client functions in the Security Edi-
tor.
23. The BT.SCHEDULE.SECURITY.CHECKBY tag specifies the ID and the
BT.SCHEDULE.SECURITY.CHECKBY_PWD tag specifies the password for the
user executing the action. The user ID and password should be obtained from the
operator once or whenever an action is to be executed. Values are required for these
tags if security has been configured for the Batch Client functions in the Security Edi-
tor.
24. The BT.SCHEDULE.COMM.INFO tag is an integer tag used to monitor the work-
ing state of the batch management system. This tag is equal to one when the batch
system is busy. New TIM commands are immediately processed while this tag is
enabled. Operation can resume when the value of this tag is zero. The
BT.SCHEDULE.COMM.HANDSHAKE tag has a value of -118 when the
BT.SCHEDULE.COMM.INFO tag is enabled.
25. The BT.SCHEDULE.COMM.HANDSHAKE tag is an integer tag that is written to
initiate a specified action and read to monitor the results of the action. The handshake
values are provided in the following table.
Handshake
Value Description
1 Add the batch defined by the specific selection tags to the schedule after the batch
selected by the BT.SCHEDULE.SELECT.SCHED_ITEM tag. If no batch is
selected, the new batch is added to the bottom of the list. Same as the Add button on
the Batch Scheduler display.
496
17. Tag Interface Management (TIM) System B0193YB – Rev C
Handshake
Value Description
2 Generate batches starting with batch number defined in the specific selection tags.
This action requires the BT.SCHEDULE.SELECT.SCHED_SIZE tag to be greater
than the maximum batch size defined by the recipe. The default recipe batch size is
used as the size for all generated batches. Same as the Multi-Add button on the Batch
Scheduler display.
3 Change the batch selected by the BT.SCHEDULE.SELECT.SCHED_ITEM tag to
the batch data defined in specific selection tags. Same as the Change button on the
Batch Scheduler display.
4 Delete the batch selected by the BT.SCHEDULE.SELECT.SCHED_ITEM tag.
Same as the Delete button on the Batch Scheduler display.
5 Remove all Done and Aborted batches from the schedule list. Same as the Clean-up
button on the Batch Scheduler display.
6 Initialize the batch selected by the BT.SCHEDULE.SELECT.SCHED_ITEM tag.
Same as Init Batch button on the Batch Scheduler display.
7 Initialize all batches in the schedule. Same as the Init All button on the Batch Sched-
uler display.
8 Move the batch selected by the BT.SCHEDULE.SELECT.SCHED_ITEM tag up
one position in the list. Same as the Move Up button on the Batch Scheduler display.
9 Move the batch selected by the BT.SCHEDULE.SELECT.SCHED_ITEM tag
down one position in the list. Same as the Move Down button on the Batch Sched-
uler display.
10 Sets the Execute in Order Mode on. Same as the EIO On button on the Batch
Scheduler display.
11 Sets the Execute in Order Mode off. Same as the EIO Off button on the Batch
Scheduler display.
12 Refresh the list of recipes that are approved for production and available for
scheduling.
13 Refresh the list of trains that are available for scheduling.
14 Refresh the list of recipe types for the recipes that are approved for production and
available for scheduling.
15 Refresh the list of recipe states for the recipes that are approved for production and
available for scheduling.
16 Move the batch selected by the BT.SCHEDULE.SELECT.SCHED_ITEM before
the previous position in the list. Similar to the move up option, but used when filter-
ing is being used.
17 Move the batch selected by the BT.SCHEDULE.SELECT.SCHED_ITEM after the
next position in the list. Similar to the move down option, but used when filtering is
being used.
497
B0193YB – Rev C 17. Tag Interface Management (TIM) System
498
17. Tag Interface Management (TIM) System B0193YB – Rev C
Value Mode
0 Automatic
1 Semi-Automatic
2 Manual
499
B0193YB – Rev C 17. Tag Interface Management (TIM) System
user executing the action. The user ID and password should be obtained from the
operator once or whenever an action is to be executed. Values are required for these
tags if security has been configured for the Batch Client functions in the Security
Editor.
8. The BT.ALLOCQUEUE.SECURITY.CHECKBY tag specifies the ID and the
BT.ALLOCQUEUE.SECURITY.CHECKBY_PWD tag specifies the password for
the user executing the action. The user ID and password should be obtained from the
operator once or whenever an action is to be executed. Values are required for these
tags if security has been configured for the Batch Client functions in the Security
Editor.
9. The BT.ALLOCQUEUE.FOCUS.EQUIP tag is an string tag which contains the
name of the equipment from which the queue is being reviewed (that is, has the
focus).
10. The BT.ALLOCQUEUE.COMM.INFO tag is an integer tag used to monitor the
working state of the batch management system. This tag is equal to one when the
batch system is busy. New TIM commands are not immediately processed while this
tag is enabled. Operation can resume when the value of this tag is zero. The
BT.ALLOCQUEUE.COMM.HANDSHAKE tag has a value of -118 when the
BT.ALLOCQUEUE.COMM.INFO tag is enabled.
11. The BT.ALLOCQUEUE.COMM.HANDSHAKE tag is an integer tag that is written
to initiate a specified action and read to monitor the results of the action. The hand-
shake values are provided in the table below.
Handshake
Value Description
5 Move the batch selected by the
BT.ALLOCQUEUE.SELECT.SCHED_ITEM tag up one
row in the list. Same as the Move Up button on the allocation
queue dialog in Batch Display and Batch View display.
6 Move the batch selected by the
BT.ALLOCQUEUE.SELECT.SCHED_ITEM tag down one
row in the list. Same as the Move Down button on the alloca-
tion queue dialog in Batch Display and Batch View display.
7 Refresh the allocation queue list.
500
17. Tag Interface Management (TIM) System B0193YB – Rev C
501
B0193YB – Rev C 17. Tag Interface Management (TIM) System
1. The BT.BATCH.FOCUS.SCHED_LIST tag is a string tag that defines the units that
are used to filter the list of batches and provide the focus for the action. Use of this tag
is optional. The system defaults to all batches in the schedule if no entry is provided.
2. The BT.BATCH.COMM.HANDSHAKE tag is an integer tag that is written to ini-
tiate an update of the batches according to the values assigned to the focus tag. The
handshake values are provided in the table at the end of this procedure.
3. The BT.BATCH.SCHED_LIST.NUM_ITEMS tag is an integer tag containing the
number of batches in the schedule.
4. The BT.BATCH.SCHED_LIST.ITEM1 to BT.BATCH.SCHED_LIST.ITEM16
tags are string tags used to display the list of batches in the schedule. The first item in
the list is defined by the value in tag BT.BATCH.SCHED_LIST.FIRST_ITEM.
5. The BT.BATCH.SELECT.SCHED_ITEM tag is an integer tag used to select the
item in the list that is the focus of the action being performed. This is equivalent to
the selection of the batch from the list with the mouse.
6. The following tags contain the specific schedule information corresponding to the
selected item from the list.
BT.BATCH.SELECT.SCHED_CLB - String tag containing the identification of the
selected batch.
BT.BATCH.SELECT.SCHED_RECIPEID - String tag containing the Recipe ID of
the selected batch.
BT.BATCH.SELECT.SCHED_SIZE - Integer tag containing the size of the selected
batch.
BT.BATCH.SELECT.SCHED_TRAIN - String tag containing the Train of the
selected batch.
BT.BATCH.SELECT.SCHED_MODE - Integer tag containing the mode value of
the selected batch.
Value Mode
0 Automatic
1 Semi-Automatic
2 Manual
Value Status
0 Open
1 Ready
2 Wait
3 Run
502
17. Tag Interface Management (TIM) System B0193YB – Rev C
Value Status
4 Done
5 Interlock
6 Aborted
7 Held
8 Aborting
9 Continue
10 Locking
11 Locked
503
B0193YB – Rev C 17. Tag Interface Management (TIM) System
Value Description
0 There is no batch selected.
1 or 2 The selected batch has not yet been started or has been com-
pleted, and should not be used to manipulate the recipe focus. If
two batches that match this criteria are selected sequentially, this
tag toggles between one and two. This allows the user to define
data change logic on this value.
3 or 4 The selected batch is running, held, or aborting, and it is permis-
sible to manipulate the recipe focus. If two batches that match
this criteria are selected sequentially, this tag toggles between
three and four. This allows the user to define data change logic on
this value.
504
17. Tag Interface Management (TIM) System B0193YB – Rev C
1. The BT.RECIPE.FOCUS.CLB tag is a string tag that defines the Campaign, Lot, and
Batch combination that is the batch focus for the action.
2. The BT.RECIPE.FOCUS.UNIT tag is a string tag that defines the unit that is the
unit focus for the action. If an asterisk “*” is written to this tag, then the focus is on all
equipment associated with the batch defined by the BT.RECIPE.FOCUS.CLB tag. If
a null string “” is written to this tag, then the focus is on the batch defined by the
BT.RECIPE.FOCUS.CLB tag.
3. The BT.RECIPE.COMM.HANDSHAKE tag is an integer tag that is written to ini-
tiate an update of the batch and phase related interface groups according to the values
assigned to the focus tags. The handshake values and affected interface groups are pro-
vided in the tables below.
505
B0193YB – Rev C 17. Tag Interface Management (TIM) System
506
17. Tag Interface Management (TIM) System B0193YB – Rev C
507
B0193YB – Rev C 17. Tag Interface Management (TIM) System
508
17. Tag Interface Management (TIM) System B0193YB – Rev C
509
B0193YB – Rev C 17. Tag Interface Management (TIM) System
510
17. Tag Interface Management (TIM) System B0193YB – Rev C
2. The BT.RECIPE_PHASE.PHASE_LIST.ITEM1 to
BT.RECIPE_PHASE.PHASE_LIST.ITEM16 tags are string tags used to display the
list of active phases in the selected batch. The first item in the list is defined by the
value in tag BT.RECIPE_PHASE.PHASE_LIST.FIRST_ITEM.
NOTE
The “Use 3 Levels” application parameter must be enabled in the Environment Edi-
tor for the TIMBatch application for the operation name field to be included in the
list tags.
511
B0193YB – Rev C 17. Tag Interface Management (TIM) System
512
17. Tag Interface Management (TIM) System B0193YB – Rev C
Value Message
0 None
1 Waiting for Phase Start.
2 Waiting for entry acknowledge.
3 Waiting for exit acknowledge.
4 Waiting for Required Edits.
5 Waiting for Required Comment.
6 Waiting for Phase Status.
7 Waiting for Phase Start
8 Partial Add. Waiting for Exit Acknowledge.
9 Waiting for document viewing.
10 Waiting for document acknowledge.
11 Writing phase parameters.
12 Reading phase parameters.
513
B0193YB – Rev C 17. Tag Interface Management (TIM) System
Value Description
0 Input
9 Process Variable
12 Output
Value Description
1 Material ID
2 Material Name
3 Target
4 Actual
5 High Deviation
6 Low Deviation
7 Lot Code
8 Preact
9 High Limit
10 Low Limit
514
17. Tag Interface Management (TIM) System B0193YB – Rev C
Value Description
0 Analog
1 Discrete
2 String
3 Enumeration
515
B0193YB – Rev C 17. Tag Interface Management (TIM) System
516
17. Tag Interface Management (TIM) System B0193YB – Rev C
517
B0193YB – Rev C 17. Tag Interface Management (TIM) System
518
17. Tag Interface Management (TIM) System B0193YB – Rev C
Description
1. The BT.MESSAGE.FOCUS.CLB tag is a string tag that defines the Campaign, Lot,
and Batch combination that is the batch focus for the action.
2. The BT.MESSAGE.FOCUS.UNIT tag is a string tag that defines the unit that is the
unit focus for the action. If an asterisk “*” is written to this tag, then the focus is on all
equipment associated with the batch defined by BT.MESSAGE.FOCUS.CLB tag. If a
null string “” is written to this tag, then the focus is on the batch defined by the
BT.MESSAGE.FOCUS.CLB tag.
3. The BT.MESSAGE.COMM.HANDSHAKE tag is an integer tag that is written to
initiate an update of the message list according to the values assigned to the focus tags.
The handshake values are provided in the table below.
519
B0193YB – Rev C 17. Tag Interface Management (TIM) System
520
17. Tag Interface Management (TIM) System B0193YB – Rev C
1. The BT.PHASE_ED.FOCUS.CLB tag is a string tag that defines the Campaign, Lot,
and Batch combination that is the batch focus for the action.
2. The BT.PHASE_ED.PHASE_LIST.NUM_ITEMS tag is an integer tag containing
the number of active phases in the selected batch.
3. The BT.PHASE_ED.PHASE_LIST.ITEM1 to
BT.PHASE_ED.PHASE_LIST.ITEM16 tags are string tags used to display the list of
active phases and associated information for the selected batch. The first item in the
521
B0193YB – Rev C 17. Tag Interface Management (TIM) System
NOTE
The “Use 3 Levels” application parameter must be enabled in the Environment Edi-
tor for the TIMBatch application for the operation name field to be included in the
list tags.
522
17. Tag Interface Management (TIM) System B0193YB – Rev C
Value Description
0 Input
9 Process Variable
12 Output
523
B0193YB – Rev C 17. Tag Interface Management (TIM) System
Value Description
0 Analog
1 Discrete
2 String
3 Enumeration
524
17. Tag Interface Management (TIM) System B0193YB – Rev C
525
B0193YB – Rev C 17. Tag Interface Management (TIM) System
Value Mode
0 Unit
1 Connection
526
17. Tag Interface Management (TIM) System B0193YB – Rev C
527
B0193YB – Rev C 17. Tag Interface Management (TIM) System
528
17. Tag Interface Management (TIM) System B0193YB – Rev C
529
B0193YB – Rev C 17. Tag Interface Management (TIM) System
530
17. Tag Interface Management (TIM) System B0193YB – Rev C
531
B0193YB – Rev C 17. Tag Interface Management (TIM) System
532
17. Tag Interface Management (TIM) System B0193YB – Rev C
533
B0193YB – Rev C 17. Tag Interface Management (TIM) System
shake value is zero. When a function fails from either a handshake or a batch action, the hand-
shake value is negative according to the table. The handshake tag should be monitored if error
messages are to be displayed to the operator.
NOTE
If security is enabled, and the number of retries is exceeded along with the return of
a negative handshake for a failed request, the handshake value is as described in the
table plus a value of -256. For example, if Done By security is enabled, and an
invalid password is entered more times than permitted by the number of retries con-
figured in the Security Editor, the handshake value is (-1016 + (-256)) = -1272.
534
17. Tag Interface Management (TIM) System B0193YB – Rev C
535
B0193YB – Rev C 17. Tag Interface Management (TIM) System
536
17. Tag Interface Management (TIM) System B0193YB – Rev C
Possible
Handshake Return
Value Description Input Tags Required Codes
-1 Change the password SE.SECURITY.INPUT.USERID 0, 2, 16,
for the selected user. SE.SECURITY.INPUT.PASSWORD 20, 22,
SE.SECURITY.INPUT.NEWPASSWORD 24
SE.SECURITY.INPUT.VERIFYPASSWORD
-2 Request the security SE.SECURITY.INPUT.USERID 0, 2, 3,
level for the selected SE.SECURITY.INPUT.PASSWORD 4, 6, 9,
application. SE.SECURITY.INPUT.OPSTATION 16, 18,
SE.SECURITY.INPUT.APPLICATION 256
-3 Request whether secu- SE.SECURITY.INPUT.APPLICATION 0, 1, 4
rity is enabled for the
selected application.
-4 Request security clear- SE.SECURITY.INPUT.USERID 0, 2, 3,
ance for the selected SE.SECURITY.INPUT.PASSWORD 4, 5, 6,
function. SE.SECURITY.INPUT.OPSTATION 8, 12,
SE.SECURITY.INPUT.APPLICATION 14, 16,
SE.SECURITY.INPUT.FUNCTION 18, 65,
SE.SECURITY.INPUT.RECIPEID 129, 256
SE.SECURITY.INPUT.SECURITYLEVEL
-5 Request the security SE.SECURITY.INPUT.APPLICATION 0, 1, 3, 4
level for the selected SE.SECURITY.INPUT.FUNCTION
function.
-6 Assign a new password SE.SECURITY.INPUT.USERID 0, 2, 20,
to the selected user. SE.SECURITY.INPUT.NEWPASSWORD 22, 24
SE.SECURITY.INPUT.VERIFYPASSWORD
-7 Reset the number of None 0
retries that the user
can make for obtain-
ing security clearance.
Used when a function
is cancelled or a new
function is attempted.
-8 Verify that the security None 0, 1
system is installed and
active.
537
B0193YB – Rev C 17. Tag Interface Management (TIM) System
according to the table. The handshake tag should be monitored if error messages are to be dis-
played to the operator.
NOTE
If the number of retries is exceeded along with the return of a positive handshake for
a failed request of handshake values -2 or -4, the handshake value is as presented in
the table plus a value of 256. For example, if an invalid function is entered more
times than permitted by the number of retries configured in the Security Editor, the
handshake value is (8 + 256) = 264.
538
17. Tag Interface Management (TIM) System B0193YB – Rev C
539
B0193YB – Rev C 17. Tag Interface Management (TIM) System
1. The FU.PHASE.INFO.CLB tag is a string tag that defines the Campaign, Lot, and
Batch combination that is the batch focus for the action.
2. The FU.PHASE.INFO.RECIPE tag is a string tag containing the recipe ID of the
batch selected.
3. The FU.PHASE.INFO.SIZE tag is an integer tag containing the size of the batch
selected.
4. The FU.PHASE.INFO.TRAIN tag is a string tag containing the train of the batch
selected.
5. The FU.PHASE.INFO.MODE tag is an integer tag containing the mode of the batch
selected.
Value Mode
0 Automatic
1 Semi-Automatic
2 Manual
Value Status
1 Ready
2 Wait
3 Run
4 Done
5 Interlock
6 Aborted
7 Held
8 Aborting
540
17. Tag Interface Management (TIM) System B0193YB – Rev C
Value Description
0 Input
9 Process Variable
12 Output
Value Description
1 Material ID
2 Material Name
3 Target
4 Actual
5 High Deviation
6 Low Deviation
7 Lot Code
8 Preact
9 High Limit
10 Low Limit
541
B0193YB – Rev C 17. Tag Interface Management (TIM) System
Value Description
0 Analog
1 Discrete
2 String
3 Enumeration
NOTE
The batch manager waits for the handshake to continue processing. All batch pro-
cessing activity is essentially suspended until the signal to continue is received.
Therefore, it is vital to return the continue handshake quickly.
542
17. Tag Interface Management (TIM) System B0193YB – Rev C
1. The FU.EVAL_EQUIP.INFO.CLB tag is a string tag that defines the Campaign, Lot,
and Batch combination that is the batch focus for the action.
2. The FU.EVAL_EQUIP.INFO.RECIPE tag is a string tag containing the recipe ID of
the batch selected.
3. The FU.EVAL_EQUIP.INFO.SIZE tag is an integer tag containing the size of the
batch selected.
4. The FU.EVAL_EQUIP.INFO.TRAIN tag is a string tag containing the train of the
batch selected.
5. The FU.EVAL_EQUIP.INFO.MODE tag is an integer tag containing the mode of
the batch selected.
Value Mode
0 Automatic
1 Semi-Automatic
2 Manual
Value Status
1 Ready
2 Wait
3 Run
4 Done
5 Interlock
6 Aborted
543
B0193YB – Rev C 17. Tag Interface Management (TIM) System
Value Status
7 Held
8 Aborting
NOTE
The batch manager waits for the handshake to continue processing. All batch pro-
cessing activity is essentially suspended until the signal to continue is received.
Therefore, it is vital to return the continue handshake quickly.
544
17. Tag Interface Management (TIM) System B0193YB – Rev C
545
B0193YB – Rev C 17. Tag Interface Management (TIM) System
NOTE
The batch manager waits for the handshake to continue processing. All batch pro-
cessing activity is essentially put on hold until the signal to continue is received.
Therefore, it is vital to return the continue handshake quickly.
546
17. Tag Interface Management (TIM) System B0193YB – Rev C
Value Mode
0 Automatic
1 Semi-Automatic
2 Manual
547
B0193YB – Rev C 17. Tag Interface Management (TIM) System
Value Status
1 Ready
2 Wait
3 Run
4 Done
5 Interlock
6 Aborted
7 Held
8 Aborting
548
17. Tag Interface Management (TIM) System B0193YB – Rev C
NOTE
The batch manager waits for the handshake to continue processing. All batch pro-
cessing activity is essentially put on hold until the signal to continue is received.
Therefore, it is vital to return the continue handshake quickly.
NOTE
TIMFunc should only be started if any of the Batch Function Interfaces is enabled
in the TIM Editor.
549
B0193YB – Rev C 17. Tag Interface Management (TIM) System
550
18. Batch Alarm
The I/A Series Batch Alarm subsystem captures all equipment and process alarm events
associated with a batch and stores them in the Batch Historian. The Batch Alarm Subsystem
consists of the Event Manager, Alarm Comment Application, Sequence Unsuspend Application,
and a set of Batch Alarm report queries. This subsystem interfaces with the Batch Historian via
ODBC to store and retrieve batch-related alarms. I/A Series FoxAlert provides a means to view
batch related alarms, enter comments and unsuspend equipment phases. Through the
interaction of equipment system tags, Batch Manager and I/A Series Control Processor, Event
Manager is able to capture batch-related alarms.
Batch alarms, in I/A Series Batch Suite, are captured, associated with a batch and stored in the
Batch Historian. The user can view alarms for a specific batch using the FoxAlert alarm display
and can attach a comment to any batch specific alarm event displayed in FoxAlert. A set of three
alarm report queries is provided to retrieve batch analog alarms and comments, Boolean alarms
and comments, and sequence blocks and comments from batch history and include them in batch
reports.
The diagram shown below provides an overview of the major elements of the Batch Alarm sub-
system.
551
B0193YB – Rev C 18. Batch Alarm
Reports
Batch Reporting
System
Launch
Alarm Comment w/Batch ID
Batch
Alarms
Alarm I/A Series
Comment FoxAlert
Event
Manager
Process Alarm
Messages
Acknowledge Sequence
I/A Series Block Message
CP
552
Compound:PHASE_EXEC Block assigns the value of Batch_ID system tag, stored in SN0010,
to the equipment’s Compound:LOOPID parameter.
Units must have a corresponding Compound in the I/A Series control system of the same name.
Connections and segments should have a corresponding Compound of the same name; but some-
times this is not practical and a Data Block may be used. In this situation, the connection or seg-
ment BATCH_ID system tag must be linked to the Data Block’s LOOPID parameter. When an
alarm occurs in the Data Block, the alarm contains the Data Block’s LOOPID parameter value.
The alarm is sent to alarm destinations configured in the Data Block’s Compound.
Event Manager
Event Manager is a Windows NT service application, which communicates with the I/A Series
subsystems. Event Manager’s main responsibility is to receive all I/A Series alarms and store them
in the Batch Historian.
Event Manager uses either the LOOPID value or Equipment Allocation to determine the Batch
Identification for alarms. During batch execution, Event Manager compares the LOOPID field of
the alarm message with the current list of batches in the schedule. If there is a match, the alarm is
considered a batch alarm. An Alarm ID is then assigned to the alarm, and it is logged to the Batch
Historian along with its Batch Identification (Campaign, Lot and Batch ID). If the LOOPID
value does not match a Batch ID in the schedule, Event Manager searches the Link database for
the Compound:Block name. If there is a match, the alarm is considered a batch alarm. Event
Manager determines the equipment name (Unit, Connection or Segment) from the Link database
and then, using Equipment Allocation information, determines the Batch ID. An Alarm ID is
then assigned to the alarm and it is logged to the Batch Historian along with its Batch Identifica-
tion (Campaign, Lot and Batch ID). If the Compound:Block name is not found in the Link
database, the alarm is not considered to be a batch alarm and is discarded.
553
B0193YB – Rev C 18. Batch Alarm
554
18. Batch Alarm B0193YB – Rev C
555
B0193YB – Rev C 18. Batch Alarm
556
19. Redundancy
This chapter describes the configuration design and operation of a redundant I/A Series Batch
Server.
NOTE
If you are installing a redundant system, you must configure your system/network
as described in this section before you install I/A Series Batch.
The batch management system is designed with a redundancy option. Redundancy refers to the
capability of the batch management system to automatically continue normal execution on a
backup server in the event of a master server shutdown due to a single hardware failure or power
loss. Multiple failures are beyond the capabilities of redundancy. It is particularly useful in critical
manufacturing facilities where the loss of the batch system and/or associated batch data is intoler-
able.
Two computers running the I/A Series Batch software are required for the proper execution of
redundancy. During normal operation of redundant I/A Series Batch servers, one server is a mas-
ter and one server is a backup. Two independent networks are required to insure a high level of
fault tolerance. A communication token is passed between the batch servers checking for a
response based on a configurable time interval. The batch system is configured to pass two tokens
simultaneously, one along a primary and one along a secondary network. If a response is not
received within the configured time interval, the master is assumed to no longer exist and the
backup server assumes operation as the master.
NOTE
Configuration of a redundant batch control system requires computer network
experience. It is strongly recommended that only qualified personnel configure the
redundant system.
The network must be properly configured before installing redundant I/A Series Batch servers.
Each server must be equipped with at least two network interface cards (NICs). One NIC is des-
ignated as the primary and the other NIC the secondary. By establishing two independent net-
work paths between the batch servers the I/A Series Batch redundancy managers can send the
required communication tokens over both paths simultaneously. The nodebus must be designated
as the batch secondary network to minimize traffic over that network.
NOTE
Reliable network communications between the servers in the above described man-
ner is absolutely critical to the proper functioning of I/A Series Batch redundancy.
Redundancy, by design, is intolerant of unreliable network communications, and
this constraint must be taken into account when designing and deploying a redun-
dant I/A Series Batch system.
557
B0193YB – Rev C 19. Redundancy
Network Overview
Before installing redundant I/A Series Batch servers, the network must be properly configured.
Each server is equipped with two network interface cards (NICs); each NIC is assigned a uniquely
addressable host name and a corresponding IP address. One NIC in each server can be designated
the primary, and the other NIC the secondary. Use the following checklist to verify proper net-
work configuration (an example configuration is provided).
NOTE
Redundant Network Configuration must be performed by qualified personnel.
♦ Dual Network Interface Cards – Two NICs must be present in each server.
♦ Protocol – Each server must be configured for the TCP network protocol.
♦ Network Addresses – Each NIC, on each server, must be assigned a proper IP address.
It is critical that the two addresses assigned to the NICs on a single server are from
different networks. This ensures that the network connection is used when communi-
cating the heartbeats. If these addresses differ only at the host level, redundancy does
not work properly.
♦ Lmhosts – Lmhosts lookup must be enabled as a TCP/IP property. The set of four
network addresses must be loaded into the lmhosts file. This loading ensures the
fastest possible name resolution. Sample entries for the lmhosts file are given in the
example that follows.
♦ Hosts – To ensure communications through the non-Nodebus NIC, the Hosts file
must not contain any entries.
♦ WINS – The WINS protocol must be unbound from the Nodebus NIC.
♦ RedCfg – A redundancy configuration file (RedCfg) is created on each server as part
of the redundancy installation. The RedCfg file contains specific information about
system names associated with the computers in your redundant setup.
♦ Verification – Communication between both servers and both paths must be tested
and verified.
558
19. Redundancy B0193YB – Rev C
Batch
Primary
Network
10.40.20.181 10.40.20.182
151.128.8.66
151.128.8.65
Batch
Secondary
Nodebus Network
Batch Batch
Information
Runtime Development
Server
Client Client
(InfoSvr)
(WP7003) (WP7004)
d i g i t a l d i g i t a l
Control Processors
559
B0193YB – Rev C 19. Redundancy
560
19. Redundancy B0193YB – Rev C
NOTE
The last line of the RedCfg file must be blank (that is, carriage return.) The line
numbers shown are for reference only. They are not actually entered in the file.
Lmhosts File
The lmhosts file contains the structure described below. The lmhosts file is located in the
C:\winnt\system32\drivers\etc folder on your computer. The file is the same for all stations. Note
that the names entered correspond to the entries in the RedCfg file. The #PRE entries cause the
entries to be preloaded when your system is started. This is recommended for improved perfor-
mance.
10.40.20.181 AW7003 #PRE
10.40.20.181 AW7003PN #PRE
151.128.8.65 AW7003SN #PRE
10.40.20.182 AW7004 #PRE
10.40.20.182 AW7004PN #PRE
151.128.8.66 AW7004SN #PRE
10.40.20.183 WP7003 #PRE
10.40.20.184 WP7004 #PRE
10.40.20.185 InfoSvr #PRE
Hosts File
The Hosts file should contain no entries. The Hosts file is located in the C:\winnt\system32\driv-
ers\etc folder on your computer.
NOTE
I/A Series Batch must always be installed to the D: drive of your system.
561
B0193YB – Rev C 19. Redundancy
7. Enter the logical hostnames for the Primary network. Click Next.
8. Enter the logical hostnames for the Secondary network. Click Next.
9. Follow the remaining installation instructions.
10. Setup automatically creates a program group with icons for the I/A Series Batch
Server.
11. Repeat these steps on the other server, substituting the appropriate hostname and log-
ical hostname for the redundant system.
NOTE
I/A Series applications need to be running on the client in order to map the net-
work drives during the installation of Configuration and/or Runtime Client
Options if the client’s only connection to the server is through the Nodebus.
NOTE
IMPORTANT: Before you begin configuring a Client for redundancy, you must
first have valid network connections between your servers and each Client.
562
19. Redundancy B0193YB – Rev C
8. Enter the hostname of the other batch server and the drive letter which is mapped to
the batch server.
9. The Installation program creates two program groups. Each set of icons within each
program group is specifically associated with the batch server identified in the title bar.
Post-Installation Requirement
The status of a redundant system is made available to your I/A Series network by way of a shared
variable. The shared variable can be used to monitor the redundancy status of the server.
In operation, IADriver continuously attempts to write an integer value to the shared variable. If
the write attempt fails, a message is displayed and the feature is disabled.
The format of the shared variable is: <hostname>_RS
where: <hostname> is a machine name and “_RS” is appended to the <hostname> (for example,
AW7004_RS)
Redundancy Verification
NOTE
IMPORTANT: A thorough understanding of this section is critical for the proper
deployment of a Redundant Batch System.
After installing and configuring the batch servers as described previously, you should verify that
the Servers are capable of properly switching over batch control. In the following discussion, it is
assumed that either server could be acting in the role of a master or backup. When the batch
servers are started for the first time, the server that actually boots first assumes the responsibility of
the Master. Thereafter, the role of each server is determined by the information contained in the
local RedState file on each system.
Redundant batch server operation is controlled by a Redundancy Manager process that runs on
each server. The heartbeat is exchanged over the network between these two processes. Each
563
B0193YB – Rev C 19. Redundancy
Redundancy Manager controls the other local I/A Series Batch processes. When a switch-over
event occurs, the associated process activity is controlled by the Redundancy Manager.
A system parameter in the Environment called Redundancy TimeOut is used to set the switch-
over delay. The value is user-configurable and is specified in seconds.
For more information on Environment Manager, see Chapter 4 “Environment Management
System”.
In the event a Redundant Batch server has failed to detect the other servers heartbeat, it waits for
the configured time before initiating a switch-over.
The normal state of an I/A Series Batch Redundant system has one server acting as a “Master with
Valid Backup” and the other server acting as a “Valid Backup.” The role of an active I/A Series
Batch server can be determined by opening the status window on the Environment Display.
In the event of complete communications failure between the two Redundancy Managers, a
switch-over event may be initiated by both servers, in which case there are two Masters. If this
occurs, proper Batch control is not guaranteed and operator intervention is mandatory. See the
section “Typical Redundant Sequence of Operation” on page 566 for a discussion on recovering
from the dual master condition. Avoiding this situation is, in fact, a primary requirement when
deploying a redundant I/A Series Batch system. This type of communication failure between the
two servers can occur for a variety of reasons. For example, the simultaneous loss of both networks
for a period of time at least equal to the switch-over setting, or, the execution of any process on a
batch server which completely consumes system resources (CPU, network, and so forth).
For this reason, it is strongly recommended that the expected batch server load is given careful
consideration and hardware resources are gauged accordingly. Resource intensive applications
such as screen savers should be disabled on the Batch servers, as they could cause the problem of
“two master systems.” Prior to deploying a redundant batch system into the production process,
the load and resource utilization on both batch servers must be assessed, and a reasonable assur-
ance of adequate resources for I/A Series Batch must be achieved.
Redundancy Operation
The batch control system has the capability to operate concurrent configuration and run-time
systems. The presence of two identical systems permits the backup system to continue run-time
execution if the master system fails. This functionality is known as redundancy. As the batch con-
trol system databases are altered, all revisions are written to databases located on both the master
system and the backup system. In the event of a master system failure, the backup system contin-
ues all batch operations.
564
19. Redundancy B0193YB – Rev C
Backup Server
Master Server
Batch System
Backup System
(Dormant)
Master Backup
Batch System Batch System
Databases Databases
Directory Configuration
In a redundant batch control system configuration, the directories containing the batch applica-
tions on each server are shared. During installation of redundancy, the only user-supplied infor-
mation required to establish redundancy is the network name (hostname) of the other redundant
system. The same installation procedure is performed on both servers. Each identifies the other as
the redundant host. If the directory names, network references and network sharing, are config-
ured incorrectly, redundancy does not function properly.
NOTE
All configuration changes other than recipes and materials should be made prior to
starting the run-time system.
After Environment Manager on the master is started, the Redundancy Manager (RedMngr) is
started. RedMngr creates a state file indicating that the system is the master. The state file also logs
the time at which it became the master. If, for some reason, RedMngr fails to start, EnvMngr
continues normal operation. RedMngr, however, sends a message to the Batch Logger indicating
an error. In this case you need to correct the error, shut down, and exit from the Environment
Display, and then restart the Environment Display.
565
B0193YB – Rev C 19. Redundancy
3. If the state file on the remote system is found, then the file is read and its last state is
determined. If the state of the remote system is backup, then the interrogating system
starts as a master.
4. If the state file on the remote system indicates that its last state was a master, then the
time that is logged to both of the state files is evaluated. If the state file on the interro-
gating system is more recent, then it starts as the master.
5. If the time in state file on the remote system is more recent, then the interrogating sys-
tem changes its state to backup and starts.
Environment Display provides a method to force either system to operate as the master, regardless
of the state of the state files on each system. In a redundant system, the Environment Display
application file pull-down menu appears as shown.
NOTE
Extreme caution is recommended when using the Force System to Master option.
When the system starts as a backup, it synchronizes all of the configuration data-
bases with those located on the master system. Therefore, if the system was previ-
ously operating as the master, then the data generated during the previous execution
is overwritten by the synchronization process.
NOTE
Once the Environment Display is started on both servers in the batch control sys-
tem, a period of several minutes or longer elapses while configuration databases and
other batch control system processes are synchronized. During this period, both sys-
tems display messages that use the terms invalid and valid, in reference to the state
of the master or backup system. During the synchronization period, the messages
can be misleading. The term valid indicates that (1) all of the databases on both sys-
tems are synchronized and (2) the run-time system on the backup is enabled. The
term invalid indicates that (1) the databases on both systems are not (or are not yet)
synchronized and/or (2) the run-time system on the backup is not enabled and/or
(3) a backup system cannot be detected.
Initial Startup
The master batch control system is started as described earlier. The backup batch control system
databases are synchronized and started. Once the master and backup batch control systems have
been properly configured and all modules on each system have been started properly, the redun-
dant system executes normally until a failure of either system is experienced.
566
19. Redundancy B0193YB – Rev C
NOTE
The failed master should not be started as the backup until the problem that caused
the failure is repaired.
If the system does not have a redundancy state of Master with Valid Backup, or if redundancy is
not being used and IADriver loses communications with the CP, IADriver continues trying to
read valid tag values. The read error is not reported more than once per tag. Read errors on tags
that have never had a successful read only report the error once and redundancy is not initiated.
This ensures that improperly linked tags do not initiate a redundancy switchover.
567
B0193YB – Rev C 19. Redundancy
NOTE
If communication between the CP and IADriver fails, an automatic switch-over to
the Backup System does not occur. IADriver issues “read failed errors” for the linked
tags that are attempting to be read. If this should occur, the operator must deter-
mine the cause of the failure and then determine if a manual switch-over to the
Backup System can resolve the communication fault.
Dual-Master Recovery
In the event that a dual master situation occurs, operators must take action to restore the batch
system to a proper state. Operators should put all batches on hold while an assessment of the state
of the process is made. The network must then be restored to allow for proper Redundant
operation.
To restore the system, one of the Batch Servers must be selected to be the Master based on the
assessment of the process.
Use the RedState Utility, described in “Redundancy Status Utility (RedState)” on page 569, to
determine the time each system became Master.
If the machine with the newest time is chosen, perform an Exit and Shutdown on the other
station. Then restart the batch runtime applications on that station. It will restart as a Valid
Backup.
If the machine with the oldest time is chosen, perform an Exit and Shutdown on the other
station first. Then perform a “Force to Master” on the first (oldest) station, followed by an Exit
and Shutdown on that station. Lastly, restart the runtime applications on both machines.
NOTE
If you are going to execute a manual switchover, it is recommended to do so (if pos-
sible) when batch activity is minimal. This ensures the highest degree of integrity of
the master-to-backup database synchronization.
568
19. Redundancy B0193YB – Rev C
Whenever you shut down a redundant system, ensure that you first shut down the backup system,
followed by the shutdown of the master. When you start a redundant system, ensure that you start
the master system first, followed by the start of the backup. This ensures that the runtime data is
current and synchronized.
Value Description
-1 Error
0 Master with no backup or an
invalid backup
1 Master with valid backup
2 Invalid backup
3 Valid backup
5 Failed master
6 Not a redundant system
569
B0193YB – Rev C 19. Redundancy
570
20. System Administration
This section describes the utilities and procedures that you should use for administration of your
I/A Series Batch components.
571
B0193YB – Rev C 20. System Administration
History Administration
Use the History Admin button to access the Batch Information Server Administration - History
Admin page and configure the Information Server (SQL Server) accounts that are associated with
access to the administration functions. The accounts that you are specifying are ultimately used to
establish access to the History Database in the SQL Server.
572
20. System Administration B0193YB – Rev C
NOTE
The Password is case sensitive.
573
B0193YB – Rev C 20. System Administration
User Accounts
When you create user accounts for the History Administration pages, it is important that you fol-
low the guidelines described in this section. The following requirements must be observed when-
ever you are creating or editing System Administration user accounts associated with the users
who can access History Administration web pages. If you do not properly configure user access
and assign the appropriate privileges, you are not able to use History Administration.
For all user accounts associated with History Administration, use Microsoft SQL Server Enter-
prise Manager to define the following SQL Server Login Properties.
♦ BatchHistory database must be assigned as the default database.
♦ Server roles must include: Disk Administrators and Database Creators.
♦ Database Access for the BatchHistory and BatchArchive databases must each
include the following Database Roles: public, db_owner, and BatchAdminRole
options must be assigned.
574
20. System Administration B0193YB – Rev C
NOTE
When the Information Server is installed, the Report Path is C:\BatchInfoS-
erver\Crystal by default. The default Report Path is always associated with the C:
drive even if the Information Server is installed on a different drive. If the Informa-
tion Server is installed on a different drive, then Report Path must be edited using
the Config button on the Information Server's AdminWeb page. If you change the
Report Path, the ReportQReader service must be restarted. Users should consider
this when creating and editing recipes that include reports.
575
B0193YB – Rev C 20. System Administration
History Archiving
Use the History Archive button to access the History Archive page. From this page, you can cre-
ate, edit and execute archiving tasks that are registered by SQL Server.
576
20. System Administration B0193YB – Rev C
577
B0193YB – Rev C 20. System Administration
578
20. System Administration B0193YB – Rev C
Item Description
Job Name The user-defined name for the archive job.
Job Description Text that describes the archive.
Scheduled Date & Time The scheduled date (mm/dd/yyyy) and time (hh:mm am/pm)
identify when the Information Server performs the archive task.
Dump Device Name The dump device can be any descriptive text you want to use. The
History Archive application creates a Backup Device in Microsoft
SQL Server with the same name. An error message is displayed if
the entry is blank.
Dump File Name The complete path and name are created when the archive task is
executed. An error message is displayed if the entry is blank.
Archive Database Name This is the name of the Archive Database that you defined when
you installed the Information Server (default is BatchArchive).
History Data Start Date The start date (mm/dd/yyyy) identifies the starting point for
archiving history data.
3. After you have completed making your entries, click the Add button.
! CAUTION
Extreme caution should be used when purging historical information. Always make
sure the data to be purged has been successfully archived. It is recommended that
you archive and verify your data first, and then, if required, purge it.
579
B0193YB – Rev C 20. System Administration
580
20. System Administration B0193YB – Rev C
Item Description
Job Name The user-defined name for the purge job.
Job Description Text that describes the job.
Scheduled Date & Time The scheduled date (mm/dd/yyyy) and time (hh:mm am/pm)
identify when the Information Server performs the archive task.
History Data Start Date The start date (mm/dd/yyyy) identifies the starting point for
archiving history data.
3. After you have completed making your entries, click the Add button.
581
B0193YB – Rev C 20. System Administration
582
20. System Administration B0193YB – Rev C
Item Description
Job Name The user-defined name for the job.
Job Description Text that describes the job.
Scheduled Date & Time The scheduled date (mm/dd/yyyy) and time (hh:mm am/pm)
identify when the Information Server performs the archive task.
Dump Device Name The dump device can be any descriptive text you want to use. The
History Archive application creates a Backup Device in Microsoft
SQL Server with the same name. An error message is displayed if
the entry is blank.
Archive Database Name The name of the Archive Database that you defined when you
installed the Information Server.
3. After you have completed making your entries, click the Add button.
Completed Archives
After an archive has been created, it can be deleted, restored or purged.
1. On the History Archive page, identify the archive that you want from the Completed
Archives list.
583
B0193YB – Rev C 20. System Administration
2. To delete the archive, click the Delete button associated with the archive Name. The
archive is immediately deleted.
3. To Restore an archive, click the Restore button associated with the archive Name.
The archive is immediately restored.
If you want to view the Completed Archive before you restore it, click the archive
Name. This displays the Completed Archive Details page.
584
20. System Administration B0193YB – Rev C
After viewing the information, click the Restore Archive button. The History Archive
- Add Restore page appears. Review and edit the Add Restore job, and then click the
Add button. The selected archive is restored.
585
B0193YB – Rev C 20. System Administration
NOTE
The location of saved reports is specified by the user during configuration.
2. Click the Report Log Admin button to display the Report Log Administration page.
586
20. System Administration B0193YB – Rev C
1. On the Start menu of the Batch Server, point to Settings and then select Control
Panel.
2. In the Control Panel window, double-click the System icon.
3. On the System Properties window, select the Environment tab.
4. Define the System Variable BHQ_HOST.
5. Enter the hostname of your Information Server as the Value for the BHQ_HOST
environment variable.
6. Click Set when you have entered the required variable name and value, and then click
OK.
7. On the Start menu of the Batch Server, point to Run.
! WARNING
The following steps require you to modify the Windows system registry. It is essen-
tial that you follow the instructions carefully and modify only the key that is identi-
fied. Unintentional changes to the registry can leave your system in an unusable
state.
! WARNING
The following steps require you to modify the Windows system registry. It is essen-
tial that you follow the instructions carefully and modify only the key that is identi-
fied. Unintentional changes to the registry can leave your system in an unusable
state.
587
B0193YB – Rev C 20. System Administration
4. Expand the SOFTWARE branch, select Wonderware and then expand the InBatch
branch.
5. Point to InfoServer and then double-click Host1 name. In the Edit String window
Value Data field, enter the computer name of the Batch Server (in lower case) that you
want to use. If you are changing a Batch Server name that is associated with Host2 (a
redundant system), simply repeat this step for Host2.
6. Click OK.
7. There is no need to restart the computer, but it is necessary to restart any browsers
that were connected to the Information Server.
NOTE
The DBCOPY utility is designed for use on an active batch server that contains the
databases that you want to backup. If you want to backup databases that are not
active, you can use a standard Windows file copy.
! WARNING
Will not work with NuTCRACKER™. Must be at DOS prompt.
588
20. System Administration B0193YB – Rev C
! WARNING
Do not use DBCOPY to back up configuration databases while an “Update Runt-
ime” or “Update Configuration” is in progress. Attempting this may result in cor-
rupt data.
NOTE
If you are making this change on a production system, ensure that all batches are
complete and removed from the Batch Schedule list.
It is recommended that you use the following guidelines whenever you need to overwrite the
config_A folder.
1. Perform an Exit and Shutdown from the Environment Display.
2. Copy the current config_A files to another folder as a backup precaution.
3. Copy all the files in the dflt_cfg folder to the config_A folder.
4. If the system is set up for redundancy, ensure the original RedCfg file is in the
config_A folder.
You can then use the editors to create a new system configuration or you can copy a
previously saved configuration into the config_A folder.
The following table shows the files in the configuration directory and provides a description of
how the batch system uses each.
589
B0193YB – Rev C 20. System Administration
590
20. System Administration B0193YB – Rev C
591
B0193YB – Rev C 20. System Administration
592
20. System Administration B0193YB – Rev C
593
B0193YB – Rev C 20. System Administration
594
20. System Administration B0193YB – Rev C
595
B0193YB – Rev C 20. System Administration
596
20. System Administration B0193YB – Rev C
597
B0193YB – Rev C 20. System Administration
598
20. System Administration B0193YB – Rev C
599
B0193YB – Rev C 20. System Administration
CFGOPT =0 no configuration
=1 auto checkpoint
=2 RTN to normal
The compound and block parameter LOOPID is used by the Batch System to store the batch ID
string name (32-char max). If the Compound’s LOOPID is not blank and the block’s LOOPID is
blank, alarms generated by the block contain the LOOPID information stored in the Com-
pound’s LOOPID parameter. If the block’s LOOPID parameter is not blank, the alarm generated
from the block contains LOOPID data as stored in the block.
When a string name is stored in the LOOPID parameter by way of the ICC, the string name is
stored as-is. LOOPID data, when set by way of the I/A Series Object Manager function, is pad-
ded with trailing blanks (32-char max).
600
20. System Administration B0193YB – Rev C
601
B0193YB – Rev C 20. System Administration
FoxAlert provides a display feature to display process alarms using configurable filters.
FoxAlert can display process alarms associated with a batch by matching Batch ID data in the
alarm’s LOOPID parameter. For FoxAlert (in a WP) to receive batch alarms, you must configure
the WP station name in the Compound’s GRxDVn parameter.
NOTE
If FoxAlert’s display alarm match feature is started manually, you should be aware of
the trailing blanks in the LOOPID. In order to find exact match for a Batch ID
string, a wildcard “*” is required after the Batch ID name or must enter trailing
blanks in the LOOPID field (32 char max).
To Configure in FoxAlert:
1. A configuration file <install dir>\IA_Config\BatchAlarmCfg.txt is provided for you to
copy and paste from while configuring the FoxAlert command button. You must first
open this file using a text editor such as Wordpad and edit the <install dir> to point to
the correct product installation path.
2. From FoxView display, select the Config/DispalarmCfg menu item. This displays
FoxAlert’s main window that you can use to configure a command button for CAD
display.
3. Select File/Open, and then select the am database foxboro.
4. Select Save As and enter the required database filename. For example: “BatchNT”.
This procedure retains the original databases included with the product.
5. On the right side of the configuration’s main window, enable the Alarm Manager
radio button, and then select the New button.
The Alarm Manager window appears.
6. Enter the following parameter values:
Alarm manager name: AM0000
Station letterbug: XXXXXX
Screen: Undedicated
602
20. System Administration B0193YB – Rev C
NOTE
If there are no unused buttons on the alarm manager window, first increase the
number of rows and then select the button labeled Preview.
603
B0193YB – Rev C 20. System Administration
NOTE
For more information, see Workstation Alarm Management (B0193RV).
604
20. System Administration B0193YB – Rev C
NOTE
For more information see Operator Action Journal (B0193CW).
605
B0193YB – Rev C 20. System Administration
606
Index
A
Abort a Batch 361
Aborted 321
Aborting 321
Access Mode 84
Acknowledge Addition of Material 365, 368
Acknowledge button 289
Acknowledge on Entry 154
Activate Jump Mode 339
Active Phases
TIM tags 508
Active Transitions
Objects 356
viewing 344
ActiveX 6
Actual Element
Process Phase 112
Transfer Phase 137
Actual Value 204
Assigning for Unit Assignment 206
Add Archive Job 577
Add Attributes to a Train 305
Add Batch to list 321
Add Daily Schedule 414, 415
Add Materials From List
check box 247, 251
Add Monthly Schedule 414, 416
Add Operation 262, 270
Add Operation Branch 261, 263
Add Operation Loop 261, 263
Add Operation Transition 261, 263
Add Phase 264
Add Phase Branch 264
Add Phase Loop 264
Add Phase Transition 264
Add Purge Job 579
Add Restore Job 581
Add Units to a Train 305
Add Weekly Schedule 414, 415
Adding Process Classes 97
607
B0193YB – Rev C Index
Adding Units 94
Advanced Planning Systems 6
Alarm Comment EditorApplication 551
Alarm limits 137
Alarm Manager, starting from Batch Display 344
Alarm Subsystem 551
Alarms 468
Allocate Phase
in recipes 211
Allocation Queue 343
Analog input parameters 137
Analog process variable 137, 138
using with Hi and Low Limit 113
Analog tag 83
API
Security 439
Application ID
in security 451
Application Parameters
Table of 60
Application Security Requests 456
Application Status
Viewing 50
Applications-Functions Editor 450
Approvals 219
Approved for Production 219
recipe security 449
Approved for Test 219
recipe security 449
Archive Job 577
Ask 463
AskCheckBy 463
AskDoneBy 463
Assign a Material to a Unit 205
Assign Application Parameter Values 59
Assign Application Parameters 59
Assign Destination Instances 240
Assign Lot Tracking Information 206
Assign Process Classes 232
Assign Source Instances 240
Assign Tags
additional information 149
Assign Tags to Process and Transfer Classes
additional information 151
Assign Units
Process Class Instances 234
Assigning a Material to a Unit 204
Assigning Attributes to Trains 305
Assigning Connections to Transfers 125
Assigning Segments 120
Assigning Units to a Process Class 98
608
Index B0193YB – Rev C
B
Backing Up Configuration Databases 588
Backup a Database with DBCOPY 588
Batch 204
Defining 318
Batch Alarm 551
Batch and Unit Management
Description of 307
Batch Configuration Client
Installed Components 7
Batch Configuration Client, security 446
Batch Control 351
Batch Control Buttons 349
Batch Display 336, 356
Actions Menu 338
control buttons 148
Description of 336
File Menu 338
functionality 351
Help Menu 347
layout 347
Menus
Actions/Activate Jump Mode 339
Actions/Manual Operation 338
609
B0193YB – Rev C Index
610
Index B0193YB – Rev C
Batch Questions
TIM tags 506
Batch Reporting System
Starting 404
Batch Reporting web page 405
Batch Reports 422
Description of 5
Batch Restart Mode 374
Batch Runtime Client
Installed Components 8
Batch Runtime Errors 371
Batch Schedule
CLB filtering 313
Mode/Status 314
Recipe Status 314
Train 314
Batch Schedule Errors 373
Batch Schedule List, modifying 321
Batch Scheduler 309, 326
Edit Menu 312
File Menu 310
Help Menu 318
Initialize Menu 316
Menus
Edit/Cleanup 312, 313
File/Exit 311
File/Print 310
File/Print Preview 311
File/Print Setup 311
Initialize/All 316
Initialize/Batch 316
Options/Execute in Order 317
View/Errors 315
View/Filters 313
View/Status Bar 315
View/Undo Sorting 313
Options Menu 317
View Menu 313
Batch Server
Changing Assignment on an Information Server 587
security 446
Batch Status
Descriptions 351
BatchAdmin 571
Batch-centric focus 489
BatchDspl 11, 61
BatchMngr 10, 60
BATCHOBJSRV.DLL 12
BatchReport 9
BatchSched 11
611
B0193YB – Rev C Index
BATCHVBSERVER.DLL 12
BHQ_HOST 586
Braces 463
Branch 261, 263, 264
Branch Execute Types 275
Branch Leg
Deleting 281
Branch Object 274
description of 209
insert 274
Branch Types 274
all 274
one 274
Branch, Deleting 283
BT.BATCH.COMM.HANDSHAKE 502, 504
BT.BATCH.COMM.INFO 504
BT.BATCH.FOCUS.SCHED_LIST 502
BT.BATCH.SCHED_LIST.FIRST_ITEM 502
BT.BATCH.SCHED_LIST.ITEM1 502
BT.BATCH.SCHED_LIST.NUM_ITEMS 502
BT.BATCH.SECURITY.CHECKBY 504
BT.BATCH.SECURITY.CHECKBY_PWD 504
BT.BATCH.SECURITY.DONEBY 504
BT.BATCH.SECURITY.DONEBY_PWD 504
BT.BATCH.SELECT.SCHED_CLB 502
BT.BATCH.SELECT.SCHED_CLBFOCUSOK 503
BT.BATCH.SELECT.SCHED_EDIT_MASK 503
BT.BATCH.SELECT.SCHED_ITEM 502
BT.BATCH.SELECT.SCHED_MODE 502
BT.BATCH.SELECT.SCHED_MODE_STR 502
BT.BATCH.SELECT.SCHED_RECIPEID 502
BT.BATCH.SELECT.SCHED_SIZE 502
BT.BATCH.SELECT.SCHED_STATUS 502
BT.BATCH.SELECT.SCHED_STATUS_STR 503
BT.BATCH.SELECT.SCHED_TRAIN 502
BT.EQUIPMENT.COMM.HANDSHAKE 527
BT.EQUIPMENT.EQUIPMENT_LIST.FIRST_ITEM 526
BT.EQUIPMENT.EQUIPMENT_LIST.ITEM 526
BT.EQUIPMENT.EQUIPMENT_LIST.NUM_ITEMS 525, 526
BT.EQUIPMENT.FOCUS.CLB 525, 526
BT.EQUIPMENT.FOCUS.UNIT 525, 526
BT.EQUIPMENT.INSTANCE_LIST.ITEM 527
BT.EQUIPMENT.INSTANCE_LIST.NUM_ITEMS 527
BT.EQUIPMENT.SECURITY.CHECKBY 527
BT.EQUIPMENT.SECURITY.CHECKBY_PWD 527
BT.EQUIPMENT.SECURITY.DONEBY 527
BT.EQUIPMENT.SECURITY.DONEBY_PWD 527
BT.EQUIPMENT.SELECT.EQUIPMENT_ALLOC 526
BT.EQUIPMENT.SELECT.EQUIPMENT_ITEM 526
BT.EQUIPMENT.SELECT.EQUIPMENT_NAME 526
BT.EQUIPMENT.SELECT.EQUIPMENT_STATUS 526
BT.EQUIPMENT.SELECT.EQUIPMENT_TYPE 526
612
Index B0193YB – Rev C
BT.EQUIPMENT.SELECT.EQUIPMENT_UCTRL 527
BT.EQUIPMENT.SELECT.INSTANCE_ITEM 527
BT.EQUIPMENT.SELECT.INSTANCE_NAME 527
BT.ERROR.COMM.HANDSHAKE 533
BT.ERROR.MESSAGE_LIST.ITEM 533
BT.ERROR.MESSAGE_LIST.MAX_ITEMS 533
BT.ERROR.MESSAGE_LIST.NUM_ITEMS 533
BT.ERROR.SELECT.MESSAGE 533
BT.ERROR.SELECT.MESSAGE_ITEM 533
BT.MESSAGE.COMM.HANDSHAKE 519
BT.MESSAGE.FOCUS.CLB 519
BT.MESSAGE.FOCUS.UNIT 519
BT.MESSAGE.MESSAGE_LIST.FIRST_ITEM 519
BT.MESSAGE.MESSAGE_LIST.ITEM 519
BT.MESSAGE.MESSAGE_LIST.NUM_ITEMS 519
BT.MESSAGE.SELECT.MESSAGE 520
BT.MESSAGE.SELECT.MESSAGE_ITEM 519, 520
BT.PHASE_ED.COMM.HANDSHAKE 521, 524
BT.PHASE_ED.FOCUS.CLB 521
BT.PHASE_ED.INPUT.INSTRUCT 523
BT.PHASE_ED.INSTRUCT_LIST.FIRST_ITEM 523
BT.PHASE_ED.INSTRUCT_LIST.ITEM 523
BT.PHASE_ED.INSTRUCT_LIST.NUM_ITEMS 520, 523
BT.PHASE_ED.PARAM_LIST.FIRST_ITEM 523
BT.PHASE_ED.PARAM_LIST.ITEM 523
BT.PHASE_ED.PARAM_LIST.NUM_ITEMS 523
BT.PHASE_ED.PHASE_LIST.FIRST_ITEM 520, 522
BT.PHASE_ED.PHASE_LIST.ITEM 521
BT.PHASE_ED.PHASE_LIST.NUM_ITEMS 520, 521
BT.PHASE_ED.SECURITY.CHECKBY 521, 524
BT.PHASE_ED.SECURITY.CHECKBY_PWD 521, 524
BT.PHASE_ED.SECURITY.DONEBY 524
BT.PHASE_ED.SECURITY.DONEBY_PWD 521, 524
BT.PHASE_ED.SELECT.INSTRUCT 523
BT.PHASE_ED.SELECT.INSTRUCT_ITEM 523
BT.PHASE_ED.SELECT.PARAM_DATACLASS 524
BT.PHASE_ED.SELECT.PARAM_DESC 524
BT.PHASE_ED.SELECT.PARAM_ITEM 523
BT.PHASE_ED.SELECT.PARAM_MTRLID 524
BT.PHASE_ED.SELECT.PARAM_MTRLNAME 524
BT.PHASE_ED.SELECT.PARAM_PARAM 523
BT.PHASE_ED.SELECT.PARAM_SET 524
BT.PHASE_ED.SELECT.PARAM_TYPE 523
BT.PHASE_ED.SELECT.PARAM_UOM 524
BT.PHASE_ED.SELECT.PARAM_VALUE 524
BT.PHASE_ED.SELECT.PHASE_INSTANCE 521, 522
BT.PHASE_ED.SELECT.PHASE_LABEL 521, 522
BT.PHASE_ED.SELECT.PHASE_NAME 521, 522
BT.PHASE_ED.SELECT.PHASE_OPER_MASK 521, 522
BT.PHASE_ED.SELECT.PHASE_OPERATION 521, 522
BT.RECIPE.COMM.HANDSHAKE 505
interfaces affected by 506
613
B0193YB – Rev C Index
BT.RECIPE.FOCUS.CLB 505
BT.RECIPE.FOCUS.UNIT 505
BT.RECIPE_COMMENT.COMM.HANDSHAKE 508
BT.RECIPE_COMMENT.INPUT.COMMENT 508
BT.RECIPE_COMMENT.SECURITY.CHECKBY 508
BT.RECIPE_COMMENT.SECURITY.CHECKBY_PWD 508
BT.RECIPE_COMMENT.SECURITY.DONEBY 508
BT.RECIPE_COMMENT.SECURITY.DONEBY_PWD 508
BT.RECIPE_PHASE.COMM.HANDSHAKE 516
BT.RECIPE_PHASE.INPUT.PARAM_EXT_VALUE 515
BT.RECIPE_PHASE.INPUT.PHASE_COMMENT 513
BT.RECIPE_PHASE.INSTRUCT_LIST.FIRST_ITEM 515
BT.RECIPE_PHASE.INSTRUCT_LIST.ITEM 515
BT.RECIPE_PHASE.INSTRUCT_LIST.NUM_ITEMS 515
BT.RECIPE_PHASE.INTERLOCK_LIST.ITEM 515
BT.RECIPE_PHASE.INTERLOCK_LIST.NUM_ITEMS 515
BT.RECIPE_PHASE.PARAM_EXT_LIST.FIRST_ITEM 513
BT.RECIPE_PHASE.PARAM_EXT_LIST.ITEM 513
BT.RECIPE_PHASE.PARAM_EXT_LIST.NUM_ITEMS 513
BT.RECIPE_PHASE.PHASE_LIST.FIRST_ITEM 511
BT.RECIPE_PHASE.PHASE_LIST.ITEM 511
BT.RECIPE_PHASE.PHASE_LIST.NUM_ITEMS 510
BT.RECIPE_PHASE.SECURITY.CHECKBY 516
BT.RECIPE_PHASE.SECURITY.CHECKBY_PWD 516
BT.RECIPE_PHASE.SECURITY.DONEBY 516
BT.RECIPE_PHASE.SECURITY.DONEBY_PWD 516
BT.RECIPE_PHASE.SELECT.INSTRUCT 515
BT.RECIPE_PHASE.SELECT.INSTRUCT_ITEM 515
BT.RECIPE_PHASE.SELECT.INTERLOCK_ITEM 515
BT.RECIPE_PHASE.SELECT.INTERLOCK_STATUS 516
BT.RECIPE_PHASE.SELECT.INTERLOCK_TAG 515
BT.RECIPE_PHASE.SELECT.PARAM_DATACLASS 514
BT.RECIPE_PHASE.SELECT.PARAM_DESC 515
BT.RECIPE_PHASE.SELECT.PARAM_EDIT_TYPE 514
BT.RECIPE_PHASE.SELECT.PARAM_EXT 514
BT.RECIPE_PHASE.SELECT.PARAM_EXT_ITEM 513
BT.RECIPE_PHASE.SELECT.PARAM_EXT_VALUE 515
BT.RECIPE_PHASE.SELECT.PARAM_NAME 513
BT.RECIPE_PHASE.SELECT.PARAM_SET 515
BT.RECIPE_PHASE.SELECT.PARAM_TYPE 513
BT.RECIPE_PHASE.SELECT.PARAM_UOM 514
BT.RECIPE_PHASE.SELECT.PHASE_DESC 511, 522
BT.RECIPE_PHASE.SELECT.PHASE_DOCUMENT 513
BT.RECIPE_PHASE.SELECT.PHASE_EDIT_MASK 511, 512
BT.RECIPE_PHASE.SELECT.PHASE_EQUIPMENT 511
BT.RECIPE_PHASE.SELECT.PHASE_ITEM 511
BT.RECIPE_PHASE.SELECT.PHASE_LABEL 511
BT.RECIPE_PHASE.SELECT.PHASE_LABEL1 512
BT.RECIPE_PHASE.SELECT.PHASE_LABEL2 512
BT.RECIPE_PHASE.SELECT.PHASE_NAME 511
BT.RECIPE_PHASE.SELECT.PHASE_OPERATION 511
BT.RECIPE_PHASE.SELECT.PHASE_OPERMSG 513
614
Index B0193YB – Rev C
BT.RECIPE_PHASE.SELECT.PHASE_OPERMSGINT 512
BT.RECIPE_PHASE.SELECT.PHASE_STATUS 511
BT.RECIPE_PHASE.SELECT.PHASE_UNITPROC 511, 522
BT.RECIPE_QUES.COMM.HANDSHAKE 507
BT.RECIPE_QUES.QUESTION_LIST.FIRST_ITEM 506
BT.RECIPE_QUES.QUESTION_LIST.ITEM 506
BT.RECIPE_QUES.QUESTION_LIST.NUM_ITEMS 506
BT.RECIPE_QUES.SECURITY.CHECKBY 507
BT.RECIPE_QUES.SECURITY.CHECKBY_PWD 507
BT.RECIPE_QUES.SECURITY.DONEBY 507
BT.RECIPE_QUES.SECURITY.DONEBY_PWD 507
BT.RECIPE_QUES.SELECT.QUESTION 507
BT.RECIPE_QUES.SELECT.QUESTION_ITEM 507
BT.RECIPE_QUES.SELECT.QUESTION_TYPE 507
BT.RECIPE_QUES.SELECT.SECURITY 507
BT.RECIPE_SELECT.COMM.HANDSHAKE 518
BT.RECIPE_SELECT.INSTANCE_LIST.ITEM 517
BT.RECIPE_SELECT.INSTANCE_LIST.NUM_ITEMS 517
BT.RECIPE_SELECT.SECURITY.CHECKBY 518
BT.RECIPE_SELECT.SECURITY.CHECKBY_PWD 518
BT.RECIPE_SELECT.SECURITY.DONEBY 518
BT.RECIPE_SELECT.SECURITY.DONEBY_PWD 518
BT.RECIPE_SELECT.SELECT.INSTANCE_ITEM 517
BT.RECIPE_SELECT.SELECT.UNIT_NAME 518
BT.RECIPE_SELECT.SELECT.UNIT_STATUS 518
BT.RECIPE_SELECT.UNIT_LIST.FIRST_ITEM 518
BT.RECIPE_SELECT.UNIT_LIST.ITEM 518
BT.RECIPE_SELECT.UNIT_LIST.NUM_ITEMS 518
BT.SAVE_RECIPE.COMM.HANDSHAKE 532
BT.SAVE_RECIPE.INPUT.AUTHOR 531
BT.SAVE_RECIPE.INPUT.CLB 531
BT.SAVE_RECIPE.INPUT.OPTION_MASK 531, 532
BT.SAVE_RECIPE.INPUT.RECIPEID 531
BT.SAVE_RECIPE.INPUT.VERSION_COMMENT 532
BT.SAVE_RECIPE.SECURITY.CHECKBY 532
BT.SAVE_RECIPE.SECURITY.CHECKBY_PWD 532
BT.SAVE_RECIPE.SECURITY.DONEBY 532
BT.SAVE_RECIPE.SECURITY.DONEBY_PWD 532
BT.SCHEDULE.COMM.HANDSHAKE 496
BT.SCHEDULE.COMM.INFO 496
BT.SCHEDULE.RECIPE_LIST.ITEM 494
BT.SCHEDULE.RECIPE_LIST.NUM_ITEMS 494
BT.SCHEDULE.SCHED_LIST.ITEM 494
BT.SCHEDULE.SCHED_LIST.NUM_ITEMS 494
BT.SCHEDULE.SCHED_MODE.EXECINORDER 494
BT.SCHEDULE.SECURITY.CHECKBY 496
BT.SCHEDULE.SECURITY.CHECKBY_PWD 496
BT.SCHEDULE.SECURITY.DONEBY 496
BT.SCHEDULE.SECURITY.DONEBY_PWD 496
BT.SCHEDULE.SELECT.RECIPE_ID 495
BT.SCHEDULE.SELECT.RECIPE_ITEM 495
BT.SCHEDULE.SELECT.RECIPE_NAME 495
615
B0193YB – Rev C Index
BT.SCHEDULE.SELECT.RECIPE_STATE 495
BT.SCHEDULE.SELECT.RECIPE_TYPE 495
BT.SCHEDULE.SELECT.SCHED_BATCH 495
BT.SCHEDULE.SELECT.SCHED_CAMPAIGN 495
BT.SCHEDULE.SELECT.SCHED_ITEM 495
BT.SCHEDULE.SELECT.SCHED_LOT 495
BT.SCHEDULE.SELECT.SCHED_MODE 495
BT.SCHEDULE.SELECT.SCHED_RECIPEID 495
BT.SCHEDULE.SELECT.SCHED_SIZE 495
BT.SCHEDULE.SELECT.SCHED_TRAIN 495
BT.SCHEDULE.SELECT.STATE 496
BT.SCHEDULE.SELECT.STATE_ITEM 496
BT.SCHEDULE.SELECT.TRAIN_ITEM 495
BT.SCHEDULE.SELECT.TRAIN_NAME 496
BT.SCHEDULE.SELECT.TYPE 496
BT.SCHEDULE.SELECT.TYPE_ITEM 496
BT.SCHEDULE.STATE_LIST.ITEM 494
BT.SCHEDULE.STATE_LIST.NUM_ITEMS 494
BT.SCHEDULE.TRAIN_LIST.FIRST_ITEM 494
BT.SCHEDULE.TRAIN_LIST.ITEM 494
BT.SCHEDULE.TRAIN_LIST.NUM_ITEMS 494
BT.SCHEDULE.TYPE_LIST.ITEM 494
BT.SCHEDULE.TYPE_LIST.NUM_ITEMS 494
BT.VIEW_TRANS.COMM.HANDSHAKE 529, 530
BT.VIEW_TRANS.EXP_LIST.ITEM 530
BT.VIEW_TRANS.EXP_LIST.NUM_ITEMS 530
BT.VIEW_TRANS.FOCUS.CLB 529
BT.VIEW_TRANS.SECURITY.CHECKBY 530
BT.VIEW_TRANS.SECURITY.CHECKBY_PWD 530
BT.VIEW_TRANS.SECURITY.DONEBY 530
BT.VIEW_TRANS.SECURITY.DONEBY_PWD 530
BT.VIEW_TRANS.SELECT.EXP 530
BT.VIEW_TRANS.SELECT.EXP_ITEM 530
BT.VIEW_TRANS.SELECT.TAG_ITEM 530
BT.VIEW_TRANS.SELECT.TAG_NAME 530
BT.VIEW_TRANS.SELECT.TAG_VALUE 530
BT.VIEW_TRANS.SELECT.TRANS_ITEM 529
BT.VIEW_TRANS.SELECT.TRANS_LABEL 529
BT.VIEW_TRANS.SELECT.TRANS_NAME 529
BT.VIEW_TRANS.TAG_LIST.ITEM 530
BT.VIEW_TRANS.TAG_LIST.NUM_ITEMS 530
BT.VIEW_TRANS.TRANS_LIST.ITEM 529
BT.VIEW_TRANS.TRANS_LIST.NUM_ITEMS 529
BTVT-SEL-TRANSDES 529
Building a Recipe Procedure 260
Bulk ingredients 193
By-Product 193, 207
defining 201
C
Campaign 204
616
Index B0193YB – Rev C
617
B0193YB – Rev C Index
Connections 117
Assigning to Transfers 125
Description of 71
Editing 118
Contention for Shared Equipment 369
Control Buttons 468, 482
additional configuration 148
Configuring for Process Class Phase 105
Configuring for Transfer Class Phase 129
Description of 74
Control Inputs 468
Control Outputs 468
Control Processor
Using TIM Tags 188
Control Recipe
Description of 207
Control Signals 166
Control System Alarm Destination 551
Control System Code Structure 471
Control System Memory Configuration, with phases 470
Control System Synchronization 375
Control/Status Activity 104, 128
Copying Procedure Objects 277, 278
create trains 304
Creating Reports 422
Crystal Reports
Predefined 422
Cutting Procedure Objects 277, 278
D
Data Class 83
Data Points 2
Database
Backup utility 588
Process Log 425
Database Conversions
Log File 36
Database Manager
Viewing Status of 51
Date Received 204
DBCOPY utility 588
DbCvt.txt 36
Default Batch Size 207
Default Environment System Parameters 56
Default TagMap Functionality 166
Default Values for Process Parameters 155
Define Lot Tracking Information 204
Define Materials 203
Defining a Batch 318
Defining Materials 201
618
Index B0193YB – Rev C
619
B0193YB – Rev C Index
E
Edit Connections 117
Edit Equipment Status 144
Edit Formula
Inputs 244
Outputs 248
Parameters 354
Edit Formula Parameters
additional information 153
Edit Phase Configuration 288
Edit Phase Properties 287
Edit Phases and Parameters, TIM tags 520
Edit Segments 143
Edit System Parameters 55
Edit Transfers 122
Edit Units 93
Editing an Expression 459
Editor
Process Modeling 67
End Of Batch Operation 371
Enter Batch Comments 508
Enumeration Data
Description of 76
Enumeration tag 83
EnvEdit 9
Environment
Update 49
Environment Display 45, 46
Description of 45
File Menu 47
Help Menu 51
Menus
File/Exit 47
File/Exit and Shutdown 48
File/Terminate App 48
Update
Configuration 50
Environment 49
Runtime 49
View/Status 50
Starting Runtime Applications 52
Stopping Runtime Applications 52
Update Configuration 88
Update Menu 49
620
Index B0193YB – Rev C
Using 46
View Menu 50
Environment Editor 45, 203
Adding Applications to the Environment 56
Application Parameters 59
Batch Manager 367
Description of 45
Edit Menu 54
File Menu 54
Help Menu 56
Instances, Configuring 58
Menus
Edit/System Parms 55
File/Exit 54
Phase/Batch Status parameter 343, 360, 361
Starting 53
Unit States parameter 343
Environment Management System 45
Description of 45
Environment Manager 45, 46
Description of 45
Process Log Manager
Configuring 437
Starting 64
EnvMngr 10
Equipment Allocation Changes
TIM tags 547
Equipment Allocation Queue 343
Equipment Allocation window 342
Equipment dependent recipe 208, 231, 234
unit assignments 230
Equipment independent recipe 208, 231
Equipment Requirements 207
Description of 208, 230
Equipment Requirements Editor, Using 230, 231
Equipment Selection 352
Equipment Status 144
Description of 76
ERP 6
Error
Unexpected Status 359
Error Queue Administration 574
Errors
Batch Runtime 371
Batch Schedule 373
Batch Schedule, Viewing 315
Evaluate Equipment for Allocation, TIM tags 542
Event Manager 61
Example
Formula Parameter 155
621
B0193YB – Rev C Index
Process Model 85
Example Equipment Requirements 237
Example Transfer Instance Selection 242
Execute multiple operation 274
Execute multiple phases 274
Execute Type 274
Execute Type All
description of 275
Execute Type One
description of 276
Exercising Phases 486
Export Recipes 222
Export Units of Measure 147
Expression
Editing 459
Operators 461
Expression Building Rules 463
Expression Editor
Defining Process Log Criteria 425
Description of 459
Edit Buttons 460
Question Length 274
Using 459
using for transitions 272
Expression Elements 461
Expression Examples 464
Expression Functions 462
Expression triggered reports 405
Expressions
viewing during batch execution 356
Extensibility 6
F
Factory Suite Licensing 259
FIFO 367
Materials Parameter 203
Filter Recipes 215
Filtering
Batch Schedule List 313, 314
Find 215
Find Button
Materials Editor 203
Finished Goods 193, 207
defining 201
-FIRSTITEM tag 490
Flexibility 1
Flexible batch management 1
Force to True 356
Formula 207
defining 243
622
Index B0193YB – Rev C
recipe
description of 208
Formula Parameter Configuration
Manual Transfer Phases 142
Formula Parameter Examples 155
Formula Parameters 468, 480
Automatic and Semi-Automatic Transfer Phases 136
Automatic Process Phases 112
Configuring for Process Class Phases 109
Configuring for Transfer Class Phases 133
Description of 74, 153, 211
Manual Process Phases 117
Types 74, 112, 136
Formula quantities 207
FoxAlert 1
Batch Display 344
Foxboro SFC/ST Display Manager 344
FoxSFC 1
Security 344
FoxView 1
FU.ALLOC_CHANGE.COMM.HANDSHAKE 548
FU.ALLOC_CHANGE.INFO.CLB 547
FU.ALLOC_CHANGE.INFO.EQUIPMENT 548
FU.ALLOC_CHANGE.INFO.MODE 547
FU.ALLOC_CHANGE.INFO.RECIPE 547
FU.ALLOC_CHANGE.INFO.SIZE 547
FU.ALLOC_CHANGE.INFO.STATUS 548
FU.ALLOC_CHANGE.INFO.TRAIN 547
FU.ALLOC_CHANGE.SEGMENT_LIST.ITEM 548
FU.ALLOC_CHANGE.SEGMENT_LIST.NUM_ITEMS 548
FU.ALLOC_CHANGE.SELECT.SEGMENT 548
FU.ALLOC_CHANGE.SELECT.SEGMENT_ITEM 548
FU.EVAL_EQUIP.COMM.HANDSHAKE 544
FU.EVAL_EQUIP.INFO.CLB 543
FU.EVAL_EQUIP.INFO.EQUIPMENT 544
FU.EVAL_EQUIP.INFO.INSTANCE 544
FU.EVAL_EQUIP.INFO.MODE 543
FU.EVAL_EQUIP.INFO.RECIPE 543
FU.EVAL_EQUIP.INFO.SIZE 543
FU.EVAL_EQUIP.INFO.STATUS 543
FU.EVAL_EQUIP.INFO.TRAIN 543
FU.EVAL_EQUIP.SEGMENT_LIST.ITEM 544
FU.EVAL_EQUIP.SEGMENT_LIST.NUM_ITEMS 544
FU.EVAL_EQUIP.SELECT.SEGMENT 544
FU.EVAL_EQUIP.SELECT.SEGMENT_ITEM 544
FU.LOG_EQUIP.INFO.CHECKBY 545
FU.LOG_EQUIP.INFO.COMMENT 546
FU.LOG_EQUIP.INFO.DONEBY 545
FU.LOG_EQUIP.INFO.FIELD 546
FU.LOG_EQUIP.INFO.LASTRECIPEID 545
FU.LOG_EQUIP.INFO.NEW_STATUS 545
623
B0193YB – Rev C Index
FU.LOG_EQUIP.INFO.OLD_STATUS 545
FU.LOG_EQUIP.INFO.RECIPEID 545
FU.LOG_EQUIP.INFO.UNIT_SEGMENT 545
FU.PHASE.COMM.HANDSHAKE 542
FU.PHASE.INFO.CLB 540
FU.PHASE.INFO.EQUIPMENT 540
FU.PHASE.INFO.MODE 540
FU.PHASE.INFO.PHASE 540
FU.PHASE.INFO.RECIPE 540
FU.PHASE.INFO.SIZE 540
FU.PHASE.INFO.STATUS 540
FU.PHASE.INFO.TRAIN 540
FU.PHASE.PARAM_EXT_LIST.ITEM 541
FU.PHASE.PARAM_EXT_LIST.NUM_ITEMS 541
FU.PHASE.SELECT.PARAM_DATA_CLASS 541
FU.PHASE.SELECT.PARAM_EXT 541
FU.PHASE.SELECT.PARAM_EXT_ITEM 541
FU.PHASE.SELECT.PARAM_EXT_VALUE 542
FU.PHASE.SELECT.PARAM_NAME 541
FU.PHASE.SELECT.PARAM_TYPE 541
Function Block Diagram 468
Function Security
enabling 453
requests 456
Functions
Description of 462
inserting in expressions 461
G
General High Deviation 201
General Low Deviation 201
General Tolerances, in Recipes 248
Guideline
Batch Manager system interactions 308
Control System Memory Configuration 470
Creating a Process Log Group 432
Creating a train 304, 305
Expression Building 463
Phase Block Design 467
Phase Block Memory 471
Process Modeling 2
Recipe Procedure Development 213
H
-HANDSHAKE tag 490
Header 207
description of 207
Held 320
Help
624
Index B0193YB – Rev C
Environment Display 51
Environment Editor 56
Materials Status 200
Process Modeling 93
Recipe Editor 259
High Deviation
Material 201
High Deviation Element 137
Process Phase 113
Transfer Phase 137
High Limit Element
Process Phase 113
Transfer Phase 138
History
Logging Process Data 426
Viewing for a Recipe 220
History Administration 572
History and Batch Manager
Description of 308
History Archiving 576
History Queue
Viewing Status of 51
Hold a Batch 360
Hold Propagation Modes 343
Hybrid Model 68
I
I/A Batch
Overview of Capabilities 1
I/A Batch Server
Installed Components 7
I/A Link Editor (IALink) 488
I/A Series
Batch Link Editor Operation 174
Control Processor 551
Control Strategy 553
Linker 165
TIM Shared Variable Utility 12
IADriver 10, 61
IALink 9, 89, 165
II0003 174
II0004 174
II0007 185
II0008 185
Import Recipes 222, 223
Import Units of Measure 147
InBatch
redundancy 558
INBATCHSFC.OCX 12
Index 463
625
B0193YB – Rev C Index
InfoMngr 10
InfoMngr_ _See Information Manager 438
Information Manager
Description of 438
Information Server
Changing Assignment on the Batch Server 586
Information Server Administration 571
Information Server Configuration 575
Ingredient, Defining 201
Ingredients 193, 207
Initialization
Description of 307
Initializing batches
train 266
initializing batches, train 269
Input and Output Control 483
Input formula parameters 203
Input Material Settings
Editing for Recipes 247
Input Materials
Adding to Recipe 245
Changing in Recipe 246
Input parameter elements 112
Input parameters 136
Insert a Function 461
Insert a Phase 270
Insert a Tag Operand 461
Insert an Operation 269, 270
Insert Branch Object 274
Insert Loop Object 277
Insert Transition Object 271
Inserting Procedure Objects 269
Installation Overview 15
Installing
I/A Series Batch Configuration Client 23
I/A Series Batch Information Server Components 19
I/A Series Batch Runtime Client 22
I/A Series Batch Server 21
Internet Information Server (IIS) 25
Microsoft Internet Explorer 5 25
Microsoft SQL Server 7.0 SP2 25
Seagate Crystal Reports Professional 8.0 18
Station Types 17
Instance
Description of 56
Instances 56, 58
Adding 56
Error Message 56
Instruction List 350
Instrument Society of America 1
Integrated Control Configurator (ICC) 185
626
Index B0193YB – Rev C
J
Jump Mode
Description of 370
L
Library, Operations 253, 254
Licensing
Viewing 56, 259
LIFO 367
LIFO Materials Parameter 203, 367
List Tags 489
lm_tcp 46, 64
Load Operation 262, 268
Loading an Operation 266, 268
Locked 321
Locking 321
Log Equipment Status, TIM tags 545
Log Interval
Description of 426
Process Log Group Editor 426
Log Trigger
Description of 425
Process Logger Group Editor 425
LogEdit 9
LogMngr 11, 60
LogMngr_ _See Process Log Manager 437
Loop 261, 263, 264
Loop Object 276
Description of 209
Insert 277
Loop, Deleting 284
Lot 204
Lot Code Element
Process Phase 113
627
B0193YB – Rev C Index
M
Managing I/A Batch Configurations 7
Manipulate Recipe Focus
TIM tags 505
Manipulate the Batch Schedule
TIM tags 492
Manual Addition
using a connected scale 365, 367
using an unconnected scale 365, 368
with scale and without scale 365
Manual Addition, with Scale and without Scale 368
Manual Allocation and Release
unit 359
Manual Batch Execution 320
Manual Batch Mode 362
Manual Operation
phase execution 338
precautions 376
Warm Restart 376
Manual Phase 72, 73, 103, 127
Manual Process Phases 116, 364, 366
Manual Process Phases with Material Input Parameters 365
Manual Tag Creation and Assignment 151, 155
Manual to Automatic mode change 363
Manual to Semi-automatic mode change 363
Manual Transfer Phase 134, 140, 367
examples of 140
Manual Unit Selection 364
Master Recipe
Description of 207
Material Characteristics 201, 203
Material Description 201
Material ID 201
Material ID Element
Process Phase 114
Transfer Phase 138
Material Location Assignment Editor
Starting 204
Using 203
Material Name 201
628
Index B0193YB – Rev C
629
B0193YB – Rev C Index
Edit Menu 92
Edit Segments Tab 143
File Menu 90
Menus
Edit/Connections 92
Edit/Equipment Status 92
Edit/Processes 92
Edit/Segments 92
Edit/Transfers 92
Edit/Units 92
Edit/Units of Measure 92
File/Exit 92
File/Print 91
File/Print Preview 91
File/Print Setup 92
File/Validate 90
Starting 89
Transfers Tab 122
Units Tab 93
ModelDB 88
ModelEdit 9
Modeling 89
Modeling_ _Model Editor 89
Monitor and Control Active Batches 500
Monitor and Control Active Phases
TIM tags 508
Monitor and Control Equipment 525
Monitor and Respond to Batch Questions
TIM tags 506
Monitor and Respond to Errors
TIM tags 532
Monitor Batch Messages
TIM tags 518
Moving Procedure Objects 285
MRP 3, 193
Multiple Instances
in recipes 208
Multiple Operation Execution 274
Multiple Phase Execution 274
Multiple Process Instances 234
N
Nesting branches 275
Nesting Procedure Objects 285
Nodes
Description of 163
Not 463
NUM_OP 185
-NUMITEMS tag 490
630
Index B0193YB – Rev C
O
OCXBATCH.OCX 12
One Time Schedule 414
Open 320
Operands
Description of 462
Operation
Description of 210
Insert 269, 270
Save 285
Storing 266
Validity of 266
Operation Branch
Insert 274
Operation Loop
Insert 277
Operation Name
Changing 285
Operation Name, Changing 286
Operation Properties 286
Operation Transition 261, 263
Insert 271
Operation, Loading 266, 268
Operation, Save 287
operation, validity of 268
Operations
Examples of 210
Operations Library 253, 254
Using 254
Operations Toolbar 262
Operator Display and Edit Configuration 155
Operator Stations 449
description of 446
Operator Stations Editor 450
Operator Stations, security 445
Operators
Expressions 461
OPNAM 185
Other Applications 62
Other Materials 193
Defining 201
Output Formula Parameters 204
Output Material Settings
Editing for Recipes 251
Output Materials
Changing in Recipe 250
Output Parameter Elements 112
Output Parameters 136, 211
631
B0193YB – Rev C Index
P
P&ID,Using for Process Model 67
Parameter Extensions
Description of 481
Parameter Status 104, 128
Parameter Type Extensions 480
Parameter Types 480
Parameters
Application Parameters 60
Applications
Assigning with Environment Editor 59
Formula 74
Phase 74
Parentheses 463
Password 441, 448
changing 441, 448
security editor 441
Password Encryption 448
Password Reuse 444
Password Timeout 444, 448
Phantom Batch
description of 338
displaying 348
Phase 103, 127
Insert 270
Process 71
Phase Block
Components of 471
Description of 467
Operational Flow Chart 469
Rules of Operation 468
Phase Block Design Guideline 467
Phase Block Interface 168
Phase Block Memory Guidelines 471
Phase Branch 264
Insert 274
Phase Comments 352
Phase Configuration, additional information 147
Phase Control 477
Phase Control and Status 353
Phase Control and Status Bits
Description of 74
Phase Control Bits 468
Phase Control Buttons 350
Phase Control/Status Bits
Additional Information 149
Configuring for Process Class Phases 106
Configuring for Transfer Class Phases 130
Phase Interlock
tags 153
632
Index B0193YB – Rev C
633
B0193YB – Rev C Index
634
Index B0193YB – Rev C
635
B0193YB – Rev C Index
636
Index B0193YB – Rev C
Help Menu 93
Phase Logic 73
Process Classes
Unit Control Tags 98
Unit State Tags 98
Process Modeling Editor 252
Process Class Attributes 236
Process Modeling Steps
Guideline 70
Process Phase
Description of 71
Process Phase Types
Automatic 72
Manual 72
Semi-Automatic 72
Process Phases 364, 366
Entering as process tags 95
Process Phases with Material Input Parameters 364
Process Phases with Material Output Parameters 366
Process Status Display 184
Process Tag
Description of 78
Example of 85
Guideline 80
Process Tag to Unit Tag Resolution by Batch Manager 86
Process Variable Editor 243
Process Variable Elements 112
Process Variable Parameters 136, 211
Changing 252
Description of 112
Process Variables 136, 252
Processes_ _See Process Class 71
Processing capabilities 2
ProcStatus 12, 184
Product ID 207
Product Name 207
Production Tracking Record 203
Program Menu
I/A Batch 7
Proprietary Format
Recipe 223
Purge Job 579
Q
Quantity 204
Quantity Assignment
Batch Size 319
Question List 349
Quotes 463
637
B0193YB – Rev C Index
R
Raw Materials 193
Read/Write tags 84
Read-only tags 84
Ready 320
Reassigning a Valid Unit 196
Recipe
Approval 220
Approved for Production 219
Approved for Test 219
Creating 260
Deleting 218
Done By as Author 217
equipment dependent 208
equipment independent 208
Parts of 207
Saving 217
Validate 219
Recipe Allocation and Release, unit 358
Recipe Approval Levels 219
Recipe Approvals 219
Recipe Assignment to a Batch 319
Recipe Editor 207
Edit Menu 227
File Menu 214
Help Menu 259
Hi and Low Elements 138
Menus
Edit/Formula Inputs 244, 248
Edit/Operations Library 254
Edit/Process Variables 252
Edit/Recipe Header 227
Edit/Recipe States 255
Edit/Recipe Types 256
Edit/Zoom In Operations 259, 346
Edit/Zoom In Phases 259, 346
Edit/Zoom Out Operations 259, 346
Edit/Zoom Out Phases 259, 346, 347
File/Approvals 219
File/Delete Recipes 218
File/Exit 226
File/History 220
File/Import/Export 222
File/New 214
File/Open 215
File/Print 225
File/Print Preview 226
File/Print Setup 226
File/Save 217
638
Index B0193YB – Rev C
639
B0193YB – Rev C Index
Reports 289
Deleting 586
expression triggered 405
Predefined 422
Train Editor 303
Restart a Batch 361
Restarting
Process Log Manager 427
Restore Job 581
Restrict access to applications 450
Retain Recipe Approvals 339
Retries 444
Run 320
Runtime
Update 49
Runtime Programs
Summary of 10
Runtime Recipe Procedure Jumps 307
Description of 370
Runtime Security 455
S
S88.01 Standard 1, 3, 207
Save Control Recipe 338, 531
Save History
Process Class Phase 104
Transfer Class Phase 128
Save Operation 266, 285, 287
Save Runtime Equipment 339
SCADA 78
Schedule window 340
Scheduling
Description of 307
SE.SECURITY.COMM.HANDSHAKE 536
SE.SECURITY.INPUT.APPLICATION 536
SE.SECURITY.INPUT.FUNCTION 536
SE.SECURITY.INPUT.NEWPASSWORD 536
SE.SECURITY.INPUT.OPSTATION 536
SE.SECURITY.INPUT.PASSWORD 536
SE.SECURITY.INPUT.RECIPEID 536
SE.SECURITY.INPUT.SECURITYLEVEL 536
SE.SECURITY.INPUT.USERID 536
SE.SECURITY.INPUT.VERIFYPASSWORD 536
SecEdit 10, 440
SecMngr 11, 46
Security
Adding a New Function 453
Adding Applications 451
Application Security Requests 456
Applications-Functions 450
640
Index B0193YB – Rev C
Checked 453
Disable 444
Display Phase Sequence 344
Done By 453
Enable 444
Enabling Application 452
Enabling Function Security 453
Function Security Requests 456
Recipe approvals 219
Saving recipes 217
Security API 439, 451, 453, 457
Security Application Program Interface 439
Security Clearance Request 441
Security Editor 439
Default password 441
Edit Menu 443
File Menu 442
Help Menu 443
Menus
Edit/Applications-Functions 443
Edit/Operator Stations 443
Edit/Security Levels 443
Edit/User Accounts 443
File/Exit 442, 443
File/Print 442
File/Print Preview 442
File/Print Setup 443
Using for the first time 441
Security for FoxSFC 344
Security Level 448
Assigning 444
Security Manager 64, 439, 455
Security System 439
Description of 439
Recipe Author 217
Viewing Status of 51
Security System Configuration 444
Security System Interface
TIM tags 535
Security System Interface Handshake Errors
TIM tags 537
Segment 67
Description of 75
Segments 143
Assigning 120
Select Equipment for Allocation, TIM tags 517
-SEL-tag 490
Semi-Auto On Abort 363
Semi-Automatic Batch Execution 320
Semi-Automatic Batch Mode 362
641
B0193YB – Rev C Index
Semi-Automatic Phase 72
Semi-automatic to Automatic mode change 363
Semi-automatic to Manual Mode mode change 363
Semi-Automatic Transfer Phase 134
Semi-Automatic Transfer Phases 367
Sequence of Operations 260, 350
Sequence of Phases 260, 350
Sequence Unsuspend scriptApplication 551
Services
Windows NT 52
Setting up an I/A Series Batch System 17
SFC Toolbar 349
SFC/ST Display Manager 344
Shared Equipment Contention 369
Shared Variable 488
Shared Variable Utility 182
Shutting Down Environment Display 48
SimMngr 10, 60
Using with IADriver 61
Simulation
Using IADriver with SimMngr 61
Sleep
For delaying batch file execution 66
Source Class Discharge Phase 68
Source Instance
Assigining 241
Source Process Class
Assigning 123
Source Unit
Assigning 118
Space Character
In Recipe Find 216
Starting
Environment Editor 53
Environment Manager 64
Material Location Assignment Editor 204
Materials Editor 202
Materials Status Window 194
Model Editor 89
Process Log Editor 427
Recipe Editor 213
Starting the Expression Editor 459
Starting the Security Manager 455
State
Find recipes by 216
Recipe 255
Station Type Software Requirements 15
Status
Of a batch 320
Storing an Operation 266
string items 173
642
Index B0193YB – Rev C
string tag 83
naming 83
StrMap Default Configuration File 173
Synchronization
Control System 375
Synchronize Recipes 223
SysTagMngr 10
System Class tags 78
System Connection tags 78
System Segment tags 78
System Shutdown
Phase Status 375
System Tag
Description of 78
Equipment Status 145
System Unit tags 78
T
Tag
Access Mode 84
Connection Tag 78
Data Class 83
Definition 81
Description of 2, 76
Entering a Description for 83
Equipment Status 145
Process Model 76
Process Tag 78
System Tag 78
Transfer Tag 78
Unit Tag 78
Using with Control Buttons 105, 129
Tag Generation, TIM 491
Tag Interface Management, when to use 487
Tag Linker 488
Tag Operand 461
Tag Types and Usage 76
TagMap 187
TagMap File 166
Tagname
Automatically Generated 82
Definition 81
Delimiters 82
Description of 81
Naming Convention 82
Structure 82
Tags
assigning to control buttons 149
Phase Control/Status 106, 130
643
B0193YB – Rev C Index
644
Index B0193YB – Rev C
File/Print 303
File/Print Setup 304
Help Menu 304
Help/About Train Editor 304
Help/Help Topics 304
Using 301
Train filtering in Batch Scheduler 314
TrainEdit 9
Trains
Assigning Units to 304, 305
Deleting Units from 95
Transfer Capabilities
Defining 71
Description of 71
Transfer Class
Description of 71, 122
Edit Phases 127
Transfer Class Instance Editor 239
Transfer Class Phase
Control Buttons 129
Formula Parameters 133
Interlocks 131
Phase Control/Status Bits 130
Save History 128
Transfer Classes 122
Transfer Instance 239
Assign to Recipe 240
Defining for Recipes 239
Deleting from Recipe 240
In a Recipe 230, 240
example 231
Transfer Phase
Configuration 134
Types 134
Transfer Phases
In Recipes 230
Transfer Phases with Material Input Parameters 366
Transfer Phases with Material Output Parameters 368
Transfer Tag 125
Description of 78
Guideline 80
Transfers
Editing 123
Transfers_ _See Transfer Class 71
Transition 261, 263, 264
Transition Expression
Examples 273
Transition Logic
In Objects 271
in Recipe Procedures 209
645
B0193YB – Rev C Index
in Recipes 212
Operators 212
Transition Object 271
Description of 271
Insert 271
Transition Properties
Loops 277
Transition Wait
Displayed in Batch Display 356
Type
Assigning 229
Defining for Materials 201
Find recipes by 216
Recipe 256
U
Undo 262, 263, 265
Objects 279
Unexpected Status Error 359
UnilinkMngr 10
Unit 67, 70
Assign Materials to 205
Assigning a Material to 204
Assigning for material tracking 203
Description of 70
Unit Abort Tag 98
Unit and Connection Tags
when to use 80
Unit Attribute Values 101
Unit Block 185
Unit Block Interface 171
Unit Control 185, 343
Bits 475
Tag 98
Description of 98
Unit Control/State Tags 98
Unit Hold Tag 98
Unit of Measure 251
Material 201
Unit Restart Tag 98
Unit Selection 235
At Runtime 235
Process Class Instances 235
Unit Selection Mode and Allocation 357, 363
Unit State system tags 343
Unit State Tags
Description of 98
Unit Tags 95
Description of 78
646
Index B0193YB – Rev C
Guideline 80
Unit-centric focus 489
Units of Measure
Description of 76
UOM_IN.txt 146
UOM_OUT.txt 147
Update
Configuration 50
Environment 49
Runtime 49
Update Runtime
Materials Editor Unit Selection 206
Upgrade an existing I/A Series Batch 7.x System 30
URL
Batch Administration 571
Batch Reporting 405
User Accounts 574
Configuring for SQL Server 574
Security 446
User Defined Applications 62
Using
Environment Display 46
Phase Logic Testing Tool 484
Train Editor 301
Using Batch Display 336, 356
Using Batch Scheduler 309, 326
Using Expression Editor 459
Using Security Editor 440
Using the Phase Logic Testing Tool 484
Utility Programs 12
V
Valid Characters for Tagnames 82
Validate
Security configuration 442
Validation
Materials Database 195
Process Model 90
Recipe 219
Validation Errors
Correcting for Materials Database 196
Verification
Batch Initialization 316
View
System Application Status 50
View and Adjust Allocation Queue 498
View Doc/Ack Doc Button 350
View Partial List check box
Materials Editor 203
View/Force Transition Logic, TIM tags 528
647
B0193YB – Rev C Index
W
Wait 356
WaitHour 463
WaitMin 463
WaitSec 463
Warm Restart 373
Warning
Batch Client Security 452
Batch Manager and Trains 317
Deleting Model Components 88
Phase Logic Testing Tool 485
Process Log Manager, Stopping 438
Restarting Batches 375
Tags in Expressions 464
Z
Zoom In 262, 263, 265
Zoom Out 262, 264, 265
33 Commercial Street
Foxboro, Massachusetts 02035-2099
United States of America
www.foxboro.com
Inside U.S.: 1-866-PHON-IPS (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. 0701