Sepasoft MES Module Suite
Description
This function checks whether or not a production line is ready to start a new run, especially in the context where multiple products are being run on a line simultaneously. It checks whether or not the previous product on the line has been indexed to the next cell so that the first cell in the line is open for the new product. If the previous product has not been indexed beyond the first cell, the line is not ready to run a new product.
Syntax
system.mes.oee.isPreviousProductIndexed(equipmentPath)
- Parameters
String equipmentPath - The equipment path of the line to check the indexing status.
- Returns
Boolean - True if the previous product has been indexed and is not in changeover, False otherwise.
- Scope
All
Code Examples
Code Snippet
Code |
eqPath = '[global]\Nuts Unlimited\Folsom\Receiving\Line 1' indexed = system.mes.oee.isPreviousProductIndexed(eqPath) print indexed |
Output
Code |
True |
Sepasoft MES Module Suite