Did you run Z zero on your material before sending G code??
You may want to follow this link. Correct 'z' zero method?