adsPortCloseEx

The connection (communication port) to the TwinCAT message router is closed. The port to be closed must previously have been opened via an AdsPortOpenEx call.

long adsPortCloseEx (
  long lj_port
);

Parameter

Return value

long: returns the error state of the function.