<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Type mappings in Datasource</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/b45e11d618/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/b45e11d618/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/b45e11d618/</id><updated>2025-04-02T15:04:39.393000Z</updated><subtitle>Recent posts to Type mappings in Datasource</subtitle><entry><title>Type mappings in Datasource</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/b45e11d618/?limit=25#6c6b" rel="alternate"/><published>2025-04-02T15:04:39.393000Z</published><updated>2025-04-02T15:04:39.393000Z</updated><author><name>benemenn</name><uri>https://forge.codesys.com/u/benemenn/</uri></author><id>https://forge.codesys.com3d352893ed438f63a04f2767443f0a861b6f1b7b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi! I am trying to achieve the same issue. Has there been a solution? &lt;br/&gt;
I can create the mapping, and map the local variable, but somehow the object does not update. &lt;/p&gt;
&lt;p&gt;Furthermore, i have an issue where codesys doesn't let me set ReadWrite accesses to the variables in the "Type Mapping" place. The access will simply not be set. Has anyone ran int that issue? &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Type mappings in Datasource</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/b45e11d618/?limit=25#9de0" rel="alternate"/><published>2024-09-12T10:58:00.926000Z</published><updated>2024-09-12T10:58:00.926000Z</updated><author><name>abauza</name><uri>https://forge.codesys.com/u/abauza/</uri></author><id>https://forge.codesys.com3b15cce774434b0744b1298e8ff007c03ebe1743</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi &lt;br/&gt;
I have the same problem, any solution for this?&lt;br/&gt;
Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Type mappings in Datasource</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/b45e11d618/?limit=25#fff1" rel="alternate"/><published>2020-02-27T18:24:05.388000Z</published><updated>2020-02-27T18:24:05.388000Z</updated><author><name>SEW1</name><uri>https://forge.codesys.com/u/sew1/</uri></author><id>https://forge.codesys.com3f2150d29c111a37a3570e3e9f47e7ec2fc5bf56</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I'm working with two projects. One is for IEC code the other visu. &lt;br/&gt;
When I import my IEC variables with structures into the visu project new types are generated ("GeneratedType_XX"), as Codesys can't guess which structures are used in the IEC project.&lt;br/&gt;
However, I don't want to work with this anonymous GeneratedTypes in my visu project. So I imported the same structures in my visu project and want to do the mapping manually in Datasource =&amp;gt; Type mappings. I just can't get it working. &lt;br/&gt;
Do you have an example how to do this mapping ? &lt;br/&gt;
Or is it simply okay just to rename the generated types ? &lt;br/&gt;
If I do so, what happens the next time i update my imported variables ?&lt;/p&gt;
&lt;p&gt;I tried to do some manual mapping, but I only get errors. See screenshots attached.&lt;/p&gt;
&lt;p&gt;Regards, &lt;br/&gt;
Stefan&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Visu imported IEC structure.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4803"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: mapping not working.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4802"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: IEC_structure.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4801"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>