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:
Thanks
After playing around with the post I found what I needed to do. I got it to post the way I want it to. I added (pcan1, pbld, n$, pfxout, pfyout,) to the section that handels the sub program. see below
Chris
psub_st_m$ #Header in main level
result = nwadrs(stro, main_prg_no$)
" ", e$
*main_prg_no$, e$
ptooltable
pcan1, pbld, n$, pfxout, pfyout, (ADDED THIS LINE )
strcantext, e$
#G51/G68 requires absolute position on first move
if mr_rt_actv & absinc$ = one,
[
sav_absinc = absinc$
absinc$ = zero
prv_absinc$ = m_one
prv_xabs = m_one
prv_yabs = m_one
]
else, pbld, n$, sgabsinc, e$
I'm using the generic Hass 4th axis post with sub programs I want the X Y positioning in the sub program not the main program can any one help me out. I hate to edit programs by hand.
Thanks Chris
X3 MU1
example below
This is what I want
O0010
X4.2025 Y-6.48
Z1.5975
G1 Z1.1792 F24.4
G41 D3 X4.4575 F48.9
Y-.2149
G40 X4.2025
G0 Z1.75
Y-6.48
Z1.2792
G1 Z.8608 F24.4
G41 D3 X4.4575 F48.9
Y-.2149
G40 X4.2025
G0 Z1.75
Y-6.48
Z.9608
G1 Z.5425 F24.4
G41 D3 X4.4575 F48.9
Y-.2149
G40 X4.2025
G0 Z1.75
M99
This is what I get
O0010
Z1.5975
G1 Z1.1792 F24.4
G41 D3 X4.4575 F48.9
Y-.2149
G40 X4.2025
G0 Z1.75
Y-6.48
Z1.2792
G1 Z.8608 F24.4
G41 D3 X4.4575 F48.9
Y-.2149
G40 X4.2025
G0 Z1.75
Y-6.48
Z.9608
G1 Z.5425 F24.4
G41 D3 X4.4575 F48.9
Y-.2149
G40 X4.2025
G0 Z1.75
M99
Thanks for everybody help. I found my problem why it wasn’t working for me. When I defined me tool I was using undefined tool type and when using that style the tool has to be drawn to full size of the half profile and you can only side mill with it or cut with the very bottom you can’t hemstich with it mastercam gets lost, to use a tool like the one I was using you have to use a different tool type I used sphere mill tool type with a custom file or custom level drawn to half profile scaled to a 1.00 radial then mastercam scales it back to what ever size you callout for tool dia. then you can hemstich with it. I called my local mastercam dealer and they helped me out with this I was using the wrong tool type for the application I was trying to use the tool for. Though I would pass this along to you. Also thanks too Rich G from Cimtech for helping me put
Thanks Chris
Nils my tool is drawn up like yours except I only have part of the 2.5 inch radius on the tip of a 1.00 endmill and were the radius intersect the side of the 1.00 inch endmill there is a .125 radius.
Ron I sent you an email with the files. I been having trouble to upload files to the FTP site.
Chris
Hi Ron
The profile is open not closed. That is the way I was told to do it a long time ago and it has always worked for me not to have the profile closed could use a dashed line for the center of the tool axis but its not needed . It looks good the back plot and verifier but when I run the same toolpath with a 5.0 inch ballnose there is a difference the custom tool leaves move mat'l on the surface and when I post it there is a difference in size, both tools should be the same just the custom tool does not have the full 2.5 inch radius like the ballnose does.
I would insert a pic of it but I don't know how to add a pic. to my reply
Thanks Chris
Oh yea I’m use Mastercam X2 MR1
Why am I getting such a big difference between tool paths both on verify and the NC file? The 1st one I’m defining the tool as a 5.0 inch ballnose full size. The second path is the same as the 1st but the tool is defined as a custom tool that is 1.00 wide with a 2.5 inch tip radius with a .125 corner radius on it , the tool shape is drawn to full size with only half of the profile drawn with no center line drawn and I’m use undefined tool type. The surface that I'm cutting has a slite contour that drops off from the center of part by 3/8 over 8 inches. Any help would be gratefully appreciated ,which tool path do I trust.
Thanks Chris
Thanks guys
I looked around in the machine/control settings but didn’t find anything there to help me with changing the z axis thanks Kyle.
I guess I will give Steve a call after the weekend, but in the mean time I still will play with it. I'm new to editing posts so I will used this as a good practice project for myself so any suggestion on what needs to be done would be very helpful anyway I'M A PROGRAMMER AND I WILL DO IT MY WAY JUST TO SHOW IT WILL BE DONE MYWAY. LOL
I’m not new to emastercam forum been around since 2000 under different login names but have changed jobs a few times and lost my info to log in.I have gain a lot of information here and helped solve a few problems.This site is a great place for Mastercam programmers
Thanks
Chris
I'm trying to modify a post for a multicam MG CNC router. All the z's are reversed meaning that a z+ goes deeper past z zero and z- stays away from z zero. Is there a way to reveres that in the post so I don't have to change it manually I’m modifying a MPMAGNUM post?
Thanks
Chris
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.