RatOS 2.0 and higher has support for Stowable Probes. Preset includes exists for euclid, klicky and unclicky at the time of writing. To use one of the presets, you need to uncomment it in your printer.cfg. If you use a stowable probe that doesn't have a preset, you can use any one of the presets as a template, just copy the contents into the USER OVERRIDES
section in your printer.cfg and modify to fit your probe.
Wiring
Stowable probes are wired the same as regular z probes (5v/inductive) in RatOS. Just follow the RatOS wiring for your board (most importantly the signal pin, which is black on the RatOS diagram, should use the same pin).
Dock position
You may need to change and/or finetune your dock position for reliable pickup and stowing. The procedure is made out of the following 4 points:
Dock preflight
Dock side
Dock
Dock exit
When the probe is deployed the toolhead will travel to the points in the following order: 1, 2, 3, 4, 1 - preflight, side, dock, exit, preflight. When stowed it's reversed, so it goes 1, 4, 3, 2, 1 - preflight, dock exit, dock, preflight.
eyJ2ZXJzaW9uIjoiMSIsImVuY29kaW5nIjoiYnN0cmluZyIsImNvbXByZXNzZWQiOnRydWUsImVuY29kZWQiOiJ4nO1daXPiRlx1MDAxM/6eX+HafFxyykzPnW9cdTAwMDbf62tcdTAwMTffb6VcXFx1MDAxY1x1MDAwMmRjwIBtcCr//e2RbSShg8OY9W4gVSmvXHUwMDA0YjTqfp5+enqaf35bW/vSXHUwMDFmdtwvf619cVx1MDAwN5VS06t2S09f/rDHXHUwMDFm3W7Pa7fwXHUwMDE0+P/utVx1MDAxZrpcdTAwMTX/nY1+v9P7688/g084lfbdy6fcpnvntvo9fN//8N9ra//4/8czXtV+9nLrUlx1MDAxZZ17UO88kYfH85rOndJcdTAwMDf/o/6b3lx1MDAwNtN1K/1Sq950g1NcdTAwMDM8zoh0mFBCUCpcdTAwMThVWonR6aF/2uBpo41cdTAwMTCMUc7U6OyTV+038Fx1MDAxZIJcdTAwMDfHXHUwMDFhrldv9O1BSkZcdTAwMDdfvvSvteBIr99t37qFdrPdtSP7nfivYFxc5VLltt5tP7Sqo/f0u6VWr1Pq4kRcdTAwMDTvq3nNZrE/bL5MYanSeOiG7u7lW85fh0nHjo8+12vjhFx1MDAwN5/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lx1MDAxMFvM3IPI23vkg/yh/K5cdTAwMWZcdTAwMGJ3XHUwMDFifH9wNrjdmc7VgDsoXHUwMDE1qf2FQLuOXHUwMDE17XBcclI6mlx1MDAwMed+8Vx1MDAxYtPxxGSoOnalXHUwMDAypvE1gVx1MDAxOKx44s8zUaXTnE1zXHUwMDA1INVcXFx1MDAxOcaPVlx1MDAwMcV++8lS2c8mXHUwMDAy3sb94le/vYZcdTAwMTZfSp1cdTAwMGX6W99cdTAwMWRR85dHz33Kx83y95r/sp/3vdKapOvHoP/+9u//XHUwMDAx1441XHUwMDFhIn0=4. Probe Exit 3. Dock 2. Dock side 1. Preflight End Toolhead Start Deployment 4. Probe Exit 3. Dock 2. Dock side 1. Preflight End Toolhead Start Stowing
You can change the coordinates of each point by adding/modifying the following variables to the MACRO CONFIGURATION
section of your printer.cfg:
[gcode_macro RatOS] variable_stowable_probe_position_preflight : [ 30, 60 ] variable_stowable_probe_position_side : [ 30, 0 ] variable_stowable_probe_position_dock : [ 0, 0 ] variable_stowable_probe_position_exit : [ 0, 60 ]
The first number inside the []
is the X coordinate, the second is the Y coordinate. The coordinates are absolute positions.
You can see the defaults for your particular stowable probe in the included file (eg RatOS/z-probe/euclid.cfg).
A good way to fine tune is to manually move the toolhead to the desired position via the movement controls in mainsail and then use the X and Y coordinates displayed right above the controls.
Testing the coordinates
You can test if your confiugred coordinates work by running the DEPLOY_PROBE
and STOW_PROBE
macro's in the console.
Safety
RatOS checks the probe state to make sure the physical world matches the software's expectations, if this fails it will throw an error and abort the current macro (or trigger an emergency stop during homing). This is to avoid damaging the probe and/or the toolhead, and prevents you from probing if the probe is stowed.