Professional Documents
Culture Documents
Page 1 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 2 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 3 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Table of Contents
Page 4 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 5 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 6 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Notes
Page 7 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 8 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 9 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Connecting/Disconnecting Status
Page 10 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 11 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 12 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 13 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 14 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Lost Batch
Lost Batch: If a batch runner process ends unexpectedly, the Batch manager shows this
batch as LOST. From this state, the user can:
1. Remove the batch and release all acquired resources
2. Restart the batch with a Warm Restart, recovering to the last point of execution.
Page 15 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Note: All phases will go into HELD assuming the runner is down for 60
seconds and the default expression for the Watchdog timer is present in
the Failure Monitor.
Force Shutdown - This command shuts down the selected batch, forcing it to the lost state,
from which it can be restarted or removed from the Batch List. This command is only available
from the Administer Batches tab on the Batch Application Manager Advanced dialog.
Notes
Page 16 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Notes
Page 17 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 18 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Batch Executive knows of a change that has yet to be downloaded to the controller
Phase Class parameter is added
Recipe is created/modified to use a new parameter
BEX is downloaded but controller is not.
The Old Batch Executive would not allow the recipe to load because it used a
parameter that was unknown to the Area Model and required a restart of the BEX.
The New Executive picks up the new parameter in the Area Model when the Recipe is
created and the following message is generated to allow Operator to proceed or
address issue by downloading modified Phase.
Page 19 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 20 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 21 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 22 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 23 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Page 24 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Backup Folder:
In addition to these general logs, each DVBRunner process created for each batch has a set of
runtime files created within the DVDATA/Batch/Backup folder, under a folder named by the Unique
Batch ID. These files include persistence information used if the Batch must be warm-restarted. The
following files appear under the Backup folder in a subfolder named with the unique Batch ID.
Page 25 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
BMPersist Folder:
The Batch manager also maintains persistence information for purposes of restoring batch operation
through a Warm Restart.
Download Folder:
The DVData/Batch/Download folder stores XML versions of the downloaded recipe objects. The
DVBRuntime process processes the downloaded DeltaV Script files (*.SCR and Batch procedure
scripts) into XML files formatted for the new DVBatch Manager. This includes parsing the
AreaModel.scr file. While processing these files, the BOI clients are told that a download is in progress
and new batches cannot be created until this processing is complete. Otherwise, existing batches can
be acted upon by the operator.
Journals Folder:
The Journals folder behaves the same way as previous Batch Executive, storing the batch EVT files
and tracking the Eventdir.txt file for batches that should be removed from this directory. Note that EVT
file names use the “@” character as a prefix in v8.4.1.
When investigating an issue with the Batch Executive or one of its client applications, Product
Engineering recommends taking a capture of the Batch LOGS, BMPersist and BACKUP folders as
soon as possible. These should be made available to Technical support upon request, along with the
Windows Event Viewer logs for those nodes involved. Other possible logs may include the
Ejournal.MDB database or an export of all events leading up to and during the anomalous behavior.
Sometimes, an issue may not be discovered until validation reviews turn up an exception in the
GMP data. If the associated logs are no longer available, the investigation may not be conclusive.
Therefore, it may be worth while to include the Batch Logs and DVBRunner directories in regular
backups to support these potential activities.
Page 26 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Selecting the Advanced Button displays the Batch Executive Advanced dialog. The user can select
the Batch, confirm its state and associated Process ID number, and choose to shutdown the runner.
This kills the Windows DVDBRunner.exe process but leaves the batch persistence data intact. The
batch will still be in the batch list and can be warm-restarted.
Page 27 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
The second tab in this dialog displays a set of configuration parameters that can be used to
alter/customize the behavior of the Batch Executive environment.
These configuration settings are stored in a series of registry hives under the DeltaV hive. If the value
has never been modified, the registry key may not exist and the default behavior is understood. When
value is changed, its registry Key is created and is used to persist the setting.
Page 28 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Configuration Description
Setting
Purge Length of time (ms) the Runner directories are preserved in
Removed “\DVData\Batch\Backup\” after the batch is removed from BOI.
Runner Default = I day (in ms)
Directories [HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBManager]
"PurgeRunnerDirectoriesTimeout"=dword:0a4cb800
Launching Length of time (ms) the Batch Manager will wait for a runner to come up in
runner Failed READY before assuming it never will and setting it to LOAD_FAILED.
Timeout Default = 90 seconds (in ms)
[HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBManager]
"LaunchingRunnerFailedTimeout"=dword:00016378
Auto Launch Setting to determine if the Batch Manager will re-launch the Runtime Server if it
Runtime Server detects it is no longer present.
if it Stops Default = Yes
Execution [HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBManager]
"RelaunchRuntimeServer"=dword:00000001
No Equipment If the option is set to Yes, it specifies that all operator actions on batches with
Acquired no active equipment will still require the corresponding security privilege in
Security Check AREA_A. If option is set to No, then no security check is required for batches
without active equipment.
Default = No
[HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBManager]
"NoEquipmentAcquiredSecurityCheck"=dword:00000001
Prompt Specifies whether the operator should be prompted with a choice to continue or
Operator on not if there are phase configuration mismatches between the controller and the
Apparent Batch Executive. If set to No, batches with mismatches will be put in the Held
Config Errors state.
Default = Yes
[HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBRunner]
"PromptOperatorOnApparentConfigErrors"=dword:00000000
Confirm Config Setting to determine if a confirmer is required for configuration error prompts.
Error Prompts Default = No
[HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBRunner]
"ConfirmationRequiredForConfigErrorPrompts"=dword:00000001
Page 29 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Configuration Description
Setting
Verify Config Setting to determine if a verifier is required for configuration error prompts.
Error Prompts Default = No
[HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBRunner]
"VerificationRequiredForConfigErrorPrompts"=dword:00000000
Check Phases Runner checks to see if BSTATUS is good for all phases in recipe upon load.
on Batch load Default = No
[HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBRunner]
"CheckPhaseOnBatchLoad"=dword:00000001
Enable Alarm Specifies whether the Batch Executive should create an entry in the Event
and Events Chronicle for significant Batch Executive events (additional information in BOL
Journaling – Batch Executive Events topic).
Default = No
[HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBRunner]
"EnableAlarmsAndEventsJournaling"=dword:00000001
Enforce Batch Specifies whether a check should be done on the size of the batch. (If set to
Size Check No, created batches can be scaled to exceed the maximum "batch size"
defined in the recipe.)
Default = Yes
[HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBManager]
"EnforceBatchSizeCheck"=dword:00000000
Check Failed Rescans for the initially unresolved or unassigned equipment when only a
Control recipe-related change is present and the Batch Executive download is
Network Items performed. The default is No (that is no rescanning when only a recipe-related
on Download change is present and the Batch Executive download is performed). If an
equipment-related change is downloaded, the rescan will occur automatically,
regardless of this setting.
If this option is set to No and the following option (Check on Verify Phases) is
set to No, the Batch Executive will not attempt to rescan for the initially
unresolved or unassigned equipment unless an equipment-related change has
been downloaded.
Default = No
[HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBManager]
"CheckFailedItemsOnDownload"=dword:00000001
Check Failed Rescans for initially unresolved or unassigned equipment when the Verify
Control Phases button is clicked. The default is No (that is no rescanning for initially
Network Items unresolved or unassigned equipment occurs when the Verify Phases button is
When Verify clicked).
Phases Default = No
[HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion\Batch\D
VBManager]
"CheckFailedItemsOnVerifyPhases"=dword:00000001
Page 30 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
LOADING (transitory)
LOADED
BINDING (transitory)
BOUND
SELECTING (only if UP step with Acquire Before checked)
ACQUIRING
ACQUIRED (transitory)
READY
STARTING
RUNNING
COMPLETE
IDLE
DISCONNECTING (transitory)
DISCONNECTED
UNLOADING (transitory)
UNLOADED
The following list documents a phase step under normal operating conditions:
LOADING (transitory)
LOADED
BINDING (transitory)
BOUND
ACQUIRING
ACQUIRED (transitory)
CONNECTING
CONNECTED (transitory)
READY
STARTING
RUNNING
COMPLETE
RESETTING
IDLE
DISCONNECTING
DISCONNECTED
UNLOADING (transitory)
UNLOADED
Page 31 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved
Section 2.1-2.9 – Batch Executive Enhancements
Wyeth Advanced Training 2008
Unit parameter displaying Batch Information clears after each Phase as part of the Phase
Unloading process, and is reset when the next phase loads. When the last phase completes,
the parameter is cleared and remains so, even though the Unit may remain acquired by the
recipe.
This is being investigated to restore previous behavior.
Unit Aliasing is not working as expected in v8.4.1. Units bound to an Alias in the Recipe are
not being acquired properly. Track 78138 has been filed and this is to be corrected in v8.4.1
hotfix.
Recipe Transition expressions require a valid operand. Previous version evaluated a single
variable expression for true or false condition such as ‘BOOL_VAR.CV’. New executive fails to
load recipe with such an expression, requiring a change to ‘BOOL_VAR.CV’ = TRUE to get
the desired result. This is track 78253 and is corrected in v8.4.1 hotfix.
Active Step Change is not possible when procedure is on first step with first transition
evaluating to false. The previous executive allowed this to occur. If an Operation for example
evaluated a process variable in the first transition before proceeding to load the first Phase,
the ASC cannot be applied, and neither can a Force Transition. The user must consider:
Performing the Active Step change at the Unit Procedure level
Forcing the Process condition to satisfy the transition, once past this point, an ASC
can be performed. (This approach depends on whether it is acceptable to load the
phase(s) the ASC may have been intended to bypass)
Modify the procedure to place a null step such that the procedure waits on the second
transition for the process condition.
Track 79535 has been logged against this issue. Current resolution is to allow Force
Transition to facilitate moving the procedure to a point where ASC can be performed.
ASC is no longer permitted from the COMPLETE state. Previous version allowed this. ASC is
only allowed when the recipe is in one of the other terminal states or when initially loaded but
not run.
Range enforcement of deferred parameters is now applied at run time. During the design of
recipes, deferred parameters were required to have a valid range equal to or smaller than the
source, with the Phase level range defining the maximum range for the value. However, this
was not enforced at run time and if recipe was downloaded anyway, a recipe could write a
value that fell outside the design limits of the Phase. The new executive will fail to load the
recipe if the ranges are inconsistent.
The Force Transition feature uses the Stop Logic of the phase. In previous releases, an ASC
was required to move through a transition, requiring the user to bring the recipe to a terminal
state, either Stopped, Held or Aborted. As a result, the user chose what phase logic would be
run as part of the ASC. With Force Transition, the user must know that the STOP logic is
used on the Phase/Step(s) preceding the forced transition. The Force will load the next
Step(s) and issue the Stop command to the previous steps, and wait for these steps to be
Stopped. If the Stop logic fails to complete and the phase(s) remain in STOPPING state, the
force transition will not proceed.
Page 32 of 32
COMPANY CONFIDENTIAL / Do Not Reproduce © Emerson Process Management, 2008. All Rights Reserved