I want to find...

Search

Shares

Table of Content

Machine.isDirectionReversed()

[Motion86]

Description

Whether the machine is set to move in the reverse direction in the specified axis.

Syntax

machine.isDirectionReversed(axis);

Parameters

  • machine: is the Machine object.
  • axis: is the axis of motion to get information, can be AXIS_X, AXIS_Y or AXIS_Z.

Returns

bool.

  • true: The axis is reverse motion.
  • false: The axis is not reversed. Or the setting is wrong, which means the machine does not exist or the setting is done after the machine is started.

Please make sure the machine exists and make sure the machine is set up before starting the machine.

See also


Libraries Reference Home

The text of the 86Duino reference is a modification of the Arduino reference and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.

Leave a Comment

Scroll to Top