MLundegaard
Hi!
 
I am doing some tests to see if my function block libary made in CoDeSys can be easily ported into OpenPLC.
During these tests i think i have found an issue with the InOut variable type.
 
My function block has a InOut Struct "_Interface", and when OpenPLC pastes my block into my program it defines the _Interface struct twice. The struct is only declared once in the FB.
[203128%2F8698606%2Fmceclip0]
 
Thus i get the following error:
[203128%2F8698605%2Fmceclip0]
 
Ofcourse, removing any of the duplicates results in an error of some sort:
[203128%2F8698607%2Fmceclip0]
[203128%2F8698608%2Fmceclip0]
 
The project is attached as a .zip.
 
As a side note:
During my conversion attempts i found the table based variable editor to be extremely annoying. I would greatly greatly greatly appreciate being able to declare variables and DUTs with text like in CoDeSys. This will save many hours during programming and porting 🙂
 
Best Regards
Marius
Reply 0 0
Reply