Retrofitting a 1986 Maho MH400E

More
05 Mar 2019 07:56 - 05 Mar 2019 08:01 #127764 by RotarySMP
Normally it rains every time we go to NZ. My family considered paying us to not come in summer, after we ruined one. This time I went alone and had blue sky sunny warm days. This confirms that my wife is a rain godess.

I connected the 602/1-F EXE and sent it to home. Opened a HALScope, and looked at the signal while manually turning Y, and could see that the signal looked good by with much lower resolution. Change the scale in the INI from -1000 to -200 and it has worked. I do notice that there is still a rythmic oscillation in Y between adjacent 0.005mm positions when stationary. I was never that happy with the tuning of Y ( in hindsight that was probably tied up with the drift). I'll retune that axis no it is stable and report back.

Next steps:
- I still have to get my panel encoders working. They are wired, and the buttons work, but the encoder signals aren't.
- Sergey is working on a revision to the gearbox comp to give the comp full control of the spindle and address that isue of going to neutral each stop, and thus not completing gear changes from a running spindle.
- I need to make the pendant. Touching off with the touch screen is a PITA.
- The dolley design needs completing and it manufactured, so I can finally try and fit this through the skinny door into the machine shop.
- I picked up a mist coolant system at some point, and would like to integrate that next time the covers come off.
- When fitting the new bellows I notice one oil line had been crushed on a previous cover installation, so it need replacing.

Since I practice analysis paralysis, I challenged myself to whip up a knife sharpening jig out of junk that was laying around, in one quick session without stopping. Made this in about 15 minutes.




Considering the tie wraps and double sided tape holding it together it works pretty well. Now it gets improved. I have already made stone holder with four grits of stone. Next I want to design and mill a decent knife holder.
Mark
Attachments:
Last edit: 05 Mar 2019 08:01 by RotarySMP.

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

More
05 Mar 2019 08:11 #127765 by hanmon
Hi,

my Maho works. The pendant is still missing but it does not have a high priority. I'm going to start building a fourth axis in 1-2 weeks and, of course, will post some pictures then.

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

More
05 Mar 2019 08:17 #127767 by RotarySMP
If you have any recommendations with respect to the gearbox.comp, please post them here, and I can discuss them with Sergey.
MArk

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

More
05 Mar 2019 16:48 #127800 by R2AIV
Hi all! I almost finished wiring MESA board to MAHO using Hanmon's HAL. I have a question about CNC input signals. In Hanmon's HAL only gearbox and "spindle stopped" signals is routed, but MAHO have few another signal like lube, tool fixation, some spindle signals. What i must to with these signals? I talk about MAHO's output DB37 connector pins: 1-10 and 24-32. Thanx!

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

More
05 Mar 2019 16:49 #127801 by R2AIV

If you have any recommendations with respect to the gearbox.comp, please post them here, and I can discuss them with Sergey.
MArk


Hi, Mark! What reasons to rewrite gerbox component? It have troubles or bugs?

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

More
05 Mar 2019 19:47 #127816 by RotarySMP
There is an issue which are due to me not understanding the interaction between linuxCNC's behaviour and the MAHO spindle stopped signal.

When you command M5 spindle stop, in addition to the spindle motor being stopped, linuxCNC commands spindle speed 0. When the stop command is passed to the MAHO relays, it sets the 5 sec timer relay, which then returns "Spindle is stopped".
The gearbox comp receives that signal, which releases it's inhibit from changing gear with a moving spindle.
Gearbox.comp now reacts to its new commanded speed being S0 by setting neutral.

Currently, the gearbox.comp can not complete a gearchange started from a running spindle (like if you command a different S speed in the middle of a program) due to this.

What happens: Spindle running at 600 rpm, receives an S1000 command. Since the spindle is running, it is inhibited from changing gear, so it commands LinuxCNC to stop the spindle. The action above happens. SInce LinuCNC has overwritten the S1000 command with S0, the spindle never restarts, but rather goes into neutral.

You can work around that with the current comp by using this as speed change code:
M5
G4 P6 ; wait for spindle to have stopped
S1000 M3; Command new speed from a stopped spindle.

Sergey is revising the comp to give it control of the spindle relays. If LinuxCNC wants the spindle stopped, it will ask the comp, rather than the other way around. Ten when the comp is just changing speed, we wont tell LinuxCNC that the spindle is stopped, so it wont command S0.

He will also add an input pin to the comp, so if you want the gearbox put into neutral for safety (using a touch probe), you can do that with a hardware or software button.
Mark

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

