<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Convert any into a string</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/953c482972/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/953c482972/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/953c482972/</id><updated>2022-05-20T11:19:48.214000Z</updated><subtitle>Recent posts to Convert any into a string</subtitle><entry><title>Convert any into a string</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/953c482972/?limit=50#c981" rel="alternate"/><published>2022-05-20T11:19:48.214000Z</published><updated>2022-05-20T11:19:48.214000Z</updated><author><name>ludecus</name><uri>https://forge.codesys.com/u/ludecus/</uri></author><id>https://forge.codesys.comb95d57b7f4247c6271710dc3c08cee6dc8435dba</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for your response.&lt;/p&gt;
&lt;p&gt;Unfortunately you misunderstood my needs.&lt;br/&gt;
I was looking for a Function like ANY_TO_STRING not DINT_TO_STRING.&lt;br/&gt;
As you can see in the attached project, the &lt;a class="" href="https://help.codesys.com/webapp/_cds_datatype_any;product=codesys;version=3.5.17.0" rel="nofollow"&gt;ANY-type&lt;/a&gt; needs to be decoded firstly in a IEC datatype.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Convert any into a string</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/953c482972/?limit=25#c09d" rel="alternate"/><published>2022-05-20T00:51:35.029000Z</published><updated>2022-05-20T00:51:35.029000Z</updated><author><name>nothinrandom</name><uri>https://forge.codesys.com/u/nothinrandom/</uri></author><id>https://forge.codesys.com853676d1162436d5ce0331406f2b7185e14a4578</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;you should be able to call the generic &lt;code&gt;TO_STRING()&lt;/code&gt; operator.  For example, &lt;code&gt;myString := TO_STRING(myDint);&lt;/code&gt;, where myString is a variable of type STRING and myDint is a variable of type DINT.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Convert any into a string</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/953c482972/?limit=50#08f8" rel="alternate"/><published>2022-04-11T14:04:09.263000Z</published><updated>2022-04-11T14:04:09.263000Z</updated><author><name>ludecus</name><uri>https://forge.codesys.com/u/ludecus/</uri></author><id>https://forge.codesys.com4ae6267f8c9633ec508bc2c951ee81b7cb000072</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;dear codesys colleagues,&lt;/p&gt;
&lt;p&gt;i looked for a function that converts the value of the any variable into a string. While i couldn't find a library or at least some documentations for this case, i written my own function.&lt;/p&gt;
&lt;p&gt;Hints or improvements are welcome!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>