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
zprobe [2019/04/15 23:10]
wolfmanjm [Configuration]
zprobe [2020/02/18 13:03] (current)
wolfmanjm [Usage]
Line 572: Line 572:
 **NOTE** there is **NO** extrapolation in this version, However the very latest firmware will not jump when outside the probed area, it will just use the nearest edge heights instead. **NOTE** there is **NO** extrapolation in this version, However the very latest firmware will not jump when outside the probed area, it will just use the nearest edge heights instead.
  
-**NOTE** you **MUST** set Z0 correctly (or close) before issuing the G32 probe as it will move to the specified ''​initial_height''​ before it starts to probe so it needs to know where Z0 is approximately.+**NOTE** you **MUST** set Z0 correctly (or close) before issuing the G32 probe as it may move to the specified ''​initial_height'' ​(if set) before it starts to probe so it needs to know where Z0 is approximately.
  
 === Configuration === Configuration
Line 644: Line 644:
  1. Set the homing offset to allow for the probe offset and/or reduce the grids x/y size to accommodate the probe offsets.  1. Set the homing offset to allow for the probe offset and/or reduce the grids x/y size to accommodate the probe offsets.
  2. You could invert one or multiple axis so (0,0) is in an accessible position.  2. You could invert one or multiple axis so (0,0) is in an accessible position.
- 3. You can set <kbd>​only_by_two_corners</​kbdto true and specify the offset in Gcode using the <​kbd>​M31</​kbd>​ command.\\ See more on that in the PCB milling section: [[http://​smoothieware.org/​pcb-milling|PCB Milling]]+ 3. You can set  
 +<code>leveling-strategy.rectangular-grid.only_by_two_corners ​       true</code 
 +and specify the offset in Gcode using the <​kbd>​M31</​kbd>​ command.\\ See more on that in the PCB milling section: [[http://​smoothieware.org/​pcb-milling|PCB Milling]]
  
 </​callout>​ </​callout>​
Line 663: Line 665:
 </​callout>​ </​callout>​
  
-An initial_height ​must be set that tells the probe where to start the first probe from, this should be around 5-10mm above the bed, it will move to the absolute Z position specified here.+An initial_height ​**may** ​be set that tells the probe where to start the first probe from, this should be around 5-10mm ​above the probe height ​above the bed, it will move to the absolute Z position specified here before it starts the first probe. Fir instance this is useful for bltouch probes that are deployed automatically as it will lift the probe off the bed before moving to the first probe position.
        
 <​code>​ <​code>​
Line 679: Line 681:
 Both of these settings are needed to be defined in your configuration file for dampening compensation feature to work. If any of them is missing, the compensation will be applied through all heights (the old and default behavior). Both of these settings are needed to be defined in your configuration file for dampening compensation feature to work. If any of them is missing, the compensation will be applied through all heights (the old and default behavior).
 Be careful using these settings, as they may appear to totally disable any compensation. It is advised to not set these until the leveling has been tested and verified to work. Be careful using these settings, as they may appear to totally disable any compensation. It is advised to not set these until the leveling has been tested and verified to work.
 +**NOTE** the height_limit and dampening_start are in Machine coordinates,​ so if you have set Z with G92 or equivalent it may not stop at the height you think it will.
  
 </​callout>​ </​callout>​
  
-By setting the configuration ​like this example ​above, ​you make your compensation ​to be applied ​for full for first 0.5 millimeters, ​start to decrease slowly until height ​is 1 millimeters, and not applied from 1 mm and onward.+By setting the configuration ​as above, ​the compensation ​will be applied ​until MCS is 0.5 millimeters, ​then it starts ​to decrease slowly until MCS is at millimeter, and not applied from 1 mm and onward.
  
 <callout type="​success"​ icon="​true"​ title="​Limits">​ <callout type="​success"​ icon="​true"​ title="​Limits">​
Line 725: Line 728:
 === Usage === Usage
  
-|| <​kbd>​G29</​kbd>​ || test probes in a grid pattern within the size specified producing a map of offsets, this can be imported into a graphing program to visualize the bed. optional ​parameters <kbd>In</​kbd>​ sets the number of points to the value n, <kbd>Xn</​kbd>​ sets the x size for this probeand  <kbd>Yn</​kbd>​ sets the size for this probe.||+|| <​kbd>​G29</​kbd>​ || test probes in a grid pattern within the size specified ​starting at the current head position, ​producing a map of offsets, this can be imported into a graphing program to visualize the bed. Required ​parameters <kbd>Xn</​kbd>​ sets the width for this probeand  ​<kbd>Yn</​kbd>​ sets the length ​for this probe. optional parameters <​kbd>​In</​kbd> ​and <kbd>Jn</​kbd>​ sets the grid size (default is set in config).||
 || <​kbd>​G32</​kbd>​ || probes the grid and turns the compensation on, this will remain in effect until reset or <​kbd>​M561/​M370</​kbd>​ optional parameters <​kbd>​Jn</​kbd>​ sets the radius for this probe.|| || <​kbd>​G32</​kbd>​ || probes the grid and turns the compensation on, this will remain in effect until reset or <​kbd>​M561/​M370</​kbd>​ optional parameters <​kbd>​Jn</​kbd>​ sets the radius for this probe.||
 || <​kbd>​M370</​kbd>​ || clears the grid and turns off compensation (**NOTE** you must home after this) || || <​kbd>​M370</​kbd>​ || clears the grid and turns off compensation (**NOTE** you must home after this) ||
Line 877: Line 880:
  
 <callout type="​warning"​ icon="​true"​ title="​If you have a 5XC">​ <callout type="​warning"​ icon="​true"​ title="​If you have a 5XC">​
-Note that on a Smoothieboard 5XC, the pin 1.23 is used by the third big mosfet, so you can not use it for a bltouch, you need to use another pin. That other pin must also be PWM-capable,​ see [[pinout]] to find another pin that will work.+Note that on a Smoothieboard 5XC, the pin 1.23 is used by the third big mosfet, so you can not use it for a bltouch, you need to use another pin. That other pin must also be PWM-capable,​ see [[pinout]] to find another pin that will work. You can also use SWPWM and any spare pin.
 </​callout>​ </​callout>​
  
Line 896: Line 899:
 If you want to be able to deploy and retract your probe using a small servo motor, see the [[/​switch|Switch]] module documentation. If you want to be able to deploy and retract your probe using a small servo motor, see the [[/​switch|Switch]] module documentation.
  
 +== Baby steps
  
 +This isn't strictly probe related, but probe users are likely to be looking for this. If you need to do small live adjustment to your Z height, take a look at [[http://​smoothieware.org/​motion-control#​adjusting-z-once-printing-starts-sometimes-called-babysteps|This page]]