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:

mpmaster post for fadal


Recommended Posts

below is an example.

 

p_rigid1 # prepare for rigid tap

if fadal_format = 1, tap_mode = 1 #Force Rigid tap

if opcode$ = 3 & nextdc$ = 3,

[

if (tap_prompt = 0) & (tap_flag = 0), q1

tap_flag = 1

if (tap_mode = 1) & (fadal_format = 2), #prepare for rigid tap format 2 only

[

if tap_dir = 1, "G74.2", e$

else, n$, "G84.2", e$

]

]

 

add the call to p_rigid1 at "psof$" and "ptlchg$" as shown below

......

n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout, pfcout, p_spindle, e$

p_rigid1

n$, "G43", p_tlngno, pfzout, p_next_tool, scoolant, e$

........

 

 

ptap$ #Canned Tap Cycle - G84/G74

pdrlcommonb

tap_pitch = (1 / n_tap_thds$)

if tap_mode = 1, # Rigid Tap

[

if fadal_format = 1,

[

n$, *tap_speed1, "G80", e$

n$, p_tapg, !drlgsel, *sgdrlref, pfxout, pfyout, pfzout, pcout, prdrlout, *tap_speed1, *tap_pitch, !feed, e$

]

else, n$, p_tapg, !drlgsel, *sgdrlref, pfxout, pfyout, pfzout, pcout, prdrlout, p_tap_speed, *feed, e$

]

else, pbld, n$, *sgdrill, *sgdrlref, pfxout, pfyout, pfzout, pcout, prdrlout, *feed, e$

pcom_movea

 

p_tapg

if tap_dir = 1, "G74.1"

else, "G84.1"

 

 

 

 

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