beckhoff — 5.1.9 adsSyncReadWriteReq

API long lj_indexOffset, long lj_length, JNIByteBuffer lj_pData ); Parameter 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. Return value long : returns the error state of the function. 5.1.8 adsSyncReadReqEx Reads data synchronously from an ADS server. The additional JNILong buffer contains the number of bytes read after the call.

long adsSyncReadReqEx( AmsAddr lj_AmsAddr, long lj_indexGroup, long lj_indexOffset, long lj_length, JNIByteBuffer lj_pData, JNILong lj_pBytesRead ); Parameter 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. JNILong : lj_pBytesRead JNILong buffer contains the number of bytes read after the call. Return value long : returns the error state of the function. 5.1.9 adsSyncReadWriteReq Writes data synchronously into an ADS server and receives data back from the ADS device.

long adsSyncReadWriteReq( AmsAddr lj_AmsAddr, long lj_indexGroup, long lj_indexOffset, long lj_lengthRead, JNIByteBuffer lj_pDataRead, long lj_lengthWrite, JNIByteBuffer lj_pDataWrite ); TX1000 15 Version: 1.1