Machine.getPulseMode()

[Motion86]

説明

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

構文

machine.getPulseMode(axis);

媒介変数

  • 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.

戻り値

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

参照


ライブラリリファレンスホーム

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

上部へスクロール