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/03/06 16:13]
wolfmanjm [Configuration]
zprobe [2019/05/16 17:52] (current)
wolfmanjm [Configuration]
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 640: Line 640:
 <callout type="​success"​ icon="​true"​ title="​ Grid Offset">​ <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:+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 several ​options:
  
- 1. You could invert one or multiple axis so (0,0) is in an accessible position. + 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 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]]+ 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</​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>​ </​callout>​
Line 662: Line 663:
 </​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 678: Line 679:
 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 804: Line 806:
 Note that this wiring is also valid for a servo and a switch probe, as this is what the bltouch emulates. Note that this wiring is also valid for a servo and a switch probe, as this is what the bltouch emulates.
 When connecting the bltouch the yellow wire on the 3pin connector needs to be connected to a HWPWM pin on the smoothieboard,​ valid pins are 1.23, 2.4, 3.25 or 3.26 as seen on the wirediagram on antlabs webge: https://​www.antclabs.com/​wiring32 When connecting the bltouch the yellow wire on the 3pin connector needs to be connected to a HWPWM pin on the smoothieboard,​ valid pins are 1.23, 2.4, 3.25 or 3.26 as seen on the wirediagram on antlabs webge: https://​www.antclabs.com/​wiring32
 +
 +**UPDATE** on the latest Smoothie firmware you can now use software emulated PWM, which means you can use any pin for the control pin, just change the following config lines...
 +
 +<​code>​
 +# Switch module for Bltouch control using S/W PWM
 +# Note in the latest firmware with these settings you can just issue M280 to deploy and M281 to stow
 +switch.servo.enable ​                       true      # Activate this new module
 +switch.servo.input_on_command ​             M280      # Command to set PWM value
 +switch.servo.input_off_command ​            ​M281 ​     # Command to turn off switch
 +switch.servo.output_pin ​                   2.11      # This must can be ANY spare pin   
 +switch.servo.output_type ​                  ​swpwm ​    # Software emulated PWM
 +switch.servo.pwm_period_ms ​                ​20 ​       # 20ms period, or 50Hz
 +switch.servo.startup_state ​                ​false ​    # use startup_value as initial setting
 +switch.servo.startup_value ​                ​7.43 ​     # On boot it will go into stow mode
 +switch.servo.default_on_value ​             3.3       # value set if M280 is issued without the S parameter, also value set if startup_state is true
 +
 +</​code>​
 +
 +
 +
  
  
Line 875: Line 897:
 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]]