Machine.config_PulseMode()

[Motion86]

説明

Set the control mode of the Servo Module.

Syntax

machine.config_PulseMode(axis, mode);

Parameter

  • machine: Machine object.
  • axis: To set the axis of the control mode, you can set AXIS_X, AXIS_Y, or AXIS_Z.
  • mode: The control mode set for the machine in the specified axis. There are several types:
    • PULSE/DIR
    • CW/CCW
    • PULSE A/B

Returns

  • true: Setting successful.
  • false: A setting error means that the machine does not exist or was set up after the machine was started.

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

See also


Libraries Reference Home

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

コメントする

上部へスクロール