Here is what I have done:
-I created an alarm pipeline with one function block (script), the function block writes to a memory tag giving a value of 1.
-I assigned the alarm pipeline to a tag in the PLC so that when the value of the tag is 1, the alarm is triggered.
The problem is that the memory tag is not being written to when the alarm condition is met. The alarm is being triggered because an alarm alert comes up in the client. If I run the script in the function block in the script console, it sets the memory tag to 1, so the problem is not with the script.
What is wrong? I’m stuck so any ideas would be great!