<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Ladder Editor Bug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a2858034e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a2858034e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/7a2858034e/</id><updated>2020-02-27T14:00:16.967000Z</updated><subtitle>Recent posts to Ladder Editor Bug</subtitle><entry><title>Ladder Editor Bug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a2858034e/?limit=25#e5c9" rel="alternate"/><published>2020-02-27T14:00:16.967000Z</published><updated>2020-02-27T14:00:16.967000Z</updated><author><name>rickj</name><uri>https://forge.codesys.com/u/rickj/</uri></author><id>https://forge.codesys.com63390c517074b702b93fab2670f3ddf221a131ed</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Just making edits with the ladder editor, saving and opening the project.  Ladder POUs that won't open can be opened by either copying them or cut/paste them back into the project.  But after a number of iterations the project sometimes gets corrupted.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ladder Editor Bug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a2858034e/?limit=25#d700" rel="alternate"/><published>2020-02-27T14:00:16.724000Z</published><updated>2020-02-27T14:00:16.724000Z</updated><author><name>r.evbatyrov</name><uri>https://forge.codesys.com/u/r-evbatyrov/</uri></author><id>https://forge.codesys.com0d241bf7ac49328fb28f61d520706362bce8b607</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Rick,&lt;/p&gt;
&lt;p&gt;your CorruptedProject.project ist just a file with nothing but 151 649 zeroes. &lt;br/&gt;
How did that happen?&lt;/p&gt;
&lt;p&gt;Regards&lt;br/&gt;
Roman&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ladder Editor Bug</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/7a2858034e/?limit=25#b288" rel="alternate"/><published>2020-02-27T14:00:16.452000Z</published><updated>2020-02-27T14:00:16.452000Z</updated><author><name>rickj</name><uri>https://forge.codesys.com/u/rickj/</uri></author><id>https://forge.codesys.comf900e0ec59dbe78c4f7dc1a4077dd39076a69ba2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am writing another article, "Four Ladder Rungs - How something so simple can be so useful?" which I hope to publish in Control Engineering magazine.  The idea is to show a simple state machine technique that can be used on virtually any PLC platform.  Included in the article is a download of the example project and a link to one of you OEM customers website where readers may obtain the IDE.        &lt;/p&gt;
&lt;p&gt;I have encountered problems with the LD editor not being able to open POUs with a string of compare functions like the following:&lt;/p&gt;
&lt;p&gt;I can enter, compile and run the code just fine as shown below.  But when I close the project and open it again the POU containing this code will not open.   If a copy of the POU is made the copy will open and a momentary message is displayed complaining about not being able to represent something or other. It doesn't stay up log enough to make a screen grab or to read it fully.  The copy will not open the next time the project is opened either.&lt;/p&gt;
&lt;p&gt;I could of course work around this by adding more rungs but that pretty much destroys the premise of the article.  I really would like to showcase codesys and your oem customer's IDE in the article so any advice or information about this bug would be greatly appreciated.  I have attached a project that contains the above offending code.  &lt;/p&gt;
&lt;p&gt;I should also note that this bug had managed to completely hose an entire project.  It's something people who do a lot of ladder would be upset about.&lt;/p&gt;
&lt;p&gt;Thanks for your attention&lt;br/&gt;
Rick&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[edit]&lt;/span&gt;&lt;br/&gt;
I have since recreated the corrupted project which is also attached.  When opening the project I get the following message box:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[edit]&lt;/span&gt;&lt;br/&gt;
And here another project (PlcStateMachinePrograming-0004) using GE,LE, NE with an AND block (FB MSMLD128) where POU does not open.  MSMLD64  also does not open.&lt;/p&gt;
&lt;p&gt;I am using Bedrock 1.3a IDE&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CodesysBug.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2314"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CodesysBug (online).JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2315"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CorruptedProject.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2323"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: CodesysBug (AND function).JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2324"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Version.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2326"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=2325" rel="nofollow"&gt;CorruptedProject.project &lt;span&gt;&lt;span&gt;[148.09 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=2320" rel="nofollow"&gt;PlcStateMachineProgramming 0004.project &lt;span&gt;&lt;span&gt;[137.47 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=2316" rel="nofollow"&gt;CodesysLadderBug.project &lt;span&gt;&lt;span&gt;[119.42 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>