drill and tool table questions

More
25 Jun 2012 12:55 #21293 by destructr
Hi. I changed to the new linuxcnc2.5 from EMC2 just this weekend. I never had an issue with the old EMC setup.
My problem is this:
I use pcb-gcode to get my etch and drill g-code. I have setup the tool table in that ULP to match my drill bits. The output is acceptable.
I have formatted the tool table in linuxcnc to look exactly like my tool table in my ULP (which spits out the g-code i need)
problem is that when axis prompts me to change to tool 1(or any tool), tool 1 (or any tool) in axis is not tool 1 from the gcode. Is there some way I am not configuring it correctly?
I have seen where someone maybe cleared out the axis tool.tbl and just used the gcode. Is the output gcode from pcb-gcode ULP accepted by axis or am i thinking about this all wrong?
I would just like to be able to have axis tell me change to tool 1, then change to tool 4, then change to tool 8 (or whatever tools is required).
Any suggestions?
Can I provide any more info to make my explanation more clear?

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

More
25 Jun 2012 13:47 #21296 by BigJohnT
What is the G code line that loads your tool?

John

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

More
25 Jun 2012 14:10 #21299 by destructr
Here is an example of the g-code output from pcb-gcode:
(This file generated 2/8/09 5:08 PM)
( Tool|       Size       |  Min Sub |  Max Sub |   Count )
( T01  0.600mm 0.0236in 0.0000in 0.0000in )
( T02  0.813mm 0.0320in 0.0000in 0.0000in )
( T03  1.118mm 0.0440in 0.0000in 0.0000in )
( T04  1.194mm 0.0470in 0.0000in 0.0000in )
( T05  2.800mm 0.1102in 0.0000in 0.0000in )
G20
(Absolute Coordinates)
G90
M05
G00 Z0.0000 
G00 X0.0000 Y0.0000 
M06 T01  ; 0.0236 
G00 Z0.1000 
M03
G04 P3.000000
G00 X-1.6400 Y1.2700 
G01 Z-0.0320 F10.00 
snip to next tool:
M05
G00 Z0.0000 
G00 X0.0000 Y0.0000 
M06 T02  ; 0.0320 
G00 Z0.1000 
M03
G04 P3.000000
G00 X-0.5600 Y0.9100 
G01 Z-0.0320 F10.00 
G00 Z0.1000 
and so on with the different size tools

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

More
25 Jun 2012 14:12 #21300 by BigJohnT
Your not loading the tool offset with G43. My typical tool load line is:

T1 M6 G43

linuxcnc.org/docs/html/gcode/gcode.html#...a_id_sec_g43_g43_1_a

John

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

More
25 Jun 2012 17:06 #21310 by destructr
I see. Well I suppose the resolution I am looking for may be found with the pcb-gcode, ULP devs. If I understand correctly, I either need to manually change the g-code that the ULP creates for me or somehow change the source in the ULP so that it generates the correct code flow? Either way, once that happens will Axis use the generated drill file if it's formatted correctly (by deleting the Axis tool.tbl)? Or will I have to have Axis tool table to match my ULP tool table?
I apologize if none of this belongs here and I should be somewhere else asking these questions. When I first started I swear everything was plug and play and now that I upgraded I am having to set things that I either never had to or forgot how to :-(.
Thanks for your help!

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

More
25 Jun 2012 19:20 #21317 by BigJohnT
Yes, you need to adjust your post processor to output the proper G code.

You will need to make your tool table match unless you adjust your post processor load the offsets and tool diameters in the tool table with G code. See G10 in the manual.

John

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

Time to create page: 0.188 seconds
Powered by Kunena Forum