Go Down

Topic: PLC and Arduino communication using socket programming (Read 645 times) previous topic - next topic

asharm0502

Hi
Currently I am working with an industrial PLC which supports TCP/IP protocol. I am using my Audrino UNO and an Ethernet shield to read and write data to PLC using this protocol. I do not want to use modbus to achieve this.
Is there anyone in the forum who could help me on socket programming.

horace

if you do an internet search for Arduino Ethernet you will find plenty of links to libraries and example code, e.g.
https://www.arduino.cc/en/Reference/Ethernet

with the Arduino you can set up a TCP connection or send UDP datagrams
are the TCP/IP facilities on the PLC fixed (e.g. accepts UDP datagrams on a fixed port) or can you program it?

Go Up