This lesson is part of the Alarming in Ignition course. You can browse the rest of the lessons below.

LESSON LIST

Autoplay Off

Supplemental Videos

Description

Learn how to configure alarms with dynamic setpoints inside of a UDT

Video recorded using: Ignition 8.1

Transcript

(open in window)

[00:00] In this lesson, we will learn how to configure an alarm with dynamic set points in a complex tag or UDT. You can learn more about UDTs in the Understanding UDTs lesson. Here my designer, we can see in my tag browser four instances of a motor UDT. Motors one through four. Each motor contains an amps OPC tag with an alarm configured on it. Let's head over to the UDT definitions tab in the tag browser, and take a look at how this alarm is configured. I will double-click on the motor UDT definition to access its amps member tags configuration. Once here, I will scroll down to the bottom where I will find the alarm section. I will click on the little pencil to be greeted by my high amps alarm definition, where we will find a static set point value of sixty.

[01:08] This means that if my amps tag goes above sixty for any of my motors, that motor's alarm will become active. What if I wanted each individual motor to have its own independent set point value? Maybe motor one has a higher amps tolerance, and we can afford to have a higher set point. To achieve this, let's first press the revert button and head back to our UDT settings. Since I want each motor to have its own independent set point, I will create a new memory tag in my UDT definition. I'll select the UDT, then press the add tag button and choose to add a memory tag, which I will name amps SP and give it at the full value of 9,000. This memory tag can now be referenced by the set point value in our high amps alarms definition.

[02:06] Let's set that up really fast. Also like my amps tag, head down to its alarming section to bring up my high amps alarms definition. For its set point, I will ditch the static value of sixty and use the bind button to bind my set point to a tag; not just any tag, but my newly defined amps SP memory tag. Of course, I also have access to all the other tags in my UDT and also every single tag in my ignition gateway. Now I will press the back button and commit my changes, then press OK to save everything. Each of my motor UDT instances has its own independent set point, which I can control by simply writing to their corresponding set point tag like so. You will note that as I lower the alarming set point for all my motors, each motors high amps alarm will become active.

You are editing this transcript.

Make any corrections to improve this transcript. We'll review any changes before posting them.