adsPortOpen
Establishes a connection (communication port) to the TwinCAT message router.
If no TwinCAT MessageRouter is present, the AdsPortOpenEx function will fail.
long adsPortOpen ();
Parameter
Return value
long: returns the error state of the function.