Lathe Tailstock Crash

Lathe Tailstock Crash

trentSMU72
Observer Observer
432 Views
4 Replies
Message 1 of 5

Lathe Tailstock Crash

trentSMU72
Observer
Observer

At the beginning of my programs for lathe the post is positioning on part and moving in both z and x axis causing a possible crash into the tailstock. How can I change this to move in first z and then x when positioning. This occurs every time it goes to position from the home position. The post I am using is Fanuc turning Version- 44087.

 

Bellow is example of post with error in red.

 

G98 G18
G20
G50 S2000
G28 U0.
G28 W0.

(FACE1)
T0101
G99 G18
G54
M8
G97 S500 M3
G0 X2.2 Z0.575
G96 S1100 M3
G0 Z0.4166
X1.4
0 Likes
Accepted solutions (1)
433 Views
4 Replies
Replies (4)
Message 2 of 5

seth.madore
Community Manager
Community Manager

Hmm, that's interesting. I can confirm this behavior. I'm checking in with a developer to see if it's known what the thought process is behind that. It does appear to be a simple enough thing to change, but I'm going to wait to hear back before I make my suggestion.


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 3 of 5

seth.madore
Community Manager
Community Manager
Accepted solution

So what you're going to want to do is edit line 1130, which is currently this:

writeBlock(
      conditional(getProperty("type") != "A", gAbsIncModal.format(90)),
      gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y), zOutput.format(initialPosition.z)
    );

 

We're going to split it into a Z and then an X move, like this:

 writeBlock(
      conditional(getProperty("type") != "A", gAbsIncModal.format(90)),
      gMotionModal.format(0), zOutput.format(initialPosition.z)
    );
    writeBlock(
      conditional(getProperty("type") != "A", gAbsIncModal.format(90)),
      gMotionModal.format(0), xOutput.format(initialPosition.x), yOutput.format(initialPosition.y)
    );



This will give you code like this:

17 G54
N18 M8
N19 G97 S4000 M3
N20 G0 Z0.      <---- approach in Z first
N21 X3.1496     <----then in X secondly
 

Seth Madore
Customer Advocacy Manager - Manufacturing


Message 4 of 5

trentSMU72
Observer
Observer

This fixed it. Thank you sir 

0 Likes
Message 5 of 5

haggismaximus
Participant
Participant

Is there a way to implement this (also using Fanuc Turing) but only when the "use tailstock" box is checked?  I want it to rapid shortest route if there is no tailstock in the way. 

0 Likes