I have a Beckhoff CX5130 which I want to run Codesys 3.5 runtime on. I got a bunch of DI/DO/AI/AO modules as well. I know from WAGO PLC that I need to use the WAGO configuration tool on the I/O modules before loading the codesys runtime intot he WAGO PLC, but what is the sequence of work needed for a Beckhoff PLC?
Ok this is a good question. Googling it brings up very little. However there are a few manuals included in the download for the CODESYS Control RTE SL (for Beckhoff CX).
Looking at the First Steps for RTE PDF the backplane communication for the CX is Ethercat. You need to install some drivers and do some things, definately read the PDF. From reading just that PDF to me it looks like you use the device tree to add an internal Ethercat Master and then you add your IO devices to that.
There is another PDF included that you should read though. It's the Codesys ControlRTEV3 Manual. It has some more detailed information on setting things up.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the pointers on how to attack this the easiest way, I can confirm that it was indeed just to install the RTE from the package downloaded to the CX controller, cx5000 driver installed automatically and configuration was easy.
Hi All
I have a Beckhoff CX5130 which I want to run Codesys 3.5 runtime on. I got a bunch of DI/DO/AI/AO modules as well. I know from WAGO PLC that I need to use the WAGO configuration tool on the I/O modules before loading the codesys runtime intot he WAGO PLC, but what is the sequence of work needed for a Beckhoff PLC?
So do I need to configure my modules with something like TwinCat system manager? ( https://infosys.beckhoff.com/english.php?content=../content/1033/tc3_io_intro/1109041931.html&id=7330306022718482839 ) before loading a codesys runtime on it?
Looking forward to hear peoples experience with hardware configuration and codesys setup of a beckhoff CX controller.
Last edit: MadsKaizer 2020-08-07
Ok this is a good question. Googling it brings up very little. However there are a few manuals included in the download for the CODESYS Control RTE SL (for Beckhoff CX).
Looking at the First Steps for RTE PDF the backplane communication for the CX is Ethercat. You need to install some drivers and do some things, definately read the PDF. From reading just that PDF to me it looks like you use the device tree to add an internal Ethercat Master and then you add your IO devices to that.
There is another PDF included that you should read though. It's the Codesys ControlRTEV3 Manual. It has some more detailed information on setting things up.
Control RTE: Add the CmpCX5000Mpd component and driver...See online help. then scan the Ethercat modules...thats it! If you need the second network interface on the front side you need to add CmpEt1000Drv .. install the driver under WIndows and add the component too. ( like you did with CmpCX5000Mpd)
https://help.codesys.com/webapp/_cds_rtev3_adding_dynamic_components;product=core_codesys_control;version=3.5.15.0#id4
BR
Edwin
Last edit: eschwellinger 2020-08-11
Thanks for the pointers on how to attack this the easiest way, I can confirm that it was indeed just to install the RTE from the package downloaded to the CX controller, cx5000 driver installed automatically and configuration was easy.
I wrote a guide for myself to remember, but also for help to others on how the process is: http://disorder.dk/wonderware/2020/08/11/codesys-3-5-16-10-runtime-on-a-beckhoff-cx-5130/