Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
motion-control [2018/01/25 13:37]
wolfmanjm [Motion control]
motion-control [2020/07/12 11:43] (current)
arthur [Adjusting Z once printing starts (sometimes called babysteps)]
Line 6: Line 6:
  
 This page explains how to configure the different motion control parameters you can tune in Smoothie. This page explains how to configure the different motion control parameters you can tune in Smoothie.
 +
 +~~CLEARFIX~~
  
 <callout type="​primary"​ icon="​true"​ title="​ NOTICE">​ <callout type="​primary"​ icon="​true"​ title="​ NOTICE">​
Line 132: Line 134:
 This is because of physics and inertia. This is because of physics and inertia.
 </​callout>​ </​callout>​
 +
 +== Adjusting Z once printing starts (sometimes called babysteps)
 +You can adjust the Z while it is printing by using the WCS offsets.
 +For instance to raise the head 0.1mm..
 +1. G10 P0 L2 Z0.1 # this will set the Z WCS to 0.1mm higher, however it will NOT move the head immediately as it only takes effect on the next G1 that has a Z in it
 +2. G0 Znnn # this will move the Z after the last received g code to nnn, you will need to make sure that nnn is the actual z height you want right now (usually the Z it is currently at, as 0.1mm will be added to that due to step 1)
 +
 +A better and easier way is in the very latest edge build.
 +''​G43.2 Z0.1''​ will raise the Z by 0.1mm by setting the Z tool offset and also queing a move by 0.1mm, this is not instant but will happen when the previous g codes have executed. It can be cancelled with G49. **NOTE** as this uses tool offsets a multi extruder setup executing a T0 or T1 will reset the offset to the default for that tool.
 +
 +If you want to do baby steps from the panel menus, you can easily do this using the custom_menu ( see http://​smoothieware.org/​panel#​all-configuration-options ) feature of panels: ​
 +
 +<​code>​
 +custom_menu.babystepup.enable ​              ​true ​             #
 +custom_menu.babystepup.name ​                Baby step up      #
 +custom_menu.babystepup.command ​             G43.2 Z0.05       #
 +
 +custom_menu.babystepdown.enable ​            ​true ​             #
 +custom_menu.babystepdown.name ​              Baby step down    #
 +custom_menu.babystepdown.command ​           G43.2 Z-0.05 ​     #
 +</​code>​
 +
  
 == All options == All options
Line 144: Line 168:
 <callout type="​primary"​ icon="​true"​ title="​ Under the hood">​ <callout type="​primary"​ icon="​true"​ title="​ Under the hood">​
  
-Smoothie'​s main job is to convert Gcode into movement. Motion control modules ( in the source code [[https://​github.com/​arthurwolf/​Smoothie/​tree/​edge/​src/​modules/​robot|src/​modules/​robot]] ) are the various steps in that process. ​ For more on that process, see [[Howitworks]],​ for general use and configuration documentation on Smoothie'​s motion control, see bellow ​: +Smoothie'​s main job is to convert Gcode into movement. Motion control modules ( in the source code [[https://​github.com/​arthurwolf/​Smoothie/​tree/​edge/​src/​modules/​robot|src/​modules/​robot]] ) are the various steps in that process. ​ For more on that process, see [[Howitworks]],​ for general use and configuration documentation on Smoothie'​s motion control, see below :
 </​callout>​ </​callout>​