Back or front tool

More
5 years 1 day ago #224791 by rider-83
Replied by rider-83 on topic Back or front tool
I have the 160TCL and had the same issue with switching the spindle DC motor direction with M3 & M4. It was easily resolved with a polarity reversing module which I bought from a model railway supplier.

I can have a look at how I did it and send you the .hal example if you are interested?
The following user(s) said Thank You: john11668

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

More
5 years 1 day ago #224803 by john11668
Replied by john11668 on topic Back or front tool
Thanks Rider and and yes please .
I think I have the kit to actually reverse the polarity . I have been doing it manually with a 2 pole changeover switch and have set up a relay to do the same . I think I just need the hal entries to make a chosen pin operate one of the relays on a small board which in turn will energise my reversing relay,
Still interested to see your setup as well though.

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

More
5 years 10 hours ago #224871 by andypugh
Replied by andypugh on topic Back or front tool
linuxcnc.org/docs/2.8/html/man/man9/moti....html#SPINDLE%20PINS

spindle.0.reverse - TRUE when the spindle should rotate backward

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

More
5 years 10 hours ago #224876 by john11668
Replied by john11668 on topic Back or front tool
Fine but is that all that i need to add to my hal .
Somehow I suspect not
Please remember Andy that I am a novice here
My Hal was generated by initially by stepconfig and although I have progressively added a number of functions I have not needed to alter the spindle commands so i am floundering here !

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

More
5 years 9 hours ago #224878 by andypugh
Replied by andypugh on topic Back or front tool
Which output pin (if any) is connected to your reversing relay?

Is it safe to reverse with the spindle on?

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

More
5 years 9 hours ago - 5 years 9 hours ago #224879 by john11668
Replied by john11668 on topic Back or front tool
Was planning for 14 or 16 unless you advise otherwise
Would not be safe to call for M4 if spindle running under M3 and Vice versa .
Was planning to call for a pause but if that can automated then all the better
Last edit: 5 years 9 hours ago by john11668.

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

Moderators: newbynobi, HansU
Time to create page: 0.062 seconds
Powered by Kunena Forum