586,061 active members*
4,673 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Okuma > Okuma MB56 graphic problem
Results 1 to 11 of 11
  1. #1
    Join Date
    Jul 2011
    Posts
    0

    Okuma MB56 graphic problem

    We are machining multiple parts in one program, using g15 H# Is it possible to have a blank for each work offset in the graphic area?

  2. #2
    Join Date
    Dec 2008
    Posts
    3109
    Yes

    Each seperate stock for each offset should start DEF WORK (offset#) [ syntax should be close - been away from Okumas for a while ]
    & your stocks should be defined before a single END & then a DRAW statement

    You then can define the tools, before having the NC program code.

    Okuma can have a seperate file that is loaded with the .MIN file that has the stock ( I forget the actual extension required ) ( but the filenames must be identical ) , but it is best ( IMO ) to have only 1 file.

  3. #3
    Join Date
    Jul 2011
    Posts
    0
    Thanks Superman
    We have done this, but only one of the stock shows on the graphics. Please look at our stock definition. Did we do something wrong?

    DEF WORK[1]
    DIREC V
    ORIGIN H4
    CYLNDR 2P,[-77,-52],[77,52],-18,2
    END
    DEF WORK[2]
    DIREC V
    ORIGIN H3
    CYLNDR 2P,[-77,-52],[77,52],-18,2
    END
    DRAW

  4. #4
    Join Date
    Aug 2011
    Posts
    2517
    The second definition is being ignored? You have two END statements and Superman said only a single END statement is required.

  5. #5
    Join Date
    Jul 2010
    Posts
    287
    I had better luck formatting things like this as so:

    DEF WORK[1]
    DIREC V
    ORIGIN H4
    CYLNDR 2P,[-77,-52],[77,52],-18,2
    END
    CLEAR
    DRAW

    DEF WORK[2]
    DIREC V
    ORIGIN H3
    CYLNDR 2P,[-77,-52],[77,52],-18,2
    END
    DRAW

    I don't remember why, but that's what I remember working for me.

  6. #6
    Join Date
    Jul 2011
    Posts
    0
    Thank you tea hole

    I have done what you have suggested inserting the "clear" but is still ignores the second graphic.

  7. #7
    Join Date
    Dec 2008
    Posts
    3109
    I'm more inclined to go along this avenue

    Code:
     
    DEF WORK[1]
    DIREC V
    ORIGIN H4
    CYLNDR 2P,[-77,-52],[77,52],-18,2 
    ORIGIN H3
    CYLNDR 2P,[-77,-52],[77,52],-18,2
    END
    CLEAR
    DRAW
    Mind you, it has been a long time since running an Okuma

  8. #8
    Join Date
    Apr 2009
    Posts
    1262
    This is what works for us on our MC-V4020:

    CLEAR
    DEF WORK[1]
    ORIGIN H1
    CYLNDR 0P,[0,0],24,-17,1
    CYLNDR 0H,[0,0],08,-17,1
    ORIGIN H2
    CYLNDR 0P,[0,0],24,-17,1
    CYLNDR 0H,[0,0],08,-17,1
    ORIGIN H3
    CYLNDR 0P,[0,0],24,-17,1
    CYLNDR 0H,[0,0],08,-17,1
    ORIGIN H4
    CYLNDR 0P,[0,0],24,-17,1
    CYLNDR 0H,[0,0],08,-17,1
    ORIGIN H5
    CYLNDR 0P,[0,0],24,-17,1
    CYLNDR 0H,[0,0],08,-17,1
    ORIGIN H6
    CYLNDR 0P,[0,0],24,-17,1
    CYLNDR 0H,[0,0],08,-17,1
    ORIGIN H7
    CYLNDR 0P,[0,0],24,-17,1
    CYLNDR 0H,[0,0],08,-17,1
    ORIGIN H8
    CYLNDR 0P,[0,0],24,-17,1
    CYLNDR 0H,[0,0],08,-17,1
    END
    DRAW

    8 fixture offsets each with it's own cylinder with a hole in the middle.

    Best regards,

  9. #9
    Join Date
    Aug 2009
    Posts
    37

    Re: Okuma MB56 graphic problem

    Okuma Wiz,
    Can you explain what the information on each line means? I am a newbie to Okuma and I am trying to understand these lines.
    I understand it is a cylinder, but what do the brackets represent? and more so the numbers after?
    CYLNDR 0P<----What does the 0P stand for?
    ,[0,0]<-----[0,0] Is this x,y locations?
    ,24,-17,1<----What are each of these numbers referring to?
    CYLNDR 0H,[0,0],08,-17,1<-------What does the 0H stand for? the Hole?

    Thanks,
    Todd

  10. #10
    Join Date
    Apr 2009
    Posts
    1262

    Re: Okuma MB56 graphic problem

    Consider 0P = Part, 0H = hole
    [0,0] start drawing at x0 y0
    24 = make cylinder dia = 2.4"
    -17 = make length -1.7" so zero is at top and cylinder is -.1.7 long from z zero
    1 = solid pattern

    Soooo, it draws a cylinder 2.4" diameter with a .8" hole thru it. 1.7" long with z zero at the top of the part.

    Best regards,
    Experience is what you get just after you needed it.

  11. #11
    Join Date
    Aug 2009
    Posts
    37

    Re: Okuma MB56 graphic problem

    Quote Originally Posted by OkumaWiz View Post
    Consider 0P = Part, 0H = hole
    [0,0] start drawing at x0 y0
    24 = make cylinder dia = 2.4"
    -17 = make length -1.7" so zero is at top and cylinder is -.1.7 long from z zero
    1 = solid pattern

    Soooo, it draws a cylinder 2.4" diameter with a .8" hole thru it. 1.7" long with z zero at the top of the part.

    Best regards,
    Great! Thank you!

Similar Threads

  1. Probing half a circle in MB56
    By iMillJoe in forum Okuma
    Replies: 2
    Last Post: 04-04-2014, 10:09 PM
  2. X6 graphic problem
    By matesjiri in forum Mastercam
    Replies: 0
    Last Post: 03-01-2012, 04:30 PM
  3. Replies: 9
    Last Post: 09-09-2011, 11:57 AM
  4. ona prima graphic problem
    By rftools in forum EDM Discussion General Topics
    Replies: 0
    Last Post: 03-24-2010, 05:45 PM
  5. Mechanic and graphic problem...
    By Cimatron Fan in forum Uncategorised CAM Discussion
    Replies: 2
    Last Post: 02-19-2009, 05:04 AM

Posting Permissions

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