How to load G15 offsets written in the program


Results 1 to 3 of 3

Thread: How to load G15 offsets written in the program

  1. #1
    Registered
    Join Date
    Apr 2010
    Location
    USA
    Posts
    260
    Downloads
    0
    Uploads
    0

    Default How to load G15 offsets written in the program

    We have an MB5000 with a fastems pallet system. I am trying to figure out how to write in the top of the program G15 fixture offsets that will write to the controller. Does anyone have an example code they could share?

    Similar Threads:
    www.machmachine.com


  2. #2
    Member
    Join Date
    Feb 2011
    Location
    usa
    Posts
    353
    Downloads
    2
    Uploads
    0

    Default Re: How to load G15 offsets written in the program

    this what we use for an osp200 control
    at the begining of the program we use
    CALL O2222 after running it once we (bracket it)




    O2222

    (GENERATE INDIVIDUAL WORK OFFSET BY #10)
    VZOFX[11]=VZOFX[10]+2.
    VZOFY[11]=VZOFY[10]
    VZOFZ[11]=VZOFZ[10]

    VZOFX[12]=VZOFX[10]+4.
    VZOFY[12]=VZOFY[10]
    VZOFZ[12]=VZOFZ[10]

    VZOFX[13]=VZOFX[10]+6.
    VZOFY[13]=VZOFY[10]
    VZOFZ[13]=VZOFZ[10]

    VZOFX[14]=VZOFX[10]+6.
    VZOFY[14]=VZOFY[10]+2.4987
    VZOFZ[14]=VZOFZ[10]

    VZOFX[15]=VZOFX[10]+4.
    VZOFY[15]=VZOFY[10]+2.4996
    VZOFZ[15]=VZOFZ[10]

    VZOFX[16]=VZOFX[10]+2.
    VZOFY[16]=VZOFY[10]+2.4997
    VZOFZ[16]=VZOFZ[10]

    VZOFX[17]=VZOFX[10]
    VZOFY[17]=VZOFY[10]+2.4989
    VZOFZ[17]=VZOFZ[10]
    RTS
    %


    the operator picks up a single work offset g15 h10 and it put the rest of the offsets into the control
    if you want a single offset you could write it like this
    VZOFX[11]=XX.XXX
    VZOFY[11]=YY.YYY
    VZOFZ[11]=ZZ.ZZZ
    VZOFA[11]=AA.AAA

    GOOD LUCK



  3. #3
    Member deadlykitten's Avatar
    Join Date
    Jun 2015
    Location
    Antarctica
    Posts
    4154
    Downloads
    0
    Uploads
    0

    Default Re: How to load G15 offsets written in the program

    you may find other examples here : http://www.cnczone.com/forums/okuma/...gins-code.html

    G15 : work coordinate system, workpiece coordinate number, or origin, or program 0 etc,but not offset
    ... G15 is linked (*1) to the fixture
    G56 : offset
    ... G56 is linked (*2) to the spindle

    (*1) linked means that this G code has it's reference plane at a specific distance from the table, and / or at specific angles for rotary axis towards the ground
    (*2) towards the sky opposite reference from G15

    sharpening a grinding stone with a diamond knife, involves somehow reversing those reference planes, because part is in spindle and tool is fixture

    we are merely at the start of " Internet of Things / Industrial Revolution 4.0 " era : a mix of AI, plastics, human estrangement, powerful non-state actors ...


  4. #4
    Registered
    Join Date
    Apr 2010
    Location
    USA
    Posts
    260
    Downloads
    0
    Uploads
    0

    Default Re: How to load G15 offsets written in the program

    Thanks for the info. This is what I did and it works:
    VZOFX[1]=-0.0522 VZOFY[1]=17.7079 VZOFZ[1]=-1.9650 VZOFB[1]=-225.23
    VZOFX[2]=7.8307 VZOFY[2]=17.6992 VZOFZ[2]=-8.1171 VZOFB[2]=-135.23
    VZOFX[3]=7.8307 VZOFY[3]=17.6992 VZOFZ[3]=-7.7954 VZOFB[3]=44.77

    www.machmachine.com


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

How to load G15 offsets written in the program

How to load G15 offsets written in the program