APIs, concepts, guides, and more

◆ ServiceChannelReadBytes()

RapidVector< uint8_t > ServiceChannelReadBytes ( int32_t index,
int32_t subIndex,
int32_t byteCount,
uint32_t timeoutMilliseconds )
Description:
Read a number of bytes from the SDO. The index, subIndex, byteCount, and valid numeric values are drive specific. Refer to the drive manual to determine these values.
Parameters
indexThe SDO index to read from
subIndexThe sub index to read from
byteCountThe number of bytes to read
timeoutMillisecondsThe time in ms used in two ways: first as the wait for the service channel to become available (a previous operation, possibly from another process, may still be in progress), then as the wait for the read response. Each wait generates a timeout error if exceeded, so a call can take up to twice this value before erroring.
Returns
(RapidVector<uint8_t>) The raw bytes read from the SDO