◆ StepperMotorLoopbackGet()

virtual bool StepperMotorLoopbackGet ( )
pure virtual

Determine if the stepper is open or closed loop.

ℹ This function is avaliable in RapidCode and RapidSequencer

Description:
StepperMotorLoopbackGet will return if the stepper is using loopback. When enabled, step output pulses counted to generate Actual Position. When disabled, external feedback device is required to generate actual position.
Returns
(bool) Stepper Loopback setting.
Sample Code:
// -- C++ -- //
if (axis->StepperMotorLoopbackGet())
printf("This stepper generates Actual Position based on output pulses.\n");
// -- C# -- //
if (axis.StepperMotorLoopbackGet())
Console.WriteLine("This stepper generates Actual Position based on output pulses.");
See also
StepperMotorLoopbackSet