config_PulseMode()

Description

Set the control mode of the Servo Module.

Syntax

machine.config_PulseMode(axis, mode);

Parameters

machine: Machine object.

axis: The axis to set the control mode for, which can be AXIS_X, AXIS_Y or AXIS_Z.

mode: Control mode set for the specified axis of the machine. There are the following types:

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

Return

true: Setting is successful.
false: Setting error, which means the machine does not exist or the setting is made after the machine is started.

Please make sure the machine exists and make sure that the machine settings must be made before starting the machine.

See also

config_MaxPulseSpeed()


Library Reference

The text of the 86Duino reference material is licensed under the Creative Commons Attribution-Share Alike 3.0 License. The code examples in the reference material have been released into the public domain.