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 [2018/06/08 19:27]
arthur
zprobe [2018/10/14 16:19] (current)
88.186.78.124 [Tuning machine height] Minor
Line 47: Line 47:
 <callout type="​warning"​ icon="​true"​ title="​ Homing">​ <callout type="​warning"​ icon="​true"​ title="​ Homing">​
 A probe is **not** an endstop and therefore cannot be used to Home the Z axis. You need a Z endstop to use G28 to home the Z axis. Below are some instructions on how you can set the bed Z height using a probe (G30). A probe is **not** an endstop and therefore cannot be used to Home the Z axis. You need a Z endstop to use G28 to home the Z axis. Below are some instructions on how you can set the bed Z height using a probe (G30).
-**NOTE** that gamma_max in the endstop configuration **IS** used to set the maximum default travel for a probe command (G30) **ONLY IF** zprobe.max_z is not defined+**NOTE** that gamma_max in the endstop configuration **IS** used to set the maximum default travel for a probe command (G30) **ONLY IF** zprobe.max_z is not defined
 + 
 +A bit more : You have two choices :  
 + 
 +* Configure your probe as an endstop ( in the endstop module ), in which case you can use G28 to use it to seek the bed, but you can't use it in the zprobe module 
 +* Configure your probe as a probe ( in the probe module ), in which case you can't use it with G28 ( the endstop module ) to seek the bed, **but** you can use it with G30 to seek the bed, and you can use it with G31/G32 etc to level/​calibrate ( this is likely what you want to do ). 
 + 
 +The point is you configure your sensor as *either* a probe or an endstop, **not both**. You can still use it for both levelling/​calibration *and* bed seeking, it's just that if it's a probe ( and not an endstop ), you use a different Gcode ( G30 ) than if it were an endstop ( G28 ).
 </​callout>​ </​callout>​
  
Line 431: Line 438:
 This is different to other Firmware and is deliberate. ​ This is different to other Firmware and is deliberate. ​
 This allows people to use temporary Z probes and not have a permanent z probe or know the exact Z offset of the probe in relation to the nozzle. **In addition the z component of the .probe_offsets should always be zero.** This allows people to use temporary Z probes and not have a permanent z probe or know the exact Z offset of the probe in relation to the nozzle. **In addition the z component of the .probe_offsets should always be zero.**
 +</​callout>​
 +
 +<callout type="​success"​ icon="​true"​ title="​ Note">​
 +The three probe points **MUST** be the three corners of a triangle, they **MUST NOT** be on a straight line or the math and coordinate system will get corrupt and you will need to reset.
 </​callout>​ </​callout>​
  
Line 626: Line 637:
 Make sure your printer'​s mechanism will allow moves to these locations. ​ Make sure your printer'​s mechanism will allow moves to these locations. ​
 For example, if your probe is 60mm down from your nozzle in the Y direction (M565 X0 Y-60 Z0), and you bed is set to 200x200mm, the top row of probes will be done with the nozzle at Y=260 mm  For example, if your probe is 60mm down from your nozzle in the Y direction (M565 X0 Y-60 Z0), and you bed is set to 200x200mm, the top row of probes will be done with the nozzle at Y=260 mm 
 +
 +<callout type="​success"​ icon="​true"​ title="​ Grid Offset">​
 +
 +The first point of the grid is always at (0,0). If your printer can't reach this point with its probe due to the probe'​s offset you have two options:
 +
 + 1. You could invert one or multiple axis so (0,0) is in an accessible position.
 + 2. You can set <​kbd>​only_by_two_corners</​kbd>​ to 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]]
 +
 +</​callout>​
  
 If the saved grid is to be loaded on boot then this must be set in the config... If the saved grid is to be loaded on boot then this must be set in the config...
Line 739: Line 759:
  
 <callout type="​default"​ icon="​true"​ title="​Going further">​ <callout type="​default"​ icon="​true"​ title="​Going further">​
-If you want to learn more about this module, or are curious how it works, Smoothie is Open-Source and you can simply go look at the code, [[https://​github.com/​Smoothieware/​Smoothieware/​blob/​edge/​src/​modules/​tools/​zprobe|here]].+If you want to learn more about this module, or are curious ​about how it works, Smoothie is Open-Source and you can simply go look at the code, [[https://​github.com/​Smoothieware/​Smoothieware/​blob/​edge/​src/​modules/​tools/​zprobe|here]].
 </​callout>​ </​callout>​