The RMP Motion Controller APIs

◆ 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.

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