# Global shared script write to OPC tag

**URL:** <https://forum.inductiveautomation.com/t/global-shared-script-write-to-opc-tag/18144>\
**Category:** Ignition\
**Created:** [May 23, 2018, 5:54pm UTC](https://forum.inductiveautomation.com/t/global-shared-script-write-to-opc-tag/18144 "2018-05-23T17:54:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julio.Bautista](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@Julio.Bautista](https://forum.inductiveautomation.com/u/Julio.Bautista)\
**Post date:** [May 23, 2018, 5:54pm UTC](https://forum.inductiveautomation.com/t/global-shared-script-write-to-opc-tag/18144/1 "2018-05-23T17:54:56Z")

</div>

I have a OPC tag that works similar to a handshake between the PLC and Ignition. I was wondering if its possible to do a

system.tag.write(OPC tag,value) from a shared script.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 23, 2018, 6:55pm UTC](https://forum.inductiveautomation.com/t/global-shared-script-write-to-opc-tag/18144/2 "2018-05-23T18:55:59Z")

</div>

[system.opc.writeValue()](https://docs.inductiveautomation.com/display/DOC79/system.opc.writeValue), perhaps?
