I am using alarms to record the events with time. Whenever there is a boolean tag changes to true the script should execute. It should check a string tag. If the tag value is different(current value not equal to previous value) then a alarm boolean tag (Zenon internal tag) should be energised to record the alarm along with the new string tag from PLC & the string tag should be updated into previous value tag
There are about 100 tags. All these are PLC tags.
I want to use this VBA code for these 100 tags.
the string tag is been read from PLC. PLC is Compact logix.