Retrofitting a 1986 Maho MH400E

11 Nov 2018 15:20 #120444 by Bernd
Hi Mark, thank you for the values. finally i resolved the problem.
I installed a not "stable" version of LinuxCNC on Jessie. (reading the docu would help sometimes :) ). I reinstalled Wheezy with 2.7 and it works. Now the FF1 does change the tuning.
I have almost identical values, Pgain are about 20% lower then yours.

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

15 Nov 2018 21:45 #120783 by cgroth
Hi Bernd,
have been away for a while, sorry for not replying. If you still need the cards let me know. As far as I remember batteries are behind the control unit / underneath the monitor. You don't need a puncher as you can simply connect the machine to your PC via RS232. A terminal program like HTerm can be used to read and write data to and from the CNC.


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

16 Nov 2018 08:51 #120822 by Bernd
Hi Christian,

thank you, in the meantime i already made the retrofit to LinuxCNC, the machine is running. I still have to do some cabling work on the user-panel, and the gear shifting is not implemented, but the rest is ok. as I'm not very good in electronic stuff , for me it was easier to change the scales to new ones with RS422 signals...

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

18 Nov 2018 09:01 - 18 Nov 2018 09:02 #120933 by RotarySMP
Lately I have been working on a number of different things with respect to the MAHO. None are quite finished.

When I go it, one X-axis Bellows was missing, and the other falling apart.

You can get them off Ebay sometimes for about €200 each, but know that they disintegrate over time. A friend who has rebuilt a number of machines, gets custom bellows made in China by this company, and has been very satisfied with the quality.
No.023 Yan shan industry district Hebei province China
P.O.Box 061300
E: This email address is being protected from spambots. You need JavaScript enabled to view it.
T:+86 183 3178 0564

The sales guy, LeoZheng communicates really well. He promptly told me they couldn't do the wire hangers, but proposed an alternative with it guided on the PVC ribs.

Given a quote of under €100 for two bellows including shipping, I figured I'll give them a try. Hopefully they will arrive in a couple of weeks, so I can put the guarding back on.

Also got lucky in Ebay. CNCBaumgartner in Germany must have parted out a MH400E, and were selling the LH side wall splash guard. This is the only guard part I didn't receive with the machine, and getting it from Rene sure saved me a lot of work. The Post lost it, so he had to spend a few hours chasing them, but it showed up last week. His service and communication was also very good.

Last edit: 18 Nov 2018 09:02 by RotarySMP.

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

18 Nov 2018 09:18 - 18 Nov 2018 09:20 #120934 by RotarySMP
The next project is designing the machine dolly. My basement is not that big, and I can't afford the space to have the Maho 1m from walls to provide access to the electrical cabinet. The plan is a permanently mounted dolly, with a lift mechanismdriven off a single screw with LH and RH threads, so I can lift the machine with a single ratchet point, wheel it to the center of the room if I need to get into the cabinet, and return it to the corner when done.

Haven't got far on the design yet. SInce a friend has access to laser cutting steel, I tend to design more complex fabrications than necessary. There is a lip running around the casting, which make a convenient thing to lift off.

I got these vibration isolators of ebay. They are the next size up from the ones on my lathe, and I am very happy with those. Need to make longer studs to got through the MAHO base casting.

Otherwise It has been more work on the user control panel wiring. The control panel side is now finished except for the pendant, so next It needs terminating at the 7i77.
Last edit: 18 Nov 2018 09:20 by RotarySMP.

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

