Hello Guest it is May 20, 2019, 01:23:37 PM

Author Topic: z axis goes to Machine 0 and not soft 0  (Read 1247 times)

0 Members and 1 Guest are viewing this topic.

Offline nava

*
  •  45 45
    • View Profile
z axis goes to Machine 0 and not soft 0
« on: January 12, 2012, 11:47:46 AM »
I'm having a little problem with setting my Z axis.  When I zero out my work piece to start a job Mach uses machine 0 on the Z axis instead of the soft 0. The machine will zero to the soft X and Y but not Z and the only thing that I have found to fix this is to first 0 out all the axis then do a restart of mach3.  Ive looked through the settings and so far cant see whats causing this  and ideas?
Here is an example of the files im loading...just the start of it anyway
%
O5000 (12MM_TUBE_HOLDER_CORRECTED.TAP)
( MCV-OP ) (02-NOV-2011)
(SUBROUTINES: O2 .. O0)         
G90 G17
G80 G49 G40
G54
G91 G28 Z0 //When the machine reaches here its at the machine z and not soft z
G90
M01
N1 M6 T1
(TOOL -1- MILL DIA 6.0 R0. MM )
G90 G00 G40 G54
G43 H1 D31 G0 X16.897 Y20. Z50. S1000 M3
M8
« Last Edit: January 12, 2012, 11:51:16 AM by nava »

Offline Hood

*
  •  25,811 25,811
  • Carnoustie, Scotland
    • View Profile
Re: z axis goes to Machine 0 and not soft 0
« Reply #1 on: January 12, 2012, 02:09:51 PM »
Have a look at the description of G28 in the G Code list.

Hood

Offline nava

*
  •  45 45
    • View Profile
Re: z axis goes to Machine 0 and not soft 0
« Reply #2 on: January 13, 2012, 07:00:45 AM »
thanks hood worked it out its all todo ith the post file im using and understand the g28 now:)