Need Help! changing post from haas to okuma need help with work offset


Results 1 to 2 of 2

Thread: changing post from haas to okuma need help with work offset

  1. #1
    Registered
    Join Date
    Jul 2016
    Location
    United States
    Posts
    10
    Downloads
    0
    Uploads
    0

    Default changing post from haas to okuma need help with work offset

    Before ppl tell me to ask Mastercam or a third party let me say that they haven't paid since x5 so I have no support. not my fault company is cheap.

    Okuma control is osp-p200ma
    so up to now I have been changing the program by hand every time so I figured id give it a try I have figured almost everything out except 3 things, first of all, is the work coordinate system.
    Haas uses a g54,g55,g56.exc what my Okuma uses is a g15 h1,g15 h2, g15 h3 and so on. below I will paste the Haas post area that has to do with the wcs

    (starts here)
    wcs #G54+ coordinate setting at tool change
    if mi1$ > one,
    [
    sav_frc_wcs = force_wcs
    if sub_level$ > 0, force_wcs = zero
    if workofs$ <> prv_workofs$ | (force_wcs & toolchng),
    [
    if workofs$ < 6,
    [
    g_wcs = workofs$ + 54
    ]
    else,
    [
    g_wcs = workofs$ + 104
    ]
    if workofs$ >= 0 & workofs$ <= 25, *g_wcs
    else,
    [
    if mprint(swcserror, 2) = 2, exitpost$
    ]
    ]
    force_wcs = sav_frc_wcs
    !workofs$
    ]
    (ends here)


    what I need to do is to make (if workofs$ < 999) for it to use always g15 + whatever # I have in Mastercam under work offset in planes tab and if it is at 0 to default to g15 h1

    my other problem is how to turn off so there is no a0.(probably really simple just haven't found it yet)

    then it is to change the Haas g98 to make it say line before g71 + whatever clearance i have set in mastercam then in the same drilling\tapping cycle at the end to say m53

    if any1 has any ideas or can help me out please im all for it.

    Similar Threads:
    Last edited by matesz0147; 06-13-2017 at 11:53 AM.


  2. #2
    Registered
    Join Date
    Jul 2016
    Location
    United States
    Posts
    10
    Downloads
    0
    Uploads
    0

    Default Re: changing post from haas to okuma need help with work offset

    bump



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

changing post from haas to okuma need help with work offset

changing post from haas to okuma need help with work offset