adsSyncReadDeviceInfoReqEx

Reads the identification and version number of an ADS server (thread-safe).

long adsSyncReadDeviceInfoReqEx (
  long        lj_port,
  AmsAddr     lj_AmsAddr,
  AdsDevName  lj_pDevName,
  AdsVersion  lj_pVersion
);

Parameter

Return value

long: returns the error state of the function.