2011/9/3 Chris Morley <[email protected]>:
>
>
>>
>> This gives me in the Axis display to buttons to
>> turn the spindle on and off. When pressing the two
>> buttons with the left mouse button or F9 the pin
>> 14 followes the state of the buttons of the
>> display, maening going high and low. When trying
>> to turn the spindle on with M3 or M4, from the MDI
>> console or from a G-Code file, the buttons follow
>> the commands (M3 / M4) but not the pin 14. When I
>> manualy turn the spindel on with the mouse or F9,
>> the command M5 turns the spindel off and pin 14
>> goes low representing the state of the buttons.
>>
>> What did I wrong?
>>
>> Any help would be higly appreciated.
>>
>
> Its a quirk of EMC. Try setting a spindle speed.
> eg s1 before setting m3 or m4 (AXIS does this internally)

Yes, You need to set spindle speed at least once in the code with S
word. I also had this situation...


I have a question, hopefully to start some discussion:
How hard would it be to remove (at least with some special line in HAL
or INI file) this S word requirement?

Actually only milling machines need this to set spindle speed, there
are many types of machines that need only to turn on the tool without
S word. Those include plasma cutting machines, waterjet machines and
many different special-purpose machines, like Peter's hotwire cutting
machine or my welding robot. I am sure that there are many more.

So does anyone have idea, how hard would it be to change it? Which
file of the source code to look in?

Viesturs

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to