REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    Ethercat compatible?

    Communication (RS232, RS485, I2C, SPI, UDP, TCP, ...)
    2
    13
    3.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Scoobsalamander
      last edited by Scoobsalamander

      Somewhere on the old forum there was mentioned that Ethercat is one of the existing communication protocols, is there any news on this? Would I be able to use this to communicate with a Beckhoff bus coupler BK1150?

      https://www.rexcontrols.cz/forum/viewtopic.php?id=64

      1 Reply Last reply Reply Quote 0
      • jaroslav_sobotaJ
        jaroslav_sobota
        last edited by

        Hi Scoobsalamander,
        we have the EtherCAT driver in REXYGEN so you can use it. There is no configuration utility though, therefore we'll have to prepare a configuration file specifically for your I/O station. Can you provide the ordered list of I/O modules?

        Once the configuration is ready, you'll use I/O flags just like you are used to when working with e.g. Modbus driver.

        And here is a proof that it works (watch the LEDs on the digital outputs module): https://youtu.be/Q2OG3xRewT0

        Best regards,
        Jaroslav

        1 Reply Last reply Reply Quote 0
        • S
          Scoobsalamander
          last edited by

          So you need the exact hardware setup? I guess the order and type of all io-modules are needed? At the moment I'm playing around with the modbus coupler bk9000 and some DIO and AIO. But I do want to try the same with a BK1150 Ethercat bus coupler.
          Would it be possible to change/create this file myself? Like I wrote it is just for playing around and learn some new things... 😀

          1 Reply Last reply Reply Quote 0
          • jaroslav_sobotaJ
            jaroslav_sobota
            last edited by

            Yes, the order and type of all io-modules is what's needed. At least for a start. Afterwards, with a bit of training and courage, you might be able to modify the configuration yourself.

            Best regards,
            Jaroslav

            1 Reply Last reply Reply Quote 0
            • S
              Scoobsalamander
              last edited by

              This is my current setup (....with some second hand modules from ebay... 🙂 )

              0_1565192007321_2019-08-07 17_31_45-Beckhoff_config - TwinCAT System Manager.png

              I also did an export description to XML from the BK9000. At the moment I don't have another bus coupler but as far as I understand the documentation then the BK9000 is also supporting Ethercat.....

              0_1565192288634_XML_export_BK9000.zip

              1 Reply Last reply Reply Quote 0
              • jaroslav_sobotaJ
                jaroslav_sobota
                last edited by

                Hi,
                the XML does not contain any information about the individual I/O modules. Can you please try again and export a complete description?

                As for the BK9000 coupler, AFAIK it does not support EtherCAT. Can you provide a link to the documentation which you mentioned?

                Best regards,
                Jaroslav

                1 Reply Last reply Reply Quote 0
                • S
                  Scoobsalamander
                  last edited by

                  Maybe I mixed things up....nevertheless Beckhoff is mentioning that the BK9000 is supporting 'Beckhoff real-time ethernet' which I tought is the same as EtherCAT.

                  0_1565255131309_2019-08-08 11_00_32-BECKHOFF New Automation Technology.png

                  Also in the documentation of the BK1120 Beckhoff is refering to the BK9000, altough I don't completely understand what they mean with this.....

                  0_1565255714854_2019-08-08 11_13_47-Documentation BK11x0, BK1250.png

                  1 Reply Last reply Reply Quote 0
                  • S
                    Scoobsalamander
                    last edited by Scoobsalamander

                    I am expecting a BK1120 to arrive by the end of next week. So better to postpone everything until then....

                    BTW, the link to the YouTube video isn't working for me....

                    1 Reply Last reply Reply Quote 0
                    • jaroslav_sobotaJ
                      jaroslav_sobota
                      last edited by

                      Hi,
                      the video link should work now, thanks for reporting it.

                      As for the BK9000, "Beckhoff real-time Ethernet" is not EtherCAT, therefore it is not EtherCAT compatible. You need the mentioned BK1120 for that so you are on the right track.

                      Once it arrives, import the whole setup into TwinCAT and upload the project here.

                      In the meantime, you can make the I/Os work in REXYGEN via BK9000 and Modbus TCP.

                      Best regards,
                      Jaroslav

                      1 Reply Last reply Reply Quote 0
                      • S
                        Scoobsalamander
                        last edited by

                        Modbus TCP I already managed , it only took me quite some time before I figured out how the addressing is working.

                        To use Ethercat on the RasPi I will need a dedicated ethernet port I guess, correct?

                        Grtz,

                        Kris

                        1 Reply Last reply Reply Quote 0
                        • S
                          Scoobsalamander
                          last edited by

                          Hi Jaroslav,

                          Please find the uploaded Twincat project bellow :

                          0_1565617345317_TwinCAT Project3_20190812.zip

                          Thx & grtz,

                          Kris

                          1 Reply Last reply Reply Quote 0
                          • jaroslav_sobotaJ
                            jaroslav_sobota
                            last edited by

                            Hi Kris,
                            thanks for the Twincat file. My colleagues are neck-deep in other ongoing projects at the moment so the preparation of REXYGEN project will take some time. Hopefully in the next week. I'll get back to you.

                            Kind regards,
                            Jaroslav

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              Scoobsalamander @jaroslav_sobota
                              last edited by

                              No problem, it is only for some hobby-related stuff so no rush.

                              Grtz,

                              Kris

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

                              There is also an outdated REXYGEN community forum.

                              Powered by NodeBB.