|
<< Click to Display Table of Contents >>
Categories |
A Category contains a filter, which defines Tags belonging to that Category, and variation configurations for the value of Tags that match that filter.
Each Category is configured by a Cat node in the configuration file in XML format and contains the next attributes:
•Name: Name of a Category, such as Name="AnalogInputs"
•Filter: Expression, in VBScript standard, that determines which Tags belong to this Category, such as Filter="(N1=1 OR N1=2) AND N2 < 50", in which only Tags with the N1 parameter equal to 1 (one) or 2 (two) and the N2 parameter is less than 50 are affected by this Category
•Users can use the identifiers N1, N2, N3, N4, B1, B2, B3, B4, Size, Count, ParamDevice, and ParamItem in filters
•Users can use constants in String format with single quotes, which are interpreted as double quotes, such as Filter="Left(ParamItem,6)='Analog'", which selects Tags whose ParamItem parameter starts with the expression "Analog"
•Categories are evaluated in the order they are declared in the configuration file in XML format. A Tag is linked to the first Category found in which a filter returns True
•If a filter is empty, all Tags belong to that Category
•A filter of a sub-Category is evaluated before a filter of a Category that contains it
•Errors, ReadVariation, ReadDelay, WriteDelay, Delay, Analog, and Discrete: These attributes have the same function defined in Profiles. If an attribute is not defined for a Category, then the value defined in the parent Category or Profile is used