18 Nov 2018 17:16 - 18 Nov 2018 17:44 #120953 by RotarySMP
I finally finished wiring up my keyboard, but am having some trouble with my HAL syntax. I'd appreciate someone pointing
out what I have to modify in my use of net.
loadrt matrix_kb config=5x5s names=maho_panel
addf maho_panel               servo-thread me these pins:
halcmd: show pin
Component Pins:
Owner   Type  Dir         Value  Name
     4  bit   IN          FALSE  maho_panel.col-00-in
     4  bit   IN          FALSE  maho_panel.col-01-in
     4  bit   IN          FALSE  maho_panel.col-02-in
     4  bit   IN          FALSE  maho_panel.col-03-in
     4  bit   IN          FALSE  maho_panel.col-04-in
     4  bit   OUT         FALSE  maho_panel.row-00-out
     4  bit   OUT         FALSE  maho_panel.row-01-out
     4  bit   OUT         FALSE  maho_panel.row-02-out
     4  bit   OUT         FALSE  maho_panel.row-03-out
     4  bit   OUT         FALSE  maho_panel.row-04-out
     [i]4  bit   OUT         FALSE  maho_panel.key.r0c0
     4  bit   OUT         FALSE  maho_panel.key.r0c1
     4  bit   OUT         FALSE  maho_panel.key.r0c2
     4  bit   OUT         FALSE  maho_panel.key.r0c3
     4  bit   OUT         FALSE  maho_panel.key.r0c4
     4  bit   OUT         FALSE  maho_panel.key.r1c0
     4  bit   OUT         FALSE  maho_panel.key.r1c1
     4  bit   OUT         FALSE  maho_panel.key.r1c2
     4  bit   OUT         FALSE  maho_panel.key.r1c3
     4  bit   OUT         FALSE  maho_panel.key.r1c4
     4  bit   OUT         FALSE  maho_panel.key.r2c0
     4  bit   OUT         FALSE  maho_panel.key.r2c1
     4  bit   OUT         FALSE  maho_panel.key.r2c2
     4  bit   OUT         FALSE  maho_panel.key.r2c3
     4  bit   OUT         FALSE  maho_panel.key.r2c4
     4  bit   OUT         FALSE  maho_panel.key.r3c0
     4  bit   OUT         FALSE  maho_panel.key.r3c1
     4  bit   OUT         FALSE  maho_panel.key.r3c2
     4  bit   OUT         FALSE  maho_panel.key.r3c3
     4  bit   OUT         FALSE  maho_panel.key.r3c4
     4  bit   OUT         FALSE  maho_panel.key.r4c0
     4  bit   OUT         FALSE  maho_panel.key.r4c1
     4  bit   OUT         FALSE  maho_panel.key.r4c2
     4  bit   OUT         FALSE  maho_panel.key.r4c3
     4  bit   OUT         FALSE  maho_panel.key.r4c4
     4  u32   OUT    0x00000000  maho_panel.keycode[/i]

     4  s32   OUT             0  maho_panel.time

When I connect them to the 7i77 I/O like this:

# Multiplex interface with the user control panel buttons
# scan out0
net maho_panel.row_00_sig-out maho_panel.row-00-out => hm2_5i25.0.7i77.0.0.input-05   
net maho_panel.row_01_sig-out maho_panel.row-01-out => hm2_5i25.0.7i77.0.0.input-06
net maho_panel.row_02_sig-out maho_panel.row-02-out => hm2_5i25.0.7i77.0.0.input-07
net maho_panel.row_03_sig-out maho_panel.row-03-out => hm2_5i25.0.7i77.0.0.input-08
net maho_panel.row_04_sig-out maho_panel.row-04-out => hm2_5i25.0.7i77.0.0.input-09
# scan in
net maho_panel.col_00_sig-in  maho_panel.col-00-in  <= hm2_5i25.0.7i77.0.0.output-01
net maho_panel.col_01_sig-in  maho_panel.col-01-in  <= hm2_5i25.0.7i77.0.0.output-02
net maho_panel.col_02_sig-in  maho_panel.col-02-in  <= hm2_5i25.0.7i77.0.0.output-03
net maho_panel.col_03_sig-in  maho_panel.col-03-in  <= hm2_5i25.0.7i77.0.0.output-04
net maho_panel.col_04_sig-in  maho_panel.col-04-in  <= hm2_5i25.0.7i77.0.0.output-05
It rejects my net connection:
Debug file information:
./MAHO_MH400E.hal:54: Signal 'maho_panel.row_00_sig-out' can not add OUT pin 'hm2_5i25.0.7i77.0.0.input-05', it already has OUT pin 'maho_panel.row-00-out'
Last edit: 18 Nov 2018 17:44 by RotarySMP.

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

18 Nov 2018 18:21 #120955 by andypugh
The 7i77.0.0.input-NN pins are HAL _outputs_ They are physical inputs that set the value of attached HAL pins.

So the mapping needs to be maho_panel.out => 7i77.out and =>
The following user(s) said Thank You: RotarySMP

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

18 Nov 2018 19:43 - 18 Nov 2018 19:45 #120960 by RotarySMP
Thanks Andy, I'd got confused with out of what is into whom.

Switched that around, and now the module loads, but the behaviour is very flaky, as can be seen here.

All buttons are momentary, so all pins should be off unless pressed. At one point testing here one got stuck, but I don't thing that many are sticking. Is this a debounce problem? I saw in the user guide that Matrix_kb should run in a slow thread, but my servo thread is only 1kHz, so I figured that would be slow enough.

Any recommendations appreciated.
Last edit: 18 Nov 2018 19:45 by RotarySMP.

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

18 Nov 2018 22:04 #120967 by andypugh
I agree, that isn't working as one might hope.

Can you try to check all the rows and columns and check that they are doing the right things?
(This might take halscope to sample fast enough).

I tested the component with a 4x4 matrix, but didn't have anything bigger.

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

18 Nov 2018 22:30 #120968 by PCW
Replied by PCW on topic Retrofitting a 1986 Maho MH400E
Also if you ever expect more than 1 switch to be on at a time, you will need to add a series diode per switch

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

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