APIs, concepts, guides, and more

◆ ServiceChannelRead() [2/2]

int32_t ServiceChannelRead ( int32_t index,
int32_t subIndex,
int32_t byteCount,
uint32_t timeoutMilliseconds )

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Read a number from the SDO.

Description:
Read a number 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 memory address to write to
subIndexThe sub index to write to
byteCountThe number of bytes to write
Returns
(int32_t) The integer value at the specified location
Parameters
timeoutMillisecondsThe time in ms that the function will wait for a read response before generating a timeout error.