isDirectionReversed()
Description
Whether the machine is set to move in the reverse direction on the specified axis.
Syntax
machine.isDirectionReversed(axis);
Parameters
machine
: Machine
object.
axis
: The axis of motion for which information is to be obtained, which can be AXIS_X, AXIS_Y or AXIS_Z.
Return
bool
:
true: The axis is in reverse motion.
false: The axis is not in reverse motion. Or the setting is wrong, which means the machine does not exist or the setting is made after the machine is started.
Please make sure the machine exists and make sure to set the machine before starting it.
See also
Library Reference
86Duino Reference Materials follow the Creative Commons Attribution-Share Alike 3.0 License. The code examples in the references have been released into the public domain.