# Status of system.tag.write to OPC tags

**URL:** <https://forum.inductiveautomation.com/t/status-of-system-tag-write-to-opc-tags/10708>\
**Category:** Ignition\
**Created:** [October 31, 2015, 7:41pm UTC](https://forum.inductiveautomation.com/t/status-of-system-tag-write-to-opc-tags/10708 "2015-10-31T19:41:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamthebull](https://avatars.discourse-cdn.com/v4/letter/i/58f4c7/32.png) [@iamthebull](https://forum.inductiveautomation.com/u/iamthebull)\
**Post date:** [October 31, 2015, 7:41pm UTC](https://forum.inductiveautomation.com/t/status-of-system-tag-write-to-opc-tags/10708/1 "2015-10-31T19:41:17Z")

</div>

I am using system.tag.writeAll to write values to multiple OPC tags. The result shows successful writes for all tags (ie. all result values are 1) yet if my script reads the tags again to verify the write the old tag values are returned. Eventually the new tags values do update.

I’m assuming this is because a successful write is considered a successful write to the OPC server and that’s it? In what case would this function return a pending result?

---

<div class="post-metadata">

**Author:** ![cmisztur2](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmisztur2/32/4243_2.png) [@cmisztur2](https://forum.inductiveautomation.com/u/cmisztur2)\
**Post date:** [November 17, 2015, 2:01am UTC](https://forum.inductiveautomation.com/t/status-of-system-tag-write-to-opc-tags/10708/2 "2015-11-17T02:01:30Z")

</div>

If it is an async write that probably means that

1 = the tag exists and we spun up the thread,  
0 = tag not there,  
2 = uhhh, tag is there but we don’t have time to start a thread?
