# Logix Studio Custom String Write Issue

**URL:** <https://forum.inductiveautomation.com/t/logix-studio-custom-string-write-issue/18893>\
**Category:** Ignition\
**Tags:** ignition79, scripting\
**Created:** [July 19, 2018, 1:00pm UTC](https://forum.inductiveautomation.com/t/logix-studio-custom-string-write-issue/18893 "2018-07-19T13:00:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve.korber](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@steve.korber](https://forum.inductiveautomation.com/u/steve.korber)\
**Post date:** [July 19, 2018, 1:00pm UTC](https://forum.inductiveautomation.com/t/logix-studio-custom-string-write-issue/18893/1 "2018-07-19T13:00:50Z")

</div>

I have a TCP client on my PLC and I am receiving a string from the server. I made a custom string of character length 480 to handle the incoming data (it is often longer then the default 84 character length). I originally had this custom string as a tag within a UDT. Ignition gives a tag error and cannot read if this is the case. I then created a controller tag of this custom string type and Ignition could read the string accurately. The issue is that Ignition cannot write to this custom string. I get the general write error: “Bad; unspecified”. I am using a text area with direct Tag referencing bidirectionally. I need to write to this tag because I am using PLC data and triggers which are used in an Ignition script to create a JSON string.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 19, 2018, 1:07pm UTC](https://forum.inductiveautomation.com/t/logix-studio-custom-string-write-issue/18893/2 "2018-07-19T13:07:47Z")

</div>

Try increasing the CIP connection size in the driver settings (assuming you’re using the Logix driver, not the legacy driver).

---

<div class="post-metadata">

**Author:** ![steve.korber](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@steve.korber](https://forum.inductiveautomation.com/u/steve.korber)\
**Post date:** [July 19, 2018, 1:24pm UTC](https://forum.inductiveautomation.com/t/logix-studio-custom-string-write-issue/18893/3 "2018-07-19T13:24:34Z")

</div>

That worked! Thank you

---

<div class="post-metadata">

**Author:** ![steve.korber](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@steve.korber](https://forum.inductiveautomation.com/u/steve.korber)\
**Post date:** [July 19, 2018, 1:25pm UTC](https://forum.inductiveautomation.com/t/logix-studio-custom-string-write-issue/18893/4 "2018-07-19T13:25:22Z")

</div>

@Kevin.Herron is there anything I can do about the issue of having a custom string in a UDT?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [July 19, 2018, 1:26pm UTC](https://forum.inductiveautomation.com/t/logix-studio-custom-string-write-issue/18893/5 "2018-07-19T13:26:44Z")

</div>

That _should_ work as well. If it’s not there might be a bug somewhere. What version of Ignition are you using? If not 7.9.8… start there.
