What's new
What's new

Help with "nexttool" token in Edgecam post processor for an OSP5020M controller

Vanaheim

Plastic
Joined
Dec 22, 2020
Help with "nexttool" token in Edgecam post processor for an OSP5020M controller

This is for an Okuma MC-40VA mill.

The "nexttool" token works well in the first and general tool change code constructors. Using M63 instead of "nexttool" token in the last tool change code constructors works as designed as seen by this code for two tools in the sequence.

$TESTTAP.MIN%
G15 H1
T5 M6
T9
S800 M3
G90 G0 X0.0 Y25.0
G56 Z5.0 H5
M8
G71 Z5.0
G83 Z-26.043 R5.0 Q2 F70
G80
M5 M9
T9 M6
M63
S100 M3
G90 G0 X0.0 Y25.0
G56 Z5.0 H9
M8
G71 Z5.0
G84 Z-20.0 R5.0 P1 F125
G80
M5 M9
G30 P1
M2
%

However if we have a sequence with only one tool, an error calling the "nexttool" token occurs. It says the next tool is the same as the first tool with resulting error message in the controller.

$TESTHOLE1.MIN%
G15 H1
T2 M6
T2
S800 M3
G90 G0 X0.0 Y25.0
G56 Z5.0 H2
M8
G71 Z5.0
G83 Z-7.803 R5.0 Q2 F80
Y50.0
G80
M5 M9
G30 P1
M2
%

What I do currently is simply delete the next tool command and type in M63 for any sequence using only one tool.

Is there a way to place an M63 command in a single tool sequence instead of the next tool duplicate?

Cheers in anticipation.
 








 
Back
Top