Example: Replace placeholders with any part of a tag name

When tags are addressed through a data server, the format of the tag string depends on the server. If the format is
[Device]Item
, the parameter file could use a placeholder to replace either of these parts, as in:
#1=Device1 #2=Carrots_Weight
If the data server syntax was
Device.Folder.Tag
, the parameter file could use placeholders to replace any or all of these parts at runtime. The parameter file might contain:
#1=Device1 #2=Canning #3=Peas_Weight #4=Carrots_Weight
A tag address could replace Device with #1, Folder with #2 and Tag with #3 or #4.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal