<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Debug/Flow Control for VAR_IN_OUT</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4038cc0200/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4038cc0200/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/4038cc0200/</id><updated>2020-02-27T14:11:40.583000Z</updated><subtitle>Recent posts to Debug/Flow Control for VAR_IN_OUT</subtitle><entry><title>Debug/Flow Control for VAR_IN_OUT</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4038cc0200/?limit=25#3f3a" rel="alternate"/><published>2020-02-27T14:11:40.583000Z</published><updated>2020-02-27T14:11:40.583000Z</updated><author><name>maauto</name><uri>https://forge.codesys.com/u/maauto/</uri></author><id>https://forge.codesys.com248eea4b7fe349f009c0e9590bbebfa34685b0b4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;does anyone else have some issues with Debug/Flow control and variables declared as VAR_IN_OUT (at least in FBD view and LD view) ?&lt;/p&gt;
&lt;p&gt;Declaration as follows:&lt;br/&gt;
&lt;span style="color: 85%;"&gt;FUNCTION_BLOCK TestFB&lt;br/&gt;
VAR_INPUT&lt;br/&gt;
    Input1,Input2:BOOL;&lt;br/&gt;
END_VAR&lt;br/&gt;
VAR_OUTPUT&lt;br/&gt;
    Output1:BOOL;&lt;br/&gt;
    Output2:BOOL;&lt;br/&gt;
END_VAR&lt;br/&gt;
VAR&lt;br/&gt;
    DelayON,DelayOFF:TON;&lt;br/&gt;
END_VAR&lt;br/&gt;
VAR_IN_OUT&lt;br/&gt;
    IO_StartBit: BOOL;&lt;br/&gt;
END_VAR&lt;br/&gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;In FBD view, it seems that the processed statements / variables are correctly displayed in a green Flow Control boxes, while the value of the variables itself remain ??? (Example in FBD_logic.png). &lt;/p&gt;
&lt;p&gt;In LD view the same logic displays the Flow Control boxes in a network up tu the VAR_IN_OUT variable as green and then they become gray, while the inside of the status of the VAR_IN_OUT variable is green (Example in LD_logic.png).   All this goes against the description of how Flow Control in the help files...or maybe I'm missing something ? (This does not depend on the actual value of the VAR_IN_OUT variable.)&lt;/p&gt;
&lt;p&gt;The logical operations itself seem to be preformed correctly, just the Flow Control display seems wrong to say the least.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: FBD_Logic.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=510"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: LD_Logic.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=511"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>