beckhoff — 5.2.15 adsAmsPortEnabledEx

API Return value long : returns the error state of the function. 5.2.13 adsSyncSetTimeoutEx Alters the timeout for the ADS functions. The default value is 5000 ms (thread-safe). long adsSyncSetTimeoutEx ( long lj_port, long lj_nMs ); Parameter long : lj_port port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen. long lj_nMs : timeout in ms. Return value long : returns the error state of the function. 5.2.14 adsSyncGetTimeoutEx Returns the currently set timeout for ADS calls. The default value is 5000 ms (thread-safe). long adsSyncGetTimeoutEx ( long lj_port, JNILong lj_pMs ); Parameter long :

lj_port port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen. JNILong lj_pMs : JNILong object which contains the current timeout after the call. Return value long : returns the error state of the function. 5.2.15 adsAmsPortEnabledEx Returns a truth value indicating whether the passed port is open (thread-safe). long adsAmsPortEnabledEx ( long lj_port, JNIBool lj_pEnabled ); Parameter long : lj_port port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen. JNIBool : j_pEnabled JNIBool buffer which contains the truth value after the call. TX1000 26 Version: 1.1