tool changer component integreted on a axis

More
08 Dec 2013 02:24 #41399 by andypugh

one thing that I don't understand in you example, its that you set " index_enable = 1" and in case1 you will see if "!index_enable", so it should never happens.


index-enable is a bidirectional pin. The encoder counter module sets it low to indicate that an index has been seen and that the encoder has been zeroed.

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

More
08 Dec 2013 02:32 #41400 by jtc
now makes sense.

Thanks!

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

More
10 Dec 2013 05:31 #41445 by emcPT
We are quite close to obtain a solution using only a component.
Hard to debug the code during the component programming but it appears to be near stable.

One thing that, despite all day working on this, we did not achieved is the ability to set the current position to zero in the A axis right after the homing sequence ends (in a similar way like an ordinary axis does) - after homing the DRO is set to 0.

What we are doing now (after the home) is to read what ever value the current position is and sum a value so that the commanded position equals the desired position.
It seams to be working, but for debug proposes and to be more readable it would be much better to see 30.000, 60.000 (30 and 60 degrees) than 43.23434, 63.23232 in one linuxcnc run, and different values on another run.
The problem is that the initial position is never the same as the toolchanger can rotate more or less until homed (depends on the toolchanger position when linuxcnc starts).

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

More
10 Dec 2013 05:44 #41446 by andypugh

One thing that, despite all day working on this, we did not achieved is the ability to set the current position to zero in the A axis right after the homing sequence ends .

You should be able to do this by zeroing the encoder, either with .index-enable or with .reset.
The following user(s) said Thank You: emcPT

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

More
10 Dec 2013 05:56 #41450 by emcPT
On the morning we will post the results.
Thank you again.

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

More
11 Dec 2013 06:50 #41492 by emcPT
Just to inform that the .reset did what was expected.
We still have a small issue but we will probably manage it.

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

More
12 Dec 2013 03:01 #41523 by emcPT
With the help posted in this thread and the example of the Boxford lathe we were able to create the toolchanger! :)

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

Time to create page: 0.080 seconds
Powered by Kunena Forum