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

Supplemental Videos

Description

Learn how to use the handshake mechanism to communicate successful and failed executions to other parts of the system.

Video recorded using: Ignition 8.1

Transcript

(open in window)

[00:00] A transaction group's execution can have two different outcomes. Either the group executes successfully, or there is an error that prevents a successful execution. Both scenarios can be communicated to other parts of the Ignition ecosystem using the handshake mechanism. If I head over to the Trigger tab, of my standard transaction group here, towards the bottom, you will find the handshake mechanism. Here, I can define what group item I want to write to when my group execution succeeds. And I can define what group item I want to write to, should my group execution fail. You will note that in these drop-downs, I can only select from tags that are available in the transaction group itself. This is expected. If you want to write to a tag on group success or failure, these tags have to be a part of the transaction group itself.

[01:04] If you do not wish to log these success/failure flags to the database, you can simply set their target name to be "read-only", like I have done here. Whatever you choose to do, the success and failure flags will allow you to monitor the execution of your groups. Maybe you have other processes in your plant floor, that are dependent on your successful transaction group execution. These handshakes become crucial for such configuration.

You are editing this transcript.

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