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 out H1 workoffset


cappy
 Share

Recommended Posts

Hello,

 

I have begun the long road to tweaking my post.

I am using MPMASTER.pst with a Milacron 950 Aramatic Control on 630 Maxim. I understand the tool plane check box with work offset set 0-g54 1 g55 etc. How do I get it to H1 format. I have seen something in the post called:

 

pwcs #G54+ coordinate setting at toolchange

if wcstype = two | wcstype > three,

[

sav_frc_wcs = force_wcs

if sub_level$ > zero, force_wcs = zero

if sav_mi9 = 1, workofs$ = sav_workofs

if workofs$ < 0, workofs$ = 0

if workofs$ <> prv_workofs$ | (force_wcs & toolchng) | sof,

[

if workofs$ < 6,

[

g_wcs = workofs$ + 54

*g_wcs

]

else,

[

p_wcs = workofs$ - five

"G54.1", *p_wcs

]

]

force_wcs = sav_frc_wcs

!workofs$

]

 

I have seen other posts with H values.

 

Please help.

 

thanks,

Greg.

Link to comment
Share on other sites

John,

 

The H1 is a work offset. We have 16 per pallet.

I know H's can also be used for a tool length offset as in a Fanuc 18M series.

 

Basically we mill on B0, B90, B180, B270.

The work offsets are H1-B90, H2-B270, H3-B0, AND H4-B180. I don't think we have used anymore than four.

 

Thanks,

Greg.

Link to comment
Share on other sites

Terry,

 

The MAXIM has a AWC automatic work changer. ^ pallets shuttle. I am not sure what you mean by pallet index. We do not index or shuttle a new pallet in the machine during a part program. Once the "1st operation" is done. The pallet is sent out and the "2nd pallet operation" is performed. Regardless of what pallet is in the machine the B - side face will have it's own workoffset H value as mentioned above. If I work on B90 the work offset coded is H1.

Link to comment
Share on other sites

John,

 

The sample below is what our old APT was doing.

Notice the H1 value in the long line of code.

 

 

N1(PGM,=" A24431B MAX C/N -NONE- HOUSING "L-1 D20/FEB/ 7 14:10

:G70 G129 P6 C6

N5G1F0.1M5

N10G0B180.F100.S20

:15G0G70F100.T10300000M6

N20 (MSG, 3.0 MILL

:25G80G70X-10.125Y17.135Z0.B180.R5.105F100.S500T38162500H1M3M8

N30G1X-10.125Y17.135Z4.605B180.F100.S500H1M3M8

N35Y11.06F8.

N40X-8.025

N45Y16.46

N50G0Z5.105

:55G80G70X-10.125Y17.135Z0.B180.R4.86F8.S500H1M3M8

N60G1X-10.125Y17.135Z4.36B180.F100.S500H1M3M8

N65Y11.06F8.

N70X-8.025

N75Y16.46

N80G0Z4.86

:85G80G70X-10.125Y17.135Z0.B180.R4.615F8.S500H1M3M8

N90G1X-10.125Y17.135Z4.115B180.F100.S500H1M3M8

N95Y11.06F8.

N100X-8.025

N105Y16.46

N110G0Z4.615

:115G80G70X-10.125Y17.135Z0.B180.R4.605F8.S500H1M3M8

N120G1X-10.125Y17.135Z4.105B180.F100.S500H1M3M8

N125Y11.06F8.

N130X-8.025

N135Y16.46

N140G0Z4.605

N145G1M26

Link to comment
Share on other sites

Couple of ways to do this...

 

if wcstype = two | wcstype > three,

[

sav_frc_wcs = force_wcs

if sub_level$ > zero, force_wcs = zero

if sav_mi9 = 1, workofs$ = sav_workofs

if workofs$ < 0, workofs$ = 0

if workofs$ <> prv_workofs$ | (force_wcs & toolchng) | sof,

[

g_wcs = workofs$ (or + 1 if you want a work offset of 0 to equal H1)

*g_wcs

]

force_wcs = sav_frc_wcs

!workofs$

]

 

At the top of the file change this:

fmt G 4 g_wcs #WCS G address

to this:

fmt H 4 g_wcs #WCS G address

 

With this you still need to select your work offset in mastercam as you were before, it's not tied to the angles.

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