How does it do unorient?  Is that automatic at the next M3?  M5?



M19 starts a Spindle Orient command,
M20 as well as M03 M04 M05 will cancel a Spindle orientation comand

On 17/03/2011 11:38, 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.

also means Some of the boring cycles can be finished then also and implemented. where you need to stop spindle, orient, move over and draw out the hole..
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
that is how my ladder and hal is set out right now for doing my spindle for the changer but with a fixed postion hard coded right now.. will you give a ini file value for default oriention position? so if no R value is given at a M19 the value for default in the ini file is used (if no value is found 0 is used) as my encoder postion is 21degrees from 0 to postion my spindle for change postion.
------------------------------------------------------------------------------
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