Sepasoft MES Module Suite
system.mes.oee.getOEEActiveSegment(equipmentPath)
Return the active Response Segment object that is currently running at the specified equipment. This can be the changeover or production Response Segment. If multiple operations are running at the specified equipment, the last one started will be returned.
Syntax
system.mes.oee.getOEEActiveSegment(equipmentPath)
- Parameters
String equipmentPath - The equipment path to return the Response Segment object for.
- Returns
MESResponseSegment - The active Response Segment object.
- Scope
All
Code Examples
Python |
eqPath = '[global]\Nuts Unlimited\Folsom\Receiving\Line 1' seg = system.mes.oee.getOEEActiveSegment(eqPath) print seg |
Output
Code |
ResponseSegment (b6a02e78-c667-4a15-aa9a-5720c55eeaad, Receive Nuts, 0 parents, 0 children, 0 custom properties, 7 complex properties) |
Sepasoft MES Module Suite