# 7.9.9 Logix driver reading String tags from PLC?

**URL:** <https://forum.inductiveautomation.com/t/7-9-9-logix-driver-reading-string-tags-from-plc/47981>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [June 19, 2021, 2:27am UTC](https://forum.inductiveautomation.com/t/7-9-9-logix-driver-reading-string-tags-from-plc/47981 "2021-06-19T02:27:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 19, 2021, 2:27am UTC](https://forum.inductiveautomation.com/t/7-9-9-logix-driver-reading-string-tags-from-plc/47981/1 "2021-06-19T02:27:04Z")

</div>

I'm trying to read a string tag from a logix PLC \> v21 firmware but all I see when I browse the PLC is:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/a/9aa4eaf1abde2bccb375024e793576e42e3b6b3a.png)

`StopTime` is the string PLC tag name.  
I found this old 2008 topic and i've tried using the format suggested, but no dice...

> [@ControlLogix String type](http://forum.inductiveautomation.com/t/controllogix-string-type/783/3):
>
> Thanks, but that didn’t work. There is no memory location like that with Control Logix. PLus its an array, so would it also need the .DATA[0].SC(length)?

Update 1:  
The string used in the PLC is a 26 char string.  
This is the opc item path to the tag I can't read:  
`ns=1;s=[Packaging_WineDelivery]SQ01_CL1PF.Log.StopTime`

The PLC guy created a new dummy string tag at the root and I can read this fine 😕

Update 2:  
I can read strings from literally anywhere else but the StartTime and StopTime from within the SQXX\_YYY (UDT instance) Log (UDT instance)...  
I'm at a loss

---

<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:** [June 19, 2021, 2:32pm UTC](https://forum.inductiveautomation.com/t/7-9-9-logix-driver-reading-string-tags-from-plc/47981/2 "2021-06-19T14:32:26Z")

</div>

Was the dummy at the root a 26-char string, or a default 82-char string?

---

<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:** [June 19, 2021, 2:35pm UTC](https://forum.inductiveautomation.com/t/7-9-9-logix-driver-reading-string-tags-from-plc/47981/3 "2021-06-19T14:35:07Z")

</div>

If it really is a timestamp, consider switching to an LINT filled by a GSV of WallClock, CurrentValue. That will be microseconds UTC which can be efficiently converted to a java.sql.Timestamp or java.util.Date.

---

<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:** [June 19, 2021, 4:27pm UTC](https://forum.inductiveautomation.com/t/7-9-9-logix-driver-reading-string-tags-from-plc/47981/4 "2021-06-19T16:27:49Z")

</div>

Try a later version of 7.9? I vaguely remember some issue in the past with custom strings. Won’t have access to history until Monday to try to look it up.

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [June 19, 2021, 6:01pm UTC](https://forum.inductiveautomation.com/t/7-9-9-logix-driver-reading-string-tags-from-plc/47981/5 "2021-06-19T18:01:43Z")

</div>

I know I used 7.9.15 and later and had no issues with custom length strings in UDTs and AOIs.

---

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [June 20, 2021, 12:56pm UTC](https://forum.inductiveautomation.com/t/7-9-9-logix-driver-reading-string-tags-from-plc/47981/6 "2021-06-20T12:56:20Z")

</div>

It just started working now after the original 6x ints (year,month,day,hour,min,sec) were added back into the UDT…  
Originally we were using these ints for the datetime but PLC guy wanted to reduce to a single string tag. INTs were removed and replaced by a 26char string. As in my OP, Ignition was reading this string as its individual components (DATA[] and LEN), however after many many changes to try to work out what’s going on, we ended up giving up and added back in the original 6 INTs but kept the string still there. Then the string started reading properly and showing up as a string and not DATA and LEN components… 🤔 I’m left stumped and very confused…
