<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.iplog.eu/index.php?action=history&amp;feed=atom&amp;title=Blocks_Bit_Operations</id>
		<title>Blocks Bit Operations - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.iplog.eu/index.php?action=history&amp;feed=atom&amp;title=Blocks_Bit_Operations"/>
		<link rel="alternate" type="text/html" href="http://wiki.iplog.eu/index.php?title=Blocks_Bit_Operations&amp;action=history"/>
		<updated>2026-04-03T19:29:15Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wiki.iplog.eu/index.php?title=Blocks_Bit_Operations&amp;diff=866&amp;oldid=prev</id>
		<title>Z033: Created page with &quot;== Back to Libraries == == Utility library ==  === Bit operations ===  ==== DWORD_SWAP_WORDS ==== Returns a DWORD value where the older word swap...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.iplog.eu/index.php?title=Blocks_Bit_Operations&amp;diff=866&amp;oldid=prev"/>
				<updated>2020-04-30T06:44:35Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;== &lt;a href=&quot;/wiki/Libraries_for_IEC_61131-3&quot; title=&quot;Libraries for IEC 61131-3&quot;&gt;Back to Libraries&lt;/a&gt; == == Utility library ==  === Bit operations ===  ==== DWORD_SWAP_WORDS ==== Returns a DWORD value where the older word swap...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== [[Libraries for IEC 61131-3|Back to Libraries]] ==&lt;br /&gt;
== Utility library ==&lt;br /&gt;
&lt;br /&gt;
=== Bit operations ===&lt;br /&gt;
&lt;br /&gt;
==== DWORD_SWAP_WORDS ====&lt;br /&gt;
Returns a DWORD value where the older word swaps its place with the younger word. &lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|in&lt;br /&gt;
|IN&lt;br /&gt;
|dword&lt;br /&gt;
|&lt;br /&gt;
|input value &amp;quot;AABBCCDD&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|out&lt;br /&gt;
|&lt;br /&gt;
|dword&lt;br /&gt;
|&lt;br /&gt;
|dword value &amp;quot;CCDDAABB&amp;quot;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== GET_BIT_AT ====&lt;br /&gt;
Returns boolean value of bit on given position&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|in&lt;br /&gt;
|IN&lt;br /&gt;
|word&lt;br /&gt;
|&lt;br /&gt;
|input value&lt;br /&gt;
|-&lt;br /&gt;
|in&lt;br /&gt;
|P&lt;br /&gt;
|int&lt;br /&gt;
|&lt;br /&gt;
|bit position&lt;br /&gt;
|-&lt;br /&gt;
|out&lt;br /&gt;
|&lt;br /&gt;
|bool&lt;br /&gt;
|&lt;br /&gt;
|bit value&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== WORD_SWAP_BYTES ====&lt;br /&gt;
Returns a WORD value where the older byte swaps its place with the younger byte.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|in&lt;br /&gt;
|IN&lt;br /&gt;
|word&lt;br /&gt;
|&lt;br /&gt;
|input value &amp;quot;ABCD&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|out&lt;br /&gt;
|&lt;br /&gt;
|word&lt;br /&gt;
|&lt;br /&gt;
|word value &amp;quot;CDAB&amp;quot;&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Z033</name></author>	</entry>

	</feed>