Transaction Group Execute too early

Hello,

I have set up a transaction Group for calling a stored procedures in SQL Server.

There are :

  • one input parameter
  • one output parameter
  • one trigger

Sometimes, the transaction is fired before Ignition get the input parameter.
Althought I checked the checkbox "Only evaluate when values have changed" and selecting the input parameter.

How do you manage this kind of situation ?
I could add a timer in the PLC before set the trigger but I hope there i a better way.

What kinds of items are these? What are your transaction group settings?

It's integer tags. The PLC is a ControlLogix. We use the Allen-Bradley Logix Driver.

You can see the configuration in the capture below


image

Try changing your OPC data mode to "Read", and make sure the group contains OPC items and not existing OPC tags that you dragged in.

2 Likes

Ok, thank you. I will try like this.

I didn't know it make a difference to create the item inside the Transaction Group vs drag an existing tag.