Retrofitting Maho MH600E 1989 - Meas 5i25 & 7i77

More
6 years 3 months ago #173521 by tommylight

Onkelmat wrote: I´m not sure if that is enough, but Linux turned "machined enabled" off in that certain situation. That triggers the emergency chain on the Maho.
.

That is good, but it should be
E-stop disables the power to drives, pumps, fans, etc, not in all cases, that will depend from the machine, but servo drives do have a separate power just for that.
Enable should enable the drives to be ready for motion, and whatever else is needed.
Linuxcnc does not trigger the estop on following errors, it just triggers the disable, hence that has to be wired to the enable output to work properly.

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

More
6 years 3 months ago #173537 by Onkelmat
When Linux triggers the "machine enabled" to "not enabled" maho wired everything from start, that it triggers the e-stopchain and depowers all drives, pumps etc.
So it´s ok, but not the solution LinuxCNC intented to. Maybe i´ll change this later.

I´ve got that far that i wired all glasscales today and got them working. If anyone is interested, I´ve talked to Haidenhein again because we couldn´t find a way to use the "index/home" signal from the scales,. After wiring everything up i had 3 cables left.
UaS, Ua0 and /Ua0.
I tought that Ua0 and /Ua0 are the index signal, but it never triggered in Hal view.
I´ve turned the Y axis (z axis on old maho) per hand very very slow. It took 5 Minutes for like 5mm.
No Signal.

Then i´ve phoned Heidenhain and they confirmed Ua0 and /Ua0 as Index line.
So as i knew the location where the index should be (+-10mm) we hooked an oscilloscope from ebay to Ua0 and /Ua0. The Heidenhain guy said that the trigger should produce a spike somewhere between 0,7V and 1,3V.

So I´ve monitored the rawcounts of the encoder and turned the axis very very very very slow. Like 1-3 increments/second.
So i´ve moved the axis like 6 times forth and back until my buddy screamed the signal just died and came back.
So the index signal is 0,001mm "wide". The oscilloscope was set to like 5 seconds to even see the voltage spike when overrunning it.

After that I tried again to PID tune the axis but it was quite strange behavior. Jumping and jiggling and all crazy behavior and instand estop because of following errors.
So I´ve checked the encoderscaling again, that was off but did not help that much. The problem was "outputscale". I´ve been to lazy to check what that means. But on the Maho drives it should be set to 100 and not 1.
So after that i could drive the axis quite good. I almost cried because they sounded smoother than the when the Maho controller drove it.

For sure after some distance the following error came up and i think i´ll study some halscope tutorials :D But when i drive slower than 500mm/min it´s "okay".


I still have the power issue on the 7i84 and the random restart from the computer.
Today the computer restarted several times on different occasions.
1. turning 5V supply on or off.
2. turning machine mains on or off
3. doing nothing at all
4. mesa cards not even powered on at all (no 24v no 5v)


And then it worked for 5 hours straight.
What i noticed is, that the 7i77 and the 7i84 have no power without the 5v+ to Tb1 at the 7i77.
The 24V supply works, but i thought that you can power both cards via the 24v headers.
But when I check the rs422(what ever) port at the 7i84 the is no LED on and no connection when i don´t supply 5v+ to the 7i77 tb1.
When i connect 5v to Tb1 at the 7i77 everything works fine and the LED at the LAN port goes yellow/green.

Is that how it is supposed to work ? +5v to TB at 7i77 and 24v to both vfield headers on both cards ?
Or am I missing something ?
The manual says that you can work with one single power supply giving 24v to the vfiel header. (pin 1-5 get 24v+ and pin 8 GND)

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

More
6 years 3 months ago #173538 by Onkelmat

RotarySMP wrote: "talking about gear change"


could you send me your compilation ? or only explain how to add the gearchange thingy ?
Did you use all of the ribbon cables ? I´ve got a big mess with all the cables from the ribbon cable xD

You know any source for industrial grade keyboards ?

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

More
6 years 3 months ago #173541 by tommylight

Onkelmat wrote: Is that how it is supposed to work ? +5v to TB at 7i77 and 24v to both vfield headers on both cards ?
Or am I missing something ?
The manual says that you can work with one single power supply giving 24v to the vfiel header. (pin 1-5 get 24v+ and pin 8 GND)

Yes,
No,
Yes, just set the jumper correctly, and it will work with 1 power supply of 24V.
As for tuning, there is a simple tutorial by JT on gnipsel.com and another one by me but i think i already linked to it. If not just search for
servo tuning detailed howto
it will be the first result on google.
The following user(s) said Thank You: Onkelmat

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

More
6 years 3 months ago #173587 by Onkelmat

tommylight wrote: Yes,
No,


Okay love it :dry:
Oh yes I´ve read your turorial 50% and then I was like "okay my axis is jumping back and forth and is totally crazy, Seems I have another problem before PID tuning. And then i closed it and did not come back :( I´ll check it again when I´m at the machine again, because it was quite good.

I´ll take a picture tomorrow how the jumpers are set, I think i did it correct, but as it´s not working, it´s obvious wrong and i need help.
The following user(s) said Thank You: tommylight

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

More
6 years 3 months ago - 6 years 3 months ago #173663 by RotarySMP

Onkelmat wrote:

RotarySMP wrote: "talking about gear change"


could you send me your compilation ? or only explain how to add the gearchange thingy ?
Did you use all of the ribbon cables ? I´ve got a big mess with all the cables from the ribbon cable xD

You know any source for industrial grade keyboards ?


It doesn't work like that. The instructions of how to compile it is in the wiki of the Github..
github.com/jin-eld/mh400e-linuxcnc

Do you have wiring diagrams? Did you look through the long thread on retrofitting the MH400E? There is a lot in there about the ribbon cable hook up. Or you could do the simple thing of sending me your email address, and receive answers to most of your questions.

The Index of the encoders is near the end. I set up the machine to home, and let is jog very slowly and it found it's own index. Inever found it with the Osci.

I just use a wireless keyboard on the MAHO, when I need one. Generally for running programs, none is necessary.
Mark
Last edit: 6 years 3 months ago by RotarySMP.

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

Time to create page: 0.165 seconds
Powered by Kunena Forum