Hi guys,
We're getting 2 new MB8000H machines next month and I'm starting to write the post processor for our CAM system.
Does anyone know if you can pass through X Y and Z data into a sub program in order to do a datum shift?
I have an example where an X and Y is passed thro ...
CALL OABCD PXCN=10 PYCN=10
and then in the sub program you have this code ......
VZOFX[200]=VZOFX[1]+PXCN
VZOFY[200]=VZOFY[1]+PYCN
VZOFZ[200]=VZOFZ[1]
VZOFB[200]=VZOFZ[1]
G15 H200
Obviously this only works for X and Y, but I need to be able to shift in Z too.
Anyone else tried this?
Thanks,
Mark