Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Jengland
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 6
    • Best 3
    • Controversial 0
    • Groups 0

    Topics created by Jengland

    • Jenglandundefined

      Tool length setter RRF CNC

      CNC
      • • • Jengland
      7
      1
      Votes
      7
      Posts
      753
      Views

      chernogorskyundefined

      @Jengland I do have it
      I use the following method:

      I set the machine zero with setter and spindle without the tool / collet / nut I install the tool I test the tool and set tool height

      If I change the tool, I just redo p2 and p3

      It does require additional step on the machine enable (p1), but It happend that my setter is +- 0.01, and Z endstop about +- 0.1-0.3

      My script

      M208 Z8 S1 G53 G90 G0 X321.0 Y0.0 if !exists(global.MGlobalsLoaded) M98 P"/macros/Measuring/globals.g" ;M558 P1 C"io7.in" H23.258 F{global.MSpeedFast,global.MSpeedLow} M558 F{global.MSpeedFast} K1 M300 S300 P1000 if state.currentTool = -1 M291 S0 T5 P"Probing the spindle zero height" else if global.HSpindle <= -9999 abort S"Please set the spindle zero first" M291 S0 T5 P"Probing the tool " ^ state.currentTool ^" offset" M558 F{global.MSpeedFast} K1 G30 S-1 K1 G53 G1 Z{move.axes[2].machinePosition+2} H4 M558 F{global.MSpeedLow} K1 G30 S-1 K1 if state.currentTool = -1 G92 Z{sensors.probes[1].diveHeight} set global.HSpindle = sensors.probes[1].diveHeight set global.MResultZ = sensors.probes[1].diveHeight M208 Z30 S1 else M400 echo "Probe triggered at Z:" ^ move.axes[2].machinePosition ^" Sensor height: " ^ sensors.probes[1].diveHeight var ToolLen = move.axes[2].machinePosition - sensors.probes[1].diveHeight set global.MResultZ = - var.ToolLen M98 P"/sys/tool_set.g" T{state.currentTool} O{global.MResultZ} ; Set soft limit to 0 plane M208 Z{var.ToolLen} S1 M558 F{global.MSpeedFast} K1 G53 G1 Z{move.axes[2].max - 10} H4
    • Jenglandundefined

      auto calibrating X Y steps per mm

      CNC
      • • • Jengland
      4
      1
      Votes
      4
      Posts
      251
      Views

      HebigTundefined

      @jengland My guess is you'll need some kind of unchanging reference of a known length. For instance, two switches 'exactly' 500mm apart, and initally measured by some other means. You can then drive the carriage (or tool or, other part of the machine) into one switch, pull the current position from the object model and store it as a variable, do the same for the other switch and then compare the difference in position to your reference. If it differs by some amount, update the Steps/mm for that axis automatically.

      Microswitches are cheap but might not be suitable because of their repeatability error. Maybe you'd want to create a switch using two conductive points, like some cncs use for tool offsets:

      https://shop.carbide3d.com/collections/accessories/products/bitzero-v2?variant=32936948236349

    • Jenglandundefined

      Error no tool selected RepRap CNC

      CNC
      • • • Jengland
      4
      0
      Votes
      4
      Posts
      217
      Views

      Jenglandundefined

      @markz thanks that solved it