The RMP Motion Controller API

◆ NumberGet()

virtual int32_t NumberGet ( )
pure virtual

Get the zero-based IO number.

NumberGet returns the zero-based index associated with this IO node. The number will be zero-based and determined by the order of the nodes on the network.
(int32_t) The number (controller index) of this IO.

ℹ This function is avaliable in RapidCode and RapidSequencer

Sample Code:
int32_t number;
number = io->NumberGet();
printf("IO number is %ld\n", number);

Implements RapidCodeObject.