Hello Guest it is April 21, 2021, 02:39:51 PM

Author Topic: TOOL CHANGE ISSUE  (Read 500 times)

0 Members and 1 Guest are viewing this topic.

TOOL CHANGE ISSUE
« on: May 05, 2020, 01:56:50 PM »
I have an auto tool changer on my Lathe . Mach4 Pokeys 57e Motion controller . Macro from Mach .Macro works in Mid .I am able to change from tool to tool one direction . My turret is set up to home . From with in a g-code program it will change the first tool but then the next tool change Mach gets stuck . I have to re set the software to gain control again . I am very confused  :-[
Re: TOOL CHANGE ISSUE
« Reply #1 on: May 05, 2020, 02:07:19 PM »
Can you post your tool change code? Maybe an example of Gcode with descriptions of what does or doesn't happen at each line.
Re: TOOL CHANGE ISSUE
« Reply #2 on: May 05, 2020, 04:49:40 PM »
I start at T0000  Machine will change to tool 1, runs the program ,rapids to home position G28 X0 Z0 .gets to line T0202 and Mach4 freezes at this line. No error message .I have to hit rest to gain control of Mach .In the offset display it changes to 2 the m06 light blinks .But it dose not change the tool . When I hit rest the tool number changes to 2 . So if I manually move the turret to the next tool which is tool 2  and run the program from tool 2 it will machine that operation then it will change to tool 3 machine that operation and freeze at tool 4 . Its as if it only wants to complete one tool change .I have spent the last year trying to make the turret work and now I find out it wont change the tools from a program . I can use mdi and it will change through the whole turret and home back to 0.Thanks for any help.
« Last Edit: May 05, 2020, 04:51:19 PM by gabedrummin »

Offline Graham Waterworth

*
  • *
  •  2,306 2,306
  • Yorkshire Dales, England
    • View Profile
Re: TOOL CHANGE ISSUE
« Reply #3 on: May 05, 2020, 06:03:30 PM »
Turn logging on in diagnostics tab and put some messages into your code to see where it gets to.  Better still post your code so we can help fix it.
Without engineers the world stops
Re: TOOL CHANGE ISSUE
« Reply #4 on: May 05, 2020, 07:29:13 PM »
Here it is

Offline Graham Waterworth

*
  • *
  •  2,306 2,306
  • Yorkshire Dales, England
    • View Profile
Re: TOOL CHANGE ISSUE
« Reply #5 on: May 05, 2020, 07:38:59 PM »
This is not the code we need, we need to see the M6.msc file, this is what controls the tool changer.

You can find this in the mach4/profiles/profilename/macros/m6.msc

Without engineers the world stops
Re: TOOL CHANGE ISSUE
« Reply #6 on: May 05, 2020, 07:55:25 PM »
Sorry every time I try to upload it an error generates and the mcs file gets deleted.
« Last Edit: May 05, 2020, 08:00:29 PM by gabedrummin »

Offline Graham Waterworth

*
  • *
  •  2,306 2,306
  • Yorkshire Dales, England
    • View Profile
Re: TOOL CHANGE ISSUE
« Reply #7 on: May 05, 2020, 09:49:14 PM »
Try this version :-
Without engineers the world stops
Re: TOOL CHANGE ISSUE
« Reply #8 on: May 06, 2020, 10:05:05 AM »
Thank you sir .I will try this tonight when I get home. I appreciate your help sir ! Thank you ,have a blessed day sir .
Re: TOOL CHANGE ISSUE
« Reply #9 on: May 06, 2020, 05:41:15 PM »
I tried your Macro sir and she is doing the same thing .Hangs up on the tool change .Its going to be a Mach bug .Ive gone through two computers .I have lost count how many un-installs , installs I have done . I think it was a month ago I installed the latest's development version on Machs request to fix another issue. Thank you for your effort to help me.