# Echo Tag Value back to OPC tag

**URL:** <https://forum.inductiveautomation.com/t/echo-tag-value-back-to-opc-tag/93854>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [July 29, 2024, 5:56pm UTC](https://forum.inductiveautomation.com/t/echo-tag-value-back-to-opc-tag/93854 "2024-07-29T17:56:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [July 29, 2024, 6:01pm UTC](https://forum.inductiveautomation.com/t/echo-tag-value-back-to-opc-tag/93854/2 "2024-07-29T18:01:41Z")

</div>

You mean send incoming values on one tag (OPC, presumably) to a different OPC tag?

Perhaps the techniques here will help you:

> [@Modbus Slave/Server to Generate Read Only Tags](https://forum.inductiveautomation.com/t/modbus-slave-server-to-generate-read-only-tags/87583/21):
>
> I've create a generic "Modbus Publish" script that eliminates the need for a second set of tags. I've publicly posted it here: [https://www.automation-pros.com/ignition/modbusPublish.py](https://www.automation-pros.com/ignition/modbusPublish.py) It requires the "Queue Utility" script posted here: [https://www.automation-pros.com/ignition/queueUtil.py](https://www.automation-pros.com/ignition/queueUtil.py) and described over here: Both scripts rely on my Integration Toolkit's globalVarMap() script function, but you can rework that (not quite 1:1) to use system.util.getGlobals() if you must. (Not recomme…

(Whatever you do, don't use `system.tag.writeBlocking()` or `system.opc.writeValues()` in a tag's `valueChange` event.)

---

_[View the full topic](https://forum.inductiveautomation.com/t/echo-tag-value-back-to-opc-tag/93854)._
