<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to DWORD to BIT Outputs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a5329fd41d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a5329fd41d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/a5329fd41d/</id><updated>2023-06-23T14:08:44.748000Z</updated><subtitle>Recent posts to DWORD to BIT Outputs</subtitle><entry><title>DWORD to BIT Outputs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a5329fd41d/?limit=25#5147" rel="alternate"/><published>2023-06-23T14:08:44.748000Z</published><updated>2023-06-23T14:08:44.748000Z</updated><author><name>TimvH</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.comd5650a7594bb41b4e4de579d9a99eeddccaeca27</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It is not clear what you want to do, because a DWORD contains 32 bits.&lt;br/&gt;
If you just want to get a certain bit out of the DWORD, you could use e.g.:&lt;br/&gt;
xBool := dwDword.0;&lt;/p&gt;
&lt;p&gt;If this is not what you want, then please specify which 4 bits you would like to have as output of the function.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>DWORD to BIT Outputs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a5329fd41d/?limit=25#89da" rel="alternate"/><published>2023-06-23T08:57:52.014000Z</published><updated>2023-06-23T08:57:52.014000Z</updated><author><name>westcountryewe</name><uri>https://forge.codesys.com/u/westcountryewe/</uri></author><id>https://forge.codesys.com8df9558a0e310771c99ca08c045681c0bb1b75e6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm looking for a way to convert a DWORD into 4 BIT Outputs so I can use them all within my code. Can anyone help?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>