MichielVanwelsenaere / HomeAutomation.CoDeSys3

Home Automation system build in CoDeSys 3 with MQTT communication to any third party Home Automation software
MIT License
111 stars 37 forks source link

codesys x64 bits libraries sysfile23 and cmperrors interfaces #52

Closed runtimevic closed 4 years ago

runtimevic commented 4 years ago

hello,

I have a problem with 2 libraries that tells me they are only for 32 bits: sysfile23 and cmperrors interfaces

how can it be solved? best regards, Víctor.

MichielVanwelsenaere commented 4 years ago

Hi Victor,

As discussed this seems related to the 64bit architecture of your beckhoff PLC, with the OSCAT network library only supporting 32bit.

Perhaps Stefan has an idea on this one, adding the related issue on his repo here for traceability: https://github.com/stefandreyer/CODESYS-MQTT/issues/32

MichielVanwelsenaere commented 4 years ago

Seeing the updates on the issue on Stefan's repository I do suppose this one can be closed @runtimevic ?

nehaltrivedi97 commented 2 years ago

Hello Michiel I came across this issue and I am using codesys currently and facing the same error. error

MichielVanwelsenaere commented 2 years ago

Hmmm, I must admit that I've only been running this on a 32 bit device. I'll need to do some digging here.

For clarity, is this the only lib giving trouble? What device are you using?

nehaltrivedi97 commented 2 years ago

So actually I am working on an old program of a previous student. This is for my thesis. He had written the code in Codesys V3.5 SP11 and i guess it was a 32 bit device. I am working with a 64 bit device. I am using a IFM AC1421 PLC. I mean there is no code in the error. So this error occurs once i enter the simulation mode. Otherwise it runs fine.

MichielVanwelsenaere commented 2 years ago

your dependencies probably haven't been updated in a while, doing a quick scan through latest version of the project I could not find library 'cmperrors interfaces' but only 'cmperrors2 interfaces'. I must admit i'm not sure if this will fix your problem but would give it a go either way

erdemustunel commented 1 year ago

Hello, is the problem solved , because I have faced this problem , and I can not progressing.

Thank you.

Erdem Üstünel