if you do an internet search for Arduino Ethernet you will find plenty of links to libraries and example code, e.g.
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?