MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Sample Apps
Changelog
RapidCode API
Contact us
Support
◆
MotorTypeGet()
RSIMotorType
MotorTypeGet
(
)
pure virtual
Get the motor type.
Description:
MotorTypeGet returns the motor type.
Returns
(
RSIMotorType
) Motor Type.
Sample Code:
if
(axis->
MotorTypeGet
() ==
RSIMotorTypeSERVO
)
{
printf(
"This is a servo motor\n"
);
}
See also
MotorTypeSet