system.mes.oee.addCustomScript

Sepasoft MES Module Suite

system.oee.addCustomScript(key, script)

Add a user defined script for the key OEE calculation.

Error

This function is deprecated. Use custom value sources and custom value calculators instead.

Syntax

system.oee.addCustomScript(key, script)

Parameters

String key - The OEE calculation key name.

String script - The calculation script.

Returns

Nothing

Scope

All

Python
script="event.setAvailability(0.50)"
system.oee.addCustomScript(system.oee.AVAILABILITY, script)

Sepasoft MES Module Suite