The purpose of default and replacements is to control program variables which need to be retrieved/set rather than being hard-coded constants in DC1 programs.
This panel displays the preloaded levels that are connected to a group. You can also add and connect new levels to a group.
The default and replacement concept consists of a three-level grouping. Variables/key values are defined on the third level (Work with default and replacements, Level keys). If you add new levels and key values, retrieval of the information must be manually implemented in those programs where it is relevant. Retrieval of the information is made via call to GDMR925.
Options
Keys | Select this option to work with keys for a level. |
Selection fields
- Group
- Displays the selected group and its description.
- Level
- This column lists the existing levels of the selected group.
- Description
- Displays the description of the related level.
Work with default and replacements, Levels (GDMD08804)
On this panel you add a new level to the selected group or change an existing level.
- Group
- Displays the selected group and its description.
- Level
- Field type
- Enter a field type for the level. Note: You should only enter a value if all keys on the third level will have the same type and length. If the field type and/or length would be different, then you must leave this field blank. Note: If level keys exist on the third level, then you cannot change this field.
Value Description 1 Alpha 2 Hex 3 Numeric
- Field length
- Enter a field length for the level. Field length refers to the maximum length the key value can have. The actual key value is defined on the third level. Note: If level keys exist on the third level, then you cannot change this field.
Work with default and replacements, Levels, Copy (GDMD08805)
- Group
- Displays the group you are working with.
- Level
- Displays the level(s) you selected to copy.
- New level
- Enter a code to identify the new level(s) that you are creating.