fjs88
Hello hiagoralves and the comunity,
 
I have a problem to fix this error (sometimes that i producing this with my code 🙂 generaly. I take pitcures with was producing the error and other without this (i send pitcures then this speaks more wort that i can to) . The parts are grey marked in both screen shots. I came from the S7 AWL world!
 
With my all best regards
Franz Josef
 
plc.st_buiding_protocol.jpg
plc.st_wit_this_error.jpg
 
plc.st_without_this_error.jpg
Reply 0 0
thiagoralves
Could you post your code as text instead of images? It is hard to read from the image. Even better would be if you posted your whole project as a .zip file.
Reply 0 0
fjs88
 
yes of course you can get.
 
With best regards
 
Franz Josef
Reply 0 0
thiagoralves
 
I was able to compile both your projects on my macOS install of the OpenPLC Editor. Then I realized that the matiec binary in the Windows installation (matiec is the compiler that OpenPLC uses) hasn't been updated properly. The Arduino copy of matiec is up to date, but the editor copy is not, which is why your project is crashing on Windows and not on macOS or Linux. To fix it is quite simple. Open Windows Explorer, go to C:\Users\[your username]\OpenPLC_Editor and then copy the iec2c executable from editor\arduino\bin to \matiec. It will ask if you want to replace the file, which you should answer "yes". After that, your project will compile just fine on Windows.
Reply 0 0
fjs88
Hello thiagoralves,

yes that was!
 
Thanks a lot
 
FJS
Reply 0 0
Write a reply...
Reply