# Cannot Write to Tag in the PLC

**URL:** <https://forum.inductiveautomation.com/t/cannot-write-to-tag-in-the-plc/34445>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [May 5, 2020, 2:37pm UTC](https://forum.inductiveautomation.com/t/cannot-write-to-tag-in-the-plc/34445 "2020-05-05T14:37:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhicks1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mhicks1/32/14121_2.png) [@mhicks1](https://forum.inductiveautomation.com/u/mhicks1)\
**Post date:** [May 5, 2020, 2:37pm UTC](https://forum.inductiveautomation.com/t/cannot-write-to-tag-in-the-plc/34445/1 "2020-05-05T14:37:18Z")

</div>

I am unable to write to an Integer tag or a boolean value. I have my permissions set properly, Comm Read/Write in the Project and the Tag Properties are also set to Read/Write also. In addition, my PLC tag is also set to read/write. Below is the error that shows up in the console.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/4/47a030ae3aed727add7e921a47c98e461dbd9abc.png)

I can see the values in the Tag Browser fine.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/b/bb4d10a18ab5a45bc52eccc2d0b247583fd6b193.png)  
Thank you for any suggestions to check/verify.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 5, 2020, 3:38pm UTC](https://forum.inductiveautomation.com/t/cannot-write-to-tag-in-the-plc/34445/2 "2020-05-05T15:38:15Z")

</div>

Assuming this is a tag from Ignition’s own OPC Server, what kind of tag from what kind of PLC / driver is this? Are there any errors in the gateway logs?

---

<div class="post-metadata">

**Author:** ![mhicks1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mhicks1/32/14121_2.png) [@mhicks1](https://forum.inductiveautomation.com/u/mhicks1)\
**Post date:** [May 5, 2020, 6:14pm UTC](https://forum.inductiveautomation.com/t/cannot-write-to-tag-in-the-plc/34445/3 "2020-05-05T18:14:22Z")

</div>

This is an Ignition OPC Integer tag that is coming from a AB Compact Logix Integer tag using the AB Logix Driver. We have an existing working system and I am creating an application to modify a count.  
We have a licensed Gateway that we run our apps on and Trial Gateway that we test apps on.  
Currently I am using the Trial Gateway and I am unable to write to those tags. Would there be a conflict if the tags were on both gateways? I can modify those values manually in the Licensed gateway (Tag Browser) but not on the trial gateway (Bad\_Read Only)

Hope that makes sense.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 5, 2020, 7:38pm UTC](https://forum.inductiveautomation.com/t/cannot-write-to-tag-in-the-plc/34445/4 "2020-05-05T19:38:03Z")

</div>

Any chance your OPC UA connection is configured to be read only?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/dfb83fad1390bef47b0ebfd2f9465a40a3888017.png)

I can’t think of where else that might be coming from other than tag permissions if not this.

---

<div class="post-metadata">

**Author:** ![mhicks1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mhicks1/32/14121_2.png) [@mhicks1](https://forum.inductiveautomation.com/u/mhicks1)\
**Post date:** [May 5, 2020, 8:03pm UTC](https://forum.inductiveautomation.com/t/cannot-write-to-tag-in-the-plc/34445/5 "2020-05-05T20:03:10Z")

</div>

It looks like it is set OK. I have version 8.06

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/c/c35308c6dcb27556ba0244a3b55f8849f47e5837.png)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [May 5, 2020, 8:16pm UTC](https://forum.inductiveautomation.com/t/cannot-write-to-tag-in-the-plc/34445/6 "2020-05-05T20:16:50Z")

</div>

That’s not the right page. Look under `OPC Client > OPC Connections`

---

<div class="post-metadata">

**Author:** ![mhicks1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mhicks1/32/14121_2.png) [@mhicks1](https://forum.inductiveautomation.com/u/mhicks1)\
**Post date:** [May 5, 2020, 10:04pm UTC](https://forum.inductiveautomation.com/t/cannot-write-to-tag-in-the-plc/34445/7 "2020-05-05T22:04:44Z")

</div>

There it is. Thank you sir. I couldn’t figure that out and I thought I had checked everywhere…  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/31cf1bc54db7f0c6d1aca0ec858311fac74eecb8.png)
