Coder Social home page Coder Social logo

Comments (7)

nunorvoliveira avatar nunorvoliveira commented on August 22, 2024

I'm not sure if I'm understanding your point...

The way the post-processor works, is by creating a CNC file with all the instructions needed to perform a machining.

It's not possible to have the CNC file reading a tool measurement in the middle of the machining operation.
Also, it's not possible to read the signal or measurement of that tool probe.
This would only be possible if it was implemented by the machine itself as far as I understand.

One possibility is to create one CNC file for each tool and manually calibrate each tool with the tool probe you show. It is still a semi-manual operation as you have to manually move the tool. The only difference.is that instead of using the paper (or a feelers gauge as I do) you will me monitoring the led and then do some calculation to translate the Z coordinate to the needed value.

Anyway, if I'm not understanding something in the correct way, please just let me know.
This is a new world for me so I may be misinterpreting something...

from snapmaker-2.0.

Ksdmg avatar Ksdmg commented on August 22, 2024

So I'm new to this too, but maybe this could work:
Z_AXIS_OFFSET -8 results in the following command:
https://snapmaker.github.io/Documentation/gcode/M206 -> M206 Z-8

As the M206 command can receive multiple axis, maybe the command could be "AXIS_OFFSET" and we pass in "AXIS_OFFSET Z-8" so in case you want to offset another axis it would be possible, event though I have no idea why one would want to do that.

from snapmaker-2.0.

nunorvoliveira avatar nunorvoliveira commented on August 22, 2024

Yes, I understand the workflow.

But if we know the value "-8" in advance, we don't need a command for it. We just need to set the tool length in Fusion 360.
The problem is that this value is only known after changing to the new tool and calibrate it. And at this point there is nothing we can do as the CNC file can't read this value in real time. This would only work if the machine would implement such a measuring of the tool length and executed the M206 on its own..

We need to remember the CNC file is created on the computer, without the machine and tools... Then, when the CNC file is being executed we can't change it...

This is why I use something like this :
https://ae01.alicdn.com/kf/HTB1vcF9aBCw3KVjSZFlq6AJkFXaS/3-175-1-0MM-PCB-Corn-End-Mill-Wholesale-Mini-CNC-Router-Cutting-Bits-on-Circuit.jpg_Q90.jpg_.webp

This way, I measure the tool once, and then I can change it as much as I need and it's always spot on!

from snapmaker-2.0.

Ksdmg avatar Ksdmg commented on August 22, 2024

This only works if all tools are the same length. I have a rough cutter with 4x75mm , and a 1x50mm for finishing. I would use the Zoffset action when switching cutters with different lengths.

from snapmaker-2.0.

nunorvoliveira avatar nunorvoliveira commented on August 22, 2024

I'm going to be honest, I'm using fusion 360 personal edition that only let's me use one tool per CNC file. But it should compensate for too length when the tool changes.
Are you using the subscription version?
Or are you trying to have multiple CNC files for multiple tools and have this offset command handling the new origin automatically by offsetting it in Z?

from snapmaker-2.0.

Ksdmg avatar Ksdmg commented on August 22, 2024

the latter. Like this I set the origin one time and then it's simple to say after the first roughing operation, the next tool offset z-25.

from snapmaker-2.0.

nunorvoliveira avatar nunorvoliveira commented on August 22, 2024

Ok, now I understand 😊

This is something that seems to be possible to implement. Will have a try when I find the time.
However, it will rely on the measurement of the tool lengths in advance with the stop rings I've mentioned before as there is no way (that I know of) to interact with an external device for calibrating the tool length when running a CNC file.

Will let you know when I have something 👍

from snapmaker-2.0.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.