# Tag Group Execution

**URL:** <https://forum.inductiveautomation.com/t/tag-group-execution/65003>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [October 10, 2022, 1:01pm UTC](https://forum.inductiveautomation.com/t/tag-group-execution/65003 "2022-10-10T13:01:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [October 10, 2022, 1:01pm UTC](https://forum.inductiveautomation.com/t/tag-group-execution/65003/1 "2022-10-10T13:01:40Z")

</div>

Good day all, Just curious if something is wrong with the setup of this tag group I set up. Sometimes it executes like it should then there are times when it doesnt. Anything stand out?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/4/4418221726cd93a39f4917f9950c7c05b9ed37b7.png)

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [October 10, 2022, 1:07pm UTC](https://forum.inductiveautomation.com/t/tag-group-execution/65003/2 "2022-10-10T13:07:50Z")

</div>

> [@mjohnson0238](#):
>
> there are times when it doesnt.

Like what ?

---

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [October 10, 2022, 1:10pm UTC](https://forum.inductiveautomation.com/t/tag-group-execution/65003/3 "2022-10-10T13:10:51Z")

</div>

To be more specific - I have this group executing a bool in an OPC UA connection that resets production values at shift times. I have noticed that some times it doesnt execute, I notice that by seeing some datas that do not reset to zero at 8am or 8pm

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [October 10, 2022, 1:13pm UTC](https://forum.inductiveautomation.com/t/tag-group-execution/65003/4 "2022-10-10T13:13:45Z")

</div>

So sometimes, SOME data doesn't reset,and the rest does ?

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [October 10, 2022, 2:07pm UTC](https://forum.inductiveautomation.com/t/tag-group-execution/65003/5 "2022-10-10T14:07:45Z")

</div>

The driving expression doesn't have a poll rate in the `now()`. I think that will improve the reliability.

Maybe the compare to `"20:00"` instead of `20:00:00"`. The latter only gives you 1 second to get a true comparison

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 10, 2022, 2:08pm UTC](https://forum.inductiveautomation.com/t/tag-group-execution/65003/6 "2022-10-10T14:08:14Z")

</div>

How long does the bool stay on?

If there's no handshake from Ignition to acknowledge it before the PLC turns it off, you have a very unreliable trigger. OPC drivers are generally polling, so can miss signals that turn on then back off in between polls.

Consider using an integer or a timestamp LINT that increments/updates in the PLC when the shift changes. No reset. Then a future poll is sure to see the change.

---

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [October 10, 2022, 4:22pm UTC](https://forum.inductiveautomation.com/t/tag-group-execution/65003/7 "2022-10-10T16:22:06Z")

</div>

yes

---

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [October 10, 2022, 4:22pm UTC](https://forum.inductiveautomation.com/t/tag-group-execution/65003/8 "2022-10-10T16:22:16Z")

</div>

I will try this

---

<div class="post-metadata">

**Author:** ![mjohnson0238](https://avatars.discourse-cdn.com/v4/letter/m/4bbf92/32.png) [@mjohnson0238](https://forum.inductiveautomation.com/u/mjohnson0238)\
**Post date:** [October 10, 2022, 4:22pm UTC](https://forum.inductiveautomation.com/t/tag-group-execution/65003/9 "2022-10-10T16:22:36Z")

</div>

I am setting up a handshake, thanks!
