Todd:
Sorry about that , I will check the code again on G28.1
The extremea seems to work for me. Remember the extrema numbers are in
machine absolute coordinates. This means if you jog to X10, then zero, when
loading the file, the interpreter will see all movements being from your
zero, so the extrema, which lists the machine coordinates max and min, will
have 10 added to min and to max. This makes the number appear to change, but
they should as the actual machine coordinates will change during that run.
Hitting regen after zero'ing will display the new extrema. Its easy this
way to see if you will go over your limits. If you have a negative number in
any min, you will pass the limits of your machine. If you have a max larger
than your table size, the same will occur on the other side.
I will let you know on the G28.1.
Thanks,
Art
www.artofcnc.ca