Hi,
I'm working with two projects. One is for IEC code the other visu.
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.
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 => Type mappings. I just can't get it working.
Do you have an example how to do this mapping ?
Or is it simply okay just to rename the generated types ?
If I do so, what happens the next time i update my imported variables ?
I tried to do some manual mapping, but I only get errors. See screenshots attached.
Regards,
Stefan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi! I am trying to achieve the same issue. Has there been a solution?
I can create the mapping, and map the local variable, but somehow the object does not update.
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm working with two projects. One is for IEC code the other visu.
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.
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 => Type mappings. I just can't get it working.
Do you have an example how to do this mapping ?
Or is it simply okay just to rename the generated types ?
If I do so, what happens the next time i update my imported variables ?
I tried to do some manual mapping, but I only get errors. See screenshots attached.
Regards,
Stefan
Hi
I have the same problem, any solution for this?
Thanks
Hi! I am trying to achieve the same issue. Has there been a solution?
I can create the mapping, and map the local variable, but somehow the object does not update.
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?