<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Using ENUM type variables in a recipe</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/23409f6644/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/23409f6644/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/23409f6644/</id><updated>2020-02-27T13:49:33.493000Z</updated><subtitle>Recent posts to Using ENUM type variables in a recipe</subtitle><entry><title>Using ENUM type variables in a recipe</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/23409f6644/?limit=25#a7c7" rel="alternate"/><published>2020-02-27T13:49:33.493000Z</published><updated>2020-02-27T13:49:33.493000Z</updated><author><name>razmis</name><uri>https://forge.codesys.com/u/razmis/</uri></author><id>https://forge.codesys.com9957bcd994e60a974c154a99458ba8e0314662ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;How is it possible to add a variable of type ENUM to a recipe?&lt;br/&gt;
I tried and I get a compilation error : " 'var_123' is not a valid value for strict ENUM type 'Mode' "&lt;br/&gt;
I declared my ENUM type (called 'Mode') as DINT and a variable of type  'Mode'.&lt;br/&gt;
When I add it to the recipe it automatically gives it type DINT&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>