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?
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?
www.machmachine.com
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
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
Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg
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