There are nine different permutations for the syntax used to construct macros for use with CAD loop drawings in Smart Instrumentation, four macros for use with loops, loop blocks, and so forth, and five for use with wiring. The different segments that make up the macros are:
Macro_Name
the macro name, for example Tag_Num or Cbl_Num
IT
instrument type, for example FY
F1
user defined function name, set in the User Defined Macro Function Properties dialog, for example Trim
X
the group level (wiring macros), for example 2
Y
the group sequence (wiring macros), for example 3
Suffi
The tag suffix as used in the tag naming convention.
Each segment must be separated by a period (.) from the next segment
The four syntax permutations for loop block macros are:
-
Macro_Name.IT
-
Macro_Name.F1.IT
-
Macro_Name.IT.Suffix
-
Macro_Name.F1.IT.Suffix
The five syntax permutations for wiring macros are:
-
Macro_Name.F1.X.Y
-
Macro_Name.X.Y.IT
-
Macro_Name.F1.X.Y.IT
-
Macro_Name.X.Y.IT
-
Macro_Name.F1.X.Y.IT.Suffix