qtdragon - new tool length after a manual tool change

More
4 years 10 months ago #229689 by cmorley
At least two people have got auto tool probe to work with qtdragon.
There is the Gmoccapy style (where you measure the work height) and another version where you probe the work height.

Incorporated is not the right word - capable is the right word. setting it up requires INI changes and NGC files.
The is currently no official docs that outline the process or supply the files (yet).
Ikkuk 's files above shows the Gmoccapy style.


The versa probe screen is included with qtdragon - it is based on versaprobe version 2
I have not heard of the ng fork so no i'm not sure. There is a probe to rotate coordinates in v2.

I would suggest a second hard drive to tryout linuxcnc 2.9 with qtdragon.
I'm sure with help here we can get you up and running.

Chris

Please Log in or Create an account to join the conversation.

More
4 years 10 months ago #229769 by Marcodi
Thanks

My thoughts exactly.

I ordered a 2nd drive , came in today. I will test from that, as this is a production machine, I can't really screw up my setup that works for the moment.

 

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago - 4 years 9 months ago #230863 by harry4516
I'm using this procedure:

first, the initialisation, which can be done with any tool, but usually with the first tool:
* pressing a button (connected to a GPIO)
* this starts an nc-file: wl-init.ngc. This moves the tool above the tool length sensor, then move down slowly until the sensor is touched.
* the touch-position is stored in global variable #2010 (which must be included in linuxcnc.var to make it global)
* then it prints a message on the screen: "manually move to the workpiece, touch the surface (Z0) and in G54 screen zero Z". The user must do this right now.
Now we got the difference between workpiece Z0 and the tool-length touch Z-position. This difference value is used for later calculation with other tools.

now, if M6 is in the g-code, a second ng-code is called: werkzeugwechsel.ngc
this is a very simple code which does:
* moves to a convenient position for manual tool change and opens a confirmation window
* the user changes the tool and confirms that on the screen
* This moves the tool above the tool length sensor, then move down slowly until the sensor is touched.
* this touch-Z-position is calculated against the #2010 and the result is stored in G43.1 (new offset)

I'm using this with qtdragon.
The files are attached. Sorry, the comments are in German, but you will understand the G codes.

Additional information:
to call the file werkzeugwechsel.ngc when M6 is detected, this has to be inluded in the ini file:
Section: [RS274NGC]
REMAP=M6 modalgroup=6 ngc=werkzeugwechsel

the initial file wl_init.ngc is called by pressing a button connected to a GPIO. This is done as usual by executing as MDI command
[HALUI]
MDI_COMMAND=o<wl_init> call
(the GPIO must be connected to halui.mdi-command-00 in the hal file)

 
Last edit: 4 years 9 months ago by harry4516.
The following user(s) said Thank You: modmaed, hottabich, Antman, zu4lu, Vector

Please Log in or Create an account to join the conversation.

More
4 years 9 months ago #231901 by zu4lu
Works great. One thing, If you have no tool in the spindle before using wl_init, it will measure it anyway. It would be better to ask for a tool like Werkzeugwechsel. I combine it with a softbutton from here: forum.linuxcnc.org/qtvcp/43393-qtdragon-...zero?start=20#230319
Thanks for this great little tools.

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #343476 by rhscdn
Is the info in this thread still relevant to QtDragon shipped with 2.9.7? I have a 3-axis cnc router with a manual change spindle and I'm looking to automate bit offset/height setting with a tool setter input on my 7i96s.

Please Log in or Create an account to join the conversation.

More
8 months 1 week ago #343480 by ikkuh
Most info will still work. The problem is that there is not really consensus about what automatic toolbit offset en height settings must do.
I had mine working for a while. I switched to 3d printing and will pick up later this spring.
The following user(s) said Thank You: rhscdn

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.068 seconds
Powered by Kunena Forum