Machine.isDirectionReversed()

[Motion86]

説明

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

86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

コメントする

上部へスクロール