Hello everyone, I am new to Arduino programming and would like to communicate with an S7-1500 PLC with an Arduino Nano with an ENC28J60 shield over Ethernet (UDP). Would someone be able to send me the code with which I could send and receive 1 string to and from the PLC? I googled some examples and also watched a tutorial on youtube but it never worked for me. The programs in the tutorials were complex and that was probably the reason why I was not able to create a connection. Therefore, I would need a simple code that would cleanly handle communication without any peripherals like sensors. Thank you.
for the enc28j60 you can use my EthernetENC library. if you only use UDP you can optimize the memory consumption by suppressing the TCP part.
Hi Juraj, I am trying to communicate an Arduino with a solar inverter, Arduino as Server (Master) and Inverter as Client (Slave).
I have Arduino Nano, ENC28J60 and W5100.
There is a lot of information on the web, but I can't get it to work.
Can you help me? I would need someone to guide me with this project.
Thank you
yes I can help you
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.