Synchronization Manager | Transfer Handshake
Sepasoft MES Module Suite
Transferring and Synchronizing
In the Recipe Editor and Recipe Monitor components, the Synchronize, Transfer In and Transfer Out Phases show a sync group box. If more than one sync group exists in a Unit Procedure or Operation, then multiple groups are shown. When you hover over (or optionally clicks on) the sync group, a tooltip is shown that lists all of the logic paths to the synchronize, transfer in, and transfer out phases.
For details about setting parameter flags, see Synchronize Phase.
Sync flags are set either by the batch system or manually:
A Sync_Mode = Auto sets the Sync_Flag_Complete = True .
When all the phases within a Sync_Group have Syn_Flag_Complete = True , then the Synchronization Manager sets the Sync_Confirm_Complete = True .
When the Phase sees Sync_Confirm_Complete = True , it sets Complete = True.

To get the sync groups and items of a recipe, use:
|
AbstractBatchMasterRecipeManager manager = ProductionContext.getInstance().getBatchMasterRecipeManager();
BatchSyncGroups syncGroups = manager.getSyncGroups(mesObjectList recipeObjects);
//Get the sync group names for a given logic path. The path can be to the Procedure, Unit Procedure, Operation, or step,
for(String groupName : syncGroups.getSyncGroupList('/Procedure') {
//Get the item information for a group
for(BatchSyncItem syncItem : syncGroups.getGroupSyncItemList(groupName)) {
String stepPath = syncItem.getStepPath();
BatchPhaseTypes phaseType = syncItem.getPhaseType();
}
}
|
To get the sync groups and items of an active batch (queue entry), use:
|
AbstractBatchExecutionManager manager =
ProductionContext.getInstance().getBatchExecutionManager()
BatchSyncGroups syncGroups = manager.getSyncGroups(batchQueueEntry)
//Get the sync group names for a given logic path. The path can be to the Procedure, Unit Procedure, Operation, or step,
for(String groupName : syncGroups.getSyncGroupList('/Procedure') {
//Get the item information for a group
for(BatchSyncItem syncItem : syncGroups.getGroupSyncItemList(groupName)) {
String stepPath = syncItem.getStepPath();
BatchPhaseTypes phaeType = syncItem.getPhaseType();
}
}
|
Sepasoft MES Module Suite