Set the maximum speed for the machine to move.


machine.config_MaxVelocity(axis, max_feedrate_mps);


  • machine: Machine object.
  • axis: The axis you want to set the maximum speed for, either AXIS_X, AXIS_Y or AXIS_Z.
  • max_feedrate_mps: The maximum feedrate of the machine in the specified axis, in mm per second.


  • true: The setting is successful.
  • false: The setting is wrong, which means the machine does not exist or the setting is done after the machine is 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

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

Your email address will not be published. Required fields are marked *

Scroll to Top