Properties Editor for Basic Elements
This window applies to scalar variables, parameters and (system) constants, arrays, matrices, characteristic lines/maps, enumerations. It contains the following elements (some of them are unavailable in certain cases).
Name field
This field contains the element name.
Unit field
In this field, you can enter a unit for the element.
Comment field
In this field, you can enter a comment for the element.
Dimension field
Available only for arrays, matrices, characteristic lines/maps. |
This field displays the dimension of the element.
X and Y fields
In these fields, you can enter the maximum X (and Y) size of the element.
Variant Size area
Available only for arrays and matrices. |
In the combo box(es), you can select normal or user-defined system constants you want to use as dimension values.
Possible selections are <No Selection> or available system constants of type udisc or enum (variant size) or – for arrays/matrices of kind variable and specified as explicit references – * (variable size).
Interpolation combo box
Available only for characteristic lines and maps. |
This combo box offers all available interpolation routines. By default, Rounded and Linear are available; further routines can be added by the user (see User-Defined Interpolation Routines).
Kind field
This field contains a selection of the following options for the element kind: Constant, System Constant, Parameter, Variable, Interrunnable Variable, Message, Input, Output. Further entries for subkinds of system constants can be added by the user; see User-Defined System Constants.
Input and Output are available only for inputs and outputs in state machines. Since ASCET V6.4.0, Message is also available for arrays and matrices. |
Basic Type combo box
This combo box contains a selection of the following options for the element type: Logic, Signed Discrete, Unsigned Discrete, Limited Integer, Wrap-Around Integer, Continuous, Enumeration, Std_ReturnType, Record. One of them is selected at a time.
Component combo box
Available only for enumerations, mode groups and arrays/matrices of enumeration or record type. |
For enumerations and mode groups, this combo box offers all enumerations/mode groups available in the database or workspace, together with the respective path.
For arrays/matrices of enumeration or record type, this combo box offers all enumerations or records available in the database or workspace, together with the respective path.
Min and Max fields
These fields contain lower and upper limit for a limitInt or wrapInt argument.
For limitInt, the values in Min and Max must be representable in sint32 or uint32.
For wrapInt, the values in Min and Max must be representable in the selected Type.
Type combo box
This combo box contains the possible types for a wrapInt element.
This area contains the following options for the element scope.
Local
Select this option if the element shall be used only in the current project.
Imported
Select this option if the element has been defined in another project/component.
Exported
Select this option if the element shall be used in other projects/components.
buttons
The buttons are only available for an element with scope Imported. See also Imported Elements. |
The buttons are not available in the following cases:
- The imported element has no matching exported element in the current project context.
- The properties editor was opened for several imported elements at the same time.
- The component that provides the exported element is read-protected.
This area is not available for basic elements in SenderReceiver, NVData, or Calibration interfaces. |
Reference option
This option is to be set if the element is a reference of another element.
This option is available for arrays, matrices, characteristic lines/maps of the kind Variable. |
Virtual option
This option specifies if the element is a virtual variable or parameter.
This option is not available for arrays/matrices of enumeration or record type. |
Dependent option
This option determines whether the parameter depends on another element.
This option is only available for parameters.
Non-volatile option
If activated, this option places the element in the non-volatile memory area of the target.
For variables, Non-volatile and Virtual cannot be activated simultaneously. |
Variants option
This option determines whether variant handling is available for this element or not.
Variants is only available for parameters. |
Redundant option
This option activates redundant data storage for the element.
Redundant can only be activated for local or exported variables (scalar or composite) or messages. Redundant cannot be activated for arrays/matrices of record type. Redundant and Non-volatile must not be activated simultaneously. Redundant and Virtual cannot be activated simultaneously. |
This area is not available for basic elements in SenderReceiver, NVData, or Calibration interfaces. For imported elements in a defined project context, the area is named Attributes (derived from export); for imported elements without project context, it is named Attributes (no export found). |
Set() Method option
Adds a Set port for the selected element. The element is enabled and can be written from outside the component.
Get() Method option
Adds a Get port for the selected element. An output for the element is added to the component.
You have to actively set the Get() Method and Set() Method options for messages to add the respective inputs and outputs to the module layout. |
This area is not available for basic elements in SenderReceiver, NVData, or Calibration interfaces. |
For parameters and variables, the field contains the options Read and Write, both set to read-only. For variables, both options are activated. For parameters, only Read is activated.
The following options are available for explicit references (i.e. arrays, matrices, characteristic lines/maps with activated Reference attribute):
Read for Referenced Element option
If this option is active, the internal access to the referenced element is set to Read.
Write for Referenced Element option
If this option is active, the internal access to the referenced element is set to Write.
It is not possible to disable both options at the same time. |
For arrays, matrices, characteristic lines/maps not specified as explicit reference, the Internal Access field contains the options Write and Read, which are both activated and set to read-only.
The following options are only available for elements of the type Message:
Send option
If this option is active, the internal access is set to Send.
Receive option
If this option is active, the internal access is set to Receive.
This area is not available for basic elements in SenderReceiver, NVData, or Calibration interfaces. |
The options determine the access to an element.
Write option
Only editable for parameters. |
Write access to the element. If Write is activated, Read is activated, too.
Read option
Read access to the element.
See also Editing the Calibration Access.
For imported elements in a defined project context, the area is named Calibration (derived from export); for imported elements without project context, it is named Calibration (no export found). |
Option Always Show Editor for new Elements
This option determines whether the properties editor opens automatically if a new element of the selected kind is created.
OK
Closes the window and accepts your settings.
Cancel
Closes the window without accepting your settings.
You can
Edit the configuration of a scalar element
Edit the configuration of a characteristic line/map or distribution
Edit the configuration of an array or matrix
Specify an array or matrix with variable size
Specify a reference
See also
Variant Size of Arrays and Matrices
Software Component Editors – RTE Access Macros
Scalar Types – Limited Integer
Scalar Types – Wrap-Around Integer
User-Defined Interpolation Routines
User-Defined System Constants
Editing the Element Scope
Imported Elements
Formula Editor for Dependent Parameters
Redundant Data Storage
Explicit References
Editing the Calibration Access