<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to In/Out put pins</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/2354d5f1ad/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/2354d5f1ad/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/2354d5f1ad/</id><updated>2020-02-27T19:46:08.537000Z</updated><subtitle>Recent posts to In/Out put pins</subtitle><entry><title>In/Out put pins</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2354d5f1ad/?limit=25#a1bf" rel="alternate"/><published>2020-02-27T19:46:08.537000Z</published><updated>2020-02-27T19:46:08.537000Z</updated><author><name>robkristiaan</name><uri>https://forge.codesys.com/u/robkristiaan/</uri></author><id>https://forge.codesys.com26eaad87acfbd9d13010c2879cd658ac10485076</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;For the visualisation u can use NOT to do the opposite of what the var is.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;NOT(x_Var)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>In/Out put pins</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2354d5f1ad/?limit=25#3d0e" rel="alternate"/><published>2020-02-27T19:46:07.247000Z</published><updated>2020-02-27T19:46:07.247000Z</updated><author><name>Stengard</name><uri>https://forge.codesys.com/u/stengard/</uri></author><id>https://forge.codesys.com07326a13a06a706b419105d085612991ff7f0f95</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Keith!&lt;/p&gt;
&lt;p&gt;Your correct that AT%QX0.1 is a output and the actual pin is depending on your PLC configuration. In PLC configuration (in CoDeSys development software) it is possible to see wich output module that has the address %QX0.1 (in your case its the first output module and the first pin but it dosen't have to be the first module i the PLC rack).&lt;/p&gt;
&lt;p&gt;Was that clear &lt;/p&gt;
&lt;p&gt;Regarding the visualisation you simply write x_Var:=FALSE in the "invisible box", then the entity will be invisibly when the variable is FALSE.&lt;/p&gt;
&lt;p&gt;Good luck Friend&lt;/p&gt;
&lt;p&gt;Magnus&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Carmichael_keith hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
I've a program infront of me which has been used in a plc before, I've located a set of variables which look to be the variables allocated with each pin. each variable ends:&lt;br/&gt;
variable  :;&lt;br/&gt;
How do I read these variables to know which pin number they are allocated to?&lt;br/&gt;
I have a second problem regarding invisible objects in visual. If you want to make an object invisible dependant on a variable being on, you just type the variable name in the invisible box on variables, but what if you want to make an object visible dependant on a variable being on. IE opposite way round&lt;/p&gt;
&lt;/blockquote&gt;&lt;/div&gt;</summary></entry><entry><title>In/Out put pins</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2354d5f1ad/?limit=25#6cb7" rel="alternate"/><published>2020-02-27T19:46:03.650000Z</published><updated>2020-02-27T19:46:03.650000Z</updated><author><name>spfeif</name><uri>https://forge.codesys.com/u/spfeif/</uri></author><id>https://forge.codesys.comb484823999a9849c0b0d5fa4d9481bbd77d5bfd9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Here is some more light. Straight from the CoDeSys help files:&lt;/p&gt;
&lt;p&gt;The following range prefixes are supported:&lt;/p&gt;
&lt;p&gt;I&lt;/p&gt;
&lt;p&gt;Input&lt;/p&gt;
&lt;p&gt;Q&lt;/p&gt;
&lt;p&gt;Output&lt;/p&gt;
&lt;p&gt;M&lt;/p&gt;
&lt;p&gt;Memory location&lt;/p&gt;
&lt;p&gt;The following size prefixes are supported:&lt;/p&gt;
&lt;p&gt;X&lt;/p&gt;
&lt;p&gt;Single bit&lt;/p&gt;
&lt;p&gt;None&lt;/p&gt;
&lt;p&gt;Single bit&lt;/p&gt;
&lt;p&gt;B&lt;/p&gt;
&lt;p&gt;Byte (8 Bits)&lt;/p&gt;
&lt;p&gt;W&lt;/p&gt;
&lt;p&gt;Word (16 Bits)&lt;/p&gt;
&lt;p&gt;D&lt;/p&gt;
&lt;p&gt;Double word (32 Bits)&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;p&gt;%QX7.5 and %Q7.5 &lt;/p&gt;
&lt;p&gt;Output bit 7.5&lt;/p&gt;
&lt;p&gt;%IW215&lt;/p&gt;
&lt;p&gt;Input word 215&lt;/p&gt;
&lt;p&gt;%QB7&lt;/p&gt;
&lt;p&gt;Output byte 7&lt;/p&gt;
&lt;p&gt;%MD48&lt;/p&gt;
&lt;p&gt;Double word in memory position 48 in the memory location.&lt;/p&gt;
&lt;p&gt;%IW2.5.7.1&lt;/p&gt;
&lt;p&gt;depending on the PLC Configuration&lt;/p&gt;
&lt;p&gt;ivar AT %IW0 : WORD;&lt;/p&gt;
&lt;p&gt;Example of a variable declaration including an address assignment&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>In/Out put pins</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2354d5f1ad/?limit=25#df87" rel="alternate"/><published>2020-02-27T19:46:02.351000Z</published><updated>2020-02-27T19:46:02.351000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.come022bb5df3086c7c5906d427b8fba2f01a357d38</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; Carmichael_keith&lt;/p&gt;
&lt;p&gt;thanks, I thought that might have been the case with what they were being named, so if Q is the output then I would be the input. I'll have to find the manual then.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>In/Out put pins</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2354d5f1ad/?limit=25#774f" rel="alternate"/><published>2020-02-27T19:45:58.751000Z</published><updated>2020-02-27T19:45:58.751000Z</updated><author><name>ndzied1</name><uri>https://forge.codesys.com/u/ndzied1/</uri></author><id>https://forge.codesys.com53122dfbb5a18d2eb779ebc3992038e5e736aaf1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Addressing is hardware dependent so you need to get the manual for the hardware you are programming.  In general though, your address if for an output (Q).  In specific, it is output bit 1 of word 0.  How the word and bit are mapped to physical points must be read from a manual.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>In/Out put pins</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/2354d5f1ad/?limit=25#59af" rel="alternate"/><published>2020-02-27T19:45:57.436000Z</published><updated>2020-02-27T19:45:57.436000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.come9ec04509d617d3543b630f5973cb09987e1bd1b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; Carmichael_keith&lt;/p&gt;
&lt;p&gt;I've a program infront of me which has been used in a plc before, I've located a set of variables which look to be the variables allocated with each pin. each variable ends:&lt;/p&gt;
&lt;p&gt;variable &lt;span style="color: blue;"&gt;AT&lt;/span&gt; &lt;span style="color: violet;"&gt;%QX0.1&lt;/span&gt;:&lt;span style="color: blue;"&gt;BOOL&lt;/span&gt;;&lt;/p&gt;
&lt;p&gt;How do I read these variables to know which pin number they are allocated to?&lt;/p&gt;
&lt;p&gt;I have a second problem regarding invisible objects in visual. If you want to make an object invisible dependant on a variable being on, you just type the variable name in the invisible box on variables, but what if you want to make an object visible dependant on a variable being on. IE opposite way round&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>