Operations Performance

Sepasoft MES Module Suite

Operations Performance

This object is the run-time counterpart of the Operations Schedule object and is only created when an Operations Response object is created from an Operations Request

The Operations Performance is derived from the MESAbstractObject and inherits all the exposed properties, methods and events for that object.


Object Creation

There is no script function for creating the object, it is created as part of the events on other objects. When an Operations Response object is created and .begin() is called, an Operations Performance object results. 

To begin an Operation based on schedule entries, you should create the Operations Response from an Operations Request by using the createOperationFromRequestUUID() function.

ISA-95 Object Model Inter-Relationships

 ISA-95 Object Model Inter-Relationships

Object Properties

These properties are accessible with the provided object functions or the .getPropertyValue() function, but not directly as obj.properties. 

Property values can be accessed and changed for an object by using the getPropertyValue() and setPropertyValue() method.

This object inherits the AbstractMESObject properties.

Name
Scripting
R/W
Description
Schedule Reference UUID ScheduleRefUUID Read/Write The UUID of the schedule associated with this operation.
Schedule Publish Date Time SchedulePublishDate Read/Write The date and time the schedule was published. This setting is automatically set to the date and time of the Ignition server.
Schedule Type ScheduleType Read/Write This can be set to Held or Active.
Schedule Category ScheduleCategory Read/Write Changes the category of a operations schedule object. Options for the toCategory parameter is either 'Hold' or 'Record Scheduled'.
Schedule Production Count  ScheduleProductionCount Read/Write The production for each schedule is tracked.
Schedule Duration Sec ScheduleDurationSec Read/Write This is the duration of the schedule in seconds.


Object Functions

This object inherits the AbstractMESObject functions.

This object provides the following functions:


 

getActiveSegmentName()

Description

Return the name of the segment which is currently active.

Syntax

getActiveSegmentName()


  • Parameters

 None

  • Returns

 An MES Object Link representing the active segment.

  • Scope

All

 

getEquipmentLink()

Description

Return the link to the equipment MES object associated with the segment. This will be the same equipment that is associated with the operation that the segment is running under.

Syntax

getEquipmentLink()


  • Parameters

 None

  • Returns

 The MES Object Link representing the equipment.

  • Scope

All

 


Object Events

Objects have events associated with them that allow for custom scripts to be added whenever the event occurs. Refer to MES Object Events for more information. This object inherits the AbstractMESObject events.

Sepasoft MES Module Suite