Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Z motion post variable


cadman2112
 Share

Recommended Posts

I have searched for this but have come up empty handed so far.

 

Here's what I am trying to do.

 

I have logic worked out to allow outputting of a F# on XY moves, I am looking for a Z variable that I can check and thus use to output the Feed plunge rate at only those points.

 

Is there a varaible I can check against for Z motion?

Link to comment
Share on other sites

I think I got it

 

code:

OPOST TEST - OP-1

( TOOL NUMBER - 1 | 2" ALUMAHOG )

#11=400 ( SURFACE FOOTAGE - IPM )

#12=.012 ( CHIP LOAD PER TOOTH - IPT )

#13=2. ( TOOL DIA - IN )

#14=4 ( NUMBER OF FLUTES )

#15=[#11/#13/.262] ( SPINDLE SPEED )

#16=[#12*#14*#15] ( FEED )

M11

G0 G90 G54 X-4.2155 Y1.4844 B0. S#15 M3

M10

G43 H1 Z2. M8

Z.25

G1 Z0. F35. <---Needed to catch this

X3.1845 F#16 <-- without messing up this

G2 Y.4845 R.5

G1 X-3.2155

G3 Y-.5155 R.5

G1 X3.1845

G2 Y-1.5154 R.4999

G1 X-4.2155

G0 Z2.

( TOOL NUMBER - 2 | 3/4" DIAMONDBACK 3FL )

#11=600 ( SURFACE FOOTAGE - IPM )

#12=.014 ( CHIP LOAD PER TOOTH - IPT )

#13=.75 ( TOOL DIA - IN )

#14=3 ( NUMBER OF FLUTES )

#15=[#11/#13/.262] ( SPINDLE SPEED )

#16=[#12*#14*#15] ( FEED )

T2 M6

G0 G90 G54 X2.772 Y.5679 B0.

M11

G43 H2 Z2.

M10

Z.1

G1 Z-.75 F35.

G41 D2 X2.4803 Y.2762 F#16

G3 X2.3595 Y-.0155 R.4125

G1 Y-1.6405

G2 X1.6095 Y-2.3905 R.75

G1 X-1.6405

G2 X-2.3905 Y-1.6405 R.75

G1 Y1.6095

G2 X-1.6405 Y2.3595 R.75

G1 X1.6095

G2 X2.3595 Y1.6095 R.75

G1 Y-.0155

G3 X2.4803 Y-.3072 R.4125

G1 G40 X2.772 Y-.5989

G0 Z2.

( TOOL NUMBER - 3 | 1/2" 3FL VIPER CARBIDE ENDMILL )

#11=850 ( SURFACE FOOTAGE - IPM )

#12=.02 ( CHIP LOAD PER TOOTH - IPT )

#13=.5 ( TOOL DIA - IN )

#14=3 ( NUMBER OF FLUTES )

#15=[#11/#13/.262] ( SPINDLE SPEED )

#16=[#12*#14*#15] ( FEED )

T3 M6

G0 G90 G54 X-.4132 Y-.9672 B0.

M11

G43 H3 Z2.

M10

Z.1

G1 Z.05 F30.

G3 X-.5278 Y.0262 Z-.0323 I-.0573 J.4967 F#16

X-.4132 Y-.9672 Z-.1146 I.0573 J-.4967

X-.5278 Y.0262 Z-.197 I-.0573 J.4967

X-.4132 Y-.9672 Z-.2793 I.0573 J-.4967

X-.5278 Y.0262 Z-.3616 I-.0573 J.4967

X-.4132 Y-.9672 Z-.4439 I.0573 J-.4967

X-.0829 Y-.1547 Z-.5 I-.0573 J.4967

G1 X-.2005 Y-.2505

X.1695

Y.1745

X-.2005

Y-.2505

X-.4755 Y-.5005

X.4445

Y.4495

X-.4755

Y-.5005

X-.7505 Y-.7505

X.7195

Y.7245

X-.7505

Y-.7505

X-1.0005 Y-1.0005

X.9695

Y.9695

X-1.0005

Y-1.0005

G0 Z.25

X.7095 Y-.4044

Z.1

G1 Z-.5 F30.

G41 D3 X.904 Y-.21 F#16

G3 X.9845 Y-.0155 R.2751

G1 Y.9795

G3 X.9795 Y.9845 R.005

G1 X-1.0105

G3 X-1.0155 Y.9795 R.005

G1 Y-1.0105

G3 X-1.0105 Y-1.0155 R.005

G1 X.9795

G3 X.9845 Y-1.0105 R.005

G1 Y-.0155

G3 X.904 Y.179 R.275

G1 G40 X.7095 Y.3734

G0 Z2.

( TOOL NUMBER - 4 | 1/4 X 90° SPOTDRILL )

#11=600 ( SURFACE FOOTAGE - IPM )

#12=.015 ( CHIP LOAD PER TOOTH - IPT )

#13=.25 ( TOOL DIA - IN )

#14=4 ( NUMBER OF FLUTES )

#15=[#11/#13/.262] ( SPINDLE SPEED )

#16=[#12*#14*#15] ( FEED )

T4 M6

G0 G90 G54 X1.6095 Y1.6095 B0.

M11

G43 H4 Z2.

M10

G98 G81 Z-.105 R.1 F#16

Y-1.6405

X-1.6405

Y1.6095

G80

X-.0155

G98 G81 Z-.11 R.1 F#16

Y-1.6405

G80

X1.6095 Y-.0155

G98 G81 Z-.032 R.1 F#16

X-1.6405

G80

( TOOL NUMBER - 5 | #16 130° MACHINE DRILL )

#11=750 ( SURFACE FOOTAGE - IPM )

#12=.014 ( CHIP LOAD PER TOOTH - IPT )

#13=.177 ( TOOL DIA - IN )

#14=2 ( NUMBER OF FLUTES )

#15=[#11/#13/.262] ( SPINDLE SPEED )

#16=[#12*#14*#15] ( FEED )

T5 M6

G0 G90 G54 X1.6095 Y1.6095 B0.

M11

G43 H5 Z2.

M10

G98 G83 Z-.75 R.1 Q.1328 F#16

Y-1.6405

X-1.6405

Y1.6095

G80

( TOOL NUMBER - 6 | 1/4" 130° MACHINE DRILL )

#11=825 ( SURFACE FOOTAGE - IPM )

#12=.013 ( CHIP LOAD PER TOOTH - IPT )

#13=.25 ( TOOL DIA - IN )

#14=2 ( NUMBER OF FLUTES )

#15=[#11/#13/.262] ( SPINDLE SPEED )

#16=[#12*#14*#15] ( FEED )

T6 M6

G0 G90 G54 X-.0155 Y1.6095 B0.

M11

G43 H6 Z2.

M10

G98 G83 Z-.25 R.1 Q.1875 F#16

Y-1.6405

G80

( TOOL NUMBER - 7 | #54 CARBIDE PCB DRILL )

#11=1000 ( SURFACE FOOTAGE - IPM )

#12=.005 ( CHIP LOAD PER TOOTH - IPT )

#13=.055 ( TOOL DIA - IN )

#14=2 ( NUMBER OF FLUTES )

#15=[#11/#13/.262] ( SPINDLE SPEED )

#16=[#12*#14*#15] ( FEED )

T7 M6

G0 G90 G54 X1.6095 Y-.0155 B0.

M11

G43 H7 Z2.

M10

G98 G83 Z-.25 R.1 Q.0193 F#16

X-1.6405

G80

( TOOL NUMBER - 8 | .0625 REAMER )

#11=800 ( SURFACE FOOTAGE - IPM )

#12=.004 ( CHIP LOAD PER TOOTH - IPT )

#13=.0625 ( TOOL DIA - IN )

#14=4 ( NUMBER OF FLUTES )

#15=[#11/#13/.262] ( SPINDLE SPEED )

#16=[#12*#14*#15] ( FEED )

T8 M6

G0 G90 G54 X1.6095 Y-.0155 B0.

M11

G43 H8 Z2.

M10

G98 G86 Z-.15 R.1 F#16

X-1.6405

G80

( TOOL NUMBER - 9 | 1/4" 3FL. VIPER CARBIDE ENDMILL )

#11=1200 ( SURFACE FOOTAGE - IPM )

#12=.0075 ( CHIP LOAD PER TOOTH - IPT )

#13=.25 ( TOOL DIA - IN )

#14=3 ( NUMBER OF FLUTES )

#15=[#11/#13/.262] ( SPINDLE SPEED )

#16=[#12*#14*#15] ( FEED )

T9 M6

G0 G90 G54 X-.0155 Y1.6095 B0.

M11

G43 H9 Z2.

M10

Z.1

G1 Z-.125 F20.

Y1.6538 F#16

G41 D9 X-.004 Y1.6965

G3 X-.0155 Y1.698 R.0442

Y1.521 R.0885

Y1.698 R.0885

X-.027 Y1.6965 R.0442

G1 G40 X-.0155 Y1.6538

Y1.6095

G0 Z.25

Z.1

G1 Z-.25 F20.

Y1.6538 F#16

G41 D9 X-.004 Y1.6965

G3 X-.0155 Y1.698 R.0442

Y1.521 R.0885

Y1.698 R.0885

X-.027 Y1.6965 R.0442

G1 G40 X-.0155 Y1.6538

Y1.6095

Y1.6563

G41 D9 X-.0034 Y1.7014

G3 X-.0155 Y1.703 R.0467

Y1.516 R.0935

Y1.703 R.0935

X-.0276 Y1.7014 R.0467

G1 G40 X-.0155 Y1.6563

Y1.6095

G0 Z.25

Z2.

Y-1.6405

Z.1

G1 Z-.125 F20.

Y-1.5962 F#16

G41 D9 X-.004 Y-1.5535

G3 X-.0155 Y-1.552 R.0442

Y-1.729 R.0885

Y-1.552 R.0885

X-.027 Y-1.5535 R.0442

G1 G40 X-.0155 Y-1.5962

Y-1.6405

G0 Z.25

Z.1

G1 Z-.25 F20.

Y-1.5962 F#16

G41 D9 X-.004 Y-1.5535

G3 X-.0155 Y-1.552 R.0442

Y-1.729 R.0885

Y-1.552 R.0885

X-.027 Y-1.5535 R.0442

G1 G40 X-.0155 Y-1.5962

Y-1.6405

Y-1.5938

G41 D9 X-.0034 Y-1.5486

G3 X-.0155 Y-1.547 R.0468

Y-1.734 R.0935

Y-1.547 R.0935

X-.0276 Y-1.5486 R.0468

G1 G40 X-.0155 Y-1.5938

Y-1.6405

G0 Z.25

Z2.

( TOOL NUMBER - 10 | NO. 10-32 TAPRH )

#11=80 ( SURFACE FOOTAGE - IPM )

#13=.25 ( TOOL DIA - IN )

#17=.0313 ( TAP PITCH )

#15=[#11/#13/.262] ( SPINDLE SPEED )

#16=[#15*#17] ( FEED )

T10 M6

G0 G90 G54 X1.6095 Y1.6095 B0.

M11

G43 H10 Z2.

M10

G95

M29 S#15

G98 G84 Z0. R.1 F#16

Y-1.6405

X-1.6405

Y1.6095

G80

G94

M99

%

Link to comment
Share on other sites

Can I ask a stupid question here? Wouldn't you want all the operation to be a different variable? Also why would you not use the feeds output by Mastercam for the tap? Other things ok you want variable control, but having them the same I see some big problems, and having the tap not come out from Mastercam is another big problem.

 

Again if they are stupid then ok, but just wondering is all.

 

headscratch.gifheadscratch.gif

Link to comment
Share on other sites

quote:

Can I ask a stupid question here? Wouldn't you want all the operation to be a different variable? Also why would you not use the feeds output by Mastercam for the tap? Other things ok you want variable control, but having them the same I see some big problems, and having the tap not come out from Mastercam is another big problem.

 

Again if they are stupid then ok, but just wondering is all.


That's OK Ron,

 

So am I at some level.

 

When I inquired, I was told and I quote,

 

"trust me there's a method to the mayhem"

 

So I did what I was asked to do.

 

wink.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...