Post topics, source code that relate to the Arduino Platform

User avatar
By Jinn
#29606 Hello guys,

i try to get a combination of ESP8266 + Arduino and a raspberry + codesys to work.
I used a very good guide to play around with the arduino, the ethernet shield, Modbus and the Raspberry PI.
http://fleaplc.it/en/tutorials/33-arduino-as-raspberry-pi-s-remote-io-codesys

It worked good for me, but i need a wireless connection.
I will use Codesys as an HMI. I need Codesys for my education and my work. I think to play around in my free time is a good start.

I think the easiest way to get a connection between these two components is to use Modbus TCP.

I looked at the libraries and tried to analyze the code, but i have problems to understand and interpret things.

Has somebody tried it in past and get it to work?

I didn't find something useful in the Forum.
I tried to connect to the TCP Server from Codesys and open a socket on Port 502 by AT-commands.
But how should i convert the ethernet Message to send it with the ESP8266??
Should I edit the ethernet library to send it with ESP??
I don't know how to start with this problem.

Sorry for my bad school english, i'm from Germany :D

Jinn