M6 Remap Lathe (Remap T & ignore M6)

More
1 year 9 months ago #318507 by Yaroslav
The tool changer system doesn't matter. I have several lathes with different tool change systems. They all work fine. But for a lathe I don't want to use the command T1M6G43H1, but only T1. Machines with Ladder ATC can do it.More complex machines, such as Sauter, it is better to make a carousel component. And here it does not work like that.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago - 1 year 9 months ago #318514 by StephenKing

The tool changer system doesn't matter. I have several lathes with different tool change systems. They all work fine. But for a lathe I don't want to use the command T1M6G43H1, but only T1. Machines google baseball with Ladder ATC can do it.More complex machines, such as Sauter, it is better to make a carousel  component. And here it does not work like that.
 
Yeah, the different lathes have different tool change systems, and the command T1 may work for some machines but not others. Or more complex machines like Sauter, using a carousel component is a better approach as it allows more flexibility in managing the tool changes.
Last edit: 1 year 9 months ago by StephenKing.
The following user(s) said Thank You: Yaroslav

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #318533 by smc.collins
To give you a idea of what is required to run a tool changer, here is the component I wrote for MY machine. You could certainly simplify this code and improve it, but the basics are all there. You could rewrite this with a switch statement, but then you'd be forgoing the error checking scheme unless you want to nest lots of switch statements inside of the primary switch statement. 

Also you must have a g43 call on tool changes to get your tool offsets, no way around that. Most of this is easily fixed in the CAM software post processor, or if you ware writing code by hand, just copy/paste. I suppose if you wanted to create a macro for each tool that had the preamble in the gcode you could do so. 

 

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #318539 by Yaroslav
Thanks for the idea, but I don't know python well enough yet. I think this function should work by default. And it works if I use Ladder. Maybe someone already knows how it should work. Maybe I need to make some more connections in the HAL file. I have no ideas yet. The error makes a reference to the text in the stdglue.py file. Maybe it needs to be edited, but I don't know how to do it yet.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #318569 by smc.collins
If you post up the wiring a d function diagrams for your tool changer i could help, but it's more complicated than just hooking up hal pins

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #318630 by Yaroslav
I can make a simple configuration for 2 tools with a sensor for each tool with a carousel component. I can for 7i92+7i77 or 7i96s, because I have such cards to check. I think this will be enough for understanding. Which is better?

Please Log in or Create an account to join the conversation.

Time to create page: 0.254 seconds
Powered by Kunena Forum