Adding a Setup Option: Padding Cycle Time
This section contains an example of adding a setup option to a process. The example uses the sample custom process AbrasiveJet Cut, which is copied from Laser Cut and mimics Waterjet Cut (see Adding a New Process to a Process Group). Unlike Waterjet Cut, this new process will include a setup option, cycleTimeAdditiveAdjustment, for a value to be added to the process cycle time as an adjustment (see Padding Cycle Time by Adding a Constant). See also Modifying a Machine Type: Padding Cycle Time and Adding Plant Variables: Padding Cycle Time.
Follow these steps to create the setup option:
-
In the navigation pane, double-click AbrasiveJet Cut; in the editing pane, click the Process Setup Optoins tab.
In this example, the process is new, and so is editable without an explicit override. For inherited objects, you must select Override Object from the Edit menu, or click the override icon,
, in the toolbar. -
Scroll to the bottom of the editing pane, and click
. Text boxes and a table for a new setup option appear.Each line of the table will define an end-user input mode. You will define two modes:
-
Default mode: uses the default bundle count specified by the plant variable
cycleTimeAdditiveAdjustment. This value is specified by the CSL expressionplant.cycleTimeAdditiveAdjustment. -
User override mode: This value is entered by the end user.
-
-
Add a line to the table, specifying the following column values:
-
Mode Name:
aDefaultValue -
Type:
CSL -
Display Text:
Default Value -
Expression:
plant.cycleTimeAdditiveAdjustment
-
-
Add a second line to the table, specifying the following column values:
-
Mode Name:
aaUserOverride -
Type:
User -
Display Text:
User Override -
Default Value
: 0
-
-
Enter the following information into the text boxes:
-
Select Save from the File menu, or click
in the toolbar, to save your changes. -
To incorporate your changes into the cost model, select Publish Cost Model and Digital Factory from the File menu, or click
in the toolbar.
See Padding Cycle Time by Adding a Constant for an example of using this process setup option in a CSL module.
For more information on CSL, see CSL Language Overview in Working with Cost Model Logic.