adsSyncReadDeviceInfoReq
Reads the identification and version number of an ADS server.
long adsSyncReadDeviceInfoReq(
AmsAddr lj_AmsAddr,
AdsDevName lj_pDevName,
AdsVersion lj_pVersion
);
Parameter
- AmsAddr lj_AmsAddr: object with NetId and port number from ADS server.
- AdsDevName lj_pDevName: AdsDeviceName object containing the ADS device name after the call.
- AdsVersion lj_pVersion: AdsDeviceName object which contains the used version number, revision number and build number after the call.
Return value
long: returns the error state of the function.