<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to "Multiple Write Access on Output" doesn't work</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f2b2f5e5c7/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f2b2f5e5c7/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/f2b2f5e5c7/</id><updated>2020-02-27T14:22:06.859000Z</updated><subtitle>Recent posts to "Multiple Write Access on Output" doesn't work</subtitle><entry><title>"Multiple Write Access on Output" doesn't work</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f2b2f5e5c7/?limit=25#1c81" rel="alternate"/><published>2020-02-27T14:22:06.859000Z</published><updated>2020-02-27T14:22:06.859000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com8f5a633226f0a3f93e2b630a275a3edde377133a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; scott_cunningham&lt;/p&gt;
&lt;p&gt;Maybe I found what &lt;strong&gt;bbeal66&lt;/strong&gt; has trouble with.... If you define variables at specific memory locations (e.g. ```&lt;/p&gt;
&lt;p&gt;Outs AT %QB0 : BYTE;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;, then the static analysis reports multiple write error.  If you define variables normally (e.g.&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Outs : BYTE;&lt;/p&gt;
&lt;p&gt;```) and then use the device I/O Mapping, static analysis does &lt;strong&gt;NOT&lt;/strong&gt; report multiple write errors.&lt;/p&gt;
&lt;p&gt;To me, this is a bug in the static analysis.  I never use direct memory location definitions because I don't want to worry about changing all of those addresses when I simply switch the order of my EtherCAT devices!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>"Multiple Write Access on Output" doesn't work</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f2b2f5e5c7/?limit=25#88be" rel="alternate"/><published>2020-02-27T14:22:06.459000Z</published><updated>2020-02-27T14:22:06.459000Z</updated><author><name>bbeal66</name><uri>https://forge.codesys.com/u/bbeal66/</uri></author><id>https://forge.codesys.combb424de891457249f71e0c4ed295940294f98f94</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Should check even in same program.  I tested it, and even in different programs it doesn't flag it as a problem.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>"Multiple Write Access on Output" doesn't work</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f2b2f5e5c7/?limit=25#37ca" rel="alternate"/><published>2020-02-27T14:22:06.051000Z</published><updated>2020-02-27T14:22:06.051000Z</updated><author><name>chris.beard</name><uri>https://forge.codesys.com/u/chris-beard/</uri></author><id>https://forge.codesys.com69907ca1a6bfe3462468ec2775a733a05836ba90</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;are the two rungs on the same prg?&lt;/p&gt;
&lt;p&gt;if so you are just overwriting the last rung in the program as it goes through the prg sequentially.&lt;/p&gt;
&lt;p&gt;the setting only applies if you are writing to the same output from multiple prg's I believe&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>"Multiple Write Access on Output" doesn't work</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/f2b2f5e5c7/?limit=25#9fe8" rel="alternate"/><published>2020-02-27T14:22:04.863000Z</published><updated>2020-02-27T14:22:04.863000Z</updated><author><name>bbeal66</name><uri>https://forge.codesys.com/u/bbeal66/</uri></author><id>https://forge.codesys.com40dad393c0209c65c211da4e32b90a9772599cc5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Checking that option in the Static Analysis Light settings doesn't produce any warnings at compilation, even if I have 2 rungs writing to the same physical output.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>