Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Transaction Groups

There are four basic types of Transaction Groups that can be used in Ignition:

  • Standard: The heart of bi-directional data storage and management
  • Historical: Simple historical trending
  • Block: Efficient large scale data storage
  • Stored Procedure: Interact with existing protected data systems

This Section has examples for each type of group and shows the different ways that you can use them. For a more complete understanding of how the parts of each group works, see Understanding Transaction Groups.


On_this_page




Standard Group

The Standard Group is the most flexible group. It is commonly used as a bi-directional sync between your PLCs and databases. In addition to this, it can also be used to push data in either direction. This means the Standard Group can be used to store historical data, add to/update existing tables, and create recipe management tools, and more.



Historical Group

The Historical Group is the most straightforward and simplest to use. It will take OPC data and store it as history in a database.


Block Group

The Block Group is used to efficiently store large amounts of data in blocks or chunks of similar data in the database. This is very useful if you have many devices with the same Tags in them.


OPC to OPC Interaction

It is possible to configure your Standard Transaction Group to be able to get information from one OPC data point to another. This is useful in the event that you have Tags coming from one PLC and you need the Tag information to be sent to another PLC on your plant floor. 

  1. Create a Standard Transaction Group and from your Tag Browser, drag two Tags into your Transaction Group's Basic OPC/Group Items section. For this example, the Tags will be called 'tag1' and 'tag2' and they will be coming from two different PLC's. 
  2. Set the Mode on 'tag1' to 'Bi-directional OPC Wins' and set its Target Name to be 'tag2.'
  3. Set the Mode on 'tag2' to be 'Bi-directional OPC Wins' and set its Target Name to 'Read-only.' The Mode on 'tag2' is not as important here as it is a Read-only item, but we set it to 'Bi-directional OPC Wins' anyway. Your configuration should match what is shown below: 

     
    What this will do is make sure that every 1 second, the value from 'tag1' will be written to 'tag2' as below: