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:
My reasoning for doing this is I like my mastercam programs to be a post and go.
I don't want any manual editing. If I am ever not there I don't want someone to have to be responsible to edit the program.
I ended up using misc integers. I have it working very nicely.
Thanks for everyone's tips and advice, I appreciate it.
Also about the block skip. For some reason it doesn't work on my machine. (Fanuc ot Control) I have the button but it doesn't seem to enable the block skip feature.
I am trying to find a way I can change the output of "M30", to allow me to choose between a M99 or M30.
I would like it to default to M30, but I would like to be able to tell it to use M99 instead of M30 if I am looping a program, or using it as a subprogram.
I am using the mplmaster post (x5), slightly modified for my machine.
I used the post debugger and found this, I am just unsure of what to add or replace to make it user definable:
peof$ #End of file for non-zero tool ptoolend$ comment$ n$, "M30", e$ mergesub$ clearsub$ mergeaux$ clearaux$ "%", e$
Is something like this even possible?
Thanks
Anyone familiar with NCPlot?
Everytime I post from mastercam I get this error.
If I change my machine to the lathe diameter canned cycle. It then doesn't like the format and says "No Q programmed in the g76 line" when there is clearly a Q value. (it also ends plotting after the G76 error and wont finish showing the program in the verify screen)
Is it not realizing I am using a 2 block G76 cycle (fanuc ot control)?
Anyone know how I can fix this, I have been using block skip so it ignores the G76 and I can still verify the program.
Hello. I am using the supplied mplmaster post for mastercam x5. I have modified it for our machine (2 axis lathe fanuc ot control).
I am stuck on why it is doing what it is doing. Using the same tool for some reason during grooving or part off it wants to stop the spindle and change direction.
My tools are set up correctly. I am using the same tool to groove, plunge turn, and part off. The tool should be using the M04 (CW) on all operations.
I have tried using the post debugger to make sense of what is happening, but I haven't had much luck.
Here is my code, let me know your thoughts, or if I am missing something.
Thanks in advanced.
(CUT THREAD RELIEF)
G28 U0. W0.
N2 G0 T0707
G99
G97 S750 M04
G0 X.82 Z-.8352 M8
G50 S750
G96 S250
G1 X.5811 F.002
G0 X.82
X.8351
Z-.895
G1 X.54
G0 X.8351
G96 S350
G0 Z-.6811
X.7799
G1 X.6385 Z-.7518 F.0025
X.5779 Z-.8259
G0 X.8314
G0 Z-.9707
G1 X.69 Z-.9
X.53
Z-.8844
X.5779 Z-.8259
G0 X.7799
(ROUGH TURN BACKSIDE)
G96 S250
G0 X.8125
Z-2.8089
G1 X.715 F.002
X.731 F.005
M05
G96 S300 M03
Z-3.245
G96 S250
X.68 F.002
X.696 F.005
G96 S300
Z-2.8125
X.7073 Z-2.8181 F.01
G96 S250
X.645 F.002
X.661 F.005
G96 S300
Z-3.245
X.6836 Z-3.2337 F.01
M05
G96 S300 M04
G0 X.6926
Z-2.8328
G1 X.625 F.002
X.665 F.005
G0 X.81
Z-2.7675
G1 X.75 F.002
G3 X.67 Z-2.8075 I-.04 K0.
G1 X.625
M05
G96 S450 M03
Z-3.2294 F.005
X.6391 Z-3.2223
G0 X.8125
Z-3.25
G96 S300
G1 X.73 F.002
X.625
X.6391 Z-3.2429 F.005
G0 X.81
M9
G97 S750
G28 U0. W0. M05
M01
I found the lines and was able to alter them accoerdingly. Thank you.
Is there a way i can remove the g28 z0. before the initial tol change at the start of the program?
or replace it with a better alternative such as a g00 z10. or something similar?
I attached an image of my posted g code.
Thanks again.
My controller doesn't like using a decimal place with P for dwell.
I thought in would try a U instead. I changed the letter P to a U under toolchange/nc output variable formats in the dwell portion.
Was this the correct way to change it? Is there more I need to change ? It posted correctly when I tried it. The integer value is still set to 11.
Post is mpmaster for x5.
Thanks
Hello. I am wondering if anyone can help me. I need to remove the g28 z0 at the end of an operation before a tool change as this causes z axis to retract past my atc.
The post is mastercam x5 mpmaster.
I have slightly modified it for my use but I am stuck on this one.
Thanks.
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.