I have successfully made this work. However, this was WAY more difficult than getting the Internal EthercatMaster device description from the Windows RTE CX package. It required figuring out the hardware interface and making a modified version of the Beckhoff CCAT open source driver. While in there I also made the built in UPS work with CodeSys to save Persistent variables and link the TC light to the CodeSys run time state. Once I clean things up and create an install document, I will be posting a Github repo and make everything as open source.
π
1
Last edit: arj3090 3 days ago
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to get CodeSys working with Beckhoff IO cards connected directly to the CX9240 running Linux?
more posts ...
yes, you need to install Control RTE CX.
In that package there is the Internal EthercatMaster / EthercatMasterSoftmotion which you could add then.
Control RTE is for Windows. @arj3090 specified Linux.
I installed Linux ARM SL and it recognizes the RJ45 ethernet ports, but I cannot get it to recognize the internal port for the IO cards.
you need just out of this windows rte cx package the internal EthercatMaster device description
Now I understand. I always thought this was not supported. I might test it later. Thanks.
I have successfully made this work. However, this was WAY more difficult than getting the Internal EthercatMaster device description from the Windows RTE CX package. It required figuring out the hardware interface and making a modified version of the Beckhoff CCAT open source driver. While in there I also made the built in UPS work with CodeSys to save Persistent variables and link the TC light to the CodeSys run time state. Once I clean things up and create an install document, I will be posting a Github repo and make everything as open source.
Last edit: arj3090 3 days ago
I documented everything and created scripts to install this on a fresh CX9240 image
https://github.com/arj3090/CX9240-CodeSYS
Many thanks for putting all this together and sharing it, really appreciate the effort you put into this!
Glad to share it and hope others find it useful.