Writing to Edge OPC tag

I am trying to write to a PLC tag from the main gateway (v 8.1.45) to a tag on an edge device (IIot v 8.1.45). I am using a system.tag.write(). I am getting the error: Bad_AccessDenied. Is there a configuration change I need to make on the edge device to allow writes?

I found the answer in this post:

2 Likes

You also need to change to using the system.tag.writeBlocking or system.tag.writeAsync functions as system.tag.write is a deprecated function.