REMAP M6 FOR GENEVA ATC

More
26 Oct 2018 14:25 #119447 by COlger81
I am remapping the tool change procedure and i need the spindle to come to a complete stop before executing python script. Any suggestions would be appreciated.

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

More
26 Oct 2018 16:27 #119458 by cmorley
Replied by cmorley on topic REMAP M6 FOR GENEVA ATC
Are you asking for hardware solutions or software solutions?
A little more detail would be helpful.

Chris M

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

More
26 Oct 2018 16:38 #119461 by COlger81
Replied by COlger81 on topic REMAP M6 FOR GENEVA ATC
Software. This is a Fadal with 21 tool changer. Which tool change pin fires first in IO control when M6 is executed?

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

More
26 Oct 2018 16:41 #119462 by COlger81
Replied by COlger81 on topic REMAP M6 FOR GENEVA ATC
Also, where can i find the actual code that's executed during an M6 routine?

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

More
26 Oct 2018 17:29 #119471 by cmorley
Replied by cmorley on topic REMAP M6 FOR GENEVA ATC
Here is the over view of tool changes:
linuxcnc.org/docs/2.7/html/remap/remap.h...ange-currently-works

Look in src/emc/iotask/ioControl.cc for the HAL pin hand shaking


But I wonder if you 'AND' the tool-change pin with some sort of spindle stopped pin. (maybe even spindle at speed?)
Or feed the tool-change into a delay timer component.

Chris M

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

More
26 Oct 2018 20:03 #119483 by COlger81
Replied by COlger81 on topic REMAP M6 FOR GENEVA ATC
I was able to create a pin that gets triggered by the "tool-prepare" pin, which is the first pin activated by M6. I defined conditions in python as "while pin is active" and "spindle speed in == 0". Works great.

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

More
27 Oct 2018 01:24 #119496 by andypugh
Replied by andypugh on topic REMAP M6 FOR GENEVA ATC
I seem to say this a lot, but take a look at the sim/axis/vismach/VMC_toolchange configs. (You can run this on your current machine, it won't touch hardware, but has a 3D model of the machine).

I think that all you need is probably in there.

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

More
29 Oct 2018 16:18 #119602 by COlger81
Replied by COlger81 on topic REMAP M6 FOR GENEVA ATC
I have the bulk of my ATC process done but i'm struggling with applying the carousel component "counter" to my changer. I have a fadal random 21 pocket changer. The sensor for counting tools is a single hall sensor connected to a BIT "true or false" input with magnets half way between each pocket.

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

More
29 Oct 2018 19:53 #119612 by andypugh
Replied by andypugh on topic REMAP M6 FOR GENEVA ATC
Is there an additional home sensor so that the machine knows where pin 1 is?

How did the original system know when to turn off the motor if the sensor is between positions?

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

More
29 Oct 2018 20:02 #119613 by COlger81
Replied by COlger81 on topic REMAP M6 FOR GENEVA ATC
It does not have a home sensor on the turret. There's a detent at each pocket, the motor is shutoff at the halfway point when the magnets hit the sensor, the turret glides the other half and is grabbed by detent.

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

Time to create page: 0.151 seconds
Powered by Kunena Forum