Sepasoft MES Module Suite
system.mes.oee.beginOEERun
These script functions are used to begin an OEE operation.
Method Options
system.mes.oee.beginOEERun(operationsRequestLink)
Description
Begin an OEE operation for the specified operationsRequestLink. The operations objects must have previously been created prior to calling this function.
Syntax
system.mes.oee.beginOEERun(operationsRequestLink)
- Parameters
MESObjectLink operationsRequestLink - The MES object link to an Operations Request object to start the OEE operation for. An Operations Request object is created when production has been previously scheduled.
- Returns
MESResponseSegment - The Response Segment object as a result of beginning the OEE run.
- Scope
All
Code Examples
Code Snippet
Python |
workOrderName = 'Wo90' materialName = 'Sugar' path = '[global]\Nuts Unlimited\Site 1\Area\Line 1' system.mes.oee.beginOEERun(workOrderName, materialName, path) |
Output
Code |
ResponseSegment (62d81809-9cba-49e3-9622-6b21f276c219, Sugar-Nuts Unlimited:Site 1:Area:Line 1_CO, 0 parents, 0 children, 0 custom properties, 7 complex properties) |
system.mes.oee.beginOEERun(operationsRequest)
Description
Begin an OEE operation for the specified operationsRequest object. The operations objects must have previously been created prior to calling this function.
Syntax
system.mes.oee.beginOEERun(operationsRequest)
- Parameters
MESOperationsRequest operationsRequest - The Operations Request object to start the OEE operation for. An Operations Request object is created when production has been previously scheduled.
- Returns
MESResponseSegment - The Response Segment object as a result of beginning the OEE run.
- Scope
All
Code Examples
Python |
workOrderName = 'Wo90' materialName = 'Sugar' path = '[global]\Nuts Unlimited\Site 1\Area\Line 1' system.mes.oee.beginOEERun(workOrderName, materialName, path) |
Output
Code |
ResponseSegment (62d81809-9cba-49e3-9622-6b21f276c219, Sugar-Nuts Unlimited:Site 1:Area:Line 1_CO, 0 parents, 0 children, 0 custom properties, 7 complex properties) |
system.mes.oee.beginOEERun(materialName, equipmentPath)
Description
Begin an OEE operation for the specified material and equipment. The operations objects must have previously been created prior to calling this function.
Syntax
system.mes.oee.beginOEERun(materialName, equipmentPath)
- Parameters
String materialName - The material name to use when starting the OEE run.
String equipmentPath - The equipment path to start the OEE operation for.
- Returns
MESResponseSegment - The Response Segment object as a result of beginning the OEE run.
- Scope
All
Code Examples
Code Snippet
Python |
workOrderName = 'Wo90' materialName = 'Sugar' path = '[global]\Nuts Unlimited\Site 1\Area\Line 1' system.mes.oee.beginOEERun(workOrderName, materialName, path) |
Output
Code |
ResponseSegment (62d81809-9cba-49e3-9622-6b21f276c219, Sugar-Nuts Unlimited:Site 1:Area:Line 1_CO, 0 parents, 0 children, 0 custom properties, 7 complex properties) |
system.mes.oee.beginOEERun(workOrderName, materialName, equipmentPath)
Description
Begin an OEE operation for the specified work order. The operations objects must have previously been created prior to calling this function.
Syntax
system.mes.oee.beginOEERun(workOrderName, materialName, equipmentPath)
- Parameters
String workOrderName - The work order name to assign to the OEE run.
String materialName - The material name to use when starting the OEE run.
String equipmentPath - The equipment path to start the OEE operation for.
- Returns
MESResponseSegment - The Response Segment object as a result of beginning the OEE run.
- Scope
All
Code Examples
Code Snippet
Python |
workOrderName = 'Wo90' materialName = 'Sugar' path = '[global]\Nuts Unlimited\Site 1\Area\Line 1' system.mes.oee.beginOEERun(workOrderName, materialName, path) |
Output
Code |
ResponseSegment (62d81809-9cba-49e3-9622-6b21f276c219, Sugar-Nuts Unlimited:Site 1:Area:Line 1_CO, 0 parents, 0 children, 0 custom properties, 7 complex properties) |
Sepasoft MES Module Suite