Skip to end of metadata
Go to start of metadata

Description

OEE Equipment Manager component is used to modify MES equipment states, modes and schedules. The change button will navigate to the window where you can add, edit, delete, copy, paste, import and export the mode, state and schedule.

See Equipment Modes page and Equipment States page for various OEE Equipment Manager settings.

 

Component Palette


 

Changing Schedule for a Production Item

To change the schedule, select the production item (for example Line 1) and then click the change icon. 

The equipment schedule list appears. Now select the desired shift (in this example Shift 1) and save the settings.

 The equipment manager will now display the current selection as Shift 1.


 

Component Properties

Properties are provided that can be set to affect the operation and look of the component. They can be set through the Property Editor in the Designer or through scripting.

Example
event.source.parent.getComponent('OEE Equipment Manager').enableModeEditing = True

 Behavior
NameScriptingProperty TypeDescription
Enable Mode EditingenableModeEditingbooleanIf true, the Equipment Mode is editable.
Enable State EditingenableStateEditingbooleanIf true, the Equipment State is editable.
Enable Schedule EditingenableScheduleEditingbooleanIf true, the Equipment Schedule is editable.
 Data
NameScriptingProperty TypeDescription
Equipment Path FilterequipmentPathFilterStringEquipment path filter, that can include * and ? wildcard characters, to filter the equipments by.
 Appearance
NameScriptingProperty TypeDescription
Title FonttitleFontFontFont to use for the title bar.
Title Foreground ColortitleForegroundColorForeground color of the title bar.
Title Background ColortitleBackgroundColorBackground color of the title bar.

 

Event Handlers

Event handlers provide the ability to add custom script when a user interacts with a component.

 propertyChange
 propertyChange

Fires whenever a bindable property of the source component changes. This works for standard and custom (dynamic) properties.

PropertyDescription
.sourceThe component that fired this event.
.newValueThe new value that this property changed to.
.oldValueThe value that this property was before it changed. Note that not all components include an accurate oldValue in their events.
.propertyNameThe name of the property that changed. NOTE: Remember to always filter out these events for the property that you are looking for! Components often have many properties that change.

 


 

Extension Functions

 loadIcon
  • Description

Provides a chance to change an icon. Based on the icon name parameter, return the image path to the icon to use in place of the default icon.

  • Parameters

self - A reference to the component that is invoking this function.

iconName - The name of the icon.

  • Returns

Nothing

  • Scope

Client

Example
# This example will return a path to a different image to replace the default delete image:
if iconName == 'remove':
	return 'Builtin/icons/24/delete2.png'

 


 

Custom Methods

Custom methods allow you to add your own component functions to a component that can be called through scripting. This is a useful and clean method of re-using script that is specific to the component (say you want to update a visual aspect of the component in the same way whether a user clicks on the component or a window property value changes). See Component Custom Methods in the Ignition Help Manual for more information.

 


 

Customizers

Custom Properties

The custom properties can be used to add user defined properties.


 

Component Functions

This component does not have functions associated with it.

  • No labels