# How to write to the Gateway's Device 'Enable' tag. It is ReadOnly

**URL:** <https://forum.inductiveautomation.com/t/how-to-write-to-the-gateways-device-enable-tag-it-is-readonly/77606>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 9, 2023, 3:03am UTC](https://forum.inductiveautomation.com/t/how-to-write-to-the-gateways-device-enable-tag-it-is-readonly/77606 "2023-08-09T03:03:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johan\_Maritz](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@Johan\_Maritz](https://forum.inductiveautomation.com/u/Johan_Maritz)\
**Post date:** [August 9, 2023, 3:03am UTC](https://forum.inductiveautomation.com/t/how-to-write-to-the-gateways-device-enable-tag-it-is-readonly/77606/1 "2023-08-09T03:03:41Z")

</div>

I have a requirement to 'enable' / 'disable' a configured OPC UA device from a perspective screen. When I bind the device property '.enable' to the button, I get an error saying the 'enable' property is ReadOnly. Is there a way to change this so it will allow a Tag/Action to write to it?  
Thanks in advance for your help.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [August 9, 2023, 3:15am UTC](https://forum.inductiveautomation.com/t/how-to-write-to-the-gateways-device-enable-tag-it-is-readonly/77606/2 "2023-08-09T03:15:44Z")

</div>

[https://docs.inductiveautomation.com/display/DOC81/system.device.setDeviceEnabled](https://docs.inductiveautomation.com/display/DOC81/system.device.setDeviceEnabled)

---

<div class="post-metadata">

**Author:** ![Johan\_Maritz](https://avatars.discourse-cdn.com/v4/letter/j/e5b9ba/32.png) [@Johan\_Maritz](https://forum.inductiveautomation.com/u/Johan_Maritz)\
**Post date:** [August 9, 2023, 3:39am UTC](https://forum.inductiveautomation.com/t/how-to-write-to-the-gateways-device-enable-tag-it-is-readonly/77606/3 "2023-08-09T03:39:10Z")

</div>

Thanks so much, that was a much easier solution than what I was trying.  
slightly disappointed in my help file searching skills. slight\_smile:
