This lesson is part of the Vision Components and Property Bindings course. You can browse the rest of the lessons below.

LESSON LIST

Autoplay Off

Description

In this lesson we'll take a look at Vision's binding system, and demonstrate how it can be used to display values from tags.

Video recorded using: Ignition 8.1

Transcript

(open in window)

[00:00] In this lesson, we will explore the overlays associated with a binding on a vision component. I'm currently in my designer with the vision window open. I can drag and drop a single tag or many tags onto my vision window like so. Now I am given the option to choose whether I want to display or control my tags value. Each selection will give you different component options to either display or control your selected tags. You can also select from any templates with parameters configure to be dropped targets. I will go ahead and select LED displays. You will notice that my LED displays automatically bound to tags that were dragged in. I know that because if I select one of my LED displays, I can hit to its properties and you see that some of them are bolded and have a chain link icon next to them telling you that these properties are bound.

[01:09] I'm going to go ahead and check the value property binding configuration by clicking on the chain link icon here. And I can immediately tell that it is directly bound to the tag Ramp 1, which was one of the items I dragged initially. A binding in this case, allows us to link the value in the LED display to a tag. Now I binding is not limited to tags. You could also link or bind this LED displays value to anything from a SQL query to a component property, or even an expression. Now in the event that my tags were to go missing or become bad quality, we will see an overlay over the component, down to our tag. I will simply go ahead and rename one of the tags here. I will immediately see an overlay telling me that my tag was not found. These overlays serve as a good indication about the overall state of your bindings.

[02:06] For a full list of all the possible overlays and what they mean, you can visit the quality codes and overlays page in our user manual. If I wanted to, I could disable overlays directly in my bindings configuration. All I have to do is click on this overlay opt-out setting. Once this is done, the overlay for this specific binding will be disabled and no longer appear, even if there was an issue with my binding.

You are editing this transcript.

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