<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to **String Overflow**</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ff2af82b6a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ff2af82b6a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ff2af82b6a/</id><updated>2020-02-27T21:47:51.415000Z</updated><subtitle>Recent posts to **String Overflow**</subtitle><entry><title>**String Overflow**</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ff2af82b6a/?limit=25#5cf4" rel="alternate"/><published>2020-02-27T21:47:51.415000Z</published><updated>2020-02-27T21:47:51.415000Z</updated><author><name>ndzied1</name><uri>https://forge.codesys.com/u/ndzied1/</uri></author><id>https://forge.codesys.com918e93636b7c64da69f0948313ba689aa4adba38</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In case anyone is watching this thread, Moeller found the problem.&lt;/p&gt;
&lt;p&gt;I had the string(8) defined at marker address %MW0&lt;/p&gt;
&lt;p&gt;Had another tag defined at %MW8&lt;/p&gt;
&lt;p&gt;The problem is that even though the string is 8 characters long,  it requires 9 characters of memory to account for the null \0 character at the end of the string.  When I was writing to %MW8, I was getting a String Overflow since I was overwriting the last character of the string.&lt;/p&gt;
&lt;p&gt;Thanks to Klaus and  e &lt;a class="" href="mailto:sia@moeller.net"&gt;sia@moeller.net&lt;/a&gt; e  for help on this matter&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>**String Overflow**</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ff2af82b6a/?limit=25#d131" rel="alternate"/><published>2020-02-27T21:47:47.233000Z</published><updated>2020-02-27T21:47:47.233000Z</updated><author><name>ndzied1</name><uri>https://forge.codesys.com/u/ndzied1/</uri></author><id>https://forge.codesys.comc35e1aec1ae116fd134590317bc522361b52d8b8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Program sent.  Thanks for the help&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>**String Overflow**</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ff2af82b6a/?limit=25#355a" rel="alternate"/><published>2020-02-27T21:47:45.738000Z</published><updated>2020-02-27T21:47:45.738000Z</updated><author><name>Softwerker59</name><uri>https://forge.codesys.com/u/softwerker59/</uri></author><id>https://forge.codesys.com175c4ce1a90c23d1f3d5f3b2c1158064031e04ac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Maybe  you concatenate some strings in your program to the destination of your defined string?&lt;/p&gt;
&lt;p&gt;If it doesn't help please send your program to  e &lt;a class="" href="mailto:sia@moeller.net"&gt;sia@moeller.net&lt;/a&gt; e . I will care about your problem.&lt;/p&gt;
&lt;p&gt;Klaus&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>**String Overflow**</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ff2af82b6a/?limit=25#b3b0" rel="alternate"/><published>2020-02-27T21:47:44.242000Z</published><updated>2020-02-27T21:47:44.242000Z</updated><author><name>ndzied1</name><uri>https://forge.codesys.com/u/ndzied1/</uri></author><id>https://forge.codesys.com5c5f2ec6c864124b32f4b0924b1d5a29ffcb5b2b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am getting a string overflow error that I can't track down.&lt;/p&gt;
&lt;p&gt;The strange thing is that I copy the string to another location and that location always contains the proper values, I just cannot use the original string variable for any comparisons.  The variable is defined as STRING(8) so it has a fixed length anyway so I can't understand this at all.&lt;/p&gt;
&lt;p&gt;When I go online with the PLC (Moeller XC100) and look at the variable definition it says &lt;strong&gt;String Overflow&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I can't find any help on this.&lt;/p&gt;
&lt;p&gt;Has anyone seen this before&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>