I have just noticed that I have duplicated the same object twice. I will check if this is the issue!
Hi There, I have been working on a project to make a PLC a CANopen slave. It's been working very well so far, but I have found either an issue or something I'm not doing right. When mapping objects to PDOs, boolean values are not working as expected. No errors are reported by the compiler, however, in runtime these PDO objects do not work properly. Setting a boolean RPDO object to TRUE has no effect in the slave application, and boolean TPDOs written by the slave application do not change state either....
Hi BY, Could you tell me how you imported your DBC file? I have one to import but I can't find how to import it into my instance of Codesys! Cheers, John
Any help on this would be greatly appreciated! :D
Hi All, I need to monitor an active connection between Codesys(PC) and a PLC. I have tried monitoring active visu clients, but unfortunately this doesn't work. I think this is most likely because the PLC is an embedded system and most importantly doesn't have a display for Visu. Monitoring active visu clients on a display works no problem. Is there an easy and light weight way of monitoring an active connection between Codesys (PC) and PLC via code? I was really hoping there might be a system variable...
Hi All, I need to log into a Codesys 3.5 PLC via CANbus (CR711S). The manufacturer is ifm Electronic GmbH. The release notes state that it is possible to do so, but a PCAN-USB adapter must be used for stable connection. It also says that the CAN client must be added to the Codesys gateway configuration as a top level interface. I have a PCAN-USB adapter, and from what I can see in my Windows device manager, the service for the adapter is 'PEAK_USB'. I have added this as a CAN client to my gateway...
Yes after a bit more investigation I can see that it is a module that must be added, whereas I was trying to add it to my application. I will have a go! I've had a little bit of success with the SysFile library, but unfortunately it still doesn't help my problem! If I use the mode 'AM_READ_PLUS' this allows me to write data to a specific location after using the SysFileSetPos function as I had hoped. The problem now is although I can now write in a specific location, any data from that point equal...
Hi Morberis, Thank you very much for your quick reply! After having a look at the Datalog manager it seems as though it is a new feature of SP16, so perhaps I could download the new version and try this. I'm not sure if my target device will work with it but it's worth a look for sure. I'm fairly familiar with using attributes so if this method is possible for my target then maybe this is the way to go with my FB. I have also noticed that the CAA File library doesn't seem to use the functions of...