3rd Party 800xa OPC Alarms and Events
We are doing some 3rd Party 800xa OPC interfacing, I am able to get the data into 800xa, build custom objects, build faceplates etc.. I still have a few questions regarding Alarms and Events
- Is there a way without overriding to allow the General Properties elements to be tag unique or is is easier to embed the static text in the OPC control connection
- Is there a way using the Alarm expression to insert dynamic text into the message like say a logic state from and OPC control connection element
- How are events handled in general let’s say I have a Boolean 0=Stop, 1=Start , How do I get that to show in an event log
Answers
> 1. Is there a way without overriding to allow the General Properties elements
- Sort of, but not really. Configure the General Properties element in the Object Type Structure and add the properties you need. Then turn off "Inherit" and enable "Copy" on instantiate. The GP aspect will now behave like it is inherited right up until you touch it in the control structure. This breaks the "inheritance" immediately without having to override the aspect. The downside is that once the inheritance is broken, there's no way to get it back.
> 2. Is there a way using the Alarm expression to insert dynamic text into the message
- No
> 3. How are events handled in general let’s say I have a Boolean 0=Stop, 1=Start , How do I get that to show in an event log.
With Generic 3rd Party OPC Connections .....
Use an "Alarm Expression" to generate a message based on the value. There is no "inherent" event handling. You need to configure everything
With PLC Connect
All OPC Connections come with inbuilt Alarm handling which you can choose to enable if you wish. See the On-Line help for information on how to configure PLC Connect alarm handling. You can also use Alarm Expressions.
- Sort of, but not really. Configure the General Properties element in the Object Type Structure and add the properties you need. Then turn off "Inherit" and enable "Copy" on instantiate. The GP aspect will now behave like it is inherited right up until you touch it in the control structure. This breaks the "inheritance" immediately without having to override the aspect. The downside is that once the inheritance is broken, there's no way to get it back.
> 2. Is there a way using the Alarm expression to insert dynamic text into the message
- No
> 3. How are events handled in general let’s say I have a Boolean 0=Stop, 1=Start , How do I get that to show in an event log.
With Generic 3rd Party OPC Connections .....
Use an "Alarm Expression" to generate a message based on the value. There is no "inherent" event handling. You need to configure everything
With PLC Connect
All OPC Connections come with inbuilt Alarm handling which you can choose to enable if you wish. See the On-Line help for information on how to configure PLC Connect alarm handling. You can also use Alarm Expressions.
Add new comment