# Siemens driver error

**URL:** <https://forum.inductiveautomation.com/t/siemens-driver-error/32699>\
**Category:** Ignition\
**Created:** [February 28, 2020, 2:54pm UTC](https://forum.inductiveautomation.com/t/siemens-driver-error/32699 "2020-02-28T14:54:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor1](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@victor1](https://forum.inductiveautomation.com/u/victor1)\
**Post date:** [February 28, 2020, 2:54pm UTC](https://forum.inductiveautomation.com/t/siemens-driver-error/32699/1 "2020-02-28T14:54:43Z")

</div>

Hi!  
This error keeps occurring every time I change a Siemens OPC Tag.  
Has anyone ever experienced this?

Thanks

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/d8c832ebcea8dc6095a195a16bd976723f8c4d1e.png)

---

<div class="post-metadata">

**Author:** ![victor1](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@victor1](https://forum.inductiveautomation.com/u/victor1)\
**Post date:** [February 28, 2020, 8:04pm UTC](https://forum.inductiveautomation.com/t/siemens-driver-error/32699/2 "2020-02-28T20:04:59Z")

</div>

I deleted all my string tags and replaced them with character arrays.  
This error has stopped occurring

---

<div class="post-metadata">

**Author:** ![boxoy65263](https://avatars.discourse-cdn.com/v4/letter/b/ecc23a/32.png) [@boxoy65263](https://forum.inductiveautomation.com/u/boxoy65263)\
**Post date:** [April 3, 2020, 10:16am UTC](https://forum.inductiveautomation.com/t/siemens-driver-error/32699/3 "2020-04-03T10:16:50Z")

</div>

how exactly did you add a character array? I am searching through forums and the ignition user manual and I cannot find a way to add an array of data type char. I am using a siemens s7-400 plc if that makes anything different

---

<div class="post-metadata">

**Author:** ![victor1](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@victor1](https://forum.inductiveautomation.com/u/victor1)\
**Post date:** [April 3, 2020, 10:44am UTC](https://forum.inductiveautomation.com/t/siemens-driver-error/32699/4 "2020-04-03T10:44:48Z")

</div>

I addressed all the letters, one tag per letter, and then wrote a function to read as a string

![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/d/dedb72fa46f6b5ba353f734820c600b8e741e5e8.png)

```auto
def qrcodeChar2str(path):
	l=[]
	for c in range(1,11):
		l.append(system.tag.read(path + "/qrcode" + str(c)).value)
	s = "".join([chr(c) for c in l])
	return s

```

---

<div class="post-metadata">

**Author:** ![boxoy65263](https://avatars.discourse-cdn.com/v4/letter/b/ecc23a/32.png) [@boxoy65263](https://forum.inductiveautomation.com/u/boxoy65263)\
**Post date:** [April 3, 2020, 10:49am UTC](https://forum.inductiveautomation.com/t/siemens-driver-error/32699/5 "2020-04-03T10:49:05Z")

</div>

thank you for a quick reply! what data type did you use for the tags? because I also cannott find CHAR type in the list of supported types

---

<div class="post-metadata">

**Author:** ![victor1](https://avatars.discourse-cdn.com/v4/letter/v/6de8d8/32.png) [@victor1](https://forum.inductiveautomation.com/u/victor1)\
**Post date:** [April 3, 2020, 10:53am UTC](https://forum.inductiveautomation.com/t/siemens-driver-error/32699/6 "2020-04-03T10:53:58Z")

</div>

I used it as a byte

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