# How to get a Productivity String Tag in Ignition?

**URL:** <https://forum.inductiveautomation.com/t/how-to-get-a-productivity-string-tag-in-ignition/86123>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [February 21, 2024, 6:14pm UTC](https://forum.inductiveautomation.com/t/how-to-get-a-productivity-string-tag-in-ignition/86123 "2024-02-21T18:14:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Miguel\_Gomez](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Miguel\_Gomez](https://forum.inductiveautomation.com/u/Miguel_Gomez)\
**Post date:** [February 21, 2024, 6:14pm UTC](https://forum.inductiveautomation.com/t/how-to-get-a-productivity-string-tag-in-ignition/86123/1 "2024-02-21T18:14:26Z")

</div>

Hello all,

I know that this could be easy but I have been trying in several ways to solve this. I have a String Tag created in productivity and the autoasigned memory is 40007 to 400014 and I'm trying to send my name in this tag.

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

I created the OPC tag in Ignition and put the path as I'm getting all the other tags but with the Data type String

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

But the tag is sending me an integer value  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/d/9db03f2d0256c88a405f6553c967a6af4cf14603.png)

I've been trying to get the value with no success with Data type String Array and Scripting like this

```auto
# Specify the paths.
path = ["[default]Folder/Tag_A"]
 
# Send the reads off.
# Function returns a list of qualified values, one qualified value for every tag path we are reading
qualifiedValues= system.tag.readBlocking(path)
value = qualifiedValues[0] # extract the qualified value from this list, there should only be 1 because we are reading a single tag value
 
print value.value # prints out the value of the Tag A
print value.quality # prints out the quality of Tag A
print value.timestamp # prints out the timestamp of Tag A's value

```

Someone knows how to get that tag value?

---

<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 21, 2024, 6:42pm UTC](https://forum.inductiveautomation.com/t/how-to-get-a-productivity-string-tag-in-ignition/86123/2 "2024-02-21T18:42:08Z")

</div>

You need to use `1.HRS7:16` to get your series of registers interpreted as characters.

> **[Modbus Addressing | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/ignition-modules/opc-ua/opc-ua-drivers/modbus/modbus-addressing#modbus-specific-addressing)**
>
> Manually Addressing a Modbus Device

---

<div class="post-metadata">

**Author:** ![Miguel\_Gomez](https://avatars.discourse-cdn.com/v4/letter/m/f0a364/32.png) [@Miguel\_Gomez](https://forum.inductiveautomation.com/u/Miguel_Gomez)\
**Post date:** [February 21, 2024, 6:47pm UTC](https://forum.inductiveautomation.com/t/how-to-get-a-productivity-string-tag-in-ignition/86123/3 "2024-02-21T18:47:52Z")

</div>

Thank you very much!

Really appreciate your help.
