Connect ME and Siemens PLC

How can I interface (ETHERENET side) a DIGI Connect ME ETH/Serial to a SIEMENS PLC ?
TCP SOCKET mode ?
RealPort ?
Are there any drivers for Siemens PLC or have I to write my routines from scratch ?

If this is Profinet IO device, you should use Ethernet bypass