# Modify the state of a boolean variable

**URL:** <https://tech-community.robotics.abb.com/t/modify-the-state-of-a-boolean-variable/15016>\
**Category:** RAPID Programming\
**Tags:** real-time-monitoring\
**Created:** [June 16, 2026, 6:30pm UTC](https://tech-community.robotics.abb.com/t/modify-the-state-of-a-boolean-variable/15016 "2026-06-16T18:30:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pierre\_BELLER](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@Pierre\_BELLER](https://tech-community.robotics.abb.com/u/Pierre_BELLER)\
**Post date:** [June 16, 2026, 6:30pm UTC](https://tech-community.robotics.abb.com/t/modify-the-state-of-a-boolean-variable/15016/1 "2026-06-16T18:30:07Z")

</div>

Hello guys,

How can I modify the state of a boolean variable on the Teach Pendant when the omicore controller is in automatic.

Thank you in advance for your support.

---

<div class="post-metadata">

**Author:** ![lemster68](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/lemster68/32/1945_2.png) [@lemster68](https://tech-community.robotics.abb.com/u/lemster68)\
**Post date:** [June 16, 2026, 6:35pm UTC](https://tech-community.robotics.abb.com/t/modify-the-state-of-a-boolean-variable/15016/2 "2026-06-16T18:35:55Z")

</div>

In automatic and program running, or just in automatic?

---

<div class="post-metadata">

**Author:** ![Pierre\_BELLER](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@Pierre\_BELLER](https://tech-community.robotics.abb.com/u/Pierre_BELLER)\
**Post date:** [June 16, 2026, 6:53pm UTC](https://tech-community.robotics.abb.com/t/modify-the-state-of-a-boolean-variable/15016/3 "2026-06-16T18:53:21Z")

</div>

> [@lemster68](#):
>
> In automatic and program running

In automatic and when the program is running.

I need to test several conditions without stopping the process.

---

<div class="post-metadata">

**Author:** ![lemster68](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/lemster68/32/1945_2.png) [@lemster68](https://tech-community.robotics.abb.com/u/lemster68)\
**Post date:** [June 16, 2026, 7:46pm UTC](https://tech-community.robotics.abb.com/t/modify-the-state-of-a-boolean-variable/15016/4 "2026-06-16T19:46:11Z")

</div>

Have you tried using Robotstudio to connect and changing it from there?

---

<div class="post-metadata">

**Author:** ![Pierre\_BELLER](https://avatars.discourse-cdn.com/v4/letter/p/f05b48/32.png) [@Pierre\_BELLER](https://tech-community.robotics.abb.com/u/Pierre_BELLER)\
**Post date:** [June 16, 2026, 9:05pm UTC](https://tech-community.robotics.abb.com/t/modify-the-state-of-a-boolean-variable/15016/5 "2026-06-16T21:05:06Z")

</div>

The purpose is to be able to change it on the FP, so my customer will have the possibility to adjust the process by its own.

With the IRC5 controller, it was not a problem, but with the Omnicore it’s not working anymore.

So, I thought that there must be a system adjustment somewhere to allow this functionality again, but I couldn’t find it. I was hoping that someone from the Community know that “trick”.

---

<div class="post-metadata">

**Author:** ![lemster68](https://dub1.discourse-cdn.com/flex005/user_avatar/tech-community.robotics.abb.com/lemster68/32/1945_2.png) [@lemster68](https://tech-community.robotics.abb.com/u/lemster68)\
**Post date:** [June 17, 2026, 11:59am UTC](https://tech-community.robotics.abb.com/t/modify-the-state-of-a-boolean-variable/15016/6 "2026-06-17T11:59:05Z")

</div>

Okay, then I will suggest to make it a simulated output instead of boolean and then assign a programmable key to toggle that output.

---

<div class="post-metadata">

**Author:** ![daniel72](https://avatars.discourse-cdn.com/v4/letter/d/b9e5f3/32.png) [@daniel72](https://tech-community.robotics.abb.com/u/daniel72)\
**Post date:** [June 26, 2026, 10:02am UTC](https://tech-community.robotics.abb.com/t/modify-the-state-of-a-boolean-variable/15016/7 "2026-06-26T10:02:52Z")

</div>

Or you use APP-Studio to create an Window with Buttons and other Controls on the FP for your customer…

---

<div class="post-metadata">

**Author:** ![liao\_Chen](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@liao\_Chen](https://tech-community.robotics.abb.com/u/liao_Chen)\
**Post date:** [July 14, 2026, 2:21am UTC](https://tech-community.robotics.abb.com/t/modify-the-state-of-a-boolean-variable/15016/8 "2026-07-14T02:21:44Z")

</div>

Upgrade to rw7.21.2, user can modify data in auto mode and robot running program mode
