Range Configuration
- Last UpdatedApr 08, 2024
- 4 minute read
The creation of a tag for a class is constrained to use a counter within the range defined for the class. The range is implicitly controlled by the range configuration on the naming rule whose class has a range configuration defined.
The New Tag window validates the requested range so that a counter cannot be taken out that is reserved.

The class and class type combination form the criteria to select which configuration is applicable for create/update operation.
Note:
For creating/updating a tag whose class has a range configuration defined, a counter
cannot be taken out from the reserved range unless one of the rules of configuration
is passed.
Minimum and Maximum Counter Range in New/Rename Tag
The minimum and maximum range for the counter is displayed in the New Tag window. On setting the values for attributes that participate in the range configuration, the minimum and maximum allowed per configuration is displayed.
If values entered are not in the configuration then the minimum and maximum functionality is hidden and counter for tag will be outside reserved range. If the values fail all rules of the range configuration, the Next, First or Override functionality is displayed.
On setting the values for attributes that participate in the range configuration, all the rules for range configuration will run as per their sequence in the configuration until one of the rules passes.
If any of provided values pass any rule of the range configuration:
-
Next, First or Override is not available
-
Able to choose counter within minimum and maximum range only
If the provided values fail all rules of the range configuration:
-
Next, First or Override is available
If all the reserved counters are already taken, then create/update operation is rejected and an error message is displayed.
The sequential option is considered when providing a counter value for multiple tags. If counters are not available sequentially, no tags are created.
Inheritance
The range configuration for a generalized (parent) class is applicable to all specialized (child) classes. If multiple ranges are found, then the closest one in hierarchy is applicable. Range configuration for a specialized (child) class ignores the range configuration of generalized (parent) class. The rule(s) for parent class is not used if a child class has defined its own range configuration.
Silent creation/modification of tags
Silent creation/modification of tags from Drawings, Enclosures and Terminations editor diagrams automatically validate the range values as per the reserved ranges. If the silent creation/modification provides a counter to override and other values will result in passing of a range configuration rule for the class of the tag, then the counter is validated within the reserved range.
If the silent creation/modification does not provide a counter to override and other values will result in passing of a range configuration rule for the class of the tag, then next counter shall be taken out within the reserved range.
If the silent creation/modification does not provide a counter to override and other values will not result in passing of a range configuration rule for the class of the tag, then the next counter will be taken out outside of the reserved range.
If all counters within reserved range are already taken, then creation/modification of tag is rejected with an error message is displayed.
Reclassification
The reclassification process tries to retain the counter where possible. If a target class has a range defined and retention of current counter violates that range, then next available counter that is not reserved is taken.
Range value validation from Grid, Property Palette and Datasheets
When a tag is modified from Grid, Property Palette or Datasheets, range values are validated as per the allowed ranges defined in the range configuration for that tag.
When modifying, a value on a tag triggers a change in the counter and the class of the tag has a range configuration defined then the counter is validated within the reserved range. If a range rule passes, a counter from an unreserved range is taken out if new values on tag do not pass any of the rules. The retention of counter is checked to make sure the range configuration rules are not violated. If all the reserved counters are already taken, then create/update operation will be rejected and an error message is displayed.
Copy, duplicate, duplicate with referencing items
The range value validations are applicable for Copy, Duplicate or Duplicate with referencing items for a tag.
-
If copying/duplicating/duplicate with referencing item results in the passing of a range configuration rule for the class of the tag, then the next counter within the reserved range is taken out
-
If all counters within the reserved range are already taken, then creation of tag is rejected and an error message displayed.
Add Parts
The Add Parts window automatically validates the range values to make sure the entered value is validated against the allowed range. On the setting of the values for attributes that participate in the counter range configuration, all the rules for range configuration are run as per their sequence in the configuration until one of the rules passes.
If the provided values pass any rule of the range configuration:
-
Next, First or Override is not available
-
The minimum and maximum values are displayed.
-
Only able to choose counter within minimum and maximum range
If the provided values fail all rules of the range configuration, Next, First or Override is available. If all the reserved counters are already taken, then create/update operation is rejected and an error message is displayed.
Refer to Create Record, Create Record in Tag Management System Enabled Project, Create Multiple Records, Select Single Record, Select Multiple Records, Select All Records, Copy, Cut Records, Copy Records, Paste Records, Edit Records, Rename Record, Auto Rename Records, Reclassify record(s), drawing elements and existing counter, Add Parts, Duplicate Record, Link Records, Unlink Records, Delete Records and Related Drawings for further information.