<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to pragma bitaccess in V3</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/8ea61ab988/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/8ea61ab988/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/8ea61ab988/</id><updated>2020-02-28T00:26:45.737000Z</updated><subtitle>Recent posts to pragma bitaccess in V3</subtitle><entry><title>pragma bitaccess in V3</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/8ea61ab988/?limit=25#6d57" rel="alternate"/><published>2020-02-28T00:26:45.737000Z</published><updated>2020-02-28T00:26:45.737000Z</updated><author><name>torsknod</name><uri>https://forge.codesys.com/u/torsknod/</uri></author><id>https://forge.codesys.com9d0a735ef94ecfdd4e0388420f970f8e002783d2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;br/&gt;
ich hatte das selbe Thema und fand die Information mit ```&lt;/p&gt;
&lt;p&gt;BIT&lt;/p&gt;
&lt;p&gt;&lt;code&gt;anstatt&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;BOOL&lt;/p&gt;
&lt;p&gt;``` schon sehr hilfreich.&lt;br/&gt;
Gibt es die Möglichkeit auch ganze Zahlen mit einer frei wählbaren Bitlänge, z.B. 4, zu definieren? Für die Leute die C kennen. Ich suche die Alternative zu "unsigned int blub : 4". Das ganze müßte bis 64 Bit, notfalls 32 Bit, funktionieren.&lt;/p&gt;
&lt;p&gt;Vielen Dank im Voraus&lt;br/&gt;
     TOrsten Knodt&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>pragma bitaccess in V3</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/8ea61ab988/?limit=25#982e" rel="alternate"/><published>2020-02-28T00:26:44.002000Z</published><updated>2020-02-28T00:26:44.002000Z</updated><author><name>wollvieh</name><uri>https://forge.codesys.com/u/wollvieh/</uri></author><id>https://forge.codesys.com1309a310dbf0349220cdc6e283186ad2ad5035c9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo Herr Schwellinger,&lt;/p&gt;
&lt;p&gt;DANKE, das war die Anregung, die ich brauchte !&lt;br/&gt;
Ein letzter 'Stolperstein war noch die Definition der Bitleiste.&lt;/p&gt;
&lt;p&gt;Erst habe ich die mit BOOL definiert, aber die belegen ja ein BYTE, also besser BIT nehmen...&lt;/p&gt;
&lt;p&gt;Alles wird gut.  &lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: cs3.JPG" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1248"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: cs2.JPG" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1247"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: cs1.JPG" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1246"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>pragma bitaccess in V3</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/8ea61ab988/?limit=25#6b2c" rel="alternate"/><published>2020-02-28T00:26:39.139000Z</published><updated>2020-02-28T00:26:39.139000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comcd44523d17e676b09ceafb4742a89e52d5dffcfa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;br/&gt;
in  V3 gibt's das 1:1 nicht aber:&lt;br/&gt;
Mann kann eine Struktur mit den normalen Komponenten definieren, eine mit Bits und beide in einer Union zusammenführen, dann kann man entweder mit&lt;br/&gt;
Bit-Zugriff oder mit BYTE-Zugriff (oder was auch immer) in das Element greifen und kommt ganz ohne das Pragmas aus.&lt;br/&gt;
Hoffe das hilft weiter.&lt;br/&gt;
Grüße&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>pragma bitaccess in V3</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/8ea61ab988/?limit=25#b659" rel="alternate"/><published>2020-02-28T00:26:37.416000Z</published><updated>2020-02-28T00:26:37.416000Z</updated><author><name>wollvieh</name><uri>https://forge.codesys.com/u/wollvieh/</uri></author><id>https://forge.codesys.comc3a662c3b31077938339a99a825c876163a58fbd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hello,&lt;/p&gt;
&lt;p&gt;is the prama bitaccess not available in CODESYS_V3 ?&lt;br/&gt;
(as it was in CoDeSysV2)&lt;br/&gt;
wollvieh.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>