I have a fairly complex alarming scheme. We are using notification pipelines to page the appropriate department when a piece of machinery goes down. The operator has to select the downtime reason code, and I am using scripting in their ‘submit’ button to lookup the appropriate department to page w/ a SQL query, then writing that to a memory tag before the actual alarm gets triggered.
Inside the pipeline, I am using a script w/ system.tag.read() commands to read various bits of useful information to include in the message body for benefit of the people responding to the page. First I need to tell the pipeline what piece of equipment the page is regarding, then use that string to concatenate the proper tag path so I can read the other pieces of information.
I originally tried using binding in the Associated Data to pull the name of the press like this:
I found that this doesn’t work. I need to go into each alarm and manually direct it to the right tag within the UDT instance that contains it. This is kind of pain, because it involved overriding the alarm which causes it not to inherit any changes made to that alarm in the original UDT (an additional data point per se).
Is there some different syntax needed that I’m not seeing here?