# TCP Driver - Writable Tag question

**URL:** <https://forum.inductiveautomation.com/t/tcp-driver-writable-tag-question/4559>\
**Category:** Ignition\
**Created:** [May 31, 2012, 7:25pm UTC](https://forum.inductiveautomation.com/t/tcp-driver-writable-tag-question/4559 "2012-05-31T19:25:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dravik](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@Dravik](https://forum.inductiveautomation.com/u/Dravik)\
**Post date:** [May 31, 2012, 7:25pm UTC](https://forum.inductiveautomation.com/t/tcp-driver-writable-tag-question/4559/1 "2012-05-31T19:25:02Z")

</div>

I’m using the TCP driver to talk to a Perle ethernet to serial device.

My serial device requires a ‘command’ to be sent to it to request data, So I am using the writable tag for this. My problem comes in where I can’t resend the same ‘command’ without changing what is set in the writable tag.

Is there a way to clear the tag contents w/out the driver sending just the empty command and delimiter? Or a way to resend what’s in the tag already?

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [May 31, 2012, 7:58pm UTC](https://forum.inductiveautomation.com/t/tcp-driver-writable-tag-question/4559/2 "2012-05-31T19:58:05Z")

</div>

SQLTags doesn’t perform a write if the value is the same as the current value. We do that to eliminate a lot of writes. In this case you should use:`system.opc.writeValue("IgnitionOPCUA", "[DeviceName]Path/To/Tag", "ValueToWrite")`It will perform a write even though the value is the same.

---

<div class="post-metadata">

**Author:** ![Dravik](https://avatars.discourse-cdn.com/v4/letter/d/e274bd/32.png) [@Dravik](https://forum.inductiveautomation.com/u/Dravik)\
**Post date:** [May 31, 2012, 9:42pm UTC](https://forum.inductiveautomation.com/t/tcp-driver-writable-tag-question/4559/3 "2012-05-31T21:42:00Z")

</div>

Makes sense, Thanks for the quick response, works like a charm!
