<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Variant type</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5b1c8d99a7/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5b1c8d99a7/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/5b1c8d99a7/</id><updated>2022-11-09T07:24:46.938000Z</updated><subtitle>Recent posts to Variant type</subtitle><entry><title>Variant type</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5b1c8d99a7/?limit=25#0f99" rel="alternate"/><published>2022-11-09T07:24:46.938000Z</published><updated>2022-11-09T07:24:46.938000Z</updated><author><name>geenst</name><uri>https://forge.codesys.com/u/geenst/</uri></author><id>https://forge.codesys.com6f336dcc39b01286226aa916561ec11a9c363875</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the quick response. Will edit the code immediately ;)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variant type</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5b1c8d99a7/?limit=25#47c1" rel="alternate"/><published>2022-11-08T16:52:37.913000Z</published><updated>2022-11-08T16:52:37.913000Z</updated><author><name>kislov</name><uri>https://forge.codesys.com/u/kislov/</uri></author><id>https://forge.codesys.com616dc630a9fb0200acde33434c04884bc346651b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;br/&gt;
Check type ANY:&lt;br/&gt;
&lt;a href="https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_datatype_any.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_datatype_any.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variant type</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/5b1c8d99a7/?limit=25#b0a2" rel="alternate"/><published>2022-11-08T10:59:29.613000Z</published><updated>2022-11-08T10:59:29.613000Z</updated><author><name>geenst</name><uri>https://forge.codesys.com/u/geenst/</uri></author><id>https://forge.codesys.come54f3d9bfe6a517be0428122e5e4e121c706307c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In Siemens I have used the Variant type to connect a variable which could be a word or a real.&lt;br/&gt;
Depending on the type (typeOf(..)) I would then take different code paths.&lt;/p&gt;
&lt;p&gt;Is something similar possible in Codesys function blocks?&lt;/p&gt;
&lt;p&gt;Greetings,&lt;/p&gt;
&lt;p&gt;TG&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>