system.mes.isProductionStarted

Sepasoft MES Module Suite

system.mes.isProductionStarted()

Determine if the Production Model is in a completely started state (running). This function can be used to prevent scripts from interacting with MES modules while still in a partially-started state.

Syntax

system.mes.isProductionStarted()

  • Parameters

None

  • Returns

True, if the Production Model is in a completely started state (running). False as long as the PM is only partially started.

  • Scope

All

Code Example

Python
#The value of 'running' will be True only if the Production Model has finished starting up and is running
running = system.mes.isProductionStarted()

Sepasoft MES Module Suite