question counter, problem tool number.

More
31 May 2013 22:26 #35034 by BigJohnT
I'm trying my best to understand, google translate does such a poor job.

Is there a sensor the indicates each index?

Does this input turn on once for each index?
net turret-position-strobe_sensor hm2_5i25.0.7i77.0.0.input-18 => classicladder.0.in-04

JT

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

More
31 May 2013 22:39 #35035 by jlviloria
yes, I4, is index turret position. and I3 indicating turret in position correct for clamp turret.


jorge

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

More
31 May 2013 22:57 #35036 by jlviloria
here is the description manually.
Attachments:

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

More
31 May 2013 23:02 #35037 by BigJohnT
Ok, one method you can initialize your counter is to create a homing routine in your ladder.

If your in position 1 skip homing and set position counter to 1
If not in position 1 index counter 8 times, when position 1 is reached reset position counter to 1
when finished set tool number and set tool change finished.

You will need 2 counters one to do the homing index and the one for position.

Of course there will be a bit more logic needed but this is the general idea.

To do this in a simple way and make the code easier start in position 1 and before you turn the machine off move to position 1. Issue a T1 M6 G43 from a MDI button to set the current tool.

I hope this gives you some ideas to work with.

JT
The following user(s) said Thank You: jlviloria

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

More
01 Jun 2013 20:45 #35092 by BigJohnT
jlviloria,

I tried to open up your .clp file but it was corrupt. Did you create that with LinuxCNC 2.5?

JT

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

Time to create page: 0.081 seconds
Powered by Kunena Forum