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:

Search the Community

Showing results for tags 'Wrong Tap Cycle code'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Mastercam Forums
    • Industrial Forum
    • Post Processor Development Forum
    • Educational Forum
    • Woodworking Forum
    • Machining, Tools, Cutting & Probing
    • 3D Printing

Categories

  • Mastercam Demo Software
  • Files Referenced in Books and Videos
    • Instructor Files
    • Mastercam X7
    • Mastercam X6
    • Mastercam X5
    • Mastercam X4
    • Mastercam X3
    • Mastercam X2
    • STEM
  • Free Book Samples
    • Mastercam 2020
    • Mastercam 2019
    • Mastercam 2018
    • Mastercam 2017
    • Mastercam X9
    • Mastercam X8
    • Mastercam X7
    • Mastercam X6
    • Mastercam X5
    • Mastercam X4
    • Mastercam X3
    • STEM Curriculum
  • Mastercam eBooks (PDF)
    • Mastercam 2023
    • Mastercam 2022
    • Mastercam 2021
    • Mastercam 2020
    • Mastercam 2019
    • Mastercam 2018
    • Mastercam 2017
    • Mastercam X9
    • Mastercam X8
    • Mastercam X7
    • Mastercam X6
    • Mastercam X5
    • Mastercam X4
  • Mastercam Documentation
    • Brochures
    • Press Releases
    • Tips & Guides
  • Tools
  • Post Processors
    • Post Processor 'How To' Info
    • Mpmaster (all versions)
    • Mplmaster (all versions)
    • Application Specific Posts
    • Educational Post Processors
    • Post Processor Request Forms
    • Post Processor Feature Checklist Forms

Product Groups

  • Sitewide Subscription
  • Books
    • Older Versions (No Demo Software)
  • eBooks (PDF)
    • Mastercam 2023
    • Older Versions (No Demo Software)
  • Multimedia
    • Older Versions (No Demo Software)
  • Clearance
  • eCourses
  • eCourses

Categories

  • General Mastercam
    • Hasp / Sim License Articles
    • Nethasp
  • Lathe
  • Toolpaths
    • FBM Drill
    • FBM Mill
    • Dynamic Milling
    • Contour
    • Drill
    • Pocket
    • Face
    • 2D Highspeed
    • Engraving
    • Surface Rough
    • Surface Finish
    • Surface High Speed
    • Curve 5 axis
    • Drill 5 Axis
    • Swarf 5 Axis
    • Multisurface 5 Axis
    • Flow 5 Axis
    • Rotary 4 Axis
    • Port 5 axis
    • Advanced Multiaxis
    • Circle Paths
    • Circle 5 Axis
  • Wire EDM
  • Art
  • Post-Processing
  • Editors & DNC
  • Add-ons + Chooks & Nethooks
  • Windows, PC & Hardware Troubleshooting
    • Windows Issues
    • Videocards
    • Network & Filesharing
  • Multiaxis
  • eBooks

Blogs

  • Mastercam Training Solutions
  • eMastercam Community
  • Reseller Blog
  • Future of CNC Manufacturing Education
  • Mastercam Xtras
  • Latest News

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Interests


Location


Mastercam SIM Number


AIM


MSN

Found 1 result

  1. Hello, I need some help getting my post edits made to post correct code. The following are the examples of the current code being posted. %O0001 (TEST TAPPING CYCLES)G0 G28 V0N1(M3 LATHE RIGID TAP)(M3 X .5 PLUG TAP)G20 G99 G18 M46M5G0G28V0G0 G53 X0. Z-6.G50 S2500G0 T0909G54 G97 S325 M03 (Drop M3 & S value)X0. Y0. Z.25 M08Z.04M29 S325G84 Z-.5 F50.8 (feed rate is not in inches per rev)G80G0 Z.25G28 V0.G53 X0. Z-6.M5M05M01N2G0 M05(C-AXIS FACE TAP)( NO. 10-32 TAPRH)G98 G17 M45M5G0G28V0G0 G53 X0. Z-6.G28 H0.G0 T0404C90.Z.25X1.3274 Y0.G99M29 S1407 (M29 should be M329)G84 Z-.5 R.15 F.0313G80G28 V0.M5G0 G53 X0. Y0. Z-6.M46M01N3(C-AXIS CROSS TAP)( NO. 8-32 TAPRH)G98 G17 M45M5G0G28V0G0 G53 X0. Z-6.G28 H0.G0 T1010 M08S1630 M13 (drop line)C90.Z1.(M329 S1630 goes here)X1.8274 Y0.G87 X.3274 R.15 F50.95 (G87 should be G88)G80M09G28 V0.M5G0 G53 X0. Y0. Z-6.M46M30% This is what our current post in the tap section looks like. ptap$ #Canned Tap Cycle pdrlcommonb if recallflg | drlcyc = 0, [ #RH/LH based on spindle direction if not(mr3$), sm29 = "M29" #Z~~ if rigid_tap, pbld, pn, *sm29, *speed, pe #Rigid Tapping if cuttype = 4, #Lathe Tapping [ if use_pitch = 0, [ pcan1, pbld, pn, *sgdrlref, psgdrill, pdrlxyz, pdepth, paout, pcout, *feed, strcantext, pe ] else, [ if met_tool$, pitch = n_tap_thds$ # Tap pitch (mm per thread) else, [ #if metric_vals, pitch = 1/n_tap_thds$/25.4 # Tap pitch (inches per thread) if metric_vals, pitch = n_tap_thds$/25.4 # Tap pitch (inches per thread) else, pitch = 1/n_tap_thds$ # Tap pitch (inches per thread) ] pcan1, pbld, pn, *sgdrlref, psgdrill, pdrlxyz, pdepth, paout, pcout, *pitch, !feed, strcantext, pe ] ] else, #Mill Tapping [ if use_pitch = 0, [ pcan1, pbld, pn, *sgdrlref, psgdrill, pdrlxyz, pdepth, paout, pcout, prdrlout, [if dwell$, *dwell$], *feed, strcantext, pe ] else, [ if met_tool$, pitch = n_tap_thds$ # Tap pitch (mm per thread) else, [ #if metric_vals, pitch = 1/n_tap_thds$/25.4 # Tap pitch (inches per thread) if metric_vals, pitch = n_tap_thds$/25.4 # Tap pitch (inches per thread) else, pitch = 1/n_tap_thds$ # Tap pitch (inches per thread) ] pcan1, pbld, pn, *sgdrlref, psgdrill, pdrlxyz, pdepth, paout, pcout, prdrlout, [if dwell$, *dwell$], *pitch, !feed, strcantext, pe ] ] drlcyc = 1 recallflg = 0 ] else, [ pcan1, pbld, pn, pdrlxyz, pdepth, paout, pcout, prdrlout, !feed, strcantext, pe ] pcom_movea if cuttype = 4, pcanceldc$ I am sure there needs to be changes made like switching the *sm29 but I am not sure just how it should look. Can someone please let me know what changes need to be made, Thanks!

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