ADS services

ADS Read

Data is read out of an ADS unit with ADS Read. The data is addressed by the Index Group and the Index Offset.

In: IndexGroup, 4 bytes, index group of the data to be read.

IndexOffset, 4 bytes, index offset of the data to be read.

Length, 4 bytes, length of the data to be read.

Out: result, 4 bytes, ADS error number

Length, 4 bytes, length of the data returned.

Data, n bytes, data returned

ADS Write

Data is written into an ADS unit with ADS Write. The data is addressed by the Index Group and the Index Offset.

In: IndexGroup, 4 bytes, index group of the data to be read.

IndexOffset, 4 bytes, index offset of the data to be read.

Length, 4 bytes, length of the data in bytes to be written.

Data, n bytes, data to be written

Out: result, 4 bytes, ADS error number

ADS Read & Write

Data is written into an ADS unit with ADS ReadWrite. Data can also be read out of the ADS unit. The data to be read is addressed by the Index Group and the Index Offset.

In: IndexGroup, 4 bytes, index group of the data to be read.

IndexOffset, 4 bytes, index offset of the data to be read.

ReadLength, 4 bytes, length of the data to be read.

WriteLength, 4 bytes, length of the data in bytes to be written.

Data, n bytes, data to be written

Out: result, 4 bytes, ADS error number

Length, 4 bytes, length in bytes of the data returned.

Data, n bytes, data returned