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:

Post Help


Recommended Posts

Using MpMaster post for Fanuc vertical. If a make a toolpath in top view it doesn't rotate the rotary to A0.0, I want to add an A0.0 in to make sure it's where it is supposed to be. How do i do it??

 

 

(THIS)

T1 ( 1/2 DRILL)

M6

(MAX - Z.2)

(MIN - Z-.2)

G0 G17 G90 G55 X-2.626 Y-2.297 S1200 M3

G43 H1 Z.2

G94

 

(TO THIS)

T1 ( 1/2 DRILL)

M6

(MAX - Z.2)

(MIN - Z-.2)

G0 G17 G90 G55 X-2.626 Y-2.297 A0.0 S1200 M3

G43 H1 Z.2

G94

Link to comment
Share on other sites

Hi

If you want it to be done automatically inside the post look for this line to not have a pound sign (#) in front of it

pwrtt$      # Write tool table, scans entire file, null tools are negative
          if rotaxis$ > 0 | rotary_type$ > 0 | mill5$ <> 0,
            [
            sav_rot_on_x = rot_on_x
            output_z = no$
            ]
          if vmc = 0 & tlplnno$ <> 2, sav_rot_on_x = rot_on_x
          if vmc = 1 & tlplnno$ > 1, sav_rot_on_x = rot_on_x
          sav_rot_on_x = rot_on_x    #Uncomment this line to output rotary axis value even when it's not used     <<<---------      
          t$ = wbuf(4,wc4)        #Buffers out tool number values
          if tool_table = 1, ptooltable
          if tool_table = 2, ppredtool
          if tool_table = 3, pmetatool
          if t$ >= zero, tcnt = tcnt + one
          ptravel
          pwritbuf5

 

This should do the trick.

 

HTH

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