system.mes.beginOperation

Sepasoft MES Module Suite

system.mes.beginOperation(equipmentPath, operationsResponse)

Begin an operation at the equipment specified by the equipmentPath parameter. Once this function has been called, segments can begin for the equipment.

Syntax

system.mes.beginOperation(equipmentPath, operationsResponse)

  • Parameters

String equipmentPath - Equipment path of where to run the operation.

MESOperationsReponse   operationsResponse - The MES object to begin. Required properties must be set in the operations response object prior to calling this function.

  • Returns

Nothing

  • Scope

All

Python
eqPath = 'My Enterprise\California\Receiving\Unload Station 1'
#load the operations definition
operDef = system.mes.loadMESObject('Receive Material', 'OperationsDefinition')
#create an operation for the operations definition
operResp = system.mes.createOperation(operDef)
#Begin the operation
system.mes.beginOperation(eqPath, operResp)

 

Sepasoft MES Module Suite