Machine.getPulseMode()

[Motion86]

Description

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

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