Hello Guest it is April 15, 2021, 07:39:17 PM

### Author Topic: coutinuous y movement seperate from z  (Read 3333 times)

0 Members and 1 Guest are viewing this topic.

#### DAS

• 21
##### coutinuous y movement seperate from z
« 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

#### BR549

• 6,952
##### Re: coutinuous y movement seperate from z
« Reply #1 on: February 07, 2016, 03:36:03 PM »
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

#### DAS

• 21
##### Re: coutinuous y movement seperate from z
« Reply #2 on: February 07, 2016, 04:16:17 PM »
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

#### RICH

• 7,419
##### Re: coutinuous y movement seperate from z
« Reply #3 on: February 07, 2016, 04:21:21 PM »
Terry,
Are  you meaning slave Z to Y at a feed rate?

RICH

#### DAS

• 21
##### Re: coutinuous y movement seperate from z
« Reply #4 on: February 07, 2016, 05:33:51 PM »
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
« Last Edit: February 07, 2016, 05:44:53 PM by DAS »

#### Overloaded

• 4,908
##### Re: coutinuous y movement seperate from z
« Reply #5 on: February 07, 2016, 07:07:02 PM »
Like this ?

G0 X0 Y0 Z.1
G1 F20
Z0
G19 G3 Y8 R16.25
G0 Z.1
Y0
M30

Russ

#### DAS

• 21
##### Re: coutinuous y movement seperate from z
« Reply #6 on: February 07, 2016, 10:47:27 PM »
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

#### BR549

• 6,952
##### Re: coutinuous y movement seperate from z
« Reply #7 on: February 08, 2016, 12:28:10 AM »
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

#### Overloaded

• 4,908
##### Re: coutinuous y movement seperate from z
« Reply #8 on: February 08, 2016, 12:39:04 AM »
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

#### Overloaded

• 4,908
##### Re: coutinuous y movement seperate from z
« Reply #9 on: February 08, 2016, 12:41:15 AM »
There ya go TP. ... thought you were maybe cryin over the game.
ha ha
Russ