# RSLogix 5000 Strings

**URL:** <https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287>\
**Category:** Ignition\
**Created:** [September 19, 2013, 3:56pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287 "2013-09-19T15:56:14Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jimmylooo](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jimmylooo](https://forum.inductiveautomation.com/u/jimmylooo)\
**Post date:** [September 19, 2013, 3:56pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/1 "2013-09-19T15:56:14Z")

</div>

How do i get strings from a RSlogix 5000 PLC to properly display in Ignition?

The translation seems to be a bit off between the driver and the PLC.

When I try to add a string tag from the RSLogix PLC it creates a folder for the tag, data folder with the array of SINTs that make up the string and a length tag. Is there a trick to doing this?

I’ve attached a screen shot.

Thanks

---

<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:** [September 19, 2013, 5:04pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/2 "2013-09-19T17:04:58Z")

</div>

I need to verify this with Tom, but I’m pretty sure the driver only supports the built-in String type. Custom defined strings are indistinguishable from any other UDT to the driver.

---

<div class="post-metadata">

**Author:** ![jimmylooo](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jimmylooo](https://forum.inductiveautomation.com/u/jimmylooo)\
**Post date:** [September 19, 2013, 5:17pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/3 "2013-09-19T17:17:54Z")

</div>

I’ve also tried just a standard string and it does the same thing.

---

<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:** [September 19, 2013, 5:28pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/4 "2013-09-19T17:28:11Z")

</div>

What version of Ignition / AB module are you using? I’ll take a look and make sure nothing has changed… standard Strings should work.

---

<div class="post-metadata">

**Author:** ![jimmylooo](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jimmylooo](https://forum.inductiveautomation.com/u/jimmylooo)\
**Post date:** [September 19, 2013, 5:33pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/5 "2013-09-19T17:33:33Z")

</div>

7.6.3-rc3 (b2013081216)

OpcCom 1.6.3-rc3 (b2013081216)

---

<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:** [September 19, 2013, 5:43pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/6 "2013-09-19T17:43:54Z")

</div>

Hmm… wait a sec. Where are those tags coming from? An OPC-DA connection or what?

---

<div class="post-metadata">

**Author:** ![jimmylooo](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jimmylooo](https://forum.inductiveautomation.com/u/jimmylooo)\
**Post date:** [September 19, 2013, 5:50pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/7 "2013-09-19T17:50:22Z")

</div>

Right now an OPC-DA

---

<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:** [September 19, 2013, 5:52pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/8 "2013-09-19T17:52:37Z")

</div>

Ah, right, if I would have read things a little more carefully I would’ve picked up on that. I thought you were using our CLX driver.

In that case: if they don’t provide you with a atomic string tag in addition to breaking out the struct then you’ll have to bring in each of the data elements and then make an expression tag that converts/concatenates all those tag values.

Most unfortunate.

---

<div class="post-metadata">

**Author:** ![jimmylooo](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jimmylooo](https://forum.inductiveautomation.com/u/jimmylooo)\
**Post date:** [September 19, 2013, 5:57pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/9 "2013-09-19T17:57:29Z")

</div>

I’m working on a new program in simulation and want to get Ignition programmed before going live. OPC-UA doesn’t support Emulation does it? I tried OPC-UA and it fails out.

---

<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:** [September 19, 2013, 6:35pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/10 "2013-09-19T18:35:18Z")

</div>

Yeah, there’s no support for emulation in the UA server right now. ☹

---

<div class="post-metadata">

**Author:** ![jimmylooo](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jimmylooo](https://forum.inductiveautomation.com/u/jimmylooo)\
**Post date:** [September 19, 2013, 6:39pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/11 "2013-09-19T18:39:14Z")

</div>

OK. I was able to do a little test on the live PLC Connection and the strings come thru properly via OPC-UA connection. Just something with The OPC-DA.

Custom String types come thru the OPC-UA as well.

I can work with that. thanks for the help!

---

<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:** [September 19, 2013, 6:43pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/12 "2013-09-19T18:43:42Z")

</div>

Cool.

With the DA connection the tags that RSLogix provides are all you can use, and apparently they don’t make an atomic String tag out of the String UDT.

Our CLX driver, on the other hand, does attempt to provide both the UDT itself and an atomic version of the tag that can be used without manually assembling it…

---

<div class="post-metadata">

**Author:** ![Colby.Clegg](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/colby.clegg/32/3282_2.png) [@Colby.Clegg](https://forum.inductiveautomation.com/u/Colby.Clegg)\
**Post date:** [September 23, 2013, 5:40pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/13 "2013-09-23T17:40:34Z")

</div>

Actually, I believe if you simply bring over the length tag and manually delete the “.LEN” component from the OPC path (and change the type to String), it should work. For some reason RSLinx doesn’t let you browse the actual string value, but you can still get to it.

Regards,

---

<div class="post-metadata">

**Author:** ![jimmylooo](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jimmylooo](https://forum.inductiveautomation.com/u/jimmylooo)\
**Post date:** [September 23, 2013, 5:57pm UTC](https://forum.inductiveautomation.com/t/rslogix-5000-strings/7287/14 "2013-09-23T17:57:03Z")

</div>

Yes that worked.

Thanks!
