Settings Editor Table

Sepasoft MES Module Suite

Settings Editor Table

A component that manages a single recipe for an item in the production equipment model (Line, Cell Group, Cell). An equipment path and recipe name must be provided to populate the table with recipe information.

Actions available in the Settings Editor Table component:


These actions can be executed in the UI or scripting.

Activates /Play

  • Activates (or re-activates) the currently loaded recipe for the equipment. The Manual Values column is used.

  • Automatically senses if a recipe has been activated for the equipment. Toolbar updates accordingly.

self.getSibling("settingsEditorTable").activateRecipe()

Cancel

Cancels the activation.

self.getSibling("settingsEditorTable").cancelRecipe()

Tags
Updates the Live Values to current Ignition Tag Values.
self.getSibling("settingsEditorTable").updateLiveValues()
Reset
The Manual Values column is cleared-out, and return to the default values.
self.getSibling("settingsEditorTable").reset()

Table Columns

Table Column Name
Description
ID
The row number
Name
The setpoint's name
Setting ValueThe value that is bound to this setpoint.
Live ValueThe value of the tag that is bound to this setpoint.
Manual Value
A value that is manually set by the user. Activating the recipe causes the Manual Values to be used as the setpoints for variance monitoring.

Component Properties

Name
Description
equipmentPath

Required for loading a Recipe.

recipeName
Required for loading a Recipe.

liveUpdateInterval

Time in milliseconds to refresh the Live Tag Values column.
A value of 0 or less turns the feature off.
If the value is too fast, like 1 millisecond, the system will try to work "As-fast-as-possible" but as a safety-
measure, it WILL NOT queue a new read task until the first one is finished.

data

Writing to this dataset is a very bad idea, but it is exposed in case users would like to read from it.

executionTimes

Returns the times in milliseconds of various tasks that have recently ran.
Each of these tasks is associated with a loading-spinner, which means if they take too long, a loading screen will
interrupt the User Interface.

validateUserSecurities

Ensures values the user types in can actually be casted to the appropriate data type (highly recommended that this
stays on at all times)

Properties

Property Name
Description
equipmentPath
Path of the target equipment.
recipeNameMachine recipe name as set by scripting or in the Settings Editor Table.
liveUpdateInterval
Time in milliseconds to refresh activation status and setpoint values. Less than 1 turns this off.
data
The recipe settings data.
activeRecipe

recipeName: name of the active recipe.

recipeUUID: UUID of recipe.

trackingUUID: tracking UUID of recipe.

executionTimes

In milliseconds

datasetLoadTime: time to load settings.

manualActivationTime: time to execute settings.

manualCollectionTime: time to cancel the recipe settings.

readLiveValuesTime: time to read tags for setpoints.

saveValuesTime: save current values to settings.

resetManualValuesTime: time to reset manual-input overrides.

enableReactivations
When True, allows activations when a recipe is already active. 
validateValueSecuritiesWhen True, value security is verified before manual values are committed.
validateValueTypes
When True, value data-types is verified before manual values are committed.

Scripting

Settings and Changeover Objects

Scripting Functions

Sepasoft MES Module Suite