This component can be found on the Production component palette and is installed with the production-module.modl which is licensed with either the OEE 2.0 or Track & Trace modules.
Begin Operation Automatically
To begin operation automatically based on the schedule, ensure a Trigger Operation Begin Property is configured with Auto set to True and the Mode set to "Schedule (time)". Then, the schedule entry will automatically start the appropriate response objects based on the schedule.
You can drag rows from a power table or the MES Work Order Table to this component to simplify work order scheduling.
Set the Row Dragging Enabled property of the MES Work Order Table to True in the designer.
Select the desired row in the Work Order or power table and drag it onto the equipment item you wish to schedule it for on the MES Schedule View component.
In this example Line 1 production item is configured for Cane Sugar. A scheduling window will appear as shown below.
|3||Provide the duration or the production count of the schedule. Select the Schedule tab to view the new schedule. Click Save.|
|4||The schedule entry you just created will be displayed as shown.|
The User Menu Items property allows custom menu items to be added. These menu options become available in the client allowing users to right-click on schedule entries displayed in the Schedule view component. Custom script can then be added to the userMenuItemClicked event handler to add functionality to this component.
Click theicon on the User Menu Items property and add your custom menu items. See the User Menu Item property for help on the dataset columns.
Add your custom script to the userMenuItemItemClicked event handler.
The following script changes the category of the operations schedule when the user selects one of the user menu items. The event.getMenuItemName() returns the MenuName for the user menu item selected by the user. It can be used in the script to handle each user menu item differently.
event.getScheduleEntry() returns the schedule entry object that the user clicked on when selecting the user menu item. The script shown in the image handles two different user menu items: Hold and Release Hold.
|3||When a user now clicks on a schedule entry, the following menu items appear.|
|Name||name||String||Name of the component.|
|Enabled||componentEnabled||boolean||If true, component is enabled.|
|Visible||visible||boolean||If true, component is visible.|
|Border||border||border||Type of border around the component.|
|Time Resolution||timeResolution||Int4||Controls the resolution (in minutes) of selected time.|
|Past Scheduling Enabled||pastSchedulingEnabled||boolean||If true, allow scheduling in the past.|
|Overlapping Enabled||overlappingEnabled||boolean||If true, allow scheduling enteries to overlap.|
|User Menu Items||userMenuItems||Dataset|
Dataset that stores user menu items.
Multiple filters can be used, and the components will only show equipment that matches all the combined filters.
|Start Date||startDate||DateTime||Beginning of the time range to display.|
|End Date||endDate||DateTime||End of the time range to display.|
|Show Categories||showCategories||String||Schedule categories to display in the schedule. If blank, then Active category is used by default. There can be user defined categories, but Active is reserved. Custom categories are also acceptable.|
|Edit Category||editCategory||String||Schedule category that can be edited within the schedule component. If blank, then Active category is used by default. There can be user defined categories, but Active is reserved. Active and Actual are reserved for currently active and completed respectively. Custom categories are also acceptable.|
|Show Equipment Path||showEquipmentPath||boolean||If true, it will show equipment names with equipment paths.|
|Excluded Equipment Path||excludedEquipmentPath||boolean||Beginning part of a path to exclude from the displayed equipment paths.|
|Name Filter||nameFilter||String||Filter value, including * and ? wildcard characters, to filter results by MES object names.|
|Equipment Class Name Filter||equipmentClassNameFilter||String||Filter value, including * and ? wildcard characters, to filter results by an equipment class.|
|Equipment Name Filter||equipmentNameFilter||String||Filter value, including * and ? wildcard characters, to filter results by an equipment name.|
|Equipment Path Filter||equipmentPathFilter||String|
Filter value, including * and ? wildcard characters, to filter results by an equipment path.
Multiple equipment paths can be included in a comma separated list. These paths can't use wildcard characters.
|Include MES Lines||includeMESLines||boolean||If true, including MES line objects.|
|Include MES Storage Units||includeMESStorageUnits||boolean||If true, including MES storage unit objects.|
|Schedule Background||scheduleBackground||Color||Background color of the schedule area.|
|Restriction Background||restrictionBackground||Color||Background color of restricted (not available) times.|
|Line Color||lineColor||Color||Color of lines in the schedule view.|
|Now Line Color||nowLineColor||Color||Color of line indicating the current date and time.|
|Item Height||itemHeight||int||Equipment item row height.|
|Item Font||itemFont||Font||Font to use for equipment item names.|
|Active Item Background||activeItemBackground||Color||Background color of equipment items that are active.|
|Active Item Foreground||activeItemForeground||Color||Foreground color of equipment items that are active.|
|Active Item Status Icon Path||activeItemStatusIconPath||String||Path to an Ignition image to use for equipment items that are active.|
|Inactive Item Background||inactiveItemBackground||Color||Background color of equipment items that are inactive.|
|Inactive Item Foreground||inactiveItemForeground||Color||Foreground color of equipment items that are inactive.|
|Inactive Item Status Icon Path||inactiveItemStatusIconPath||String||Path to an Ignition image to use for equipment items that are inactive.|
|Show Progress Bar||showProgressBar||boolean||If set to true show the progress bar for schedule entries. The percent complete value must also greater than 0 for the bar to be displayed for a schedule entry.|
|Progress Background||progressBackground||Color||Background color of schedule entry progress boxes.|
|Progress Border Color||progressBorderColor||Color||Border color of schedule entry progress boxes.|
|Progress Fill Color||progressFillColor||Color||Fill color of schedule entry progress boxes.|
Dataset that stores entry appearance configuration. For each value you enter, a state is created. For example, you can see below that there are 16 values in the Dataset Viewer which corresponds to the 16 category and state combinations on the Schedule View component. Each state belongs to a category, the categories inbuilt on Ignition are Active and Actual. The Active includes the schedule that is currently active and the Actual includes those which have completed. You can add your own categories, 'Held' is added in the given example.
Color of the entry is determined by BackgroundColor. ForegroundColor will decide the color of the text. NormalBorderColor is the boundary color for an unselected state. Color for the border of selected state is given by the SelectedBorderColor.
Along with the component properties, custom properties can also be added to this component. See Component Customizers in the Ignition Help Manual for more information.
This component provide the following functions that can be called on it. If this component has been dropped onto the windows root container, the path and an example call would be event.source.parent.getComponent('MES Schedule View').refresh().
Gets the schedule item object for an equipment corresponding to the index of row specified.
int index - The integer that represents index of the row to return schedule item for.
It refreshes the data on the component.
Objects that are used solely by this component are listed here.
This object is used with showEditor extension function of this component.
The configureScheduleBlock extension function of this component has a settings parameter which can be used to change the default display settings and appearance of the schedule entry. This object holds information about the display settings of the schedule view component.
This object is one of the few objects that is not derived from the MESAbstractObject and therefore does not inherit its functions or properties.