tool change needs referance pls help

tool change needs referance pls help

tugaysamanci
Explorer Explorer
205 Views
1 Reply
Message 1 of 2

tool change needs referance pls help

tugaysamanci
Explorer
Explorer

Hello, I own an old Feeler VMC. The Z-axis travel is very limited, so for safety reasons, the machine needs to return to the reference position before every tool change.

I manually add the following lines before each tool change:

G80 G91 G30 Z0.
G91 G30 X0. Y0.

T1
M06
 
If i dont add the code the machine won’t change tools. Is there a way to modify the post processor to automatically include these lines before each tool change?
0 Likes
206 Views
1 Reply
Reply (1)
Message 2 of 2

billcainautodesk
Alumni
Alumni

Hello @tugaysamanci 

You can change the settings for retract. onToolChange was set to false. You can tell it to send the tool home in X and Y.

retract: {
cancelRotationOnRetracting: false, // specifies that rotations (G68) need to be canceled prior to retracting
methodXY : undefined, // special condition, overwrite retract behavior per axis
methodZ : undefined, // special condition, overwrite retract behavior per axis
useZeroValues : ["G28", "G30"], // enter property value id(s) for using "0" value instead of machineConfiguration axes home position values (ie G30 Z0)
homeXY : {onIndexing:false, onToolChange:{axes:[X, Y]}, onProgramEnd:{axes:[X, Y]}} // Specifies when the machine should be homed in X/Y. Sample: onIndexing:{axes:[X, Y], singleLine:false}
},



Bill Cain
Sr. Technical Consultant
0 Likes