The following explains how to create a value range variable [Value range variable].[90]
Create the desired variable under Name.[91]
Under Status, select the Value range variable option.
Entry in the input field under Formula [Equation]:
There are various subtypes of the value range variable [Value range variable] type. The following table shows the syntax to be used:
A range from A1 to 90 is defined, where A1 is the variable name.
Range definition with additional default value 100,[1:6000] A range from 1 to 6000 is defined. Default value is 100.
The value range is displayed in PARTdataManager under Value ranges, the default value is also displayed under Discrete values.
A range from 1 to 6000 is defined. Default value is 100. Example: IF( FORM1 .EQ. 1) THEN L1 ='100,[1:6000]' ELSE L1 ='100,[1:2000]' ENDIF
Dependent from another variable value, different value ranges can be specified. See Section 7.8.13.4, “Type "Value range variable " combined with IF condition (characteristic algorithm ) ”.
Enumeration of discrete values
The selected variable may only take the values 1,3,5,7,9 and the current value of the variable "A2".
Note When using discrete values, you can alternatively select the methods with value range variable with designation [Value range variable with naming] and value range variable with graphics [Value range variable with graphics] under Status.
In the following you can see some exemplary figures.
Test in the table, whether the function is as desired.
For this, click into the value range field and select the desired value.
You can test just as well in the PARTdataManager table view and value selection are identical to those in the PARTdesigner.
[90] You can find the appropriate examples in the training catalog in the directory \v11_news\value_ranges\value_ranges_standard\default.prj|default_and_max.prj|listing.prj|simple.prj|stepwise.prj
. DIN 2395 was used as the basis for the examples.
[91] Basic information on the procedure can be found at Section 7.8.10, “ Variable manager - The individual parameters ”.