Retrofitting a 1986 Maho MH400E
Yesterday, I made a new, much more conservative program to mill down the sandvik lathetool holder, using a brand new 10mm chinese HSS four flute. Use 2mm depth of cut, 50% engagement, 480rpm and 75mm/min feed. The first ~250mm went fine with nice chips, but then it died.
Although I did use cutting oil, itprobably need flood coolant to keep HSS cool enough to work in that steel. Oh well, another end mill for the hall of shame. Lucky I bought the Clarkson T&C grinder last year.
drimaropoylos wrote: Hi, I think that you should connect hal and not halui pins to gearbox COMP for machine control. I thing halui pins intended use is for the user interface, hardware and software.
Controlling the spindle from an independent bouton and from the rest of the software with or statement needs more thought.
Hi John, thanks for your input, you are right about that. The relevant spindle control nets which I currently have are these:
net sig_get_commanded_speed mh400e-gearbox.spindle-speed-in-abs <= motion.spindle-speed-out-abs net sig_return_actual_speed mh400e-gearbox.spindle-speed-out => motion.spindle-speed-in net sig_return_spindle-at-speed mh400e-gearbox.spindle-at-speed => motion.spindle-at-speed net sig_stop_spindle mh400e-gearbox.stop-spindle => halui.spindle.stop net spindle-on motion.spindle-on => hm2_5i25.0.7i84.0.2.output-13 net spindle-cw motion.spindle-forward => hm2_5i25.0.7i84.0.2.output-12 net spindle-ccw motion.spindle-reverse => hm2_5i25.0.7i84.0.2.output-11
And here are the functions which I have had to comment out due to conflicts.
#net maho_panel.r0c3_sig-out maho_panel.key.r0c3 => halui.spindle.stop #net maho_panel.r2c4_sig-out maho_panel.key.r2c4 => halui.spindle.reverse #net maho_panel.r4c1_sig-out maho_panel.key.r4c1 => halui.spindle.forward
I used the halui.spindle.stop to give the gearbox control of stopping the spindle. Since there is no motion.spindle-stop pin, should I have the gearbox net to the motion.spindle-on pin and setp false to stop it? Or just have the gearbox comp setp motion.spindle-on false, from within it's code without going through a net?
When the gearbox comp wants to stop the spindle, it sets
pin out bit stop_spindle = 0 "Start or stop spindle";
I netted that to