Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: DAS on February 07, 2016, 03:27:08 PM
-
is there a way to have a continous y movement while having z cut a pocket. my pocket is 8 inches concave half elipse I have all the z coordinates what I need to happen is y and z start to move at the same time and when I get to my 8 inches my z movement cutting the pocket is done. is there a code that will start my y moving to 8 inches and let z run its program.almost like running two codes at the same time.
Help
DAS
-
I anm afaraid I am not following what you want. Are you wanting to cut a single Concave half elipse slot in Y using Z to control depth of the slot ? Kinda like a halfmoon keyway.
(;-) TP
-
Hi Exactly right
I need y to do one continuous speed while z makes its cut. Y and Z will both start at point A Y0, Z0 and finish up at Y8.00 and Z0 inches Z starts at zero. in the middle of the cut it will be at -.500 and back up to Z0. I have all the Z code I need a y code that will allow me to start y at the same time as Z and finish 8 inches later when z is back to 0
Thanks DAS
-
Terry,
Are you meaning slave Z to Y at a feed rate?
RICH
-
Hi All
I think so ??? when z starts y needs to also start and run at a continuous speed until z finishes the y stops. all y is doing is moving the table 8 inches nothing else. z is doing its plunge cut
Thanks DAS
-
Like this ?
G0 X0 Y0 Z.1
G1 F20
Z0
G19 G3 Y8 R16.25
G0 Z.1
Y0
M30
:P
Russ
:)
-
overloaded
close but not quite
My radius is made up of 70 z movements your example is one radius. I am looking for a g code that will move y 8 inches as my 70 lines of z run. line 1 starts at Y zero and line 75 ends at Y 8 inches .is there a macro that will allow me to move y from 0 to 8inches as Z is running
Sorry to be a pain
Many thanks DAS
-
you program teh Gcode just as you described it being done. You have 8 inched to move in 70 divisions so each divsional move in Y will be approx .1143". So you create a vertical column of Y values incrimenting by that value for each line. Next start at line 1 and add teh Z component to each line
G01 F100
N1 Y0.000 Z0.000
N2 Y.1143 Z.010
N3 Y.2286 Z .020
Etc
etc
That will cut your shape as a collection of straight line moves. Now you need to determene what teh bottom of teh cut is suppose to be such as flat radiused, circular . That will determene HOW it has to be cut. Either vertically or horizonally .
NOW IF you need a better shape than straight lines will give then you need to Draw it out in Cad and convert teh stright line segments into smooth arcs and then left CAM define teh arcs in Gcode.
AND YES IF you can do the math it can be DEfined in GcODE using #VARS AND MATH STATEMENTS to define teh shape.
It just all depends, (;-) TP
-
Not sure what you want.
I drew it as a line from 0,0 to o,8 with an arc to the x-.5
Then broke it into segments.
Then edit the code and replace X with Z.
G0 Z.1
G1 F10
N0170 Y0.2180 Z-0.0538
N0180 Y0.4367 Z-0.1045
N0190 Y0.6561 Z-0.1522
N0200 Y0.8761 Z-0.1969
N0210 Y1.0968 Z-0.2386
N0220 Y1.3180 Z-0.2771
N0230 Y1.5397 Z-0.3127
N0240 Y1.7618 Z-0.3451
N0250 Y1.9844 Z-0.3745
N0260 Y2.2074 Z-0.4008
N0270 Y2.4307 Z-0.4241
N0280 Y2.6544 Z-0.4442
N0290 Y2.8782 Z-0.4612
N0300 Y3.1023 Z-0.4752
N0310 Y3.3266 Z-0.4860
N0320 Y3.5510 Z-0.4938
N0330 Y3.7755 Z-0.4984
N0340 Y4.0000 Z-0.5000
N0350 Y4.2245 Z-0.4984
N0360 Y4.4490 Z-0.4938
N0370 Y4.6734 Z-0.4860
N0380 Y4.8977 Z-0.4752
N0390 Y5.1218 Z-0.4612
N0400 Y5.3456 Z-0.4442
N0410 Y5.5693 Z-0.4241
N0420 Y5.7926 Z-0.4008
N0430 Y6.0156 Z-0.3745
N0440 Y6.2382 Z-0.3451
N0450 Y6.4603 Z-0.3127
N0460 Y6.6820 Z-0.2771
N0470 Y6.9032 Z-0.2386
N0480 Y7.1239 Z-0.1969
N0490 Y7.3439 Z-0.1522
N0500 Y7.5633 Z-0.1045
N0510 Y7.7820 Z-0.0538
N0520 Y8.0000 Z0.0000
G0 Z1
X0 Y0
M30
My cheapie cad only draws in the x,y plane.
To generate the arc recess in progressive steps would require a CAM I suppose.
I don't have it.
Regards,
Russ
-
There ya go TP. ... thought you were maybe cryin over the game.
ha ha
Russ
-
Say we were to cut this 8" slot w/a .25 ball endmill ?
.02" per pass.
.5" deep
Starting @ about Y4.
That would take a CAM to generate that ... right ?
Russ
-
Actually I posted at teh beginning several times BUT the posts disappeared. :( I though maybe you were trying to get ahead of me in posting so I waited until you jumped in and now my post stick. ;D
:o (;-) TP
-
HIYA RUSS not neccesarily a SUB program to step over or down each pass can do a LOT of work in place of a CAM. The real question is this slot really a pocket instead of a slot. and how deep is it and how wide is it.
You really do need to do it with a ball end mill as a flat nose mill will scallop the surface cutting the arcs.
(;-) TP
-
HIYA RUSS not neccesarily a SUB program to step over or down each pass can do a LOT of work in place of a CAM. The real question is this slot really a pocket instead of a slot. and how deep is it and how wide is it.
You really do need to do it with a ball end mill as a flat nose mill will scallop the surface cutting the arcs.
(;-) TP
Yes, I was assuming a pocket, same width as the ball endmill.
I was also seeing the SUB cutting a lot of air by just shifting the final profile for each pass (.05" in the top example).
I was trying to figure how to do it as in the bottom illustration .... 10 passes without wasting time cutting air.
I did do it in SCam , each pass individually but it was painful. ::)
Thanks again TP,
Russ :)
-
Funny thing about CNC and time. As long as "I" am not turning the handles and can be doing something else I don't seem to miss the extra cutting air time much.
BUT if it is a production thingy time is money ;)
YA did a good job here Russ Keep up the hard work bud.
;D TP
-
Thanks Terry,
I appreciate the encouragement. :)
Someday, I might just be able to draw stuff quicker than I could whittle it out of oak with my penknife. ::)
RC
:)
-
;) That is why I always keep a pencil and paper handy. I am still pretty darn quick at sketchin and Sypherin things.
(;-) TP
-
sorry guys thanks for the ideas. still not right. what I need is a G or M code for the Y axis that will run indepently of Z but at the same time
Y will do nothing more than run from zero to 8 inches and stop while z is making its cut
is there a code that can be written that will run y from 0 to 8 while it is also running a z code
Thanks again for the help
DAS
-
OK, I will let BR549 take lead on this discussion. ;)
It sometimes confuses teh person asking for help if 2 try to help at teh same time asking different questions .... Apologies if I've confused things.
Russ
:)
-
;D
-
OK for teh quick answer it is NO. Mach3 cannot have 2 seperate independant axis of motion at the same time.
(;-)