Hi Michael,

While it will be nice to be able to orientate the spindle for various 
operations a tool changer needs be be somehow a defined set of 
operations that is called by M6. On my lathe I do it via classic ladder 
but there is no Z movement needed so it works fine. On my VMC the Z has 
to move so it would be more difficult in ladder.

The sequence for my carousel type tool changer is:

Rapid to absolute Z pickup/drop off position
Orientate spindle
Extend tool carousel
Release pull stud clamp
Move to absolute Z clear position
Rotate carousel to next tool via shortest path
Move to absolute Z pickup/drop off position
Clamp pull stud
Retract tool carousel

If you could incorporate a tool change script that can be customized by 
the integrator that would be cool and make tool changers easy to do. I 
hope the M19 leads us to that point someday before my 386 dies on the 
Discovery...

John Thornton

Michael Haberler wrote:
> spindle orientation looks useful for toolchanging and maybe other stuff, and 
> some people even have done it with VFD's; some infrastructure already exists 
> in NML although it isnt fully implemented.
>
> I'm looking at adding an M19 command similar to the Fanuc spindle-orient like:
>
> M19 [R<orientation in degrees; defaults to 0>] [L<orientation cw/ccw>]
>
> this is how I'd do it:
> - turn off the spindle
> - set a HAL pin spindle-orientation line to convey the degrees value
> - set a HAL pin spindle-direction line to convey the cw/ccw direction
> - assert a HAL pin orient-spindle line
> - wait for a spindle-oriented HAL pin line to become true
>
> Further HAL logic would take care of actually driving the spindle motor, 
> taking feedback from the spindle encoder into a PID loop and assert the 
> spindle-oriented pin when done  (still making sense?)
>
> my question:
>
> all spindle commands go through motion which is realtime; the above sequence 
> doesnt look to me like it has strict realtime requirements so I would rather 
> go through iocontrol-v2 to do this.
>
> Is this sound or am I overlooking something?
>
> -m
>
>
>
> ------------------------------------------------------------------------------
> Colocation vs. Managed Hosting
> A question and answer guide to determining the best fit
> for your organization - today and in the future.
> http://p.sf.net/sfu/internap-sfd2d
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>    

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to