Search

User Manual

Getting Started


Modules and Platform


Appendix


Tutorials & Helpful Tricks


Glossary


Strategic Partner Links

Sepasoft - MES Modules
Cirrus Link - MQTT Modules

Resources

Inductive University
Ignition Demo Project
Knowledge Base Articles
Forum
IA Support
SDK Documentation
SDK Examples

All Manual Versions

Ignition 8
Ignition 7.9
Ignition 7.8

Deprecated Pages

Skip to end of metadata
Go to start of metadata

 

Configuring an Indirect Easy Chart

This section assumes that Tags and Tag History have been configured

To learn more, go to the Tag and Configuring Tag History pages.
The examples below use OPC Tags, but Memory, Expression, and Query Tags can be used instead.

It is possible for the Easy Chart component to be indirect and point to a set of Historical Tags based on any parameter using the Cell Update Binding type. In this example, suppose you have a small tank farm consisting of Tank 101 through Tank 109. Every tank is identical and uses the same Tags. Each tank has a Level Tag and Temperature Tag which are set to log to the Historian. 

On this page ...


IULocgo


Indirect Easy Chart

Using an Indirect Easy Chart is a good way to see the history of these Tags for each tank in the tank farm.  An convenient way to set this up is using a Dropdown List component where an operator can select various tanks to see that tank's Tag history. 

  1. In the Designer, drag a Tag Browser Tree and an Easy Chart component into your workspace. 
  2. Put the Designer in Preview Mode .
  3. Navigate to the Tank tags in the Tag Browser tree. Under Tank 01, drag the 'Level' and 'Temperature' Tags from to Tag Browser tree onto the Easy Chart. 


     
  4. Put the Designer back in Design Mode 
  5. Drag a Dropdown component to your workspace. Using a Dropdown list will make it convenient for the operator to select a tank and see the history of the Level and Temperature Tags for that tank.  
  6. Double click on the Dropdown component.
  7. Click the Add Row  icon nine times. Then enter the Values and Labels for all the tanks in your tank farm. 
  8. Click OK

     

  9. Put the Designer in Preview Mode .
  10. Click the Dropdown list to see the complete list of tanks in your Tank Farm that you just entered.



  11. Put the Designer back in Design Mode 
  12. Right click on your Easy Chart and choose to Customizers > Easy Chart Customizer.  

    You'll notice that the Tag Paths are pointing directly to Tank 101. The only difference between Tank 101 and all the tanks in the tank farm is the tank number (i.e., 101, 102, 103, etc.). You could manually point to a different Tag Path by replacing 101’ in the Tag Path with a different tank number such as ‘102,’ but we'd rather have the Tag Paths change dynamically when the user selects a tanks. Press OK



  13. The Easy Chart component has a property called Tag Pens which stores all the configuration information that you have in the Easy Chart about your pens. In the Property Editor, click on the Dataset  icon to view the information for your Tag Pens



  14. The dataset is displayed. It contains one row for each Tag. The second column is the Tag Path that you will want to change dynamically. Press OK to close the dataset viewer.



  15. Next we'll use a Cell Update Binding in order to change an individual cell of a dataset. With a Cell Update Binding, you can select one or more cells and dynamically bind them to a property or to a Tag that you have in your system.  Click on the Binding  icon next to Tag Pens property. The Property Binding window opens.
  16. Select the Cell Update binding type. 
  17. Select Tag Path cell for Level, and click the Add  icon under the Cell Bindings table.  



  18. Select the first row you just added in the Cell Bindings Table, and click the Insert Property Value  icon.
  19. From the Property Window under the Dropdown folder, click the Selected String Value. This will grab the Tank number the operator selected from the dropdown list. 

  20. Click OK. Ignition fills in the Cell Binding value. 
     


  21. Repeat steps 17 through 20 for the Termperature tag path.

  22. Next you need to expand the Value fields to make the tag path dynamic. Update the fields as follows.

    Cell Binding to make Tag Path Dynamic
    [~]Tank/{Root Container.Dropdown.selectedStringValue}/Temperature
    [~]Tank/{Root Container.Dropdown.selectedStringValue}/Level
    



  23. Click OK to save the bindings.

  24. Now you have an Indirect Easy Chart. To test it, put the Designer in Preview Mode .

  25. Select a tank from the Dropdown List. The Level and Temperature values will change in the chart. Next select a different tank from your Dropdown List to see how the history changes on the Easy Chart. 

  


Related Topics ...

 

  • No labels