public static extern Eip_Connection *_ConnectPLCOverDHP( Eip_Session *session, Plc_Type Plc, byte Priority, sbyte TimeOut_Ticks, uint TO_ConnID, //originator's CIP consumed session ID ushort ConnSerialNumber, // session serial number ushort OriginatorVendorID, uint OriginatorSerialNumber, sbyte TimeOutMultiplier, uint RPI,// originator to target packet rate in msec byte Transport, DHP_Channel channel, byte[] path, byte pathsize);
public static Eip_Connection *ConnectPLCOverDHP(Eip_Session *session, Plc_Type Plc, DHP_Channel channel, byte[] path) { return(_ConnectPLCOverDHP(session, Plc, _Priority, _TimeOut_Ticks, 0x12345678, 0x6789, _OriginatorVendorID, _OriginatorSerialNumber, _TimeOutMultiplier, 5000, _Transport, channel, path, (byte)path.Length)); }