Z ax to 0 when moving towards starting position

Z ax to 0 when moving towards starting position

stefan_keet
Participant Participant
279 Views
2 Replies
Message 1 of 3

Z ax to 0 when moving towards starting position

stefan_keet
Participant
Participant

Good day, 

Somehow something changed in my post processor a few days ago. 
When I load a new program in my machine the z ax declines to Z0 starting position before moving 
towards the actual program starting position. 

I have done some research, but did not find a clear answer to this question,


Here is the starting code of my program: 

 

%
(1001)
(T1 D=1.5 CR=0. - ZMIN=-0.1 - FLAT END MILL)
N10 G90 G94 G17 G91.1
N15 G21
N20 G53 G0 Z0.
(FACE1 2)
N25 T1 M6
N30 S5000 M3
N35 G54

The red Z0 is the issue in the post processor. 

 

The program also ends in the Z0 position instead of the safe retrace:

 

N1360 X-17.848 Y4.215 Z-0.132
N1365 G0 Z5.
N1370 M9
N1375 G53 Z0.
N1380 M30


Thanks in advance for helping, 
Kind regard

Stefan Ketelaars 

 

0 Likes
Accepted solutions (1)
280 Views
2 Replies
Replies (2)
Message 2 of 3

KrupalVala
Autodesk
Autodesk

Hi @stefan_keet ,

 

If you call G53 G0 Z0 then Z axis will move to machine Z home position. G53 temporarily cancels the WCS offset & uses the MCS (Machine coordinate system).


First, you need to check the MCS value in your machine & if it is not at the top right/left corner or safe height then you can set the value in the post-processor for each axis.

 

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes
Message 3 of 3

stefan_keet
Participant
Participant
Accepted solution

During the post process I changed the "safe retrace" from 'G53' to 'clearance hight'. Now it works!, but thanks for helping! 

0 Likes