MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
MotorTypeSet()
void MotorTypeSet
(
RSIMotorType
type
)
pure virtual
Set the motor type.
Description:
MotorTypeSet configures the type of motor.
Parameters
(type)
A
RSIMotorType
value.
Sample Code:
// configure as a Stepper motor
axis->
MotorTypeSet
(
RSIMotorTypeSTEPPER
);
See also
MotorTypeGet
Examples
PhantomAxis.cpp
, and
PhantomAxis.cs
.