Chris,

>> Thanks for the info. Can I use ClassicLadder to drive a stepper axis?
>> Do I have to connect the stepgen and count the pulses I send to it?
>> or can I just instruct it to do a GCode sequence?
>
> Sounds like you will have to use stepgen or something like it to
> generate pulses.  If there is no feedback do you just mash it back
> against the stop and let the stepper stall for a while, then assume
> it's in place?

Yes :o(
That is how it was designed! (Boxford 160TCL)

> Using an axis position is possible but because (I assume) it loses
> position when you change tools due to the above, the numbers won't
> represent anything "real".  Also you would have to program A moves
> instead of M6.

Yes it loses steps.

>> Does EMC automagically remember the value between sessions or do I use 
>> the
>> external file for it to save the axis positions? (I can't remember the 
>> name
>> of the file off the top of my head)
>
> No it doesn't.  You would have to either start up with the turret in
> a known position, or add some kind of sensor to "home" the turret.
>
> Your turret as-is seems like not a very good match for EMC's way of
> doing tool changes where they are separate from motion axes.  But
> I bet you can make it work.

I was hoping not to have to modify it at all. There isn't a tidy way to add 
a home switch without alot of work.

Presumably there is a way to make EMC remember, even if I have to write a 
HAL command which responds to the iocontrol.0.tool-prepared signal and write 
the current tool number to a text file. I could then respond to the 
tool-prepare command and ignore the current tool number that EMC tells me 
and read it from the file to calculate the move required.

Thanks
Simon 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to