# The access level does not allow writing to the Node

**URL:** <https://forum.inductiveautomation.com/t/the-access-level-does-not-allow-writing-to-the-node/60638>\
**Category:** Ignition\
**Created:** [June 10, 2022, 8:52pm UTC](https://forum.inductiveautomation.com/t/the-access-level-does-not-allow-writing-to-the-node/60638 "2022-06-10T20:52:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![edward.fowler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/edward.fowler/32/24179_2.png) [@edward.fowler](https://forum.inductiveautomation.com/u/edward.fowler)\
**Post date:** [June 10, 2022, 8:52pm UTC](https://forum.inductiveautomation.com/t/the-access-level-does-not-allow-writing-to-the-node/60638/1 "2022-06-10T20:52:37Z")

</div>

LrBreakerStatus.value is an OPC tag I created for a simulated device…I can’t write to it. The exact error I get when trying to change a Boolean output value is

`Error writing to LrBreakerStatus.value: Bad("Bad_NotWritable: The access level does not allow writing to the Node.")`

I get the same message when trying to write a value from the gateways OPC QuickClent:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/9/89ae28850996f68a6f1c81ff09f8853d0b4feed5.png)

I created a Programmable Device Simulator in the gateway with an address for a DNP3 Boolean output. The point configuration is:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/5/556996659ac6f9219a71aae867a24a470fdbf401.png)

My tag configuration is:

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

`{DeviceName}` is correct because I’m simulating some analog values as well and the quality for all the tags is Good.

I know its something simple…a bad config on my part or a missed setting. What am I doing wrong?

I’m using Ignition v8.1.17  
x

---

<div class="post-metadata">

**Author:** ![ggross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ggross/32/12668_2.png) [@ggross](https://forum.inductiveautomation.com/u/ggross)\
**Post date:** [June 10, 2022, 9:42pm UTC](https://forum.inductiveautomation.com/t/the-access-level-does-not-allow-writing-to-the-node/60638/2 "2022-06-10T21:42:14Z")

</div>

You are going to be prevented from writing to this simulated object because functions used within the definition don’t allow writes. This means that the `square(0.0, 1.0, 200, true)` will block overrides of the value.

If you want to be able to override this value, you can do the following which would simulate the square wave but still allow you to write to the value:

 ![Screen Shot 2022-06-10 at 2.35.55 PM](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/2/52f90b87c6f3869d71fc8f6b735ea6178559f5ef.png)

What this does:

1. At time 0, `BinaryOutput:0:g10v2i0` starts as `false`
2. At time 200, `BinaryOutput:0:g10v2i0` changes to `true`
3. At time 400, `BinaryOutput:0:g10v2i0` changes to `false` and will hold that value until the program restarts. If these are the only entries, the program will immediately restart back a the 0 time. If you add more to the program, you would need to keep the \<= to 400 or else `false` will persist until the program restarts.

Note that the simulator does have global settings for `Repeat Program` and `Base Rate (ms)` that will determine if the program restarts automatically and what the `Time Interval` column translates to.

Garth

---

<div class="post-metadata">

**Author:** ![edward.fowler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/edward.fowler/32/24179_2.png) [@edward.fowler](https://forum.inductiveautomation.com/u/edward.fowler)\
**Post date:** [June 10, 2022, 9:58pm UTC](https://forum.inductiveautomation.com/t/the-access-level-does-not-allow-writing-to-the-node/60638/3 "2022-06-10T21:58:39Z")

</div>

Thank you Garth, I will try this.

---

<div class="post-metadata">

**Author:** ![edward.fowler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/edward.fowler/32/24179_2.png) [@edward.fowler](https://forum.inductiveautomation.com/u/edward.fowler)\
**Post date:** [June 10, 2022, 10:09pm UTC](https://forum.inductiveautomation.com/t/the-access-level-does-not-allow-writing-to-the-node/60638/4 "2022-06-10T22:09:45Z")

</div>

@ggross I just added one instruction and I can’t change the value as often as I want! This is what I did. Thank you very much!

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/a/0/a0d31e403598e4f45a77b36ab1e53e372334ed8f.png)
