Add a Batch to the Execution Queue

Sepasoft MES Module Suite

Add Batch to Batch Execution Queue

system.mes.batch.queue.addEntry(masterRecipeLink, batchName, batchID, priority, scale, quantity, unitAssignments, batchParameters, processCellPath)

Add Batch to Queue

Python
batchID = 'ALL-112234'
recCls = system.mes.getMESObjectLinkByName('BatchMasterRecipeClass', 'Logic Param Tests')
recLink = system.mes.batch.recipe.getRecipeLink('All Logic Levels', recCls)
bqe = system.mes.batch.queue.addEntry(recLink, batchID, batchID, 1)
system.mes.batch.queue.executeEntryCommand(bqe, 'Start')

Sepasoft MES Module Suite