Machine.getPulseMode()

[Motion86]

説明

Obtain the Servo Module control mode for the machine in the specified axis.

Syntax

machine.getPulseMode(axis);

Parameters

  • machine: is the Machine object.
  • axis: is the motion axis that you want to get the Servo Module control mode, AXIS_X, AXIS_Y or AXIS_Z.

Returns

pulseMode_t: The control mode set for the machine in the specified axis. There are several types:

  1. PULSE/DIR
  2. CW/CCW
  3. PULSE A/B

See also


Libraries Reference Home

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

コメントする

上部へスクロール