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:

Top Plane rotations with 5ax


K2csq7
 Share

Recommended Posts

Hello all,

This is what I am looking for out of my modified generic fanuc 5ax post. Drilling in top plane keeping the spindle at X0, Y-.

 

N120 ( T1 M06 ) ( 1/4 FLAT ENDMILL)
N130 M21 (UNLOCK C)
N140 M11 (UNLOCK 
N150 G00 G17 G90 G54 C92. B0. X0. Y-17.5499 S1600 M03
N160 M10 (LOCK 
N200 G43 H1 Z4. M08
N220 G98 G81 X0. Y-17.5499 Z-.973 R.2 F2.
N230 X0. Y-17.5497 C67.5
N240 X0. Y-17.5497 C42.999
N250 X0. Y-17.5497 C22.499
N260 X0. Y-17.5498 C357.999
N270 X0. Y-17.5498 C337.499
N380 G80 M09
N390 M05
N400 G91 G28 Z0.
N410 G90 H00
N420 M30

 

The above code was done with the 4ax mpmaster (modified).

I have done some looking around and as far as I can tell, 5ax posts cannot rotate the top plane in this manner. No matter what I try, I keep getting X & Y moves to each hole, no C rotations....

I thought for sure I had it with this

#When the tool repositions, an intersection is made to the limits and the
#tool is driven around the limits to the reposition point as required.
#Z upper limit is used as the safe transition boundary 
#Linear limits relative to machine base coordinates / part origin
use_stck_typ : 2  	#0=Off, 1=Stock def., 2=Limits           
up_x_lin_lim : .0001   #X axis limit in positive direction
up_y_lin_lim : -17.5497   #Y axis limit in positive direction
up_z_lin_lim : 250.   #Z axis limit in positive direction
lw_x_lin_lim : -.0001#X axis limit in negative direction
lw_y_lin_lim : -17.5502#Y axis limit in negative direction
lw_z_lin_lim :   -5.  #Z axis limit in negative direction

but there was zero change in the posted code...

Thanks to anyone for any info...

Link to comment
Share on other sites

Cjep, the gcode shown was done with a standard drilling toolpath, rotary axis control set to 3 axis, rotate about Z. (mpmaster post)

 

Gcode, I thought so...tried with standard drilling toolpath, rotary axis control set to 3 axis, rotate about Z. also tried with multiaxis drill, tool axis control set to plane (top plane), tried output formats of 4 & 5 axis, it gives me the "vertical tool detected" message, and whatever angle I enter, the code rotates the C axis to that angle on the G54 line, but thats the only C axis move in the toolpath....also tried skewing the geometery by .001 degrees, but still got the same "vertical tool detected" and only X,Y moves. (the B does reflect the .001 degree rotation)

Link to comment
Share on other sites

Here's a quick and drity 5x drill toolpath using "points and lines" as driving geometry

with a post very simililar to the one you're using

 

T80

M6

M01

N80 ( #2-LONG-CENTER-DRILL-SPOT-TEST-ONLY )

M11

M78

G0 G54 G90 X-2. Y7.5 C0. B90. W0 S1400 M3

M10

G43 H80 Z13.4675

G81 G98 Z8.8675 R9.7175 F4.

C30.

C60.

C90.

C120.

C150.

C180.

C210.

C240.

C270.

C300.

C330.

M77

G80

G0 G28 G91 Z0. W0.

G30 Y0. M5

M30

Link to comment
Share on other sites

here's the same file with a 5° kick added to the B axis

 

( #2-LONG-CENTER-DRILL-SPOT-TEST-ONLY )

T80

M6

M01

N80 ( #2-LONG-CENTER-DRILL-SPOT-TEST-ONLY )

M11

M78

G0 G54 G90 X-1.176 Y7.5 C0. B85. W0 S1400 M3

M10

G43 H80 Z13.6062

G81 G98 Z9.0062 R9.8562 F4.

C30.

C60.

C90.

C120.

C150.

C180.

C210.

C240.

C270.

C300.

C330.

G80

G0 G28 G91 Z0. W0.

G30 Y0. M5

M30

%

Link to comment
Share on other sites

Radial holes...

 

G00 G91 G28 Z0.
G0 G17 G40 G80 G90 G94 G98
(  1/2 SPOTDRILL   )
( SPOT PUSHER HOLES )
M11 (UNLOCK 
M21 (UNLOCK C)
( LOAD T2 M06 )
M00
( CONFIRM T2 H2 D2 DIA =.5 )
G0 G17 G90 G54 X-24.3855 Y0. C0. B72.906 S534 M3
G43 H2 Z-5.5524 M8
G81 G99 Z-5.7524 R-5.5524 F1.07
C15.
C30.
C45.
C60.
C75.
C90.
C105.
C120.
C135.
C150.
C165.
C180.
C195.
C210.
C225.
C240.
C255.
C270.
C285.
C300.
C315.
C330.
C345.
G80
M9
M5
G0 G28 G91 Z0.
G28 Y0.
M30
%

 

Thanks Gcode, but I am looking for a standard bolt circle at B0 (vertical holes parallel to the primary © axis of rotation) (parallel to the Z axis in the top plane).

I know I'm being a PITA, just thought I was missing something...

Link to comment
Share on other sites

If your B axis is your tilting axis....and you are trying to rotate the C to do your bolt circle...the short answer is no, you cannot do it with a 5 axis post. You might be able to cheat by using drill 5axis, using point line selection method and have the line tilted .0001 deg or something.

 

From an old e-mail from CNC Software...

When programming a part to be used with an MPGEN5X generation post, you can't follow the same approach that you use with an mpfan generation post ('mpmaster').

 

 

 

With an mpfan post, all rotation happens in one axis. The rotation is controlled by setting the appropriate toolplane.

 

 

 

With an mpgen5x post, the post must calculate multiple rotations to bring the current toolplane perpendicular to the tool. In most cases, there are two correct sets of rotations, each 180 degrees apart. The post 1st makes a decision as to which set of rotations is best, it then rotates into that position, and finally it re-maps the toolpath (if necessary) to correctly orientate to toolpath onto the part.

 

 

 

When programming your part, you may use mi4 to suggest to the post your preference. By setting mi4 to zero, you are turning it off, in other words, you are letting the post make the choice on it's own. If you enter an integer between 1 and 360, the post will choose the position that is closest to your choice. Keep in mind that a setting of zero means "off" and it does not mean zero degrees.

 

 

 

When a toolplane is used that aligns the primary axis perpendicular to the tool, (such as in your example) there is an infinite number of acceptable choices to rotate the primary axis into. in other words, you can realistically rotate the table into any position, and then map the toolpath onto that rotation.

 

 

 

 

The kicker is the last sentience.

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...