API long lj_indexGroup : Index Group long lj_indexOffset : Index Offset long lj_length : length of the data in bytes that are written to the ADS server. JNIByteBuffer lj_pData : JNIByteBuffer whose data is written to the ADS server. Return value long : returns the error state of the function. 5.2.5 adsSyncWriteReqExArray Writes data synchronously to an ADS device (thread-safe). long adsSyncWriteReqExArray ( longl j_portAmsAddrlj_AmsAddrlonglj_indexGroup, longl j_indexOffset, longl j_length, byte[] lj_pData ); Parameter long : lj_port port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen. AmsAddr lj_AmsAddr :
object with NetId and port number from ADS server. long lj_indexGroup : Index Group long lj_indexOffset : Index Offset long lj_length : length of the data in bytes that are written to the ADS server. byte[] lj_pData : a byte array buffer whose data is written to the ADS server. Return value long : returns the error state of the function. 5.2.6 adsSyncReadReqEx2 Reads data synchronously from an ADS device (thread-safe). The additional JNILong buffer contains the number of bytes read after the call. long adsSyncReadReqEx2 ( long lj_portAmsAddrlj_AmsAddr, long lj_indexGroup, long lj_indexOffset, long lj_length, JNIByteBuffer lj_pData, JNILong lj_pBytesRead ); Parameter long :
lj_port port number of an ADS port that had previously been opened with AdsPortOpenEx or AdsPortOpen. AmsAddr lj_AmsAddr : object with NetId and port number from ADS server. long : lj_indexGroup Index Group. long : lj_indexOffset Index Offset. long lj_length : length of the data in bytes. JNIByteBuffer lj_pData : JNIByteBuffer that stores the data to be read. TX1000 22 Version: 1.1