Showing posts with label Batch Executive. Show all posts
Showing posts with label Batch Executive. Show all posts

Thursday, July 9, 2009

Batch Events in PHV

Back in April, I wrote about how major batch events can now make their way into Process History View. So what’s that look like? How do I find these batch events? Well, there’s a new Category named BATCH-EVENT. So if I go into PHV, and filter on Category equal to BATCH-EVENT, I get something like this (I’ve hidden some columns that don’t pertain to batch events to make it easier to read):



One of the first things to note is the Parameter column contains both the unique Batch ID as assigned by DeltaV and the Batch ID as entered from the Create Batch view. The State column gives you a taste of the different “major batch events” now being captured. Here’s a non-comprehensive list of major batch events:

BATCH ADDED
BATCH REMOVED
CAMPAIGN CREATED
LOAD
Manual Phase Started
Mode Change
Operation Finished
Operation Started
Operation Started with Equipment
Phase Finished
Phase Started
Phase Started with Equipment
Procedure Finished
Procedure Started
REMOVED
Resource Acquired by recipe
Resource Released by recipe
State Changed
Unit Procedure Finished
Unit Procedure Started
Unit Procedure Started with Equipment

Noticeably absent from the list are report parameters. If I could somehow get report-like parameters into PHV, I’d have some pretty useful information. Enter the LOG EVENT function. The LOG EVENT function has been around a long time (go to BOL on how to use it), but the cool thing is how it looks in PHV. And it looks different, depending if it’s used in a regular module as opposed to phase logic:


When it’s used in just a regular module, the Desc1 column is empty. When it’s used in phase logic, the Desc1 column contains the Batch ID!

So for this example, if I look at the Parameter column to contain Acme11May2009 or the Desc1 column to contain Acme11May2009, and sort the result by Date/Time…to be continued.

Monday, April 20, 2009

Batch Events and 10.3

We’ve just finished successfully upgrading our DeltaV batch demo system to version 10.3, so I thought I’d share my hands-on experiences with some of the new and enhanced features.

So one of the first one’s I was excited about was the ability of the batch executive to have “significant batch events” flow to the event chronicle. And while I’m sure OSI is happy about this one, everyone should be.

Let’s be clear as to what “significant batch events” are – it’s NOT everything that’s currently in the batch journal, but all events associated with creating, starting, ending, and unloading of procedures, unit procedures, and operations get to the event chronicle.

Note in the screenshot below how the batch ID is displayed – you get both the ID entered by the operator and the internal ID DeltaV uses for tracking in the historian:



Now, silly me, I thought that once I upgraded to 10.3, I’d just run a batch and BAM, the data would be in the event chronicle. Well, I should have known better – you have to enable it. Where you might ask? About the last place I’d look, but now that I’ve found it, maybe I’ll save you some time.

Launch the Batch Application manager, and on the Batch Executive tab, select the Advanced tab, then select the Configuration Settings tab – here you’ll find all sorts of BE trivia selections. Scroll down to the Enable Alarm and Events Journaling, and double click it: