How to make dynamic messages with Alarm Event Configuration Aspect?
Hello,
I am using the Alarm Event Configuration Aspect in the control structure to configure alarms from PLC Connect signals. Is it possible with this aspect to generate dynamic messages? For example: "Valve 15 is 97% open", where the 97% is a dynamic value from another signal.
Answers
You can change the "Message" parameter of an AE block at any time. The Alarm or Event sent to the HMI will be whatever message is present when the Condition goes true.
BUT
String handling inside the AC800M is HORRIBLY inefficient. So creating and manipulating lots of strings so you can do stuff like this is a generally one of those "really bad ideas". Its OK for one or 2 signals. Its not OK for every object in the plant.
If 97% is a dynamic value from another signal but is a a property of Valve 15, then its an indication that your object type is designed wrong. Include the analog value in the Valve object and use "Live Values" in the alarm list.
I know how to do this with an AC800M, but I am working with an AC500 at te moment. We decided to generate the alarms in Compact HMI without the use of OPC AE so we use the Alarm Event Configuration Aspect in Compact HMI to generate our alarms. Any ideas with this?
Source:
Ah, OK, so not an AC800 then :)
Have you looked at generating the alarms in the AC500?
Sorry, I'm not familiar with alarm generation there but there's a reasonably good description of alarm creating, grouping etc in the CB+ on-line help. I dont know however if you can dynamically change the messages.
Obviously this means using the OPC-AE Server.
I dont think the Alarm Configuration Aspect in 800xA can really do what you want.
Add new comment