◆ GearingMasterAxisNumberGet()

virtual int32_t GearingMasterAxisNumberGet ( )
pure virtual

Get a Slave's Master Axis Number.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Gearing method group.

Description:
GearingMasterAxisNumberGet returns the master axis number. It returns -1 if the axis is not a slave.
Returns
(int32_t) The Master Axis Number.
Sample Code:
printf("This axis is the slave of axis: %d\n", axis->GearingMasterAxisNumberGet());
See also
GearingSourceGet()