More
05 Mar 2019 19:55 - 05 Mar 2019 19:56 #127817 by RotarySMP

In Hanmon's HAL only gearbox and "spindle stopped" signals is routed, but MAHO have few another signal like lube, tool fixation, some spindle signals. What i must to with these signals?


What model do you have?
On my 400E, the oiling system logic is hard coded into the lube unit with a timer relay. Look back a few pages, as Hanno posted a detailed post about how he set up his oiling logic.
I have my Tool release netted to a hard button on the control panel, through a 7i77 pin, so I push and hold the button to drop or load a tool.
The gearbox comp needs:
# --- GEARBOX CONTROL ---
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 set-gear-shift-start        mh400e-gearbox.start-gear-shift    => hm2_5i25.0.7i84.0.2.output-05
net set-reverse-shaft-motor     mh400e-gearbox.reverse-direction   => hm2_5i25.0.7i84.0.2.output-04
net activate-reducer-motor      mh400e-gearbox.reducer-motor       => hm2_5i25.0.7i84.0.2.output-01
net activate-midrange-motor     mh400e-gearbox.midrange-motor      => hm2_5i25.0.7i84.0.2.output-02
net set-shaft-motor-lowspeed    mh400e-gearbox.motor-lowspeed      => hm2_5i25.0.7i84.0.2.output-00 # MAHO calls this Anwahl Mittelstellung
net activate-input-stage-motor  mh400e-gearbox.input-stage-motor   => hm2_5i25.0.7i84.0.2.output-03
net activate-spindle-twitch-cw  mh400e-gearbox.twitch-cw           => hm2_5i25.0.7i84.0.2.output-06
net activate-spindle-twitch-ccw mh400e-gearbox.twitch-ccw          => hm2_5i25.0.7i84.0.2.output-07

# --- GEARBOX CONTROL ---
net sig_get_commanded_speed  mh400e-gearbox.spindle-speed-in-abs    <= motion.spindle-speed-out-abs
net sig_spindle_status       mh400e-gearbox.spindle-stopped     <= hm2_5i25.0.7i84.0.2.input-19
net sig_reducer_left         mh400e-gearbox.reducer-left        <= hm2_5i25.0.7i84.0.2.input-00
net sig_reducer_right        mh400e-gearbox.reducer-right       <= hm2_5i25.0.7i84.0.2.input-01
net sig_reducer_center       mh400e-gearbox.reducer-center      <= hm2_5i25.0.7i84.0.2.input-02
net sig_reducer_left_center  mh400e-gearbox.reducer-left-center <= hm2_5i25.0.7i84.0.2.input-03

net sig_middle_left          mh400e-gearbox.middle-left         <= hm2_5i25.0.7i84.0.2.input-04
net sig_middle_right         mh400e-gearbox.middle-right        <= hm2_5i25.0.7i84.0.2.input-05
net sig_middle_center        mh400e-gearbox.middle-center       <= hm2_5i25.0.7i84.0.2.input-06
net sig_middle_left_center   mh400e-gearbox.middle-left-center  <= hm2_5i25.0.7i84.0.2.input-07

net sig_input_left           mh400e-gearbox.input-left          <= hm2_5i25.0.7i84.0.2.input-08
net sig_input_right          mh400e-gearbox.input-right         <= hm2_5i25.0.7i84.0.2.input-09
net sig_input_center         mh400e-gearbox.input-center        <= hm2_5i25.0.7i84.0.2.input-10
net sig_input_left_center    mh400e-gearbox.input-left-center   <= hm2_5i25.0.7i84.0.2.input-11

Note, misusing halui.spindle.stop for the gearbox.comp is one of the things the revision will correct.
Mark
Last edit: 05 Mar 2019 19:56 by RotarySMP.

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

More
06 Mar 2019 15:02 #127890 by andypugh
Just a heads-up that 2.8 will have different spindle names and, possibly, different behaviour.
I _think_ that M5 still gives S0, though I can see arguments that it shouldn't.

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

More
06 Mar 2019 15:42 #127895 by RotarySMP
Thanks for that Andy. Where do we find those new pin names? Any Idea when 2.8 will be released?
Mark

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

More
06 Mar 2019 15:54 #127898 by andypugh

Thanks for that Andy. Where do we find those new pin names?

linuxcnc.org/docs/devel/html/man/man9/motion.9.html

Any Idea when 2.8 will be released?

No idea. I was hoping that it would be around last new-year.
The release manager has gone rather quiet....

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

Moderators: piasdom
Time to create page: 0.235 seconds
Powered by Kunena Forum