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:

GENERIC FANUC 5 AXIS MILL POST


DavidB
 Share

Recommended Posts

Hi all,

 

I need some help to edit this post.

What is happening is the A axis is adding all the time to last A axis position.

So when machining a cude for example:

A0 Face1

A90 Face2

A180 Face3

A270 Face4

 

Then if I go over the same faces again say with a finish cut it outputs

 

A360 Face1 should read A0

A450 Face2 should read A90

A540 Face3 should read A180

A630 Face4 should read A270

 

Any advice appreciated Thanks cheers.gifcheers.gif

Link to comment
Share on other sites

Should I look here?

 

#Force rotary axis reset at toolchange and other options

frc_cinit : 1

typ3_brk_evn : 0 #Windup limit, use even revolution break position

#Primary and/or secondary

brk_mv_head : 0 #Break the 5 axis moves to remove gouge

brk_max_ang : 0 #'brk_mv_head' maximum angle move, applied if chordal

#calculation angles moves are greater (negative disables)

skp_rdnt_ck : 0 #Skip 'brk_max_ang' redundant angle check

 

top_type : 5 #With 'top_map' select the top toolplane output

#0 = Post selects G7 rotation axis

#1 to 4, user selected G7 rotation axis

#1 = Primary C : Y zero, Secondary A

#2 = Primary C : -X zero, Secondary B

#3 = Primary C : -Y zero, Secondary A

#4 = Primary C : X zero, Secondary B

#5 = Custom settings, ptop_type_ax and ptop_type_l

Link to comment
Share on other sites

Maybe here?

#Output formatting

top_map : 0 #Output toolplane toolpaths mapped to top view

#The post must have code added for your machine control

spaces : 1 #No. of spaces to add between fields

pang_output : 0 #Angle output options, primary

sang_output : 0 #Angle output options, secondary

#0 = Normal angle output

#1 = Signed absolute output, 0 - 360

#2 = Implied shortest direction absolute output, 0 - 360

Link to comment
Share on other sites

Look here David:

code:

#Set pri_limtyp and sec_limtyp on following conditions

#0 = Less than 180 degrees

#1 = Equal or greater than 180 degrees and less than 360 degrees

#2 = Soft limit at 0-360 degrees with hard limits slightly beyond

#Set limhi-limlo to hard limits, inthi-intlo to 360 degrees total

#limhi-limlo are expected equal amount from inthi-intlo

#3 = Greater than 360 degrees

auto_set_lim : 1 #Set the type from the angle limit settings (ignore these)

pri_limtyp : 0

sec_limtyp : 0

 

#Set the absolute angles for axis travel on primary

pri_limlo : -2

pri_limhi : 362

#Set intermediate angle, in limits, for post to reposition machine

pri_intlo : 0

pri_inthi : 360

 

#Set the absolute angles for axis travel on secondary

sec_limlo : -137

sec_limhi : 137

#Set intermediate angle, in limits, for post to reposition machine

sec_intlo : -135

sec_inthi : 135

And Here:

code:

#Secondary shift (determines position and angle calculation)

#plane correction 90 degree shift case (plus or minus)

#used when secondary plane is defined perp to primary zero

#EX. P - vecx, vecy S - vecz, vecy

shift_90_s : 1 #Shift pos.=1, neg.=-1

 

#Rotary axis limits

adj2sec : 1 #Attempt to adjust the primary axis from secondary?

#Allows primary axis to flip 180 to satisfy secondary

#0 = Off

#1 = Use method when secondary is out of limit

#Use with pri_limtyp = one to keep secondary as controlling

#limit when limit tripped


And here:

code:

pang_output : 0     #Angle output options, primary

sang_output : 0 #Angle output options, secondary

#0 = Normal angle output

#1 = Signed absolute output, 0 - 360

#2 = Implied shortest direction absolute output, 0 - 360


And then here:

code:

#Tolerance settings for wind up and soft limit head reposition

p_tol_ang : 210 #Primary angle move to exceed for direction change

s_tol_ang : 210 #Secondary angle move to exceed for direction change

d_tol_ang : 210 #Dummy angle move to exceed for direction change

 

#pri_limtyp = 1, tolerance to validate tripping limit

#pri_limtyp = 2, angle move >= to trigger reposition on primary and

# reset the p_frc_adj_sec flag when back to normal range

# angle move >= with rev5 or 180 reposition to validate tripping limit

p_rsoft_tol : 45

 

#sec_limtyp = 2, Angle move >= for reposition

s_soft_tol : 270

 

adj_lim_trp : 90 #Angle move in p_pri_rot180 to trip reposition

#pri_limtyp = 2 and sec_limtyp = 2 control values

p_soft_tol : 270 #Angle move >= for reposition, primary

#pri_limtyp = 3 and sec_limtyp = 3 control values

p_rsoft_tol3 : 90 #Angle move >= with rev5 or 180 reposition

I could be wrong but it my understanding that all of these section work together. If you get the hard limits and the softlimits workout out as well as the places where you want the axis to reposition in realtion to each other then you get the no over travel like you are seeing. I still have no answer to my problem but I am still working in that direction when I get some free time.

 

HTH and sorry for the length but I think needed

Link to comment
Share on other sites

Got another question guys and girls,

 

Created a C/plane which is 180 degress from standard Top C/plane. But the post wont output the A180 and changes the Y values from positive to minus.

 

So the toolpath backplots correct from Y+ to Y minus at A180. But when posted it's at A0 and moves from Y minus to Y plus direction???

 

 

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