<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Casting Enumerations</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/954d076ebc/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/954d076ebc/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/954d076ebc/</id><updated>2020-02-27T21:27:27.715000Z</updated><subtitle>Recent posts to Casting Enumerations</subtitle><entry><title>Casting Enumerations</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/954d076ebc/?limit=25#f401" rel="alternate"/><published>2020-02-27T21:27:27.715000Z</published><updated>2020-02-27T21:27:27.715000Z</updated><author><name>robkristiaan</name><uri>https://forge.codesys.com/u/robkristiaan/</uri></author><id>https://forge.codesys.comdb475cc5bb5aba0f26066ebe1e34d185a23d0547</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Just use WORD_TO_BYTE()&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Casting Enumerations</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/954d076ebc/?limit=25#c97d" rel="alternate"/><published>2020-02-27T21:27:26.249000Z</published><updated>2020-02-27T21:27:26.249000Z</updated><author><name>annodomini2</name><uri>https://forge.codesys.com/u/annodomini2/</uri></author><id>https://forge.codesys.comd7d08f517090dfac280a917b0df3f37d75760902</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is it possible to Cast or type convert and Enumeration to a BYTE, as the ECU I am working on is 16-bit so I would assume the default type is WORD.&lt;/p&gt;
&lt;p&gt;The reason behind this is to simplify the reading of my application to others as the BYTE in question has fixed constant values.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>