<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Bitweiser Zugriff auf eine WORD Variable ?</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/f66669bd64/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/f66669bd64/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/f66669bd64/</id><updated>2020-02-28T12:44:28.180000Z</updated><subtitle>Recent posts to Bitweiser Zugriff auf eine WORD Variable ?</subtitle><entry><title>Bitweiser Zugriff auf eine WORD Variable ?</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/f66669bd64/?limit=25#617c" rel="alternate"/><published>2020-02-28T12:44:28.180000Z</published><updated>2020-02-28T12:44:28.180000Z</updated><author><name>MisterX1000</name><uri>https://forge.codesys.com/u/misterx1000/</uri></author><id>https://forge.codesys.com5a667fad82a2da378ecfd8065b2cbc12629ba9e2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Danke Benjamin,&lt;/p&gt;
&lt;p&gt;das hab ich grad mit einer Simulation getestet. Hat funktioniert. Wird bestimmt auch mit dem Eingangswort vom Bus funktionieren.&lt;/p&gt;
&lt;p&gt;Vielen Dank!!&lt;/p&gt;
&lt;p&gt;MfG Alex&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Bitweiser Zugriff auf eine WORD Variable ?</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/f66669bd64/?limit=25#329a" rel="alternate"/><published>2020-02-28T12:44:20.858000Z</published><updated>2020-02-28T12:44:20.858000Z</updated><author><name>Benjamin</name><uri>https://forge.codesys.com/u/benjamin/</uri></author><id>https://forge.codesys.comd2c8e27203d93784231a771dbd67034abbb4f12a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Schau mal in der Hilfe unter "Bit-Adressierung" nach, oder funktioniert der Zugriff mit Variable.Bit nicht?&lt;/p&gt;
&lt;p&gt;MFG&lt;/p&gt;
&lt;p&gt;Benjamin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Bitweiser Zugriff auf eine WORD Variable ?</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/f66669bd64/?limit=25#9c9b" rel="alternate"/><published>2020-02-28T12:44:18.148000Z</published><updated>2020-02-28T12:44:18.148000Z</updated><author><name>MisterX1000</name><uri>https://forge.codesys.com/u/misterx1000/</uri></author><id>https://forge.codesys.com4d47fffb571118684f15470f3e2b66a790028b72</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo zusammen,&lt;/p&gt;
&lt;p&gt;ich habe ein kleines Problem. Ich habe in CoDeSys eine WORD Variable als Eingang von einem Profibus-Slave System. (16 DI Karte von Siemens)&lt;/p&gt;
&lt;p&gt;Ich möchte aber auf das Wort gerne bitweise zugreifen weil an die DI-Karte mehrere Inkrementalgeber und Taster angeschlossen werden sollen.&lt;/p&gt;
&lt;p&gt;Ich kenne das von Siemens so, dass ich z.B. das EW0, in die EB0 und EB1 zerlegen kann und dann z.B. mit E0.7 auf das 8.Bit des ersten Bytes zugreifen kann...furchbar formulliert  &lt;/p&gt;
&lt;p&gt;Aber wie geht das mit Codesy???&lt;/p&gt;
&lt;p&gt;So sieht die Variable aus: &lt;/p&gt;
&lt;p&gt;Master_E_Slave_A AT %IW1.0 : WORD {flag nowrite} := 0;&lt;/p&gt;
&lt;p&gt;Vielen Dank &lt;/p&gt;
&lt;p&gt;MfG Alex&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>