Sepasoft MES Module Suite
system.mes.beginSegment(responseSegment)
Begin the specified response segment.
Syntax
system.mes.beginSegment(responseSegment)
- Parameters
MESResponseSegment responseSegment - The MES object to begin. All required property values must be set prior to beginning.
- Returns
Nothing
- Scope
All
Python |
#Get the current operation oper = system.mes.getCurrentOperation('Dressings Inc\California\Raw Materials\Unload Station 1') #Create a segment for the current operation seg = oper.createSegment('Unload Balsamic Vinegar') #Set material seg.setMaterial('Vinegar', 'Balsamic Vinegar', 'Dressings Inc\California\Raw Materials\Tank Farm\Vinegar Tank 1', 'TBV 1127', 100.0) #Set personnel seg.setPersonnel('Operator', 'Hechtman, Tom') #Begin the segment system.mes.beginSegment(seg) |
Sepasoft MES Module Suite