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:
Open your post in the mastercam editor. Serach for pdrill
pdrill$ #Canned Drill Cycle
pdrlcommonb
pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout,
prdrlout, dwell$, *feed, strcantext, e$
pcom_movea*************************************************add after this line your code with quotaions
pbld, n$, "##################", e$
pbld, n$, "S5000 M4", e$
pbld, n$, "G4 P1", e$
pbld, n$ ,"##################", e$
The quotation will insert your lines as is all the time every time
Open the post with the mastercams editor. Do a search for pheader and edit as follows.
pheader$ #Start of file
sav_spc = spaces$
spaces$ = 0
"'",*progno$,"'", e$ *****************************(add qoutation mark apostrophy quotation mark, *progno$, qoutation mark apostrophy quotation mark,
A # sign is used to ignore an entire line,
you should end up with this result
'O150282'
(PROGRAM NAME - 150282)
(DATE - JAN. 25 2013 TIME - 7:15 PM)
G20
(TOOL - 10 OFFSET - 10)
(80 DEGREE TRIGON .032R INSERT - CNMG-432)
G28 U0. W0.
G0 T1010
G97 S225 M03
G0 X3.4 Z.005
Hello all, I have programmed many machines (Lathes and Mills) in the past that would allow subroutines (Local)
to be included in the main program, either above or below the main program.
I am new to the Mazak and was wondering if my machine allows this programming method. I hate using separate files
for subprogam call.
I have a Mazak Nexus 640t.
Also, my machine is not running the g84 tap cycle as a typical lathe would run. When I run the canned cycle
the tool approaches the part and feeds in to depth but the spindle does not reverse and the tool remains at Z depth.
Any thoughts on this, be happy to hear..
I agree, I have never had to scale the tool either, just draw the tool to its radial dimension and it should output an exact cutter.
Maybe the scaling affects sizing the tool within the tool params page for different size cutters.
Great job on the pics Rotary Ninja HHHoooooooooooooooooooowwwaaaaaaaaa
I don't think so, when I need specific data output I just use the manual entry function under the toolpath menu. This will output any command you want. Very nice functionality.
Are you even able to tap? I am new to Mazak and had to use live tooling to tap a hole down the center.
my code was simple G84 but the machine acted like it didn't want to run the canned cycle.
The tap went in but the spindle kept turning and the tap just reamed out the hole at final depth with no m4 to retract the tool.
G0 X0 Z.1
G84 G99 Z-.5 R0.0 F.0555
g80
did I miss anything or is the Mazak code different than that code in the manual?
Yea there should be a check box for stock cleanup. Just turn it off. And yes, use the cutoff option under the lathe
toolpaths. Here you can have total contol over parting tool actions. Very nice feature.
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.