I am trying to get my FeatureCAM code working with our Fanuc 0M controller attached to the Bridgeport Series II VMC.

FeatureCAM has the post processor that fits the Fanuc 0M perfectly, but I am running into some troubles...

Fcam issues up a G28 right away in our code,

G28 Z1.0

That should move the bit to 1" above the reference position right?

Problem is our reference position on the machine seems to be set below our limit switches and this code kills the machine.

How do I edit the reference position? I am not sure which parameter controls it.. I tried looking in the Fanuc Manual, but it vaguely mentions reference position. Is it one of the work coordinate systems? All of my work coordinate systems are set to zero...

When I power off the machine it resets the abs. coordinate system. How is this reference position still stored? I put the machines abs coordinate system as high as I can, but it is still killed by the reference position... it must be really far down there..

There is definitely something obvious I am not seeing here..