Hello Guest it is March 28, 2024, 08:19:56 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tjd10684

Pages: 1
1
General Mach Discussion / Another auto zero question
« on: August 05, 2013, 03:18:24 PM »
OK guys my little Novakon NM-145 has been working very good but I would really like to speed up my tool changes. I am not willing to spend the big bucks buying TTS holders for all the various tools I have and I very rarely run more than a dozen of the same thing before changing to a new part or new setup. So I figured the easiest way would be to try to setup a auto tool zero macro. Another caveat would be I don't want to have to move to the same place every time since again my setups can be all over the place. So what I want this tool zero program to do is just start feeding down wherever I have it since I will presumably be in a M6 Tx situation anyhow I can just move it manually over the setter and hit auto zero. Now the catch is since my setups are all over the place I would like to be able to have a "programmable" z height set similar to the gauge block height button int the offsets page of mach 3.

 So in theory what I would do is set my stock up and manually zero the z height for tool 0 then take tool zero over to where I want the setter to be and "measure" the difference with tool 0. then I can put that measurement in the gauge block height box and use that to reference the other tools when I need to change tools. As an example I zero on my AL plate and then move over to the zero tool and I get a measurement of 0.2451 I would put that into the gauge block height. Then when I change tools I manually move over the zero tool again and hit "Auto Tool Zero" the machine will come down and touch the tool and my Z axis would be set to 0.2451 . I know I will still have to manually move it and all that jazz but the part that takes the longest, actually getting the zero, would be automatic.

 So I looked around for a while to try to find a macro that might do what I want. I found something that looks like it will work but changed out the programed plate thickness to call an OemDro 1001 (guage block height dro) and came up with this:

 If GetOemLed (825)=0 Then
 Code "G4 P5" 'Time to get to the z-plate
 Code "G31Z-5 F10" &ProbeFeed
 While IsMoving()
 Wend
 Code "G4 P0.25"
 ZProbePos = GetVar(2002)
 Code "G0 Z" &ZProbePos
 While IsMoving ()
 Wend
 Call SetDro (2, GetOemDro(1001))
 Code "G4 P0.5" 'Pause for Dro to update.
 Code "G0 Z.5" 'Change the Z retract height here
 Code "(Z axis is now zeroed)"
 Code "F" &CurrentFeed
 Else
 Code "(Z-Plate is grounded, check connection and try again)"
 Exit Sub
 End If

 If anyone has done something like this does it look like I am on the right track or any input would be much appreciated.

2
General Mach Discussion / run from here takes forever
« on: March 17, 2012, 12:24:08 AM »
I have posted a g code for several parts out of plate the total line count is 500000+ I came down to check on the progress and luckely i saw my cutter break (1/8" em) on line 243165 i hit the stop button and took note of the line number I then changed out the cutter and re zeroed my z height. no problem so far right? wrong i found the line number that the cutter broke on and hit the run from here button and i have been waiting ~20 min for it to go through the code to get to the line in question before it will start the prep move. is there any why that i can speed up this process in the future?

3
General Mach Discussion / Mach3 post in HSM Works
« on: January 27, 2012, 08:24:42 AM »
I recently downloaded HSM works for solidworks and i noticed that the only mach post is for mach2 will this work with mach 3 or is their somewhere i can get a post specifically for mach 3.

4
just tried it outside of the part (good idea) it would have destroyed the bit all helical motions were ignored

5
yes i can turn on helix with out spirals and yes i am using the Mach 3 Inch profile that came with rhino. Ill give that a try and see how it comes out thanks for the help

6
I am using Rhinocam to create gcode for my parts. i was having a problem with hole pocketing just making random squiggly lines. as it turns out the problem was i was trying to output helix and spirals as helix and spirals. for some reason mach did not like this and was basically ignoring the lines describing the these paths so i changed the parameter to outputs spirals and helix as linear path. this fixed the problem and milled pockets are coming out correctly. but i finally figured out how to correctly program a thread mill in rhino but when i run the part the threads dont look very good and are rather rough faceted almost  ::) i am willing to bet this is because i am outputting helix paths as linear segments. but if i output helix as helix mach does not understand. or rather rhino is not writing it in a way mach can understand (you get my point). so does anybody know what settings in either rhino or mach i have to change to get these programs to play nice together.

7
G-Code, CAD, and CAM discussions / Re: g code newbie
« on: May 06, 2011, 10:42:43 AM »
how about this.

(open lines w/ g46)

m98 p 01 l 360

o 01
m98 p 02
m98 p 03

o 02
g1 z.5 f20
(lines of code for profile)
g00 z1
g00 x0
m99

o 03
g91
g1 a1 f300
g90
m99

(ending code)

8
G-Code, CAD, and CAM discussions / g code newbie
« on: May 05, 2011, 10:02:39 AM »
ok i just got my first cnc mill a few months ago and i have been writing g code for it using rhino cam and so far its been working well. my problem arose the other day when i tried to use rhino to program a 4th axis path to profile a part. the problem is at the beginning of the code it sets the feed rate to 18 which is fine for the actual pass but when the part needs to index on the a axis it keeps the 18 feed rate and its KILLING my cycle time and i know their has to be a better way. so i did some research into hand writing code and found out about sub routines. this looks like exactly what i want but im having a difficult time completely understanding how to get it to do what i want it to. here is a rough code for what i have now

(introductory code turning on spindle and coolant)

g00 z1
m98 01
m98 02
(end program lines)

o01
g1 z.5f20
(block of code to produce profile)
g00 z1
g00 x0
m99

(this is where i get lost)
o02
g1 a "+1" f300 (what i want to do is increment the a axis 1 degree untill a=360)
m99


if anybody has any ideas on how to accomplish this please help

Pages: 1