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:

G05P10000 in Generic Fanuc 5X Mill post


DavidB
 Share

Recommended Posts

Where do I add

code:

 phsmon               # High Speed Machining Contour Control On

if mi1$ = 1, pbld, n$, "G05 P10000", "(SGI ON)", e$ #DAV WAS HPCC

prv_mi1 = mi1$

lookahead_flg = 1

!mi1$

 

 

phsmoff #High Speed Machining Contour Control Off

if prv_mi1 = 1, pbld, n$, "G05 P0", "(SGI OFF)", e$ # DAV WAS HPCC

lookahead_flg = 1

!mi1$

to the Generic fanuc 5-axis post?

I put in her but it did not work?

code:

 # --------------------------------------------------------------------------

# Start of File and Toolchange Setup

# --------------------------------------------------------------------------

p_goto_strt_tl #Make the tool start up at toolchange

pfd_shft_inc

psign_ang_out

 

##### Custom changes allowed below #####

 

if use_clamp & (cuttype = 0 | opcode$ = three | opcode$ = 16), #dav

[

p_lock = zero

s_lock = zero

pbld, n$, s_slock, e$

pbld, n$, s_plock, e$

]

if stagetool <= one, pbld, n$, *t$, "M6", e$

 

if n_tpln_mch > m_one, #Toolplane mapping mode

[

#Enter your mapping scheme here...

pg68_map

pbld, n$, "G43", *tlngno$, *zabs_s, e$

pbld, n$, *sg00, pwcs, "X0.", "Y0.", *zabs_s, e$

pcan1, pbld, n$, *sgcode, *xabs_s, *yabs_s, *p_out, *s_out, strcantext, e$

]

else, #5 axis and regular mode ( n_tpln_mch = -2)

[

if cut_ra_head & use_g45, #Swap xout and yout based on offset axis

[

tloffno2 = tlngno$ + g45_of_add

pcan1, pbld, n$, *sgcode, pwcs, *sgabsinc, *yout, *p_out, *s_out,

*speed, *spindle, pgear, strcantext, e$

pbld, n$, "G45", *tloffno2, *xout, e$

]

else,

[

pcan1, pbld, n$, *sgcode, pwcs, *sgabsinc, *xout, *yout, *p_out, *s_out,

*speed, *spindle, pgear, strcantext, e$

]

]

if stagetool = one, pbld, n$, *next_tool$, e$

if use_clamp & (cuttype = 0 | opcode$ = three | opcode$ = 16), #dav

[

p_lock = one

s_lock = one

pbld, n$, s_slock, e$

pbld, n$, s_plock, e$

]

 

if n_tpln_mch > m_one, #Toolplane mapping mode

[

#Enter your mapping scheme here...

pg68

pbld, n$, *xout, *yout, *zout, scoolant, e$

]

else, pbld, n$, "G43", *tlngno$, *zout, scoolant, e$

 

phsmon # High Speed Machining Contour Control On

if mi1$ = 1, pbld, n$, "G05 P10000", "(SGI ON)", e$ #DAV WAS HPCC

prv_mi1 = mi1$

lookahead_flg = 1

!mi1$

 

 

phsmoff #High Speed Machining Contour Control Off

if prv_mi1 = 1, pbld, n$, "G05 P0", "(SGI OFF)", e$ # DAV WAS HPCC

lookahead_flg = 1

!mi1$

 

##### Stop custom changes #####


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