# Writing to Logix datatype Book\_STRING

**URL:** <https://forum.inductiveautomation.com/t/writing-to-logix-datatype-book-string/55865>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [February 8, 2022, 2:51pm UTC](https://forum.inductiveautomation.com/t/writing-to-logix-datatype-book-string/55865 "2022-02-08T14:51:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsonnicksen](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rsonnicksen](https://forum.inductiveautomation.com/u/rsonnicksen)\
**Post date:** [February 8, 2022, 2:51pm UTC](https://forum.inductiveautomation.com/t/writing-to-logix-datatype-book-string/55865/1 "2022-02-08T14:51:21Z")

</div>

I am unable to write to a Book\_STRING datatype in an AllenBradley ControlLogix PLC.  
I have configured a tag in ignition with datatype “Automatic” and am able to read the value of the PLC tag, but am unable to write to the tag. I get:

Error writing to tag FormulaNotes Bad; unspecified.

I have also tried writing to this tag using system.opc.writeValue, and get the same error message.

Is this datatype not supported (for write) in the OPC UA server?  
Is there a way to add this to the list of supported OPC UA server datatypes?

I also tried to write to the Book\_STRING’s member DATA which is an array of 520 SINT’s, but that didn’t work either.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [February 8, 2022, 3:28pm UTC](https://forum.inductiveautomation.com/t/writing-to-logix-datatype-book-string/55865/2 "2022-02-08T15:28:48Z")

</div>

What version of Logix is this? As far as I am aware Book\_STRING isn’t a built in type for Allen Bradley, this sounds like a UDT within the PLC.

The STRING type’s DATA member is only an array of 82 SINT’s.

You might also insure that your string is encoded to UTF-8 or lower so there isn’t a chance for an overflow.

---

<div class="post-metadata">

**Author:** ![rsonnicksen](https://avatars.discourse-cdn.com/v4/letter/r/8e8cbc/32.png) [@rsonnicksen](https://forum.inductiveautomation.com/u/rsonnicksen)\
**Post date:** [February 8, 2022, 3:45pm UTC](https://forum.inductiveautomation.com/t/writing-to-logix-datatype-book-string/55865/3 "2022-02-08T15:45:51Z")

</div>

I’m using RSLogix version 32. The Book\_STRING type appears under DataTypes\Strings.  
Maybe it is a user data\_type but just appears in a special folder for strings.

So assuming it is a UDT, is there a way to configure ignition to be able to write to it?

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [February 8, 2022, 4:29pm UTC](https://forum.inductiveautomation.com/t/writing-to-logix-datatype-book-string/55865/4 "2022-02-08T16:29:51Z")

</div>

It appears that someone has created a string type that will hold 520 characters. It’s probably dependent upon what that particular tag is being used for. It isn’t the default STRING type, but a user defined STRING type.

I wouldn’t think that Ignition would have any issue writing to this type.

The External Access of the tag doesn’t happen to be set to Read Only?

Outside of that, maybe @Kevin.Herron might have some Ideas.

---

<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:** [February 8, 2022, 5:56pm UTC](https://forum.inductiveautomation.com/t/writing-to-logix-datatype-book-string/55865/5 "2022-02-08T17:56:22Z")

</div>

> [@lrose](#):
>
> Outside of that, maybe @Kevin.Herron might have some Ideas.

Yeah, I would have expected this to work.

---

<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:** [February 8, 2022, 10:42pm UTC](https://forum.inductiveautomation.com/t/writing-to-logix-datatype-book-string/55865/6 "2022-02-08T22:42:25Z")

</div>

@rsonnicksen Try increasing the CIP Connection Size setting for that device connection to 750 or 1000.

Writing to Strings larger than the connection size got implemented at some point but maybe you’re on an older version.

edit: support for writing Strings larger then the CIP connection size was implemented in 8.0.15.
