LAB505 FactoryTalk Batch and LBSM Lab
LAB505 FactoryTalk Batch and LBSM Lab
properly using, calibrating, operating, monitoring and maintaining all Products consistent with all Rockwell Automation
or third-party provided instructions, warnings, recommendations and documentation;
ensuring that only properly trained personnel use, operate and maintain the Products at all times;
staying informed of all Product updates and alerts and implementing all updates and fixes; and
all other factors affecting the Products that are outside of the direct control of Rockwell Automation.
Reproduction of the contents of the Documentation, in whole or in part, without written permission of Rockwell Automation is
prohibited.
Throughout this manual we use the following notes to make you aware of safety considerations:
Identifies information about practices or circumstances
that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property damage, or economic loss.
Identifies information that is critical for successful application and understanding of the product.
Identifies information about practices or circumstances that can lead to personal injury or death, property
damage, or economic loss. Attentions help you:
identify a hazard
avoid a hazard
recognize the consequence
Labels may be located on or inside the drive to alert people that dangerous voltage may be present.
Labels may be located on or inside the drive to alert people that surfaces may be dangerous temperatures.
Contents
ABOUT THIS LAB .............................................................................................................................................................5
Document Conventions ..........................................................................................................................................6
Tools & prerequisites .............................................................................................................................................6
Initial Checks ..........................................................................................................................................................9
Controller Setup SoftLogix .....................................................................................................................................9
LAB1: FACTORY TALK BATCH BASICS ...............................................................................................................................29
Operators Perspective.........................................................................................................................................29
Engineers Perspective .........................................................................................................................................70
R&D (Recipe Author) Perspective.......................................................................................................................101
Plant Managements Perspective - Batch Reporting .........................................................................................123
Qualitys Perspective - Batch Reporting.............................................................................................................139
LAB2: FACTORY TALK BATCH EPROCEDURE..................................................................................................................159
Sample Process Overview: .................................................................................................................................159
Sample SOP ........................................................................................................................................................160
Operator Perspective: ........................................................................................................................................161
Electronic Work instructions operator view .......................................................................................................165
Engineering aspect ............................................................................................................................................169
Equipment Definition .........................................................................................................................................169
Procedure Definition ..........................................................................................................................................173
Configuring Formula Values ..............................................................................................................................177
Configuring the transition conditions ................................................................................................................178
Defining the recipe flow .....................................................................................................................................181
Recipe overview .................................................................................................................................................185
Recipe Details ....................................................................................................................................................186
Creating an eProcedure instruction: ..................................................................................................................191
Displaying images on the operator instructions ................................................................................................208
LAB3: FACTORY TALK BATCH MATERIAL MANAGER......................................................................................................210
Introduction .......................................................................................................................................................210
Split Feeds (Tank Depletion) and Rebinding ......................................................................................................211
Plug Flow Transition ..........................................................................................................................................225
Container Selection ............................................................................................................................................229
Inventory Check .................................................................................................................................................234
Material Management implementation with FactoryTalk Batch ......................................................................238
Solid Receiving Area...........................................................................................................................................241
Liquid Receiving Area .........................................................................................................................................249
Pre-Weigh 1 .......................................................................................................................................................253
LAB4: FACTORYTALK HISTORIAN SE / BATCH ANALYSIS LAB...............................................................................................272
Section 1 Overview, Highlights of Lab, and Terminology ................................................................................272
Section 2 Engineer constructs FactoryTalk Historian SE points.......................................................................275
Section 3 Engineers take on the FactoryTalk Batch Interface ........................................................................304
Section 4 Engineers perspective of ProcessBook with BatchView..................................................................325
LAB5: LOGIX BATCH & SEQUENCE MANAGER .................................................................................................................342
SETUP ......................................................................................................................................................................342
3
Username: administrator
Password: Rockwell1
2. For the batch FactoryTalk security users within your lab, you have the option to use the following
FactoryTalk users that have no passwords assigned if you find that easier:
Operator username:
Supervisor username: S1
Engineer username:
O1
E1
Lab 4 - PlantPAx FactoryTalk Batch Historian SE and Batch Analysis Lab (1.25 hour)
Labs 1, 2, and 3 use two VMWare images named PASS01 and AppSerBatch. Lab 4 requires three
VMWare images which puts a real strain on this single PC, so be patient at times, please. Lab 5 only
requires the PASS01 VMWare image. Time estimates for each lab have been provided, but they are
simply an estimate. Please note that you may not have time to finish the lab that you desire to take within
a single session. If so, please consider signing up for another session later in the week. The following
are brief descriptions of the labs you may consider taking during this session:
Lab 1: PlantPAx FactoryTalk Batch Basic lab - it exposes the user to the various aspect of the
FactoryTalk Batch core product from the point of view of view of different users, the operator, the
supervisor and the engineer.
Lab 2: PlantPAx Factory Talk eProcedure lab it show the user how the commonly found paper based
manual operating procedures can be converted into an electronic work instructions driven procedure, this
lab uses predefined generic instructions to create and execute a recipe. It shows how these instructions
can be created if different ones are required.
Lab 3: Material Manager - This lab is designed to demonstrate some of the capabilities of the Material
manager component of FactoryTalk Batch. It shows how materials can be tracked from its arrival to the
plant, how the tank and silo farm can be managed as well as how material can prioritize and managed for
its usage in the process.
Lab 4: PlantPAx Process Information - provides a reporting and analysis solution for your process
operations. Offering a multitude of client access options, time-series information can be shared with all
levels of the organization providing essential data on how things are running or the ability to drill down
into more detail on how a specific operational component is functioning. Integration with our data
historian provides detailed historical context for further batch analysis or comparison of past performance
against current running operations, past operations, and time-series data. This lab uses the new
Historian Batch Event Interface.
Lab 5: Controller Base Batch Management Implementation - This section provides you with an
opportunity to explore the capabilities of PlantPAx Logix Batch and Sequence Manager (LBSM) from
various users perspectives. A day in the life perspective of several system users (operator, engineer,
R&D) will be explored to design, control, troubleshoot, and optimize a running batch/sequencing
production process built leveraging the capabilities of the PlantPAx controller based solution.
Document Conventions
Throughout this workbook, the following conventions are used to guide you through the lab materials.
This style or symbol:
Indicates:
Words shown in bold italics
Any item or button that you must click on, or a menu name from
(e.g., RSLogix 5000 or OK)
which you must choose an option or command. This will be an
actual name of an item that you see on your screen or in an
example.
Words shown in bold italics,
An item that you must type in the specified field. This is information
enclosed in single quotes
that you must supply based on your application (e.g., a variable).
Note: When you type the text in the field, remember that you do not
(e.g., 'Controller1')
need to type the quotes; simply type the words that are contained
within them (e.g., Controller1).
The text that appears inside of this gray box is supplemental
NOTE:
information regarding the lab materials, but not information that is
required reading in order for you to complete the lab exercises.
Tech Tip:
The text that follows this symbol may provide you with helpful hints
that can make it easier for you to use this product. Most often,
authors use this Tip Text style for important information they want
their students to see.
Note: If the mouse button is not specified in the text, you should click the left mouse button.
Microsoft Windows Server 2008 Standard R2 (64 bit) with Microsoft Internet Explorer 9.0
Microsoft SQL Server 2008 Standard Edition
Microsoft Office 2010
RSLinx Classic v2.59 (CPR9 SR5)
RSLogix 5000 v20 with Phase Manager option
SoftLogix v20
High-end I7 processor, or better, 16GB min, high speed disk drives 10,000 rpm, or solid state.
C:\PlantPAxDemo\Historian
Initial Checks
Initial Checks
Before you begin
1. To begin, please make sure you are on PASS01 image. You can confirm this by looking for the
image name in the top banner of the VMWare Workstation (PASS01).
Note: There is two, and possibly, even three images for this lab.
Note: If the SoftLogix controller is faulted in slot 2, you will need to use the
Chassis Monitor to clear the fault and then place it into Run mode. You may
clear the fault by right-mouse clicking on the faulted controller slot. Select Clear
Major Faults from the task menu to clear the fault.
Initial Checks
2. Your SoftLogix controller should look like the following if no issues exist. Verify controllers are
running (the green box is lite up next to RUN):
Note: If the SoftLogix controllers in slot 2 and 3 are not Running, you will need
to right-mouse click on each controller to place it into the Run mode. This may
take a few moments to finish.
3. If your image did not boot with running applications and logged onto the desktop, please let your
instructor know. This may indicate that there is a problem with your station. If another nearby
station is open, you may consider moving to that station to save time. It could take about 10-15
minutes to load and boot your application software for this lab.
4. If any of your slots in the SoftLogix controller have a red X, move to step 8. If you are unsure how
to rectify this issue, let your instructor know.
Skip Ahead: If there are no apparent problems with SoftLogix which means
each controller is running, and the status on each controller is OK, and
there are no Red X boxes in the chassis, please skip ahead by going to the
next section called Batch Setup Checks
10
Initial Checks
5. If SoftLogix is not launched as a running application, please launch the SoftLogix controller
software that will emulate Logix series controllers in the field. Please allow a few minutes for this
application to startup and display. Wait several minutes for the green light next to the OK to
become lite up indicating everything is OK. If there is a red X in a slot, go to step 8. A red light
on the controller OK status indicates that a fault has occurred during startup. You will need to
clear the fault and place the controller into Run.
6.
Place the controllers into Run mode by right mouse clicking on a controller slot and selecting
RUN:
11
Initial Checks
8. If there is a red X in either controller slot, you will need to remove the slot and then add it back
again. You will also have to load the controller software to the appropriate controller slot. Got to
the next section for loading and setting up the controller, if needed.
9. It may take a few minutes for SoftLogix to load. If there no slots with a red X, try to place the
controller into Run mode. Select the controller and right-mouse click the RUN menu option.
12
Initial Checks
Skip Ahead: If there are no apparent problems with SoftLogix which means
each controller is running, and the status on each controller is OK, and
there are no Red X boxes in the chassis, please skip ahead by going to the
next section called Batch Setup Initial Checks.
The next section only describes fixing controller or EtherNet slot failures.
1. First we will show you how to fix a controller slot failure. Next we will show you how to fix an
EtherNet slot failure. A red X in the controller slot means there was a problem. Follow this section
for how to resolve a red X in the controller as shown here for slot 2:
2. Select the controller with the red X, then right-mouse click to remove it.
13
Initial Checks
3. The Remove Module window appears, please check the Clear Chassis checkbox and select OK.
5. Select the empty slot that was removed and right-mouse click to Create a new module.
14
Initial Checks
6. Follow the wizard to create a new controller whether slot 2 or slot 3. For this example we are
showing slot 2 only. Do the same for slot 3 if needed. Select OK.
7. In the General window, change the Memory Size to 8192, then select Next.
15
Initial Checks
9. From the start bar, launch RSLogix5000, Start > RSLogix 5000.
10. Open the appropriate .ACD file for either Slot 2 (Controller 1) or Slot 3 (Controller 2). For this
example we are choosing Controller 1 for Slot 2.
16
Initial Checks
11. Select PlantPAxDemo_Controller1_2_3_2014.ACD control file from File menu under the recent
open listings, or use File>Open menu and browse to C:\PlantPAx Demo\CLX\ PlantPAx Demo
Processor ACD Files \ folder to select the PlantPAxDemo_Controller1_2_3_2014.ACD file.
12. Please verify that you opened the correct ACD file for the correct controller. Observe the RSLogix
5000 title bar to verify that the proper file was opened as shown:
17
Initial Checks
18
Initial Checks
Another way to place the controller into Run is by selecting the controller within SoftLogix.
Right-mouse click the controller slot to display the menu for options to set into RUN mode.
16. In RSLogix 5000, right-mouse click on the controller to edit Properties, select the Date/Time tab.
19
Initial Checks
17. Select the Set Date, Time and Zone from Workstation; select OK to close the Properties
window.
20
Initial Checks
19. Repeat these steps for the other controller only if it is needed due to a red X.
20. If your controllers EtherNet card has failed due to a red X, it will look like this:
21. Right-mouse click the failed slot to Remove. Please Check Clear Chassis Monitor module
configuration and then select OK.
21
Initial Checks
22
Initial Checks
Batch Setup
1. Your two controllers should be running without faults. From the Start menu open Batch Service
Manager, select Start > Batch Service Manager.
2. From the Batch Service Manager drop-down, select FactoryTalk Batch Server service and
press the Start/Continue button. (If currently running, first stop, and then restart)
3. From the Batch Service Manager drop-down, select FactoryTalk eProcedure Server service
and press the Start/Continue button. (If currently running, first stop, and then restart)
23
Initial Checks
4. When the eProcedure traffic lights turns green, re-select FactoryTalk Batch Server service,
and select the Server Statistics
button.
5. The server statistics window will open. The General tab will show you the status of the three
data servers configured in the area model as well as other information. GGG indicates that all 3
data servers configured for this area model have a Good status.
24
Initial Checks
7. Confirm that tags verify Status is Complete and there are zero bad tags.
Note: If bad tags exist, you will need to stop and restart the batch server service. Inform
your instructor that there was a problem. Please verify tags again once communication is
GOOD. You want 0 bad tags before moving on in the lab or you will have problems
9. From the Batch Service Manager drop-down, Select BatchSystemStatus service and press
the Start/Continue button. (If currently running, first stop, and then restart)
25
Initial Checks
10. When the BatchSystemStatus light turns green, Close the Service Manager.
Batch System Status
The Batch System Status service is a PlantPAx tool used to move important batch server
data into the controller. This application can be found on the Rockwell Automation
Knowledgebase Answer ID 62366 PlantPAx Table of Contents. Additional information
on its use can be found later in this lab.
26
Initial Checks
2. In the FactoryTalk View SE Client Wizard dialog select the FTView SE Client.cli client file
in the Most recently used configuration files:
27
Initial Checks
3. Wait while the HMI Client starts up. When the main screen is displayed, you may proceed.
4. Start up is now complete. Begin your desired lab section.
28
To start this lab we will get you familiarized with the PlantPAx HMI interface that we built for this lab and
demo. While the demo software is not available for download, most of the components that we used for
building this demo are available for download such as the PlantPAx library graphics, and controller code
components.
29
2. At the login window, type User name = BatchOper with the Password = Operator and click
OK. For those that dont like to type, use the shortcut User name (e.g. letter O, number 1) =
O1 with no password.
3. This will cause the SE graphic display to automatically change to the CPG section of this Demo
as shown below:
30
31
3. Use the navigation bar to view Batch Premix 2 which is not an automated unit. The tasks
performed in this unit are all performed manually by field operators. Fortunately, we have a
component of the Factory Talk Batch product that allows you to make your manual batching
S88 compliant with structured recipes following SOPs, electronic batch records for complete
paperless record archive, manual batch reporting, electronic security and signatures. This can
be combined with material manager for a comprehensive manual batch solution including
material tracking.
32
The PlantPAx batch system display shows no process equipment for the
Premix 2 unit. None of this equipment in this unit has been automated. All
batching for this unit is done by direct operator interaction. Prior to our
eProcedure product, operators would use clipboards and sheets of paper to
capture their batch information. Now, it can all be done electronically with
more accuracy, better standardization and security, greater speed and higher
efficiencies.
4. Continue to view the system by selecting the navigation bar buttons for Batch Premix 3:
5. Notice the navigation bar is completely full of different buttons. This is called the Batch System
menu. The previous menu we will call the CPG menu bar.
33
and
6. Choose the appropriate buttons to investigate the following process equipment and units:
a. Reactor Area (Reactor 1 & Reactor 2)
b.
7. There is another way to get to the batch units (Premix, Reactor, etc.). It is through the Process
Overview display shown here:
8. How do you get to this Process Overview display? Through enabling the CPG Menu navigation
bar. Notice there is a CPG Menu button on the Batch System menu bar, select it. The following
CPG navigation bar will appear:
CPG Menu:
34
and
9. Select the Process Overview button at the far left to get the display. To go to a specific unit
display, simply select the unit graphic such as Premix 1,
10. Something to notice about this display, it is a larger process display than what you saw earlier
for Premix 1 using the Batch System menu. This display does not initialize with the integrated
batch graphics for examining, controlling, and commanding recipes.
11. Next to the Premix 1 unit graphic, there should be a batch interface area to allow you to display
more batch interface functionality. Please locate these buttons on the graphic:
35
Note: These buttons will not be present if your batch server is not running.
If this is your situation, please start the batch server.
12. The Operator Instructions button displays the instruction page provided by eProcedure for
manual batch instructions that might be relevant to a batch within that unit. A batch can be fully
automated, fully manual, or a combination of manual and automated.
Note: To close the Batch Instruction window, select the red X checkbox at
the upper right-hand corner of the window.
13. The Batch Premix1 button displays the main interfaces for commanding a controlling a recipe.
Once selected, in order to return to the full size Premix display, select the PreMix 1 button.
14. The Batch Configuration button allows you to quickly set specific criteria for some of the batch
process equipment. The Tank Status popup window appears.
36
Close the window by selecting the red X at the upper right-hand corner.
15. The Unit Timer button displays any timer information that may be running for a control recipe
within the unit. The timer equipment phase data will not be present, since no control recipes
are being processed by this unit.
16. If you are still showing the CPG menu navigation bar, please change to the Batch System
menu navigation bar by selecting the Batch System Menu
button.
17. On the Batch System menu navigation bar, select the Production Overview button
to display details about any batches in the unit equipment including Preweigh tanks, Premixers
and Reactors.
37
The PlantPAx batch system status application collects runtime data from the
batch server and downloads directly to pre-defined Logix controller data
structures. This data is then displayed through pre-build FactoryTalk View
Global Objects. This screen contains no custom VBA scripting.
18. Another important function on this display is the feature to enable instruction prompts
notification. Select the Enable Instruction Prompts,
to set orange
background ? question marks as signals when a manual instruction needs attention by the
operator.
19. If you get a script error, select Yes to close it.
NOTE: the orange background ? mark appears when there is an active prompt awaiting
the operators attention.
38
22. The following Batch Status Overview graphic will open. This standard PlantPAx screen offers
integrated FactoryTalk Batch visualization components. There are buttons that provide
comprehensive options for S88 batch interactions by the operators. The top portion of the
screen will display control recipes in a top-down list. The lower portion of the screen will
provide a SFC view of a recipe. The lower portion can also display a tabular view of a recipe
for those that prefer a table format.
23. From the Batch System navigation menu bar, select the eProcedure View button,
39
40
26. The Batch Premix 1 display will open. This standard template for the Batch Unit Display has
pre-defined section for the process Unit Display, the Batch List View, the Batch SFC/Table
View, the Dynamic Runtime Control buttons, the Create and Remove Batch buttons, and the
Operator Instructions.
41
27. You will discover a similar display format for each of the other unit displays: Batch Premix 3,
Reactor 1, and Reactor 2. Using the PlantPAx Batch Unit display template will help you build
all your own specific Batch Unit displays quickly.
28. Go to the Batch System navigational menu bar, select the Batch Add-a-Batch button,
29. The Add Batch popup will open. From this graphic the user can select some the more
common batches with the option to automatically start the batch, and remove it when complete.
This screen is configured during the engineering stage of a project to point to specific units and
recipes. Generally, this screen should only be used for small systems or systems where a
fixed number of recipes exist. Different types of unit binding might be added, but is not shown
here for this labs common recipes.
42
31. The Batch Prompts popup window will open. This is the Prompts List screen. These prompts
will be generated by the batch as it runs. These prompts are programmed into the equipment
phase and recipe to prompt the operator at the required time for a response. That response
could be a simple acknowledgement OK to continue. It could be many other things as well a prompt for recipe data such as, amounts to use in the batch, time to agitate, blending speed,
preferred unit to use, etc. It will be different for every batch process to meet the specific needs
for the operator to interact with the running batch.
32. From the Batch System navigational menu bar, select the Batch Signatures button,
43
34. From the Batch System navigational menu bar, select the Batch Instructions button,
35. The Batch Instructions Page popup window will open. This is the Instructions List display.
Manual Batch instructions will appear in this window for recipes requiring manual batching. The
instructions are presented in html form as coded for each particular manual equipment phase.
This text instruction is customized by each user to present appropriate instructions at
appropriate times. Specific batch data can be easily integrated into the instruction which is
customized by each user. Pictures, hyperlink, and videos can be embedded into these
instructions providing operators additional data along with their instructions. The buttons at the
bottom filter the instructions by unit.
44
3. The create batch popup will open. Select PRODUCT_A_PM_RX from the list, and select the
OK button
45
Tech Tip:
When using this screen, the user
can enter a custom Batch_ID,
scale the batch, fill out any runtime
formula values, and select which unit
to run the batch on.
5. In the Batch ID entry box, replace the default text with PRODUCT_A.01.
NOTE: This Batch ID will be referenced in a later section of this lab.
6. Confirm that the Scale entry box is 100. This specifies that the new control recipe will be a fullsize batch. Adjusting this scale will proportionally adjust all formula values that are allowed to
scale like material amounts.
7. From the Unit Binding dropdown, select the PREMIX_01, and REACTOR_01 units.
8. Select the Create
button
NOTE: Alternatively, the user can add a batch through the pre-configured Add-a-Batch
graphic. It is important to note that the Add Batch screen limits unit and recipe
selection to a finite number of pre-defined instances as configured by your engineer. The
example shown above is the most flexible option. All new recipes show up in this list
without additional engineering effort.
46
NOTE: This graphic has been configured for default un-filtered view of the batch system.
Dynamic filter buttons have been configured in the upper right side of the screen. Also
notice this screen defaults to show the SFC view in the bottom of the screen. The filters
and default view are basic design configurations of the graphic. During runtime, the
operator can change the filter and view through the buttons on the right side of the
screen. It will only show if operations within the unit procedure for that control recipe is
actual active for the recipe. Filters can be dangerous if you forget to disable them. Use
the No Filter button to disable any filters.
NOTE: Take a moment to look at the data in the batch list table. Each line item shows
key data for the batch. Also note that the recipe utilizes batch comments. These
comments offer additional information for the runtime user. In the bottom window, the
screen is set to default to SFC view. You can change this to table view by selecting the
table view button on the right hand side. Give it a try!
47
11. The Batch Premix 1 display will open, select the batch. If the SFC view is too small, you can
adjust the size of the display by selecting the Zoom +, or Zoom buttons. Give them a try.
NOTE: This graphic has been configured with a static filter to only show Premix_01 unit
batches.
12. The SFC display is showing the highest level of the recipe, the Procedure level that contains unit
procedures. We want to go to the Operation level of the recipe. Double-click on the PREMIX_01
Unit Procedure step in the SFC View.
48
15. Before we start this control recipe, lets look at a few more features of the integrated graphic for
Premix 1. You should have already tried the Zoom buttons, now lets try the Table View button.
49
50
NOTE: The Parameters tab shows all configured formula values for the phase.
19. Double-click the Setpoint_01 line. The Change Parameter Value popup will appear. This
gives a user, with appropriate security access, the ability to change recipe values.
button.
51
NOTE: The Reports tab will show the values for this step once he phase is run, and the
report values are reported to the batch journal, typically, this occurs when the phase
completes. Reports can be sent at any time by the phase logic to the journal, but most
do so at the end of their running logic, or automatically in Terminal state.
52
NOTE: The Binding tab shows all unit requirements including binding requirements and
preferences.
button.
53
button.
2. The batch will begin. Active steps are highlighted in green and the dynamic control buttons are
changed to allow valid commands during execution.
NOTE: The first activity for this batch will be adding two ingredients to the tank while
agitating. You can view the material and amount setpoint information in the list table
view. You can view the dynamic runtime values in the totalizer blocks on the screen.
NOTE: If you prefer, try the alternative SFC view by selecting the SFC button on the bottom right
of the screen. Also note in the lower right hand corner a text box that shows the
messages of the Message phases, informing what the recipe step is doing.
54
4. Now we will add a comment into the batch journal. Select the Comment
button.
5. The comment box will open. Enter a comment for the batch journal and select OK
NOTE: Batch comments get entered into the master electronic batch journal. This allows
a user to enter batch activity commentary.
55
7. The phases will go Held, and the Restart command button will become active. Select Restart
command
NOTE: In this stage of the recipe, we introduce manual operations via eProcedure.
56
NOTE: the orange background ? mark appears when there is an active prompt awaiting
the operators attention.
8. The Batch Instructions Page popup will appear. This popup contains all active instructions for
the system. Please enter 35.2 for the Quantity and ABCD for the Lot Name Box, and select
the OK
button.
NOTE: When this popup is accessed from the unit display, it will be filtered for that unit.
When accessed from the menu button bar, it will be unfiltered. The user can filter the
display at any time through the buttons on the bottom of the screen.
57
button.
11. The next stage of the batch will continue to recirculate as well as start agitation for 30 seconds.
58
59
Cancel Signature.
and select YES to the confirm prompt.
18. This will strike out the old value and allow the operator to enter a new value. All the data and
events that happened are being recorded in the journal. This is the equivalent of striking out a
value on paper and entering a new value.
60
19. Now lets follow through with an out of range value. Modify the previous value 75 and enter a
value of 10 in the pH field and select the OK
20. This causes another electronic signature since the pH value is still out of bounds to the high side.
Scroll to the bottom of the prompt screen, enter an Operator User ID = BatchOper and
Password = Operator or User ID = O1 no password a blank password.
61
button.
NOTE: This signature template has been configured for double sign off with optional
comments. The first signature must be from an Operator
22. Scroll to the bottom of the screen, enter a Supervisor/Engineer User ID = Supervisor and
Password = Supervisor or User ID = S1 no password blank password.
button.
.
24. Wait to confirm that the instruction shows complete
25. Select the red X on the Instruction Page window at the far upper right to close the window.
62
27. Switch to the Reactor_01 Unit display by selecting it from the Batch System navigational menu
bar - Batch Reactor 1,
28. Our focus needs to change to the reactor unit since this contains the batch. Double click on the
SFC step for the Reactor_01 unit procedure step to go to the S88 operation level.
29. Double click on the SFC step for the Reactor_01 unit procedure step to go into the S88 operation
level.
63
31. Notice when the Instruction prompt indicator tells you there is an unanswered instruction for the
reactor 01 unit. Open the manual instructions display through the button called, Operator
Instructions
within the Unit display, or you may select the Batch Instructions
button from the Batch System navigational menu bar.
32. It is asking you to hook up the reactor discharge to a storage tank. In order to do this, you need
to go to the reactor 01 display. Close the instruction window, on the unit reactor 01 display,
select the Reactor 1 button
64
33. Once you do this as the operator, there is a manual transfer switch on the far right bottom of the
display, you can set the transfer path here.
34. Please set the Manual Transfer Panel to Storage Tank 1 by clicking the panel on the display.
65
35. Once you have done this, go back to the instruction prompt. A quick way is to use the button in
the Reactor 01 graphic, select Operator Instructions
36. For the instruction prompt, enter your comments into the text as shown here:.
37. Select the OK button to progress the phase. The next instruction prompts you to input your
transfer location chosen. Select STRG_TNK_01, then select OK
66
41. On the Control Recipe List, you will see the batch state go from Running to Complete,
42. With the tank empty, the batch is now complete; please select the Remove
in the bottom right hand corner to take the batch off the list.
button
43. Congratulations, you are now a fully qualified operator!! We should shut the batch server down
since we are done with production. From the Start menu, launch the Batch Service Manager,
67
68
Notes
69
In this lab you will be making equipment requirement changes, controller changes and recipe changes.
To begin you will use the Batch Equipment Editor which is a graphical interface used to configure and
maintain an equipment database, or a virtual representation of the ISA88 physical model for the facility.
This equipment database, or what is often referred to as the Area Model, is saved as a customer relevant
projectname.cfg file. For this lab we named it, PlantPAx_Demo.cfg.
This equipment database is accessed upon startup by the Equipment Editor as well as other Batch
applications such as Recipe Editor, Batch Server service, and eProcedure Server. Any equipment
changes often require a restart of these applications to enforce those changes.
Later you will use the Recipe Editor tool that allows you to create, edit, and maintain your master recipes.
While the area model represents the equipment database, this database is the basis to provide a list of
available units and phases for the recipe building tool. During recipe verification, the equipment database
is used to ensure that the designated equipment is capable of executing the procedures. During recipe
execution, resource arbitration functions use the equipment database to allocate equipment based on
recipe and operator requests.
The importance of the area model cannot be overstated. It is the foundation for a properly designed
ISA88 compliant batch system. Modular batch automation is a key benefit of having a properly defined
area model. Other components are defined by the Equipment Editor inside the area model, such as
arbitration resources, unit tags, parameter tags, report tags, and data server connections for interfaces to
process-connected devices, or other control system objects (e.g. simulator, PC phases, etc.).
70
2. Return to the PASS01 image. From the start bar, open the batch equipment editor, Start >
Batch Equipment Editor.
71
4.
button
5. The PlantPAx Demo area model will open and display all defined process cells. Lets explore
this area model where we have only one process cell named PRODUCTION,
72
icon
7. All units defined in the Production process cell are displayed such as PREMIX_01,
REACTOR_02, etc.
73
8.
unit icon
unit icon.
unit icon.
74
75
NOTE: When you single click the phase instance, the associated phase class is
highlighted on the left. This is the quick way to find the phase class for the specific
phase instance.
NOTE: When you double click the phase instance (of a PhaseManager phase), this will
launch directly into that phase in your RSLogix5000 project. If you do this, it may take a
moment to load the RSLogix 5000 application. The Equipment Editor must be on the
same computer as RSLogix5000 and the ACD file to double click on a phase in the area
model and have it go to the phase in the RSLogix5000 project.
The phase class for the equipment phase instance will become highlighted on the far left:
12. Right-mouse click on the AGITATE phase class icon listed under Phases column at the left to
open the phase class configuration window - Edit Phase: AGITATE.
76
NOTE: Phases are the lowest level of procedural elements in the procedural control
model. In FactoryTalk Batch, phases are defined as process actions and are configured
with Parameters and Reports.
77
13. Under the General tab, the user can assign the phase class name, choose an appropriate icon,
enable Control Strategy, enable Message Partners, enable Material Based Recipe phase type,
configure Tag Locking and define appropriate # of Parameters, Report and Request tags.
Select the Parameters tab. Four parameters are defined for this agitation phase. Upon starting
the agitation phase in the recipe, the batch server will download data from the recipe to the
corresponding controller automatically for any parameters with DL on Start checked. The
parameters that are not define as DL on Start; can be sent by the Batch Server to the controller
when the phase logic requests the data.
78
14. Select the Reports tab. Three report tags are defined for this agitation phase in the controller.
When the agitation phase completes, the batch server will upload data from the controller phase
and save it to the batch journal file for all report tags defined as UL on Terminal State.
79
Lets begin with a manufacturing scenario, where quality has recently noticed product issues.
They have requested that the tank level be recorded for each agitation step.
NOTE: In your role as engineer, you have identified that a new phase report register
must be added to the premix agitation phase class. Since we are already there lets
make that change.
15. Near the bottom of the reports tab window on the AGITATE phase class configuration window,
please select the Add Report
button
16. Fill out the new report register by entering Name = Level and Enum/E.U.= %, and check the UL
on Terminal State checkbox.
80
NOTE: You have now successfully added the new value to the batch area model
definition. Now we need to update the controller. We will use the phase manager
synchronize feature to make the change.
18. We need to save the changes. Therefore, save your area model which defines your S88
equipment model. Please select File Save, from the menu of the Equipment Editor, or use
the Save
button icon.
The Audit Comments box will appear. Comments entered here can be viewed in the change
log later. If you desire, enter a comment and then select the OK
Congratulations, you have now made a change in your equipment model which batch server will
become aware of upon a service restart. However, the controller and the recipes are not aware
of this change. So we have more work to do.
81
1. First we need to ensure that our Logix file is offline. If the Logix 5000 project is open and online,
Alt-Tab to it or maximize from the windows toolbar.
2. Select the Communications drop-down, select Go Offline.
82
button.
NOTE: We are choosing Continue Without Saving for this step because the area model
was saved in the last example. Typically, you would choose the save option if changes
have been made since your last saved.
83
6. After a few seconds the Synchronize with Logix5000:Plant_PAx dialog box appears. It knows
what has been changed since the last synchronization PM01_AGITATE.
84
8. Update project will make changes to the ACD controller code so that it has the same components
as the area model equipment phase.
9. The following dialog box opens; the PM01_Agitate phase update was successful. The phases
that show results of :Skipped are phases that were previously used by FactoryTalk Batch, but
are now only used by Logix Batch & Sequence Manager and can be ignored.
85
11. Look under the column labeled, Status of Last Synchronization, for the results, a Complete
status would be displayed if the area model and RSLogix5000 project were completely
synchronized, but in our case the status is Incomplete
12. The Premix 01 and Premix 03 are class-based units since they came from the same unit phase
class for Premix. Therefore, Premix 03 has an agitate phase from the same AGITATE phase
class. This phase instance needs to be synchronization with the equipment phase in the
controller. Click the Continue
popup window to see which one it is.
86
14. The ACD file should get updated for the PM03_AGITATE equipment phase with Result as
Successful. You have added a new report tag for this equipment phase in the ACD file. Select
YES to continue.
87
button.
button.
18. When Save After Synchronization dialog opens; click the Save
button.
button.
88
`button
You have now completed synchronization. Now lets look at the controller code.
89
NOTE: For PhaseManager phases it is possible to invoke the RSLogix Editor and the
project file through the Equipment Editor. Within the Equipment Editor double-click on the
equipment phase to open up the corresponding equipment phase in the RSLogix 5000
project file for viewing and/or editing. However, FactoryTalk Batch Equipment Editor and
RSLogix 5000 software must be loaded on the same machine.
1. Double-click on the PM01_AGITATE equipment phase.
90
91
4. Select Properties
5. Switch to the Parameters tab.
6. Here you can find the Parameters (Inputs) and Reports (Output) that were originally defined
from the Equipment Editor. Note that the new Level Report (Output) that was created through
the synchronization from Batch. You never had to build the tag in the ACD; it was done
automatically for you when you synchronized. You could check PM03_AGITATE, but you
probably dont have time.
7. Click Cancel to close this dialog box. We will now map the Level control module into this report
(Output) Tag.
8. The PM01_AGITATE phase is a non-terminating phase; it never goes to a complete state and is
always used in parallel with a phase that does terminate. The report parameters for this phase
are updated in the Prestate routine. Double-click on the Prestate routine to open it, and Scroll
down to rung 7.
92
9. Right-click to the left of the last MUL instruction at bottom and select Add Branch Level.
93
94
NOTE: CPG1_LT104.Val is the control module tag address for the Premix 01 Level.
LEVEL is the PM01_AGITATE phase Report (Output) tag. By adding this single
instruction to the phase manager code, the batch engine will record the tank level when
the phase stops.
95
16. Please repeat these steps for PM03_AGITATE using CPG1_LT404.Val as the level to be
reported.
17. From the menu, select File Save.
96
19. From the communications menu in RSLogix 5000, select Communications > Download.
97
21. From the communications menu, select Run Mode. If the controller faults, clear the fault and try
again.
98
24. From the Batch Service Manager drop-down, select FactoryTalk Batch Server service and
press the Start button.
25. When the Batch traffic lights turns green, select the Server Statistics
button.
26. The server statistics window will open. Select the PCD Communications tab, Verify that all
three lines indicate GOOD status. This may take a few moments to transition to good status.
99
After adding tags to the project it is always good to verify all tags, to do this press the Start
button. You should have 0 bad tags. If you do not, and you need help, ask your
lab assistants.
Notice that the tag count has been increased by 2 (1481 to 1483) as a result of adding the two
new Agitation Level tags in the Premixers.
27. Select the Cancel
100
101
button.
NOTE: The validate option was added to FactoryTalk Batch v10 and enhanced in v11.
This option will check the SFC structure for common invalid structures between AND
and OR branches. This feature will detect those structural errors prior to running the
batch in production.
102
5. The recipe editor will prompt you to enter comments prior to saving the recipes. Enter any text
you choose and select the OK
button.
button
7. Select File > Open Top Level from the Recipe Editor File Menu.
103
104
button.
NOTE: This master recipe (procedure) consists of two sub-recipes (unit procedures): one
for Premix and one for Reactor. Each unit procedure defines the process for making
a portion of the product in the specific vessel. To produce Product A, a mixture is first
batched in the Premix vessel, and then transferred to the reactor.
105
2. The recipe editor will take you directly to the SFC step. From the menu select Step
Parameter Values/Report Limits or from the toolbar, select the Value Entry
106
button.
3. The Parameter Value Entry screen will appear. Change the SETPOINT_RUN_SPEED value
from 50 to 43, and change the DISPLAY value from 43R/50H.
4. Select the OK
Now lets make our second recipe update: Remove then add header material at the same time
as the premix material.
6. From the menu select Edit Remove Step, or from the toolbar, select the Remove Step
button. Note that the amount being added was 300 LBS.
107
7. The recipe step has now been removed. Now, select the MESSAGE_HMI:3 step From the menu
select Edit Remove Step, or from the toolbar, select the Remove Step
108
button.
9. From the menu select Edit Add Parallel, or from the toolbar, select the Add Parallel
icon button.
10. The Select Phase popup will appear. Select HEADER_ADD from the list
109
button.
12. You have now added updated the recipe sequence to add the header material at the same time
as the premix material.
13. Next, select the HEADER_ADD:1 step that you just added.
14. From the menu select Step Parameter Values/Report Limits or from the toolbar, select the
Value Entry
button.
110
button.
17. Save your work. From the menu, select File Save All.
111
Select Yes.
You have now completed the requested changes for production on the master recipe named,
PRODUCT_A_PM_RX. The next time production selects this recipe, the agitator speed and
ingredient addition sequence will be updated.
112
2. This will take you to the top level of the recipe. Select the GENERIC_R_UP:1 step.
3. From the menu select Step Bind Preferences or from the toolbar, select the Bind
Preferences
button.
113
4. The Bind Preferences window will appear. Select the Add Preference
5. A new preference will be added. From the dropdown for Type, select the Maximize
Expression
114
button.
8. Select the OK
button.
9. You have now successfully added the maximize temperature configuration to the recipe.
button.
115
12. From the menu select Step Bind Requirements or from the toolbar, select the Bind
Requirements
button.
116
button.
button.
15. A new requirement will be added. From the drop-down, select the Expression
16. Then, select the Ellipses
117
button.
19. You have now successfully added the in-service requirement to the recipe.
button.
21. Save your work. From the menu, select File Save All. Enter comments and select OK.
You have now completed the requested changes for production and maintenance.
The next time production selects this recipe, the recipe will evaluate the preferences
to pick the warmest reactor and the requirement to pick an in-service reactor
118
1. In the GENERIC_PM_1_3_OP:1 select the ADDITION_03:1 phase to select it. The recipe editor
will take you directly to the SFC step.
2. From the menu select Step Parameter Values/Report Limits or from the toolbar, select the
Value Entry
button.
119
5. Enter the starting expression shown by first opening the ADDITION_01:1 folder, then selecting
the Report Parameters folder, and finally selecting the ACTUAL_01 report of the
ADDITION_01:1 phase.
120
6. Now, select the multiplication operator * so it goes next to the report parameter. Now, type in
the numerical value to multiply by, 0.175.
7. Select OK. This expression will now be displayed as the value for the ADDITION_03 phase for
the SETPOINT_01 formula value..
You have modified the Product A formulation such that you changed the way in which the
SETPOINT_01 parameter is determined based upon a previous phases action and its reported
process value. This is a very powerful option.
121
122
123
124
3. At the far upper right corner of Internet Explorer, select the Favorites menu
Reports - Report Manager.
, select Batch
NOTE: It may take a couple of minutes to get all the services loaded and running.
The URL for the batch reports is http://AppSerBatch/Reports/.
125
NOTE: At any time, you can return to the last screen using the web browser back button.
You can also navigate through the folder path from the header of the report.
(Home>Batch Reports)
126
1. Select 010-BatchListing
2. The report will open with the following query header.
Null selections are available for both start and end time. These can be used to
search from the beginning of time (start time null) or to most recent time (end time null).
127
5. Recipe Name
The Recipe Name is the
name to which the batch recipe is saved. The Recipe Name dropdown list is populated in realtime by listing all recipe names run during the user specified time frame. By default, all items in
this drop down are selected. Any individual line items can be selected/un-selected by
checking/un-checking the box next to the name. Alternatively, the user can select all/un-select all
by checking/un-checking the select all check box.
128
2. From the query header, select End Time Calendar, and select May 4, 2014. (Alternatively, you
could just type 5/4/2014 into the entry field and hit the Enter key.)
3. From the query header, enter * *20130430** into the Batch ID Filter (Be sure to use the asterisk
(*) wildcard both before and after the entry. This ensures we get the full production run)
NOTE: As you select dates and complete the Batch ID Filter, the remaining dropdowns
are updated to reflect your search criteria.
129
NOTE: From this view, we can see that the first nine batches completed normally, but
someone Stopped the tenth batch after 3 mins 52 sec (elapsed time column).
Production noted that batches took a varying amount of time to complete, why? Lets
take a closer look.
6. Notice that for each line item, a set of four hotlink icons are shown. These enable quick
navigation to other reports that keep you in context of the specific Unique ID (unique identifier
for each batch.) on that line. We will use these links later in this lab.
130
2. This will return us to the main window that lists all available reports.
5. From the query header, select End Time Calendar, and select May 4, 2014. (Alternatively, you
could just type 5/4/2014 into the entry field.)
131
6. From the query header, enter *20140503* into the Batch ID Filter and hit the Enter key (Be sure
to use the asterisk (*) wildcard both before and after the entry. This ensures we get the full
production run)
7. The Exception Report introduces the new filter criteria Unique ID.
The Unique ID filter will update based on all other query
boxes above it. This allows the user to further refine their exception search to a minimum set of
unique batches if desired. Select Unique ID 10.
8. From the top right side of the report, select View Report
9. The Batch Exception report displays all batches in range with
a. Abnormal State Changes These states include Held, Stopped, Aborted, and/or Paused.
b. Alarms & Events The web based reports can be linked to the standard FactoryTalk
Alarms & Events database table in SQL server. The FTAE Alarm Class field of the
report is used to associate a specific alarm/event with a batch unit name. Simply add the
batch unit name to this alarm/event field and all alarms/events triggered during the batch
unit execution will be reported.
c.
d. Out Of Tolerance Includes a list of all Setpoint vs. Actual comparisons identified as out
of tolerance. The out-of-tolerance flag is a report register set by the control system
during execution of the phase based on coded conditions, not batch server interpretation.
This ensures maximum flexibility in determining the out-of-tolerance state.
132
NOTE: From this view, we can see each of the four sections defined above. Each
section can contain multiple lines. Each line represents a unique batch. The wording
No Data Available will be shown when no batches meet the search criteria.
133
Here we can see that the batch was stopped. Select the Collapse
134
2. This will return us to the main window that lists all available reports.
5. From the query header, select End Time Calendar, and select May 4, 2014. (Alternatively, you
could just type 5/4/2014 into the entry field.)
135
6. From the query header, enter *20140503* into the Batch ID Filter and hit the Enter key (Be sure
to use the asterisk (*) wildcard both before and after the entry. This ensures we get the full
production run)
7. We want to compare all batches in this campaign, so we will leave all batches checked under the
Unique ID.
8. From the top right side of the report, select View Report
136
NOTE: From this view, we can see both a bar chart view of batch duration as well as a
table of raw data
137
Export report
Print Button
2. The print button would print the report to a printer using the standard print dialog box.
3. Lets save / export the report. From the Export box, select the Acrobat (PDF) file.
5. For the prompt to Open, Save, or Cancel at the bottom of the screen; Select Open.
6. The report is now presented in Adobe Acrobat Reader. You could save and send the report to
someone else for follow up. Close the acrobat window.
138
139
NOTE: It may take a couple of minutes to get all the services loaded and running.
3. The home screen will load. From this page, all pre-defined reports are available.
140
2. This will return us to the main window that lists all available reports.
5. We will leave the End Time set to the current date and time. No action needed.
NOTE: We use the Null setting for start time to quickly search the entire batch history.
141
If Unique ID is not present, check Select All in Recipe Name drop box.
7. From the top right side of the report, select View Report
8. The Batch Detail report will appear for Unique ID = 11. (Batch ID = 20140503_PROD_A11).
142
From above we can see the pH was too high, the reason the batch was stopped.
143
batch
NOTE: The batch detail report shows the detail for several aspects of the batch. This
includes: 1) batch data 2) abnormal state changes 3) alarms & events 4) batch failures
5) setpoint vs. actual table. The batch data table can be expanded down to see more
detail as needed. The default view is collapsed to show the units used in the batch.
The Show All Levels option is available from the button in the report header. This
quickly expands the report to multiple pages to show all detail. Use this option just prior
to printing.
144
10. After showing all levels, notice that the report is now split into multiple pages to show the large
amount of detailed data. Use the page control in the report toolbar to move between pages.
11. After showing all levels, the Batch Data table will have expanded. From here we can see the
detailed information for all Unit Procedures, Operations, & Phases that executed. Each line
represents a different part of the batch and includes start time, end time, & duration. Each phase
is further expanded to show the Recipe Parameters and Report Parameters configured for the
batch. This offers a complete record of batch activity.
NOTE: The user can sort each column by selecting the sort arrows
banner bar.
145
in the red
2. This will return us to the main window that lists all available reports.
5. We will leave the End Time set to the current date and time. No action needed.
NOTE: We use the Null setting for start time to quickly search the entire batch history.
146
NOTE: Alternatively you could have accessed this report by selecting the
execution hotlink icon from the batch list report.
batch
8. The Batch Execution report will appear for Unique ID = 7. This report graphically shows the
detailed time execution of the batch. To maximize the value of this report, the user needs an
understanding of the process. In this production process, the premix material is first created and
then added to the reactor. Any delay in the premix process can delay the overall reactor cycle
time. Here we can see that the Manual Add took 63 seconds to complete.
. With this information we can optimize the overall batch cycle time by
reducing this time.
147
148
Forward Tracking enables a search on raw material lot or equipment to provide a list of
all final batches that used that material or equipment. This is primarily used when there
is a raw material recall or issues with equipment are discovered.
Backward Tracing enables a search on a specific batch produced and returns the list of
all raw material lots and equipment used in that batch. This is primarily used to
determine all items in the batch when a defective batch is identified. (i.e. Customer issue
or final product recall.)
Backward Tracing
In this example we will perform a mock recall based on a customer issue with the final product. The
data given by the customer indicates that Batch ID 20140503_PROD_A06 is in question. Lets find
all material and equipment used by this batch!
1. From the top of the report, click on Batch Reports.
149
5. We will leave the End Time set to the current date and time. No action needed.
NOTE: We use the Null setting for start time to quickly search the entire batch history.
150
7. This complete Batch ID will trim the Unique ID dropdown to the single batch in question. Select
6 from the Unique ID dropdown.
If Unique ID is not present, check Select All in Recipe Name drop box.
8. From the top right side of the report, select View Report
NOTE: Alternatively you could have accessed this report by selecting the
backward tracing hotlink icon from the batch list report.
9. The Backward Tracing report will appear for Unique ID = 6. (Batch ID = 20140503_PROD_A06).
In this report we can see a listing of all materials, lots, quantities, and event times along with all
equipment used by the batch.
10. Since the default view is collapsed, select Show All Levels
for each line.
151
2. This will return us to the main window that lists all available reports.
5. We will leave the End Time set to the current date and time. No action needed.
NOTE: We use the Null setting for start time to quickly search the entire batch history.
152
7. The Forward Tracking report also introduces the new selection Equip/Lot. This dropdown
allows the user to define which Lot or Equipment should be used in the search. This
dropdown dynamically changes based on the user selection of Report Type For this example,
select A1A1 from the dropdown
8. From the top right side of the report, select View Report
153
NOTE: If you are interested in seeing more detail on the specific batch. Select the
yellow tag hotlink icon to take you to the batch summary report.
154
2. This will return us to the main window that lists all available reports.
5. We will leave the End Time set to the current date and time. No action needed.
NOTE: We use the Null setting for start time to quickly search the entire batch history.
155
156
NOTE: The Material Usage report provides a Total Consumed amount in the header of
the report. This example shows that 2,232.364 Kg was consumed. By adjusting the
time, unit, recipe, batch ID filters a user can run various consumption reports for shift,
line, product, etc.
157
158
159
160
3. The final way to use the client is to start Internet Explorer which by default is set up with
eProcedure Server machine as the home page when the eProcedure Client is installed.
The HMI project has a display that runs in the background that is used to notified operators when there
are eProcedure instructions present. Follow the following steps to start this display.
1. From the navigation bar select Production Overview.
161
4. The setting for the above display are set for cache, always updating, closing the display or
navigating to another display will not stop the VBA code running. Selecting Disable Instruction
Prompts fill flush the cache turning off the instruction prompting.
162
163
6. Select the INSTRUCTION button at the bottom of the display; this will take you to the main
operator interface for prompted instructions.
If prompts are present this button will blink (very faint blink)
7. Also, when instructions are present, the instruction present icon is visible on the unit buttons
and Batch Instructions button
8. For now we will stay on the eProcedure View display.
164
9. Follow the instructions presented. When signatures are required you can use the following User
IDs:
User ID: O1 with no password for operator
User ID: S1 with no password for supervisor
User ID: E1 with no password for engineer
Once the batch is started the following instruction prompts will be displayed during the execution of the
selected recipe (Product_C product SOP)
Because this prompt was originated from a phase requiring a signature the signature window will be
displayed, fill out the signature as required. Use O1 without a password if you want less typing.
165
Step 4 Add 125 Kg of Material B to tank, record actual amount as well as lot ID.
Step 5 Add 25 Kg of Material C to tank, record actual amount as well as lot ID.
Step 6 Add 35 Kg of Material E to tank, record actual amount as well as lot ID.
166
Step 11 Record the pH. If the pH is out of range it needs an Operator and Supervisor signatures, at this
point the batch would probably be scrapped. Enter a value above 9.5 to bring up the signature
instruction.
Step 11 Sign off the signature using BatchOper/Operator or O1/no password for Operator user and
password. Sign off the Supervisor/Engineer with Supervisor/Supervisor or S1/no password .
167
The electronic batch record has been created for the manufacturing of the First batch of product Product
C. Select the Remove to remove the batch from the list.
168
Equipment Definition
The equipment model of our process is what defines the capabilities or tasks that can be performed on
the system, for Premix 2 these capabilities are going to be performed by the operator and not by the
automation process equipment.
1. In order to view what those capabilities Start the FactoryTalk Batch Equipment Editor and open
the Plant PAx equipment definition (CFG), This can be done using the Windows Start button and
selecting Equipment Editor or the Equipment Editor icon on the Windows desktop
169
For this unit a set of generic phase classes have been defined:
170
Sample pH
Synchronize phase
171
In order to confirm and complete the instruction the phase may require no signature, one operator
signature or an Operator and a Supervisor signature.
172
The Recipe Editor is used to create procedures, open the Recipe Editor by double-clicking its icon
on the desktop or through the Windows Start button, selecting Recipe Editor.
173
Recipes can be assigned to a specific unit or can be specified to run on a class of unit.
If the process contains 10 premix units and they can all make a product, only one recipe needs to be built,
this recipe is then read by the batch server and can run on any and all of the units at the same time.
These recipes are called Class Based recipes.
174
The following display provides us with a recipe that has no steps, it consist of a start point and an end
point and a transition condition.
In order to start adding the steps of the SOP we start by adding a prompt that requires 2 signatures, we
would prompt the operator and supervisor to answer if the reactor is clean?
If the premix is clean the recipe will continue to the next step, if the premix is not clean the operator will be
instructed to clean the premix
Once he acknowledges that it has been cleaned step one will be repeated.
3. Before inserting this step, select the location the step is to be inserted into. Add a phase use the
blue arrows on the top of the editor tool bar.
175
An undefined phase is inserted; a selection box shows the possible phases to be inserted.
176
The message or
instruction to be displayed
to the operator needs to
be specified in the value
field of the
INSTRUCTION
parameter.
177
178
New Expression
(*1)
(*2)
(*3)
(*6)
(*4)
(*5)
179
(*7)
At this point we have only evaluated if the operators response was yes.
8. Lets now create the expression and action for the NO response.
(*1) Add a new transition to the recipe by selecting the Transition Tool.
(*2) and clicking on the recipe
(*3) Double click transition T2 open and copy the previously built expression,
(*4) Double click T3 to open then paste the expression and change the YES to a NO.
180
(*2)
(*1)
181
(*1)
(*2)
(*3)
11. Make the required connections.
(*1) Select the connection button and
(*2) Click and drag the link from T4 to the Premix Ready step.
(*2)
(*1)
182
(*2)
(*1)
(*2)
183
(*1)
(*2)
(*3)
The editor will check to inform you if any other recipes will be affected by this operation being renamed.
Select the Proceed button, then the OK button.
You have created one of the steps for making Product XYZ. This step of the recipe can now be run.
184
185
186
187
188
189
190
191
192
193
and rename it
Instructions can be edited using different tools, such as FrontPage or Word, but a text editor like
Notepad will work just fine. We will use Notepad to do our editing.
3. Open Notepad using the Windows Start button and drill down to the folder from step 1 and select
Test_Prompt_Phase.htm.
194
195
Test Prompt
196
Note: The value of the parameters will be displayed in the field with the parameter names, shown above
in orange the values entered in the text boxes will be captured as reports of the phase.
197
198
To confirm that the data servers are working properly, select the Server statistics button then the PCD
Communication tab, confirm all services have a GOOD status.
199
2. Once the recipe editor is open. Create a New Top Level recipe, select an Operation type recipe.
Select the Instance Based radial button and pick the PREMIX_02 unit.
200
4. The available phases for that unit will be listed, select TEST PROMPT PHASE then the OK
button.
201
6. For this lab lets record the material properties that the Lab analysis had provided.
Type in to the value field the desired message to be displayed. Select the display button for the
first parameters.
202
The recipe editor checks if this name change will affect any other recipes.
203
11. Select the start and wait for the prompt indicator to become active.
204
205
206
207
End of lab.
208
209
210
Split Feeds
Plug Flow
Container
Inventory
The material database is initially configured for each scenario, however full instructions are provided for
receiving and distributing materials needed to support the scenarios. This provides participants the ability
to understand and explore the Material Manager database as well as repeat a scenario if desired.
The second part of the lab demonstrates how Material Manager can be extended into the plant, in this
case the receiving dock. The solution demonstrates how the open materials database (MicroSoft SQL
based) can be accessed from a HMI using product supported ActiveX components, FactoryTalk Batch
APIs (Application Programming Interfaces) , and VBA (Visual Basic for Applications). Finally, the
example shows Material and Batch Management functions in a weighing scenario.
211
For this example, the citric acid material will be configured per the table below:
Container Material
Quantity
Priority Lot ID
Label
ST301
ST302
ST303
75kg
500kg
500kg
50
90
80
XI
XII
XIII
Citric Acid
Citric Acid
Citric Acid
AA
AB
AC
Note: The container priorities define the order in which containers are considered as candidates
for binding the material.
3. Double-click Citric_Acid to launch the Edit Material dialog box.
212
213
6. Select the Storage tab, highlight the distribution, and then click Edit Distribution
214
8. If a lot has been depleted, you will need to delete the Lot and add a new Lot. Delete Lots by
highlighting the lot and clicking Delete Lot.
215
10. Select the Inventory Tab. For each newly added lot, distribute the lot by clicking Distribute.
216
217
218
Note: The FEED_COMPLETE report parameter is a signal to the FactoryTalk Batch Server that
the addition or distribution completed successfully. A lack of material, lack of storage capacity,
phase failure, or stopping a phase could all result in the interruption of a material addition or
distribution. When this occurs, the phase logic sets FEED_COMPLETE to false, so that batch
execution is held until the phase can rebind to another container.
The Material Server updates the material database with actual amounts consumed or distributed
during a batch run. During an addition or distribution, when the Feed Complete is true, the
FactoryTalk Batch Server communicates the actual amount to the Material Server. When the
Feed Complete is not true, the FactoryTalk Batch Server communicates the actual amount to the
Material Server, which in turn calculates the difference between the promised amount and the
actual amount and sends this back to the FactoryTalk Batch Server. The FactoryTalk Batch
Server uses this difference to update the setpoint for the split feed.
219
7. Note the Tank and Lot Number being used as the acid source.
220
9. Click Restart.
221
The batch has rebound to a new container, and picked the highest priority container. The system has
also calculated a new setpoint (Parameter 2), which is the remaining amount needed to add.
11. Let the batch complete, when completed select the batch and remove it from the Batch List by
selecting the Remove button
222
Note that additions from both tanks are recorded, along with their quantities and lot IDs.
223
17. Observe inventory for Citric Acid in Material Manager. (Select Start -> Material Editor, expand
Materials, double-click Citric Acid and select Inventory tab)
a. Lot AA is depleted and no longer in inventory in Tank ST_301
b. Lot AC has been decremented accordingly.
224
Note: Admittedly, it is unrealistic to have a liquid tank configured as plug-flow. Imagine this material is a
powder and the delivery system to the Premix Tank is a powder delivery system.
Setup
1. On the AppSerBatch image, open the Material Editor. (Start -> Material Editor.)
2. Expand Material Storage Configuration -> Locations -> Bases.
For this example, the Sodium Bicarbonate material will be configured per the table below:
Container
Material
Quantity
Priority
Lot ID
Label
ST201
Sodium
Bicarbonate
Sodium
Bicarbonate
Sodium
Bicarbonate
75kg
n/a
BA
XXI
25kg
n/a
BB
XXII
500kg
n/a
BC
XXIII
ST201
ST201
Note: Container priority is not applicable since all additions are from the same
container. Be sure to add the distributions listed in the order above.
225
4. Delete any existing distributions (this does not need to be done if inventory is already properly
configured, skip to running a batch).
5. Click Create Distribution.
6. Select Material Lot BA, enter XXI for the label and 75 for the quantity (per the table above).
7. Create two more distributions per the table above. Your inventory should look like the following:
226
5. Type in a Batch ID
227
7. Wait for the batch to complete and remove the batch from the Batch List.
8. On the AppSerBatch image, open the journal file for this batch (Batch View -> Event
Journal). Note that all three lot numbers and their associated quantities are documented in
the batch log.
228
For this example, the color containers will be configured per the table below:
Container
Material
Quantity
Priority
Lot ID
Label
ST101
ST102
ST103
Red_Dye
Green_Dye
- none -
75kg
75kg
--
50
50
--
CA
CD
--
XXXI
XXXII
--
3. Lot CA has already been created for the red dye. A new lot, CD, will need to be created for the
green dye. Double click on Green_Dye and select the Lots tab in the Edit Material dialog.
229
5. Expand the Material Storage Configuration -> Locations>Colors folder and double click on
ST_101.
6. Select the Inventory tab. Delete any existing distributions and create a distribution for Red_Dye
per the table above (once again not necessary to delete if pre-configure).
230
8. Double click on ST_103 in the Locations -> Colors folder. Select the Inventory tab. Delete any
existing distributions.
Run the Batch
1. From an HMI on the PASS01 image, select Batch Premix 1 from the menu bar
2. Click Create
4. Select GREEN_DYE from the material drop down list. Click Create.
231
232
8. Wait for the batch to complete and examine the batch journal if desired.
233
For this example, the color containers will be configured per the table below:
Container Material
Quantity
Priority
Lot ID
Label
ST101
ST102
ST103
75kg
75kg
--
50
50
--
CA
CD
--
XXXI
XXXII
--
Red_Dye
Green_Dye
- none -
3. This setup is the same as the setup used in the color tank selection example above. If the
inventory was configured for the previous example, the only setup necessary for this example
should be to update the quantity of green dye (since 60 Kg were used in the color tank example.)
Double click on ST_102.
234
235
Note: The batch can be setup even though the material is not found in inventory. (New feature of Batch
V11, Late Material Binding)
5. Type in a name for the Batch ID.
7. The batch will not run because the material cannot be found in inventory.
236
11. Wait for the batch to complete and examine the batch journal if desired.
237
In the FTBatch Material editor we have configured each of the tanks and silos as material storage
locations, we have also defined the materials that can be stored in those locations. Open the Material
Editor on the AppSerBatch image if you want to following along with screen captures below.
238
The tanks store liquids, the liquids defined are LI_A, LI_B, LI_C, and LI_D.
All of these materials have been configured to be stored in any of the tanks except LI_D which can only
be stored in Tank 01.
239
The silos store solids, the solids defined are MA_A, MA_B and MA_C.
Any of these materials can be stored in any silo.
Go back to the PASS01 image and navigate to the Silos display by selecting the SILOS button from the
Process Overview page.
240
In this example, we start with empty silos, one can see from the CONTAINER SUMMARY window that no
material exists in inventory.
The CONTAINER LOADING PRIORITY SELECTION window is used to establish and prioritize
incoming material storage locations.
The following display indicates how the list box displays possible locations to store each material. Since
there is no inventory, all silos are listed as possible destinations.
241
Below each CONTAINER LOADING PRIORITY SELECTION box are buttons used to change the
loading priority. In this example, the priorities, first to last, for material MA_A are Silo 01 followed by 02,
03 and 04. If, during loading, a silo is filled, (as determined in the phase logic) then the system
automatically finds the next configured silo for loading.
This example represents a process where the operator sets up the destination path using a transfer
panel.
A truck button toggles the presence of a truck in the unloading area. If the truck is removed during the
transport process, the system will continue to run for 30 seconds at which time the transport system will
stop and the unloading sequence will complete.
The operator will be required to enter the total amount of material unloaded from the truck or trucks.
242
Select the
The popup will require you to select the material and enter a Lot ID;
Select MA_A and enter A_001 for the lot ID, then ACCEPT.
The material pull down menu will only display materials that have been defined in the material editor.
243
Because the required destination is different from the selected one, the system is displaying a prompt to
the operator in the OPERATOR PROMPTS window.
Change the destination silo by clicking on the transfer pane.
After correcting the transfer panel destination, double-click on the prompt and select, Retry to continue
with truck unloading.
The system will now indicate that the transport system is running.
244
This will continue until the truck is removed using the truck present button. If no other truck is present in
the next 30 seconds, the system will assume there is no more material to unload and complete. Another
way to complete is to select the END TRANSFER button.
Additionally, material transport can be held and restarted using buttons located below the OPERATOR
PROMPTS window.
245
Double-click the prompt and enter the amount. For this example lets enter an amount of 1000 Kg.
Select the RESET button below the Operator Prompts window if you selected the End Transfer button.
Selecting the REFRESH button updates inventory in the CONTAINER SUMMARY window. Please see
the following screen capture.
246
We can now see in the CONTAINER SUMMARY window that Silo 01 contains 1000 Kg. of material MA_A
with a Lot ID of A_001.
Reviewing the CONTAINER LOADING PRIORITY SELECTION we see that:
Material MA_A can be loaded into any silo.
Material MA_B and MA_C can only be loaded into Silos 02, 03 or 04, since material MA_A is in Silo 01.
Material Manager has reserved Silo 01 for material MA_A. This feature prevents the loading of dissimilar
materials into the same container.
Let's receive a new lot of material MA_A but send it to Silo 02. To do so, requires changing Silo 02s
container priority.
From the table listing MA_A select Silo 02 then select the UP button. Silo 02 is now the next silo for
receiving this material.
247
=>
Follow the previously established procedure to unload 1600 Kg. of MA_A to Silo 02 with a lot ID of A_002.
Select the REFRESH button to update inventory.
Silo 01 and 02 will not be available to unload any other material other than MA_A.
248
If another truck of material MA_B needs to be unloaded, it can only be delivered to Silo 03.
Receive another 500 Kg. of MA_B with a Lot ID of B_002.
The Lot ID indicated in Silo 03 reflects the lot of the material at the bottom of the silo since it is a Plug
Flow type container and materials are not mixed.
249
Create an inventory of liquids using materials Liquids LI_A, LI_B, LI_C and LI_D
Remember that we are able to isolate possible destinations or containers for each material, in this
example material LI_A can only go into Tank 01.
Create some inventory of the following (approximate amount):
Container
Tank 01
Tank 02
Tank 03
Tank 04
Material
LI_A
LI_A
LI_B
LI_C
Quantity - Kg
150
200
200
200
Lot ID
LI_A_001
LI_A_001
LI_B_001
LI_C_001
Note that the priority can be set in advance; this is often performed by the operations department.
Simulate the presence of a truck by clicking the following button.
250
The amount of material transferred in this system is totalized using an in line totalizer.
When the approximate material required has been added, end the unloading sequence by selecting
Select the REFRESH button to update the inventory, which can be seen in the CONTAINER SUMMARY
window.
Remember to change the priority of the destination container (tank or silo) when necessary.
We have now created an inventory of bulk liquids and solids.
251
252
253
The Pre-Weigh 01 unit has the ability to add materials from any of the storage silos and tanks.
The material additions are totalized in the weigh hopper via load cells.
Material Manager will be responsible for determining the source of these materials based on the criteria
specified in the CONTAINER UNLOADING PRIORITY SELECTION.
The system will update storage container inventory as material is consumed by the process.
Take a moment and examine the PREWEIGH unit display which presents:
a MATERIAL INVENTORY window
CONTAINER UNLOAD PRIORITY SELECTION windows
an OPERATOR PROMPTS window, used by the system when operator intervention is required
Pre-Weigh Hopper weigh status
a Unit Activity Display to inform the users of process activities. (No Message if inactive).
The Material Addition phase has two operating control strategies. When using Strategy A one specifies
an explicit amount of material (i.e. Kg). Strategy B calculates the material quantity needed based on a
material property.
Note: An example of Strategy B might be calculating the amount of milk to add based on the shipments
fat content. Since the fat content changes with each shipment, a new quantity is required. Property
values, such as fat content, can be stored in Material Manager as Lot attributes.
254
Strategy
Explicit
Implicit
Implicit
Quantity Kg
50
Unit / Unit
50
50
.
Select ADD a batch and select the recipe named PRODUCT_W_PW_OP. Select OK.
255
To view the recipe steps and batch status select the PROCEDURE button at the bottom of the screen,
256
Select the batch from the Batch List and then select Start to initiate the batch.
Navigate to the Pre-Weigh unit and watch as the recipe configured materials are added to the batch.
257
258
259
260
This recipe was configured to unload the hoppers contents after pre-weigh to Premix 3.
As materials are consumed by the unit, material inventory is updated, deducting the actual amount dosed
to the batch.
261
262
The simulated depletion will be liquid LI_A which exists in both Tank 01 and Tank 02. The priorities are
set so Tank 02 is the primary source and Tank 01 is the secondary source.
263
After some material has been transferred, a few kilos is enough, select Simulate Zero Flow:
264
265
If the operator selects Retry_Current_Source the system resumes adding material from the initial
source, Tank 02. If enough material exists to complete the required addition the remainder will come from
that source.
A retry option is practical in many situations. Perhaps additional inventory is added to the source or
often, particularly in the case of solid materials, there is sufficient inventory but a bridge or blockage is
stopping flow.
Select Retry_Current_Source and Acknowledge. As soon as the addition begins select the Simulate
Zero Flow button. When the addition stops select the button again to reset it.
266
Note that the actual dosed amount. In this example, 25.5 Kg was obtained from Tank 02, before the
Simulate Zero Flow button was pressed the second time.
267
Finding a new source caused the Batch to go to the Held state, we simulated a hold on a split feed, this
was shown in one of the examples at the start of the lab. You will need to go to the eProcedure View
clear the failures and restart the batch.
268
269
270
271
With FactoryTalk Historian SE simply select a tag in the control system that you want the historian to
monitor, and FactoryTalk Historian does the rest. The result is a series of data values which are collected
over time in an optimal way to minimize storage space in the historian. With the FactoryTalk Batch
Interface simply install the product, configure the INI, and FactoryTalk Batch control recipe (batch)
records will be archived by FactoryTalk Historian SE to the Module database.
A Batch Event Interface will efficiently take data from your FactoryTalk Batch event journals files for data
storage within the historian database. This batch data can be used by other FactoryTalk Historian SE
applications providing a comprehensive set of analysis and visualization tools. Process Book combined
with Batch View and Active View help make delivery of the tools flexible and targeted to the right users.
With the BatchView add-in to Process Book, the batch data can be configured to allow the operators or
engineers to analyze batch data and easily compare time-series data against the batch execution data.
This information can provide knowledge to help operations make improvement in overall yield and quality
of their batches. The ability to compare cycle times, tag a Golden Batch, compare different batches,
compare unit execution, and better understand patterns and repeatable events. This valuable information
may lead to identifying and removing process bottlenecks, optimize your batch times, increase overall
production, increase equipment utilization, minimize reprocessing and discarded batches!
272
We apologize in advance to any FactoryTalk Historian SE power users; this lab assumes the user has no
strong working knowledge of the FactoryTalk Historian SE product. Here are the main highlights of each
remaining section for this lab:
Section 2: (Engineer constructs FactoryTalk Historian SE Points)
You will select a few control system tags from the Logix controller for the two reactor units levels as data
points within the FactoryTalk Historian. You will verify that these data points exist as well as understand
that other relevant control system tags for your units that have been previously configured as data points
to the historian. In addition, you will explore the Excel SMT Add-In, also called the Tag Configuration tool
that allows you to work with Historian tags in Microsoft Excel.
Section 3: (Engineers take on the FactoryTalk Batch Interface)
Here you will explore the new FactoryTalk Batch Interface. This interface dynamically builds your
equipment model in the Historian database, and it efficiently allows you to capture detailed batch event
information from your batch records.
Section 4: (Engineers perspective of ProcessBook with BatchView)
Here you will use Batch View in a thick-client application for ProcessBook. Within ProcessBook,
BatchView will make it easy to make batch-to-batch comparisons for completed or active batches.
Comparisons against a golden or anchored batch become very simple. Relative time comparisons can
be made between batches as if they all started at the same time. Time series data can be simply
configured for trending against the batch data. The BatchView in ProcessBook can simply and efficiently
enable engineers to analyze their data, as well as expose this tool for the operators within the View SE
environment.
273
Control system tag, or memory tag refers to a name assigned to a memory register in the control
system that holds some sort of process data. For example, this could be a memory register in a
controller, or a data value in the HMI server.
A data point is a Factory Talk Historian SE term which refers to a location in the control system from
which FactoryTalk Historian SE collects data. A data point can be a control system tag or memory tag
(i.e..any FactoryTalk Data Live tag).
A reporting tag is a Historian term for the time-series data stored in the FactoryTalk Historian database
that was sampled from a single point such as a control system tag.
Auto Discovery: allows the system to automatically discover controllers and other data sources without
the need for the user to identify the controller name and/or address. The system will start in the data tree
within FactoryTalk Application from where the user identifies the starting point of the search, and discover
all data sources from that point and all tags in those sources.
Auto Configure: allows the system to automatically configure known tags and points based on templates
that define what points to search. This means that the system will very quickly find only the relevant
points to configure, and allow the user to configure these in one step.
FTLD1 Interface: is a component of the FactoryTalk Historian and is responsible for the FactoryTalk
LiveData data collection from Data Servers in the FactoryTalk Directory. This interface will apply
exception and compression as necessary on a tag by tag basis. The tag data that is collected can be
stored in a local buffer if the FactoryTalk Historian is not available.
274
In this lab, we will briefly expose the user to how they might use MS Excel to import tags from the
Historian to harness the power available through Microsoft Excel and the SMT Add-In for viewing,
documenting, modify, creating and deleting(if option enabled) Historian tags.
Initially, you will run the Add Individual Historian Points to allow you to identify or create just a few data
points of interest. You will see how to add data points to the historian server database with a default
configuration. The control system tags that we choose will become captured data points by the historian
server. This will allow you to view the time-series data with batch execution data in later sections of this
lab.
Lets get started identifying our points with Historian so we have our time series data
1. This lab assumes that you are familiar with the basic batch functions of the FactoryTalk Batch
application as well as the PlantPAx process control system. If this is not true, you should take the
basic batch lab before trying to go further in this lab.
2. Please verify that you are in the AppSerHist VMWare image. This is the VMWare image where the
FactoryTalk Historian SE product has been installed. There are 2 other images with this lab that we
will abbreviate PASS01 and AppSerBatch.
3. To add our new historian data points, please open the FactoryTalk Administrator Console tool by
selecting it from the Start Menu shortcut list.
275
4. On the Select FactoryTalk Directory dialog, select Network Directory and press the OK button.
5. Expand Network, and select PlantPAx Demo. Right mouse click and select Add Individual
Historian Points.
276
This will take a moment to collect a list of tags and display the tag browser.
7. Within the Tag Browser window, expand the PlantPAx Demo, open CPG1 area, double-click on the
Online folder to open. We are using the FactoryTalk Live Data connection to the controller where the
CPG1 desired device inputs happen to exist.
.
8. You can scroll down the Folders list to find the desired control system tags which are level inputs for
277
9. Add the two control system tags for reactor level to the browsers selected tag list by double-clicking
on the Val parameter of the tag, then press OK to close the window.
10. Notice that you can only change the Default scan rate, everything else is predefined. Select OK.
278
This is one way that you can add Factory Talk SE Historian points for capture within the Module
database.
We have previously added some additional process input tags for the reactor which you will use later
for analysis in conjunction with your batch execution data. These tags are:
CPG1_TIC116.VAL_PV Reactor 1 Temperature Process Value
CPG1_TIC116.VAL_SP Reactor 1 Temperature Set Point Value
CPG1_TIC116.VAL_CVOUT Reactor 1 Temperature Control Value
CPG1_PIC118.PV Reactor 1 Pressure Process Value
CPG1_PIC118.SP Reactor 1 Pressure Set Point Value
CPG1_PIC118.CV Reactor 1 Pressure Control Value
CPG1_TIC216.PV Reactor 2 Temperature Process Value
CPG1_TIC216.SP Reactor 2 Temperature Set Point Value
CPG1_TIC216.CV Reactor 2 Temperature Control Value
CPG1_PIC218.PV Reactor 2 Pressure Process Value
CPG1_PIC218.SP Reactor 2 Pressure Set Point Value
CPG1_PIC218.CV Reactor 2 Pressure Control Value (output value of the PID controller)
These tags will be used in Aliases for real-time trending with Unit Batch data later.
279
11. Please close the FactoryTalk Administration Console: File -> Exit
12. Lets verify that these data points are recorded values within the FTHistorian. To do this we need to
run some batches to get dynamic level data archived into the Historian Module database. If data is
not changing, it certainly wont be interesting and without the changes, the event to trigger the
collection and compression of data wont occur within Historian.
NOTE: To understand more about the Historian algorithm for data archive and
compression, there is a YouTube video to watch called, Data Compression and
Exception in FactoryTalk Historian SE at:
http://www.youtube.com/watch?v=fdH7dYTN7gM
280
14. Start the FactoryTalk Batch View application. There is a desktop icon that you can launch,
or you can choose the Start menu, select View as seen below:
15. From the FactoryTalk Batch View, you should be logged on as APPSERBATCH\ADMINISTRATOR.
This will reflect how you are logged on to FactoryTalk Security for this FactoryTalk Batch View
application. Please create a batch by selecting the
281
16. Answer Yes, you would like to create a batch. This Yes/No popup is a configurable prompt to the
command.
Select OK
282
For reactor 1, the bound units will be Premix_01 and Reactor_01, use the Batch ID: PA_R1_001
Repeat this step for reactor 2, the bound units will be Premix_03 and Reactor_02, use the Batch ID:
PA_R2_001
283
While waiting for the first set of recipes to Complete, you can create the next set of control recipes, or
batches - PA_R1_002 and PA_R2_002. Do not start the second set of recipes until instructed later.
These first 2 running recipes should finish in about 10 minutes, but reactor 2 recipe may take a
minute longer than reactor 1. Call the lab assistant if it is taking much longer, and you are not sure it
is progressing properly.
Do not start the second set of recipes until instructed later.
20. Remove the COMPLETE recipes. To remove a recipe once Complete, select the recipe on the list
and choose the Remove command icon on the right,
284
.
21. For the remaining control recipe that will run in Premix 1, let us setup an operational delay before
starting this recipe in premix 01 and reactor 1. Go to the Phase Execution screen, and select
PREMIX_01 in the equipment list, and select the Next button twice for the Phases to get to the
PM_ADDITION_03 phase to select it and acquire ownership ( + icon button) as an operator.
285
22. Start just this one recipe in the Procedure View (SFC), and wait for the acquiring transition state,
23. Wait a minute, then Release the ownership of the phase PM_ADDITION_03
286
24. Verify that the control recipe takes ownership of the phase and continues running,
25. With the recipe running, lets wait until the unit procedure running in PREMIX_01 is Complete,
287
Drill into the running Reactor 1 unit procedure to see the phases that area actively running:
26. This time you shall cause an operational problem within the reactor unit, Go back to the procedure
level, or top of the recipe quickly, either by scrolling up the step hierarchy on the left, or double-click in
288
Wait a minute, then Restart the recipe. Repeat this same process again (i.e. Hold, Wait, and
Restart) when the recipe control gets to the very last phases with the transfer out running,
REACTOR_XFER_OUT :
27. Let the control recipe go COMPLETE, then Remove this completed recipe from the batch list.
NOTE: The other control recipe that will run in reactor 2 has not been started. We will start this recipe
later.
289
30. Once open, the default server is AppSerHist. Under System Management Tools, please select to
open Data, and then choose Archiver Editor.
31. This Archive Editor will allow us display specific data points that have been previously archived within
Historian.
290
Note:
checked.
- this Tag Search icon will not be available unless the Historian server is
32. Within the Tag Search browser you may apply filters to reduce the number of tags in the return list.
Select the Point Class to set its value to classic and choose Point Source as FTLD* and set the
Tag Mask filter setting its value to *.CPG1* to limit our display of points of interest for this lab. Select
the Search button. How many are in the List Count?
291
To see the tagnames, please expand the Tag column in the window list by clicking on it and dragging
it wider. There are 1344 tags from CPG1 area being historized in the module database through a
FactoryTalk Live Data connection to the controller.
Since we are interested in a few points, a better search would be to change the Tag Mask to be more
specific like, *LIT118*. Select the Search button. A much smaller list appears to manage through.
33. Scroll down the short tag list to find CPG1_LIT118.Val tag and select OK. The tag will be added to
the first tab. The start time can be changed from *-2h (2 hours) to something longer or shorter in
292
Lets add one more point to the archive, select the + tab
To remove a point from the tab list, select it, and right-mouse click the tab to select Close Tab.
35. Do a tag search using the Tag Mask *LIT218*, then select OK.
293
Scroll down the short tag list to find CPG1_LIT218.Val tag and select OK.
36. You should see two points among two tabs in the archive editor.
Note: you will not see data on these new points if you did not run batches during the time specified.
37. Another feature of this Archive Editor allows you to provide a substitute tag value for a point. It does
not replace the existing point that was sent to archive previously in time, but it does provide a
substitute value. This is good if it is known that there was an error or a bias in the data at a given
time. You can also set a configuration parameter to not allow substituted values for data after a
294
38. Now, we can look at current data values for the points that we are archiving. Within the same Data
tree, there is a Current Values, select this feature.
If you are familiar with this feature of Historian, please skip ahead to PI SMT add-in at step # 44
39. From the icon list, select the Tag Search icon
window.
Note:
- this Tag Search icon will not be available unless the Historian server
is checked.
40. Within the Tag Search browser, use the Tag Mask filter setting its value to *LIT118 * to quickly
display our point of interest. Scroll down the tag list to find LIT118.Val recorded points.
295
41. The point CPG1_LIT118.Val will be displayed with its current value as a snapshot.
296
43. Now, both tags should be in the current value list as snapshots. To get current real-time updates,
please select the start updating icon
Notice the data may not change if no batches are running in a reactor. If this is the case, add a batch
to run against a reactor of your choice, and start it.
Data could be changing every second if there is a batch running in reactor 1 or 2. From this example
(above and below) you can see that reactor 2 is static with a value of 21.11288, but reactor 1 has
changed from the snapshot of zero to 47.85.
297
44. Lets examine how an engineer might use MS Excel with the PI SMT add-in to see what data points
of interest are currently within the Historian. This spreadsheet import/export can provide a quick way
of changing a large set of tags.
If you are familiar with this feature, feel free to skip to next section, Section 3.
45. Select File > Options, this brings up the Excel Options window
298
47. With Manage defined for Excel Add-ins, select Go to bring up the Add-Ins window seen below:
299
From this Add-Ins window, we see PI Tag Configurator has been added all ready. If it were not there,
you would want to select the Browse button to find the recommended file and location. It should be
located at:
C:\Program Files (x86)\Rockwell Software\FactoryTalk Historian\PIPC\SMT
The filename is PITagCnf.xla
49. With this Add-In, you will be able to see the PI SMT Add-In when you select Excels Add-Ins menu
tab
300
To get tags from Historian into the Excel spreadsheet, pull-down your options from PI-SMT
Select Import Tags
50. From the Import Tags window, add FTLD* to the Point Source, and *CPG1* to the Tag Mask
301
51. Select OK, it will fetch PI tags for the spreadsheet. This may take a minute as it fetches over 1000
points.
Notice: there were 0 errors, and 1359 tags successfully imported. You could reduce this number of
points based upon the granularity of your tag masks.
53. If you are interested go to the Home menu to use the FIND feature in Excel to locate some of those
points we had mentioned earlier. If not, just close Excel.
302
NOTE: All the FactoryTalk Historian tag attributes are displayed in each record
on the worksheet. This allows you to document, create, and edit tags on a global
scale. Exporting them back into Historian gives you an efficient way to manage
Historian tags...
54. Congratulations! You have successfully added new data points to the Historian and verified them by
several methods. Later, you can trend this data overlaid with your batch execution data through the
Batch Views engineer perspective. In the next section, we will explore the Interface Configuration
Utility ICU, and the System Management Tool - SMT to get the engineers perspective on the
FactoryTalk Batch Interface.
303
1. For this lab the Batch Event interface was installed on the batch server image. Please go to the
AppSerBatch VMWare image.
2. Before we start, lets examine what batch journal file data looks like. We could use the FactoryTalk
Batch View application to examine some of this data, or we could open an existing journal file using
Windows Explore and any ASCII text file editor such as Notepad.
3. Open the FactoryTalk Batch View application, and select the Journals view,
4. From the event journal view, select the Journals search button,
304
5. From the list of batch journals that is displayed, select one and press OK,
Please take some time to observe and explore the results which is data contained by an event journal
record for a specific batch, or control recipe. They are event descriptions and values with a time.
305
8. Spend a minute looking at the different entry records within the log. Much of this data is what the
Historian will be capturing within its module database.
9. From the AppSerHist image Start Menu shortcut list, select FactoryTalk Administrator Console.
306
You can observe the current connections defined within the FactoryTalk Administration Console for
the historian. Currently only, a FactoryTalk Live Data connection exists.
10. On the AppSerBatch VMWare image we will examine and start, if stopped, the FactoryTalk Batch
Interface, please launch the Interface Configuration Utility, or ICU from the Start Menu on the
machine that the new FactoryTalk Batch Interface was loaded (i.e. AppSerBatch).
11. From the Interface Configuration Utility, we will see that there exists the interface PIFTBOInt that was
preconfigured for this lab. Please pull-down the interface window to select the FactoryTalk Batch
event interface, PIFTBOInt -> APPSERHIST
307
The General window provides information about the interface such as point source, scan classes,
connection status with the Historian, user, version, port, etc. Please note that the batch interface
does not use typical scan classes since data is being pulled from event journal files. Also notice, the
General window tells you where the Interface was installed:
C:\Program Files (x86)\Rockwell Software\FactoryTalk Historian\PIPC\Interfaces\FTBOInt
12. Select FTBOInt in the left side of the interface utility to bring up the configuration window.
Notice that the Administration tab defines information about the interface including the mode and
start date/time for the interface to begin archives.
308
The alternate INI file is an important part of the interface configuration. It defines the location for the
batch records to archive, and what data to transfer into the Historian. Its current path is defined as:
C:\Program Files (x86)\Rockwell Software\FactoryTalk Historian\PIPC\Interfaces\FTBOInt
where the ini file, PIFTBOInt_RA.ini, is located can be verified by selecting the browse button,
13. To examine the contents of the Configuration INI file, select the Configure INI File button,
However, the configuration of this file is outside the scope of this class, and there should be no strong
reason for why an end user would want to make changes to it.
14. Lets look quickly at the other tabs, select the Time Settings tab. This is the default setting.
309
15. Select the Batch Setup tab. This is the default setting.
16. Please select the Diagnostics tab. This is the default setting.
17. Please select Service in the ICU. Notice here that the Startup Type is set to Auto. The ICU should
be running upon boot of the O/S when startup type is auto. If it were not, there are command buttons
on the toolbar under the menu that allow you to stop and start the interface.
310
18. The service configuration includes Windows security authentication information and service
dependencies for the ICU service. In the ICU utility window, the IO Rate doesnt apply to this
interface, and Interface Status provides minimal information.
19. Please switch back to the FactoryTalk Historian SE image AppSerHist. The FactoryTalk Batch
Interface dynamically builds the equipment model and phases within its database. If this was a new
install of the interface and the Batch Interface and you had previously run no batches, the equipment
database would be empty for the initial image. Once a batch is archived, the equipment (units, and
phases) will be built dynamically for you. If you happen to add new units, or phases to your batch
system in the future, the Historian database will dynamically update its model as soon as a phase or
unit is recorded into any batch journal that is pushed to the Historian. To observe this database, you
must go to the Historian image, AppSerHist. Next, go to the System Management Tool - SMT, select
Batch to open and the Batch Database.
311
20. Expand the tree AppSerHist,. Upon opening the tree you will see units under PRODUCTION.
Within each unit, there will be phases which were run by recipe operations against that unit. If no
recipes have ever been run, there would be no units, or phases in this tree
UNITS are:
Expand the tree for PREMIX_01 to observe all the phases within that unit,
UNIT(PREMIX_01)\PHASES are:
312
21. From here we can perform a database search for all batches. Right-Click on Production and select
Search for PIBatch
22. The Search window will appear. Select the OK button with the default search. The default will find all
batches produced in the past day. To include more batches, you could change the start-time search
from Day, to Days where 90 Days is approximately 3 months, 60 Days is approximately 2 months,
etc.
313
24. Expand the search results, and select one of the batches within the list tree. Upon selecting a
particular batch, detailed information about the batch is provided: Batch ID, Recipe, Start Time, End
Time, PIUnitBatches, etc.
314
26. Expand each of the units within the batch. This will give you the list of equipment operations that
ran within the unit procedures for the units within the batch. Select an operation for detailed
information that is stored within the historian for that procedure level.
27. Expand the operations for a list of recipe/equipment phases that ran within the batch. Select a
recipe/equipment phase within the operation for details about the phase.
315
28. Open a recipe/equipment phase listed within the operation, here you see the various states which the
phase had during its lifespan. Select one such as Running, notice the details captured,
29. Did you notice that there was no formula value data, no report values on any of these details for each
level of the database? If you wish to use the SMT to investigate a phases data such as download
316
30. Expand on the equipment phase R01_TEMP_CONTROL, and the Aliases folder,
317
32. Go up to the REACTOR_01 unit, expand the Aliases folder under the unit. Scroll through the list
of Aliases until you reach the end. As you see, the previous Aliases for all the phases that we
observed earlier are listed there as well. In addition, you can observe some time-series Alias tags
(i.e. RX_Temp_PV, RX_Pressure_PV, etc.) that were previously built by the engineer.
318
33. Notice that your newly added level indicators should not be present in the list of Reactor 01 unit
aliases. You have not assigned an alias name to the actual device tag for the unit. While we have
not done that yet, it may be possible that it was left over in the image you are working on.
If so, you can delete this RX_Level_PV alias, and build it per the following instruction steps with some
caution; it may take several minutes to delete this alias if it exists. If you are short on time at this
point, skip to the next section of the lab, section 4 using Process Book when the alias has been built.
To delete, select RX_Level_001, right-mouse click for a delete action,
319
34. The remainder of this section will show you how an alias such as RX_LEVEL_PV can be tied to tags
across multiple units, reactors in this case. Lets quickly do this for Reactor 01 and Reactor 02 level
tags that we added earlier as though they were new Historian points.
Select the Aliases folder under the unit REACTOR_01, right-mouse click to add a New alias.
35. The Edit/View PIAlias Atributes window will appear, enter an Alias Name for our newly added tag.
Call it RX_Level_PV. If there were multiple PI Servers, you would select the appropriate PI Server
from the pull-down option which is AppSerHist.
320
Select OK to link the historian data point for level tag, LIT118.Val, to the alias tag, RX_Level_PV
within Reactor 01.
321
37. See that you now have the new alias for level in Reactor 01 alias folder called RX_Level_PV.
38. Repeat and create an alias level tag within Reactor 02 alias tag folder.
322
39. Fill in the appropriate data, and browse to select LIT218.Val for Reactor 02 much like you did for
reactor 1 earlier.
NOTE: From these screens we define all aliases we want to reference at a later date
for analysis. Notice that this alias is looking at the LIT218.Val historian point..
40. Select OK, verify that the new alias, RX_Level_PV, exists in Reactor 02 as well.
323
41. By creating these alias tags, we can use them in a Batch View trend so if we change units, the
system knows which tag to associate on the trend with the unit selected. Minimize the SMT
application.
324
Using ProcessBook is not usually something the operators will do, but for an engineer, this tool can be
indispensible.
1. From the Start menu, select the FactoryTalk Historian ProcessBook to open.
3.
325
Close the Connection Manager window. You are connected to the correct historian server.
4. From the top menu select File>Open to select an existing Batch Group pdi file, browse to
C:\inetpub\wwwroot\BatchAnalysis.
5. When you open an existing file, you must change to the Build mode to edit. Otherwise, if building a
new file, ignore as it should be in build mode already.
Select Build mode (hammer icon), and just double-click the Batch Group object in the work area for
the Batch Definition window to appear. If you are in Run mode, double-clicking on the Batch Group
object will only expand the object size. The Batch Definition window may look like this :
326
Double click anywhere on the (Batch Group1) [BatchGantt1] object area in the left upper corner
area. When you do, a Batch Definition window pops up.
This Batch Definition window allows you to configure the entire look and feel of the graphic display for
batch analysis with trending. For now, lets close this pdi file, and make our own. Select File Close.
6. To create a new file, select Cancel on the Batch Definition window; we dont want to edit an existing
pdi file. Select File>Close on the menu to remove the currently opened pdi file. Select File>New to
327
328
9.
Once Batch Group is selected, place your mouse cursor in the ProcessBook work area, click and
drag to make the Batch Group a decent size. Be very careful not to drag the Batch Group too
close to bottom of work area, the tool will expand the size greatly without you being aware that the
work area is scrolling down for the coordinates. Upon release of your cursor it will plant the
coordinates, and the Batch Definition window will appear. The size and the objects within the group
can be manipulated and arranged according to your preference. This is the Batch Definition window
that appears:
329
Use the scroll feature to move the list of batches up or down, how many batches are there from the
search?
11. Try a search of Active Batches for the last year *-365 days, and Find: All. Select the Search button
to see what batches show up in the list. Notice there are some from 2013 when batches were run on
this image. Feel free to use this data later if you have time to explore deeper with these tools for
analysis and comparison of batches.
330
12. Data is usually tied to PIUnitBatches to analyze for a specific unit. To do this, please select the Unit
Name browse button icon,
331
Once you do this, the Reactor_01 unit is placed into the Units and Masks column at the right.
13. Select OK to go back to the Batch Definition window. Next, select Search again to find the batches.
332
15. For the Alias tags in the Batch Group, select the tag of interest on the left then select the Add Alias->
button to add it as a time-series trend tag on the right. Please try this for RX_Temp_PV.
NOTE: RX_Temp_PV is tied to the historian tag for the Reactor Temperature. By
defining this as the alias for both, Reactor 01 and Reactor 02 temperature PVs, it
allows you to switch the unit for the BatchView during run-time without creating an
invalid trend where Reactor 02 batch data might be compared with the wrong
reactors temperature. The properly associated time-series temperature PV tag will
be applied to the trend for the appropriate reactor defined for the trend.
16. Another option that you have within the Batch Definition window is to anchor a batch to the Batch
Group. Therefore, if the operator changes the search criteria to bring up other batches, the anchored
batch will always remain. Often times, this is a valuable practice for what many would describe as a
golden batch. The golden batch is considered by some to be the batch that operators aspire all their
batches to emulate. By anchoring a golden batch in the group, it helps operators and engineers
333
Lets try it for one of your batches in the list. Make sure that Find: is set to All, and span *-365 days,
select Search, then scroll down through the Batch IDs to find GOLDENBATCH, select the anchor
on it,
Now, change Find: to The Last, and 6 PI UnitBatches, between *-365 day and *, select Search
Notice this older GOLDENBATCH is grouped with the 6 newest recipes for Reactor 01.
17. From the Batch Definition window you can select the Layout for your Batch Group. There are 4
possible components to make visible in the group. This includes: a Search pane, a Result pane, a
Gantt pane and a time-series Trend pane. Each of these is a separate object in the work area within
334
NOTE: The search pane may not be necessary; you can always right-mouse click
335
The best way to learn what you like for these settings is simply by trial and error just do it!
20. The Settings tab allows you more options to customize the look and feel of your Batch Group. You
can plot time as relative or absolute. Colors schemes for your Gantt chart batches to easily identify
336
21. Select OK on the Batch Definition window. This will take you into the work area of ProcessBook.
You can move each object that makes up your Batch Group around, and resize them to completely
customize your design. Learning how to size everything may be difficult at first so I dont suggest it in
this lab.
22. Switch the Batch Group from Build mode,
into Run mode,
. Select on the various
objects to get a feel for using them and seeing their data. Select your batches in the Result pane to
see how the trend highlights for each selection. Notice the yellow colored batch is your Golden Batch,
- the one you had pinned.
337
23. We will expand a batch in the Gantt chart to observe time, and phase execution. Observe the phase
execution. If you cant read the expanded phases, you may need to alter your time span for the
graph. For this chart, we would not able to view the expanded phases in the yellow and blue batch.
The long red batch is extending the time span of our x-axis, thus compressing the other batches of
interest space within the display.
24. While in the run mode, if you right mouse click the Gantt chart, select Batch Search
25. Modify the batch time criteria under DURATION to allow this to apply a shorter time span of batches.
338
26. Select Search. Expand the results. Notice how the shorter batches take up a larger percentage of
the graph due to this duration time change:
339
29. Now, while in the Run mode, right-mouse click on your Batch Group objects to see your dynamic
options to change data within the Batch Group during Run mode. With the right-mouse click Search
option you can change the data that is being displayed. Try the Search option, and change from the
unit Reactor_01 to Premix_01
Try changing tag trend analysis using RX_Level_PV and RX_Pressure_PV instead of reactor
temperature.
340
Here the unit was changed to Premix 01, and the duration shortened to less than 5 minutes, and the
number of batches increased to 6. Take time to try different features and ask lab assistant questions
if you have any.
341
SoftLogix will start with the start of Windows Server 2008, look for its icon in the system tray in
the lower right of the screen.
2. Wait a minute or two for SoftLogix to initialize, if the image has just been started.
342
4. Select PlantPAxDemo_Controller1_2_3_2014.ACD control file from File menu under the recent
open listings, or use File>Open menu and browse to C:\PlantPAx Demo\CLX\PlantPAx Demo
Processor ACD Files selecting the PlantPAxDemo_Controller1_2_3_2014.ACD file.
Please verify that you opened the correct ACD file. Observe the RSLogix 5000 title bar to verify that
the proper file was opened as shown:
343
6. Select Download
344
8. Check that the controller has the correct time by right-clicking on the controller name to bring up
its properties pages, select the Date/Time tag and select Set Date, Time and Zone from
Workstation if the controller time is incorrect.
9. Minimize RSLogix5000.
HMI Setup - Client
10. From the Desktop select the PlantPAx Client icon or from the start menu select Start >
FactoryTalk View Site Edition Client and complete step 10 and 11.
345
346
14. On the Process Overview display select the CPG Batch SetupReset button.
347
Operators Perspective
This user perspective will take you through the process of browsing sequences, creating a sequence, and
running the automated sequence using LBSM. While the sequence is running, you will have a chance to
explore the LBSM system while interacting with the sequence through standard operator tasks. These
include: completing manual additions, initiating manual actions, hold/resume sequencing,
advance/repeat steps and more. The user will also enable LBSM reporting and look at the preconfigured
reports.
348
5. At the log on prompt, Log In as the Operator with User ID = BatchOper with the Password =
Operator and click OK.
349
Then click on the magnifying glass to open the Sequence Control Window.
350
351
352
Sequence Control
buttons
353
354
2. A significant amount of information is available for the operator. Lets look at the screen in detail.
Highlight shows current step
d. A green box with a black dot indicates that the phase has completed its actions but is still
active. Typically this will be seen for phases that transition several steps such as
agitation.
e. The indicators at the far left display the current phase state.
The vertical axis displays the configured equipment and current phase status.
355
which
The sequence state diagram is both functional and a key to the control icons.
3. Once both Material 1 and 2 additions are complete, the sequence progresses to Step 2, where
Material 3 is added also while agitating.
356
The Display Sequence Control windows has been size such that most of Premix 1 display is visible
and allows the process actions to be observed.
357
358
6. After reading and performing the actions indicated in the Prompt popup, the operator would enter
359
360
361
362
The sequence transitions to step 6 and transfers the contents out of the tank.
In the PreMix display note the open valve, pump on and the tank level dropping.
11. After the tank is empty, the sequence is complete. No steps are active, the sequence state is
Complete and the Reset button is active.
363
364
The Run-time Sequence window will appear. Click on the Display Selection List button.
2. Select Product G
365
Commands
Pause points
366
6. Lets suppose that during the first material additions, Step 2, the operator wanted to check the
tank before continuing with the timed agitation in Step 3. Note that there is a configured pause
point between Step 2 and Step 3. Therefore, the operator can select Request sequence to
pause at next pause point. Click this button.
367
8. The operator can continue to select Request sequence to pause at pause point or one can
select to enable Auto Pause, where the sequence will automatically pause at every configured
pause point. Lets go ahead and Pause sequence at each pause point by checking the
appropriate box.
368
10. The sequence progresses with the timed agitation, Step 3. At the end of the time agitation, the
sequence is again paused. Lets assume that after checking the tank contents, the operator
needed to repeat the timed agitation. Press the Skip to Previous Pause Point button.
Notice that the sequence has indexed back to the previous pause point (which could be more than
one step).
369
1. After the timed agitation, continue the sequence by pressing RESUME SEQUENCE.
2. After Matl 3 is added in Step 4, continue the sequence by pressing RESUME SEQUENCE.
370
4. Before pressing RESUME SEQUENCE to step on to step 6, read the next steps instructions and
be prepared to put the sequence in Hold. RESUME SEQUENCE and move to step 6 when
ready.
5. Now, suppose during the timed mixing cycle, Step 6, the operator needs to stop the circulation
371
372
Note: The Sequence Status and Control screen can be displayed by pressing the
Sequence Button in the lower left corner of the process graphic.
This button allows one to easily toggle between sequence display / control and the
process graphic.
This button shows the current sequence, the sequence state, and the current step.
373
7. If you check the Premix Overview process graphic, you will see that the recirculation has
continued from where it left off.
374
and Resume
2. Now suppose that after taking and analyzing a sample, the operator needs to add more Material
3. Click on MATL 3 ADDITION in the phase listing and the Manual Phase Control popup
appears.
375
4. Click on the setpoint field and enter a setpoint of 23.7 Kg and then click OK. Also enter a
tolerance of 5 %.
376
6. The addition begins, which can be seen both on the Premix Overview process graphic and by the
phase status on the Manual Phase Control popup.
377
378
Manual Phase Control can be initiated anytime, with or without a sequence running.
Furthermore, the sequence can be in any state, (e.g. running, held) for manual phase
control.
379
and close
ABORT
2. All phase activity aborts and the sequence transitions to the Aborted state.
380
381
2. This brings up the Premix Tank Unit Configuration popup, the three buttons on the bottom half
of the popup are used for LBSM Reporting.
382
4. This brings up the small display below. This display contains VBA code that takes the data from
tags running in the controller and places it in a XML files and a SQL database. This data consists
of parameters and report tags and other batch information such as date and time, phase state,
etc. Dont close this display for the remainder of this section. Its display properties are set for
cache after displaying, always running always updating, this keeps the batch data updating even
when the display is not visible.
5. The Click Here to ABORT Report Generation button will close and uncache the Report
Generator display and stop archiving the batch data.
6. The final button on the Premix Tank Unit Configuration is Report Viewer
.
Selecting this button brings up a display that can be used to look at the XML file version of the
batch reports. These XML files are stored in the Report Location you see at the top of display.
Selecting a file name on the left will display the report in a Webbrowser control on the right.
383
7. Go back to the FactoryTalk View client Premix 1 display and select the Display Sequence
Control Window button.
8. From the Run-time Sequence window select Display Selection List and select Product D and
run two batches.
384
9. Now we will use Internet Explorer to look at the batch reports, we will do this two ways first using
Windows Internet Explorer, then using a display in FactoryTalk ViewSE containing the Microsoft
Webbrowser control. Start Internet Explorer, the home page is set for the report page. Select
LBSM Reports to display the reports.
LBSM Reporting requires the installation of Batch Reporting, which is why Batch Reports
is listed on web page. FactoryTalk Batch and LBSM can log data to the same underlying
database, but for the lab we have keep the two separate, the FactoryTalk Batch report is
on the database on the AppSerBatch VMware image.
NOTE: It may take a couple of minutes to get all the services loaded and running.
10. The second way to look at the reports is to create a display containing the Microsoft Webbrowser
control pointed to the report page URL. In the FactoryTalk ViewSE project there is such a
display. In the upper right on the navigation bar select the LBSM Reports button.
385
11. The LBSM Reports display appears with the five LBSM reports.
386
Null selections are available for both start and end time. These can be used to search
from the beginning of time (start time null) or to most recent time (end time null).
7. Batch ID Filter
The Batch ID is the user defined name given to a
batch at runtime. This filter allows the user to trim the query list to those matching the specified
text. Expand your filter capability through use of the asterisk (*) wildcard at any point in the filter.
8. Recipe Name
The Recipe Name is the name to which the batch
recipe is saved. The Recipe Name dropdown list is populated in real-time by listing all recipe
names run during the user specified time frame. By default, all items in this drop down are
selected. Any individual line items can be selected/un-selected by checking/un-checking the box
next to the name. Alternatively, the user can select all/un-select all by checking/un-checking the
select all check box.
1. Select 010-BatchListing
387
388
4. . In the Recipe Name drop down list check the Select All box.
5. From the top right side of the report, select View Report
6. All the batches that have been archived to the database are now displayed.
7. If time allows try filtering the batches by using the Start Time Calendar.
389
1.
390
391
392
393
10. Select LBSM Reports and then select 070 Batch Execution
11. This report will open with the now familiar query header. Select a batch as have been done in the
earlier steps.
394
395
10. Select LBSM Reports and then select 080 Duration Comparison
.
11. Using the same steps as above select a date, recipe(s) and unique id(s). Since on this report the
execution time of batches is being compare you can select multiple batches. Below show the
report with two batches selected. Product D has two manual steps in the recipe; the longer run
time of Batch ID 8 was due to taking longer to perform the manual steps.
396
Engineers Perspective
System modifications may be required over time; therefore, this user perspective will introduce you to a
couple of system engineering changes. In this lab, we will modify an existing phase and add a new
phase to the system.
397
2. At the log on prompt, Log In as the Engineer with User ID = Engineer with the Password =
Engineer and click OK.
398
1. LBSM phase configuration is performed from the Engineering HMI display. From the Premix 1,
display selects Configure Premix LBSM.
Select the Wrench and Motor on the Premix Tank Unit Configuration popup to display the
Equipment Configuration Window.
399
400
1. Continuing from above, SIP now needs to be configured in LBSM, thus making a SIP phase
available for use in sequence configuration.
2. From the Premix_01 equipment configuration screen, Select the next open box, below the
existing CIP phase.
401
4. Under Real Parameters configuration, Check PHASE and add MINUTES for the Parameter
Name. Continue by entering MIN for the Engineering Units (EU). Press PAGE DOWN.
5. Check PHASE and add SECONDS for the Parameter Name. Continue by entering SEC for
the Engineering Units (EU). Press PAGE DOWN.
6. We have now added the new configuration for SIP and have included two setpoints for time delay
402
403
404
LBSM interfaces to user developed logic, in an automation controller (e.g. CLX), through
a defined data structure. The application logic can be written with or without the use of
the PhaseManager instruction set.
This demo application uses the PhaseManager interface so that the same phase can
easily be managed with either a FTB (FactoryTalk Batch) or a LBSM (Logix Batch and
Sequence Manager) system.
Coding phases is beyond the scope of this session, but we will look at the interface and
data structures then import a pre-developed SIP Phase.
1. Open the previously minimized PlantPAxDemo_Batch_Controller1_2_3_2014.ACD RSLogix
5000 project.
NOTE: Each of the following activities will be done to the online running controller.
There is no need to shut your process down to make these connection to LBSM.
2. Coding phases is beyond the scope of this session, but we will look at the interface and data
structures then import
3. Select Controller Tags and scroll down to the _Equipment tag.
405
406
407
button
9. When prompted, Select Finalize all edits in Equipment Phase, then select
408
10. The new SIP phase will be added into the project tree.
11. When PhaseManager is used, an interface routine is added to each PhaseManager program.
This interface routine translates general LBSM commands to PhaseManager commands. Now
lets import this interface routine. Right-Click on the PM01_SIP routine and select Import
Routine.
409
13. Select the LBSMIntfc.L5X import file, and then click the
button
410
17.
We will now assign the Premix_01 SIP phase pointer. This is the primary way LBSM
connects to this specific PhaseManager phase. Therefore, from the EP Alias For pull-down
th
menu, Select _Equipment[0,9] from the list. (Remember SIP was assigned to the 9
equipment position in the previous section when the SIP phase was configured in LBSM.)
18. Select Other Components and replace the Final Name with PM01_SIP
411
21. When the interface routine successfully imports, right-click on the PM01_SIP phase and select
Properties.
412
You have now successfully linked the LBSM engine to this specific PM01_SIP
PhaseManager phase.
In an earlier section we defined 2 input parameters for the SIP phase, Minutes & Seconds.
We need to now map these values into the PhaseManager phase.
23. Double-click the LBSM_Intfc routine under the PM01_SIP phase to open the routine.
24. Select the second rung as shown in the picture below, and then click the Start Pending Rung
Edits from the toolbar.
413
26. Select Finalize all edits in the Equipment Phase from the toolbar.
You have now successfully mapped the input parameters from LBSM to the PM01_SIP
PhaseManager inputs.
The Engineers Perspective is now complete!
414
415
416
The sequence display shows steps on the horizontal axis and phases on the vertical
axis. A green box, at any intersection of step/phase, indicates that the phase will execute
in that step.
417
418
6. Close the Step Edit display by clicking on the red X in the upper right hand corner of the
screen.
419
8. Check the Active box to enable this phase while in this step.
420
421
11. For the third requirement, Split the Material 3 Addition, before and after the Hand Addition, we
need to add a new activity between what is currently Steps 3 & 4. To insert a step, first enter the
Insert/Delete Step Mode by checking the appropriate box on the Sequence Edit
422
Note the position of the + and - buttons. Selecting + will insert a step between two
existing steps, while selecting - will delete the existing step.
13. Click Insert.
14. Add another Material 3 addition to the new Step 4, by clicking on the intersection between Step
4 and the Material 3 Addition phase.
423
424
17. Change the amount of Material 3 added in Step 2 from 25 kg to 12.5 kg (since we are now
adding the other half in Step 4). The completed step configuration should appear as follows.
425
426
detail screen by clicking on the magnifying glass in the bottom left hand corner.
19. Select the Display Selection List, and from the popup select Product D to load the updated
master sequence for the Premix_01.
20. You should now see the 3 changes we just made in the newly loaded Product D sequence.
th
But wait! We forgot the 4 sequence change request which was to add the SIP step into
the sequence! No problem, we will edit the runtime sequence and save it back to the
master sequence.
21. Now, lets address the last new requirement, which was, to add an SIP step into the sequence
(which occurs in Step 8.). Select the Edit the currently running sequence
427
button.
23. The blank step configuration window will appear. Change the Step name to SIP Step, Select
the Active checkbox, and enter a value of 30 into the Seconds Parameter field.
24. Press the Page Down key to download all changes on the page.
428
29. We are now ready to run a new sequence which would execute with the requested sequence
modifications, those being:
429
Adding a new step and splitting the Matl 3 addition between Step 2 and a new Step 4.
This completes this lab section on Logix Batch & Sequence Manager
430
431
Appendix
Appendix
432
Appendix
Parameter expressions
Phase report parameters now give you the ability to accumulate values uploaded by
phase logic. This simplifies the reporting process.
Binding expressions have been updated to support:
Absolute Value, Truncate, Round, Round Up, and Modulo math functions
Referencing report parameters on parent operations, unit procedures, and batch procedures and peer
steps within the recipe.
Referencing data in the parent recipes header.
Transition expressions have been updated to support:
Absolute Value, Truncate, Round, Round Up, and Modulo math functions
Referencing report parameters on parent operations, unit procedures, and batch procedures and peer
steps within the recipe
Referencing data in the parent recipes header
Scalability of the algorithm that checks for possible problems in the construction of
SFCs has been improved to find more problems in much larger SFCs.
Ability to bind a material-enabled unit without inventory
The recipe author now has the option of editing the unit requirement of a unit
procedure to specify whether the unit is to be bound By Inventory as in previous
versions of FactoryTalk Batch, or By Configuration; which relaxes the requirement
for inventory to be identified as part of choosing a unit for binding. The FactoryTalk
Batch Server and FactoryTalk Batch Material Server will determine the appropriate
set of binding candidates at runtime.
Recipe printing functions have been enhanced to include procedure reports and
parameter expressions.
433
Appendix
434
Appendix
configured for electronic signatures. The new commands are Force Transition, Override, and
Override Clear.
These new policies provide functionality that can be very helpful to production during abnormal
circumstances with the process or the instrumentation. However, a complete understanding of these
features combined with extreme caution should be exercised when applying these features in the
plant. These policies should not be taken glibly, so we have assigned electronic signature security to
each in the following example.
Notice that there are 3 signature templates that we created previously one for each of the new
command policies. For convenience, we have chosen to name the signature templates with the
respective name of the command policy it will be assigned.
1. Within the Equipment Editor, select menu Edit -> Signature Templates...
Observe the three signature templates named, Force_Transition, Override and Override_Clear.
435
Appendix
Force_Transition will require 1 sign-off from anyone a member of the Engineer group as shown
below:
436
Appendix
Override will require 2 sign-offs. One user from the Operator group.
Another, the second user, from the Supervisor group. Both are shown below:
437
Appendix
Supervisor Group
438
Appendix
439
Appendix
2. Notice that we have assigned a signature template to each new command policy feature.
Within the Equipment Editor, select Edit->Command Policies...
440
Appendix
Observe the boxes that are check marked to the right of the policy to enable them.
441
Appendix
This screen is brought up using the FactoryTalk Administrator Console to connect to the Network
directory.
Please note: With FactoryTalk Batch version 11, you should run a post-install update for the
FTSP policies using a bat file after completing the installation of the batch product. This update
will create the new product policies inside the FactoryTalk Directories.
4. Now lets switch over to production to see how an operator might use the Force Transition
command policy. This new feature allows you to easily force a transition to fire so the recipe
sequences without the need for an Active Step Change. You will run a recipe called
Z_Force_Transition_OP.
From the Batch Mgmt & Control overview, select Batch Premix 1
442
Appendix
5. Select the Create button on the screen. This generates the Master Recipe List. Scroll down the
list to the bottom.
443
Appendix
7. When the Batch Create Window comes up, select OK to add a batch to the list.
8. Select the new recipe in the list, and issue a START command to the control recipe.
10. Notice the transition will never go true under the built-in Timer step. This step will count up in
minutes indefinitely. The transition is a static FALSE for the illustration of this new feature.
However, this could be analogous to a faulty instrument reading, or a process condition that may
never be reached to unexpected process conditions. In such a case, the Force Transition
command policy will allow you to change the Boolean expression result of False to True. Once
True, the batch server will fire the transition so the recipe will sequence to the next step without
the need for an Active Step Change.
444
Appendix
11. Double-click upon the T2 transition. The transition expression window will launch.
445
Appendix
446
Appendix
You will need to login as a member of the engineer group users to cause this action to occur. Use
the following logon:
User ID = Engineer Password = Engineer
14. Since a comment is Required in the signature, you must enter some information about why the Force
Transition is about to take place. The sign button will not become active until you type something into
this required box.
447
Appendix
448
Appendix
This Timer:2 phase step will Complete in 15 seconds as determined by its set point, and Countdown.
449