Activity Forums Questions & Troubleshooting Communication with Ethernet

  • Communication with Ethernet

  • aramzawn

    Member
    July 29, 2021 at 9:13 am

    Hello,

    I have a Controllino Maxi and wanted to use it as a control unit. I have a sensor that I want to connect to the Maxi via an Ethernet cable. Does anyone have an example code for this kind of communication? Theoretically, the sensor should only send OK and NOK signals to the Maxi via an Ethernet connection. Can someone please help me with this?

    Many thanks and greetings

  • Lukas

    Member
    July 29, 2021 at 2:31 pm

    Hello,

    please share with us the type of the sensor and which protocol do you plan to use UDP/TCP?

    Thanks,

    Lukas

  • aramzawn

    Member
    July 29, 2021 at 3:52 pm

    Hello Lukas,

    thank you very much for your Help. The Sensor I am using is RFU620-10100 | Identifikationslösungen | SICK. And I am looking for the right sketch or code so I can connect them via Ethernet. Hope you can help me with that 🙂

    thank you

    • aramzawn

      Member
      July 29, 2021 at 4:17 pm

      PS. I want to use TCP / IP

      • Lukas

        Member
        July 30, 2021 at 2:11 pm

        Hello,

        this will be tricky and maybe not even possible. You are right that the sensor provides Ethernet interface, but SICK assumes that you will use PLC or PC as the communication master and provides some kind of a library you have to use and also some examples how to do that.

        Please download Function block Beckhoff TwinCAT 2.x for 4Dpro devices (Ethernet TCP/IP) here and check. It is only in German …

        Best regards,

        Lukas

        • aramzawn

          Member
          August 2, 2021 at 6:24 am

          Thank you very much for that information. I will try that out and hope it works. Thank you.

        • aramzawn

          Member
          August 5, 2021 at 7:52 am

          Hello Lukas,

          I wanted to start to work with the RFID Sensor but first of all, Thank you for your answer.

          Isn’t the Controllino a PLC? So the connection via Ethernet shouldn’t be a problem, right? Also, the Link you’ve send is for a Beckhoff Modul, would it still work for the Controllino?

          Thank you very much in advance.

          • Lukas

            Member
            August 17, 2021 at 8:56 am

            Hello, yes it should be possible, but I am afraid that you have to be experienced programmer to integrate the SICK library into Arduino IDE. Best regards,

            Lukas

            • aramzawn

              Member
              August 17, 2021 at 8:58 am

              Hello Lukas,

              I’ve connected them, so they are communicating. But thank you

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now