Beckhoff PLC configuration for Codesys 3.5

MadsKaizer
2020-08-07
2020-08-11
  • MadsKaizer

    MadsKaizer - 2020-08-07

    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
    • Morberis

      Morberis - 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.

       
  • MadsKaizer

    MadsKaizer - 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/

     

Log in to post a comment.