APIs, concepts, guides, and more

◆ GearingMasterAxisNumberGet()

int32_t GearingMasterAxisNumberGet ( )
Description:
GearingMasterAxisNumberGet returns the master axis number. It returns -1 if the axis is not a slave.
Returns
(int32_t) The Master Axis Number.

Part of the Gearing method group.

Sample Code:
printf("This axis is the slave of axis: %d\n", axis->GearingMasterAxisNumberGet());
See also
GearingSourceGet()