Creating Associated Data for both Static and Dynamic Properties
For this example you can use an existing alarm you already configured or create a new alarm if you don't have one.
- Right-click on your Tag and select Edit Tag. This example uses a WriteableInteger OPC Tag, but any alarm-capable Tag will suffice.
- In the Tag Editor, scroll down to Alarms, and next to 'No alarms,' click on the Edit
icon and click on your alarm. The Tag below already has an alarm named ' Low Tank Level.' Select the alarm to open the Alarm UI.
- Click the Add
icon above the alarm properties to add new associated data for the alarm. Scroll to the bottom of the property list, and you'll see a new associated data property was added. By default, the new property name is called 'New Data.' Double-click the property name to rename it to something more meaningful. In this example, make the associated data property a static value. We renamed ours to 'StaticData' with a value of 'Folsom Plant' and press enter to submit.
- Now, let's create another Associated Data property with a dynamic value. Click the Add icon above the alarm properties.
- Scroll down to the bottom of the property list and rename your 'New Data' property to 'DynamicData' and bind it to a Tag using the binding icon on the right side of the window. This example uses a Ramp0 OPC Tag.
- Click the 'Commit' to submit the Tag selection, and then click OK to save your Tag edits.
- When the alarm goes active, Ignition stores the values of the associated data with the alarm. You can view the details of the alarm in the Alarm Status Component along with the new associated data properties. To view the Details of the alarm, check the box of the alarm you want to see, and click on the magnifying glass at the bottom of the window to open the Details window.