Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
zprobe [2020/07/12 11:42] arthur [Baby steps] |
zprobe [2021/02/22 18:02] (current) |
<div class='panel panel-default wrap_center' style='width:640px;padding:10px '> | <div class='panel panel-default wrap_center' style='width:640px;padding:10px '> |
<div class='panel-heading'><h4 class='panel-title'>A servo-controlled retractable probe</h4></div> | <div class='panel-heading'><h4 class='panel-title'>A servo-controlled retractable probe</h4></div> |
<image src='https://lh5.ggpht.com/ZRHoohRN9Q4ZsIV-apYxqMg8CH-Imum2uEhoehLqtA2PuzoeIov4MzS3NVafLcOIPGO9vkMsv3tet98HR1YVlkwYqQ' width='620px'><br/> | <image src='/_media///external/https.lh5.ggpht.com.zrhoohrn9q4zsiv.apyxqmg8ch.imum2uehoehlqta2puzoeiov4mzs3nvaflcoipgo9vkmsv3tet98hr1yvlkwyqq' width='620px'><br/> |
Making the probe retractable allows the probe not to be in the way of the plastic when it is not used. | Making the probe retractable allows the probe not to be in the way of the plastic when it is not used. |
</div> | </div> |
<kbd>G30 Fxxx</kbd> will run the probe at xxx mm/min overriding the slow_feedrate. | <kbd>G30 Fxxx</kbd> will run the probe at xxx mm/min overriding the slow_feedrate. |
| |
<kbd>G38.2</kbd> and <kbd>G38.3</kbd> ( for probing in X and Y ) are also implemented as documented [[http://linuxcnc.org/docs/2.6/html/gcode/gcode.html#sec:G38-probe|here]] **NOTE** probing in X or Y on a delta is not recommended due to non linear movement issues. | <kbd>G38.2</kbd>, <kbd>G38.3</kbd>, <kbd>G38.4</kbd>, <kbd>G38.5</kbd> ( for probing in X and Y ) are also implemented as documented [[http://linuxcnc.org/docs/2.6/html/gcode/gcode.html#sec:G38-probe|here]] **NOTE** probing in X or Y on a delta is not recommended due to non linear movement issues. |
| |
If there are multiple levelling strategies selected the <kbd>Pn</kbd> parameter will select which one to send leveling codes to, 0 being the first defined one, 1 the second and so on. eg <kbd>G29 P1</kbd> will send G29 to the second defined levelling strategy. | If there are multiple levelling strategies selected the <kbd>Pn</kbd> parameter will select which one to send leveling codes to, 0 being the first defined one, 1 the second and so on. eg <kbd>G29 P1</kbd> will send G29 to the second defined levelling strategy. |
There are several M670 parameters that can set different settings for zprobe overriding the config settings, these are all saved with M500 | There are several M670 parameters that can set different settings for zprobe overriding the config settings, these are all saved with M500 |
| |
|| <kbd>M670 S0.50 K2.00 R2.5</kbd> || Set Probe feedrates slow/fast/return (mm/sec) || | | <kbd>M670 S0.50 K2.00 R2.5</kbd> | Set Probe feedrates slow/fast/return (mm/sec) | |
|| <kbd>M670 Z200.00</kbd> || Set Probe max_z (mm) || | | <kbd>M670 Z200.00</kbd> | Set Probe max_z (mm) | |
|| <kbd>M670 H2.00</kbd> || Set Probe height (mm) || | | <kbd>M670 H2.00</kbd> | Set Probe height (mm) | |
|| <kbd>M670 I1</kbd> || Temporarily invert the sense of the probe pin (Not saved with M500) || | | <kbd>M670 I1</kbd> | Temporarily invert the sense of the probe pin (Not saved with M500) | |
| |
<callout type="primary" icon="true" title=" Leveling strategies"> | <callout type="primary" icon="true" title=" Leveling strategies"> |
These are the different ways to use the calibration routine : | These are the different ways to use the calibration routine : |
| |
|| <kbd>G29</kbd> || will probe the seven points on your bed, you can use this to see how well the bed is leveled. || | | <kbd>G29</kbd> | will probe the seven points on your bed, you can use this to see how well the bed is leveled. | |
|| <kbd>G29.1</kbd> || will probe the seven points on your bed,and output the data that can be fed into some offline least errors scripts to adjust tower offsets || | | <kbd>G29.1</kbd> | will probe the seven points on your bed,and output the data that can be fed into some offline least errors scripts to adjust tower offsets | |
|| <kbd>G32</kbd> || Does the full calibration sequence, endstop and delta radius || | | <kbd>G32</kbd> | Does the full calibration sequence, endstop and delta radius | |
|| <kbd>G32 R0</kbd> || Will only do delta radius calibration || | | <kbd>G32 R0</kbd> | Will only do delta radius calibration | |
|| <kbd>G32 E0</kbd> || Will only do endstop calibration || | | <kbd>G32 E0</kbd> | Will only do endstop calibration | |
|| <kbd>G32 I0.02</kbd> || Will set the target to within 0.02mm || | | <kbd>G32 I0.02</kbd> | Will set the target to within 0.02mm | |
|| <kbd>G32 K0</kbd> || Will keep the current endstop trim settings and check them, without K the trims are cleared to zero and a full calibration is performed || | | <kbd>G32 K0</kbd> | Will keep the current endstop trim settings and check them, without K the trims are cleared to zero and a full calibration is performed | |
|| <kbd>G32 J110.0</kbd> || will set the probe radius to 110.0 mm for this session || | | <kbd>G32 J110.0</kbd> | will set the probe radius to 110.0 mm for this session | |
|| <kbd>M500</kbd> || saves the probe points || | | <kbd>M500</kbd> | saves the probe points | |
|| <kbd>M503</kbd> || displays the current settings || | | <kbd>M503</kbd> | displays the current settings | |
| |
Example use : | Example use : |
<div class='panel panel-default wrap_right' style='width:320px;padding:10px '> | <div class='panel panel-default wrap_right' style='width:320px;padding:10px '> |
<div class='panel-heading'><h4 class='panel-title'>A probing height map</h4></div> | <div class='panel-heading'><h4 class='panel-title'>A probing height map</h4></div> |
<image src='http://boim.com/DeltaUtil/flatBed.png' width='300px'><br/> | <image src='/_media///external/http.boim.com.deltautil.flatbed.png' width='300px'><br/> |
Nothing is perfect | Nothing is perfect |
</div> | </div> |
=== Usage | === Usage |
| |
|| <kbd>G29</kbd> || test probes in a grid pattern within the radius producing a map of offsets, this can be imported into a graphing program to visualize the bed (NOTE if delta calibration is also enabled then this is executed with <kbd>G29 P1</kbd>). optional parameters <kbd>In</kbd> sets the number of points to the value n, <kbd>Jn</kbd> sets the radius for this probe.|| | | <kbd>G29</kbd> | test probes in a grid pattern within the radius producing a map of offsets, this can be imported into a graphing program to visualize the bed (NOTE if delta calibration is also enabled then this is executed with <kbd>G29 P1</kbd>). optional parameters <kbd>In</kbd> sets the number of points to the value n, <kbd>Jn</kbd> sets the radius for this probe.| |
|| <kbd>G29.1</kbd> || test probes in a spiral pattern within the radius producing a map of offsets, this can be imported into a graphing program to visualize the bed heights (NOTE if delta calibration is also enabled then this is executed with <kbd>G29 P1</kbd>). optional parameters <kbd>In</kbd> sets the number of points to the value n, <kbd>Jn</kbd> sets the radius for this probe.|| | | <kbd>G29.1</kbd> | test probes in a spiral pattern within the radius producing a map of offsets, this can be imported into a graphing program to visualize the bed heights (NOTE if delta calibration is also enabled then this is executed with <kbd>G29 P1</kbd>). optional parameters <kbd>In</kbd> sets the number of points to the value n, <kbd>Jn</kbd> sets the radius for this probe.| |
|| <kbd>G31</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>G31</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) | |
|| <kbd>M374</kbd> || Save grid to /sd/delta.grid || | | <kbd>M374</kbd> | Save grid to /sd/delta.grid | |
|| <kbd>M374.1</kbd> || delete /sd/delta.grid || | | <kbd>M374.1</kbd> | delete /sd/delta.grid | |
|| <kbd>M375</kbd> || Load the grid from /sd/delta.grid and enable compensation (**NOTE** you must home after this) || | | <kbd>M375</kbd> | Load the grid from /sd/delta.grid and enable compensation (**NOTE** you must home after this) | |
|| <kbd>M375.1</kbd> || display the current grid || | | <kbd>M375.1</kbd> | display the current grid | |
|| <kbd>M561</kbd> || clears the grid and turns off compensation (**NOTE** you must home after this) || | | <kbd>M561</kbd> | clears the grid and turns off compensation (**NOTE** you must home after this) | |
|| <kbd>M565</kbd> || defines the probe offsets from the nozzle or tool head || | | <kbd>M565</kbd> | defines the probe offsets from the nozzle or tool head | |
|| <kbd>M500</kbd> || saves the probe points || | | <kbd>M500</kbd> | saves the probe points | |
|| <kbd>M503</kbd> || displays the current settings || | | <kbd>M503</kbd> | displays the current settings | |
| |
Example use : | Example use : |
<div class='panel panel-default wrap_right' style='width:320px;padding:10px '> | <div class='panel panel-default wrap_right' style='width:320px;padding:10px '> |
<div class='panel-heading'><h4 class='panel-title'>Three-point levelling</h4></div> | <div class='panel-heading'><h4 class='panel-title'>Three-point levelling</h4></div> |
<image src='http://smoothieware.org/_media/zprobe/3-point.svg' width='300px'><br/> | <image src='/_media//zprobe/3-point.svg.png' width='300px'><br/> |
If your plate is perfectly flat, but not perfectly level, this is all you need | If your plate is perfectly flat, but not perfectly level, this is all you need |
</div> | </div> |
If you need to set the bed height after probing you must set the height at the first probe point, and save it with homing offsets. (M206 or M306) | If you need to set the bed height after probing you must set the height at the first probe point, and save it with homing offsets. (M206 or M306) |
| |
|| <kbd>G29</kbd> || probes the three probe points and reports the Z at each point, if a plane is active it will be used to level the probe. || | | <kbd>G29</kbd> | probes the three probe points and reports the Z at each point, if a plane is active it will be used to level the probe. | |
|| <kbd>G32</kbd> || Probes the three probe points and defines the bed plane, this will remain in effect until reset or <kbd>M561</kbd> || | | <kbd>G32</kbd> | Probes the three probe points and defines the bed plane, this will remain in effect until reset or <kbd>M561</kbd> | |
|| <kbd>G31</kbd> || Reports the status || | | <kbd>G31</kbd> | Reports the status | |
|| <kbd>M557</kbd> || Defines the probe points || | | <kbd>M557</kbd> | Defines the probe points | |
|| <kbd>M561</kbd> || Clears the plane and the bed leveling is disabled until <kbd>G32</kbd> is run again (**NOTE** you must home after this) || | | <kbd>M561</kbd> | Clears the plane and the bed leveling is disabled until <kbd>G32</kbd> is run again (**NOTE** you must home after this) | |
|| <kbd>M565</kbd> || Defines the probe offsets from the nozzle or tool head || | | <kbd>M565</kbd> | Defines the probe offsets from the nozzle or tool head | |
|| <kbd>M500</kbd> || Saves the probe points and the probe offsets || | | <kbd>M500</kbd> | Saves the probe points and the probe offsets | |
|| <kbd>M503</kbd> || Displays the current settings || | | <kbd>M503</kbd> | Displays the current settings | |
| |
Example use : | Example use : |
<div class='panel panel-default wrap_right' style='width:320px;padding:10px '> | <div class='panel panel-default wrap_right' style='width:320px;padding:10px '> |
<div class='panel-heading'><h4 class='panel-title'>A probing height map</h4></div> | <div class='panel-heading'><h4 class='panel-title'>A probing height map</h4></div> |
<image src='https://camo.githubusercontent.com/1440c52d77c0cafcea7e797603740d740ddc66e4/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333832363632342f313839373036382f31616337646364652d376263612d313165332d396234352d3962616565323238383139382e706e67' width='300px'><br/> | <image src='/_media///external/https.camo.githubusercontent.com.1440c52d77c0cafcea7e797603740d740ddc66e4.68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333832363632342f313839373036382f31616337646364652d376263612d313165332d396234352d3962616565323238383139382e706e67' width='300px'><br/> |
Nothing is perfect | Nothing is perfect |
</div> | </div> |
=== Usage | === Usage |
| |
|| <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 probe, and <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>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 probe, and <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) | |
|| <kbd>M374</kbd> || Save grid to /sd/cartesian.grid || | | <kbd>M374</kbd> | Save grid to /sd/cartesian.grid | |
|| <kbd>M374.1</kbd> || delete /sd/cartesian.grid || | | <kbd>M374.1</kbd> | delete /sd/cartesian.grid | |
|| <kbd>M375</kbd> || Load the grid from /sd/cartesian.grid and enable compensation (**NOTE** you must home after this) || | | <kbd>M375</kbd> | Load the grid from /sd/cartesian.grid and enable compensation (**NOTE** you must home after this) | |
|| <kbd>M375.1</kbd> || display the current grid || | | <kbd>M375.1</kbd> | display the current grid | |
|| <kbd>M561</kbd> || clears the grid and turns off compensation (**NOTE** you must home after this) || | | <kbd>M561</kbd> | clears the grid and turns off compensation (**NOTE** you must home after this) | |
|| <kbd>M565</kbd> || defines the probe offsets from the nozzle or tool head || | | <kbd>M565</kbd> | defines the probe offsets from the nozzle or tool head | |
|| <kbd>M500</kbd> || saves the probe points || | | <kbd>M500</kbd> | saves the probe points | |
|| <kbd>M503</kbd> || displays the current settings || | | <kbd>M503</kbd> | displays the current settings | |
| |
Example use : | Example use : |
<div class='panel panel-default wrap_center' style='width:640px;padding:10px '> | <div class='panel panel-default wrap_center' style='width:640px;padding:10px '> |
<div class='panel-heading'><h4 class='panel-title'>BLTouch probe</h4></div> | <div class='panel-heading'><h4 class='panel-title'>BLTouch probe</h4></div> |
<image src='https://static.wixstatic.com/media/f5a1c8_980f9779a53d4e379ebb8a3c68b4c451~mv2.jpg' width='600px'><br/> | <image src='/_media///external/https.static.wixstatic.com.media.f5a1c8.980f9779a53d4e379ebb8a3c68b4c451.mv2.jpg' width='600px'><br/> |
How to wire a bltouch probe, <b> old versions ( presumably before 3.1, bltouch isn't great at giving us accurate documentation ) </b>. For most accurate/up to date information, please check out the <a href="https://www.antclabs.com/bltouch"> official documentation page at Antclabs </a>. | How to wire a bltouch probe, <b> old versions ( presumably before 3.1, bltouch isn't great at giving us accurate documentation ) </b>. For most accurate/up to date information, please check out the <a href="https://www.antclabs.com/bltouch"> official documentation page at Antclabs </a>. |
</div> | </div> |
------ | ------ |
| |
||~ Command ||~ BLTouch status || | ^ Command ^ BLTouch status | |
|| <kbd>M280 S3.0</kbd> || Push-pin down || | | <kbd>M280 S3.0</kbd> | Push-pin down | |
|| <kbd>M280 S7.0</kbd> || Push-pin up || | | <kbd>M280 S7.0</kbd> | Push-pin up | |
|| <kbd>M280 S10.6</kbd> || Alarm release || | | <kbd>M280 S10.6</kbd> | Alarm release | |
|| <kbd>M280 S8.4</kbd> || Self-test || | | <kbd>M280 S8.4</kbd> | Self-test | |
|| <kbd>M280 S5.5</kbd> || ZMin test mode (for <kbd>M119</kbd>) || | | <kbd>M280 S5.5</kbd> | ZMin test mode (for <kbd>M119</kbd>) | |
| |
Custom command codes examples for BLT probing | Custom command codes examples for BLT probing |