Activity › Forums › Questions & Troubleshooting › Communication with Ethernet
-
Communication with Ethernet
-
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
-
Hello,
please share with us the type of the sensor and which protocol do you plan to use UDP/TCP?
Thanks,
Lukas
-
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
-
-
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
-
Thank you very much for that information. I will try that out and hope it works. Thank you.
-
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.
-
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
-
Hello Lukas,
I’ve connected them, so they are communicating. But thank you
-
-
-
-
-
Log in to reply.