You're currently browsing the Ignition 8.0 docs. Click here to view the latest docs.

The Leased Tag Group allows you to poll Tags at a fast rate when they are displayed in a Vision Client window, Perspective Session view, or in the Designer. If the Tags are not displayed (if no Clients or Sessions are showing the Tags), the Tag Group runs at the slow polling rate.

The term "displayed" means the tag can be seen in one of the following ways

  • The value is displayed on a component in a Perspective Session
  • The value is displayed on a component in a Vision Client
  • The value is displayed in the Designer, via a Vision or Perspective component binding. Viewing the tag only in the Tag Browser will not cause the tag group to execute at the Leased Rate. 

Essentially, a Leased Tag Group polls Tags on-demand, only when someone needs to look at the Tag values. Note that this change in rate is applied per tag: if Tag A and Tag B are in the same Leased Tag Group, and only Tag A is displayed in a Vision Client, then Tag A will run at the fast rate while Tag B will continue to run at the slow rate. 

For a complete list of Tag Group properties, see Tag Groups.

On this page ...


Leased Tag Group

Add a Leased Tag Group

Let's add a new Leased Tag Group that polls a Tag from the PLC at a 1 second rate when someone needs to view that Tag in the Client. If the Client is closed, or the Tags are not displayed in the Tag Browser of the Designer, the Tags will not poll at all.  

  1. In the Tag Browser, click on the Tag Group  icon to open the Tag Group Editor.
  2. On the left side of the Tag Group Editor window, you can see all existing Tag Groups. Click on the Add + icon on the lower left side of the window to add a new Tag Group.
  3. Enter the name of the Tag Group. For example, you can name this new Tag Group Leased, and set the Mode to Leased.
  4. Set the Rate to 10,000ms (10 seconds) and the Leased/Driven Rate to 1,000ms (1 second). 
  5. Click OK.

  6. Next, select the Tags you want to use on the new Leased Tag Group. 
    1. Go to your Tag Browser, and select some Tags you want to add to the Leased Tag Group. This example uses three Sine Tags: Sine3, Sine4, and Sine5. 
    2. Right click on the selected Tags, and click on Edit tags.

  7. The Tag Editor will open showing you are editing multiple Tags. From the Tag Group dropdown list, choose Leased, and click OK. 

You just created a new Leased Tag Group and added some Tags. These Tags are only polled quickly when a component that is bound to it is showing in a Client, Session, or when the Tags are showing in the Designer. For example, these three Sine Tags that are part of the Leased Tag Group are each bound to an LED component.

Remember that Tag History is stored based on the current Ignition Tag value. If your Leased Tag Group has a 0 slow rate, you will not get updated data to store for history. Always make sure your Tag Group slow speed is at least as fast as your History Tag Group speed.

Related Topics ...

  • No labels