Skip to content

Tool precall bug random tool changers only #330

Description

@robharp

This only happens on a machine with random changer turned on(from setting ini value). machins with a non random do not see this bug

when running pre called tools on a program or MDI command but you do not follow it with a M06 , the next time you run a Txx and M06 line, if the tool call is the tool already in use/spindle then the M06 is performed when it should not be. putting the wrong tool into the spindle and the program will continue to run..

if you do not run pre calls then this bug is not seen. but defeats the object of random with pre calling.

Here are the steps I follow to reproduce the issue:

run this problem
N1 g91 g28 z0
N2 t1 m6
N3 t2 g90 g00 g43 h1 z100. (abort here or after it)
N4 g04 p20.
N5 g91 g28 z0
N6 t2 m6
N7 m30

if you run this program, abort on line 3 or 4t, then re-run from N1, the tool 1 will be changed for Tool 2
the T1 & M6 should be skipped as we already have T1

on a non ramdon tool changer machine this bug is not seen running this same program

checked on current stable 2.7.11 & 2.8-Pre, above happens

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions