Hello!
I hope your day is going ok. I've taken over my dad's self-made LinuxCNC machine. He's still here but he doesn't use it anymore and told me it's mine so I'm trying to figure out how to use it for making some fancy wood projects. I've spent more than a month trying to figure things out and he doesn't seem to remember a lot of it. Now I hopefully only have a few more things to figure out and I might have it somewhat ready to use properly. Although a lot of time I spent screwing with FreeCAD before deciding to just get Vectric VCarve which I don't regret at all, totally worth the price for the time it saves messing with FreeCAD. FreeCAD is great but I just couldn't get it to do what I wanted properly and was always running into bugs and it was always crashing on me.
Anyway, as far as LinuxCNC and the router itself, here are the issues I'm having with that. Any help or tips are more than welcome. I appreciate anything you can help with. Thank you for taking a look!
1.
Z-axis homing. I'm having trouble figuring out how to make the z-axis with the spindle on it home first before the others. He said he has always just powered off the machine and moved it up by hand and put a little piece of wood in it to hold it up. This is obviously not ideal. From what I've seen it's supposed to home before the others will home. I believe it's in immediate homing mode and has no limit switches on it. He has some limit switches I can try to add to it but he couldn't get them to work properly so he switched to a different kind of switch. The X and the two Y joints are homing fine, X has one limit switch on one side, both Y have limit switches on each end, although I've never tested the max-limit switches on the other ends of the ball screws so I'm not sure if they are hooked up right or not yet. There are 4 lines into inputs on the Mesa board that I believe come from the limit switches. I've looked over the docs and no matter what I change in the ini file I can't figure out how to make it home the Z-axis properly. I'm not sure the proper steps to take to figure this out. I've messed with it for days. I must be missing something.
If I set HOME to anything other than 0 it just waits and does nothing and seems to eventually time out and not home anything. I've tried every combination of things I can think of in the ini file and I'm not sure if I have to change anything in hal or not.
Does the Z-axis require a limit switch before LinuxCNC will let it home? Or should I be able to somehow configure it to just use a soft limit or tell it to go somewhere?
Can I use the ClearPath MSP software to set the motors to home or will they just get reset since they'll lose power? There is an option to configure them to home when they are powered on. I'm a bit confused by all of this. I suppose maybe that's the next thing I should figure out since it seems like a good possibility to potentially solve the issue.
I was just concerned that the only way to stop them would be to turn off the power to them if something didn't work right. Furthermore, when the Z-axis is powered off it seems it doesn't lock into position and can fall down, which I suppose makes sense if it doesn't have any physical locking mechanism and the weight of the spindle can just pull it down or it can be moved by hand. I'm not sure how the motor would know it's moved when it has no power and how it would be able to reset itself to home when powered on. It seems like maybe they can somehow detect the home automatically even when there aren't limit switches but I'm not sure and don't want to wreck it. I suppose more research is necessary before I risk blowing something up.
2.
Vibrating Y-axis. I noticed that the Y-axis was extra jittery. Really, really badly, and sometimes would continually vibrate the ball screws when stopping. It was like the whole house was vibrating. Eventually we figured out we could auto-tune the motors. They only had windows software so now I have a new windows laptop I can hook up to them that I got yesterday.
However since it's a tandem y-axis we found an idea somewhere to put a similar weight of the gantry onto the X-axis and tune that motor and copy it to both Y-axis motors. This has surprisingly seemed to somewhat work, it's way better now, although there still seems to be a bit of vibration and finishing paths aren't perfect, they are kind of dotted or have lines or imperfections still. I think due to the gantry sometimes vibrating and I'm not sure exactly why that happens but I was thinking maybe it had to be tuned better than how we did it. Everything seems tight and nothing seems to wiggle at all when I try to move it by hand, although the gantry does seem to sometimes wobble or jiggle a bit when in operation due to the forces. I suspect it would be good to tune both y-axis motors at the same time since it has unique behaviours and the ball screws are about twice as long and the gantry might slightly jiggle when the motor stops or changes abruptly, or maybe even in certain areas, I'm not completely sure. But it doesn't seem that tuning both at once is really possible that I can tell, unless there is some trick to it.
The ClearPath MSP software also has fine tuning option where it's possible to set the stiffness which I wonder if it will help or if I have to do something else somewhere else in LinuxCNC. I don't want to mess with things if it's going to make things worse or blow something up. I'm going to try this as well and see what happens.
3.
Servo firmware updates. When I originally auto-tuned the X-axis and Z-axis motors I also updated their firmware. Since I did this, or at least I think, it seems that the Y-axis motors no longer will go into standby with the orange lights, so I cannot upgrade their firmware because of this. Maybe it's not necessary to upgrade their firmware but I'm wondering if it might help the issues I'm having.
I don't know why this would happen and it makes no sense to me, however, I did also notice that they may be on a separate circuit than the X and Z. There are two power switches on the outside of the box he setup that has the Mesa board and whatnot inside of it. One turns the power on for the computer and one for the Mesa board, or at least I hear the fan come on when I turn the other one and it seems like the other motors come on and LinuxCNC only recognizes it on after that switch is on and LinuxCNC won't start unless I have that switch on because it doesn't find the board. I noticed when I turn the power on for the computer it lights up the other two motors, I think the Y-axis motors, if my memory serves me right. I might be wrong about which switch turns on which motors, but the point is that the Y-axis motors no longer go into their orange state where they should be able to be flashed. Previously they would go into that state the same as the X and Z motors when only one of the switches was on. So I'm not sure why it does this or what he has done from here and I'm not sure what would cause this to change. I was thinking maybe it was the firmware update of the other two motors since I noticed it around that time. I'm not sure what else has changed besides that but I'm not sure how that would do that. I am completely clueless about this part. I understand this might be beyond LinuxCNC, however maybe someone will know something or have some tips of what to do about this.
I can provide any images or files or additional info if necessary. I don't currently have the most up to date files on the computer I'm posting from but I can certainly get them if they are required. The hal files are split into several separate files for various things including the pendant.
Here is a list of hardware if it's relevant:
Mesa 7I76E
|
manual
Teknic ClearPath-SDSK Servos
Spindle
HY01D523B-VFD
|
manual
vistaCNC iMachIII P2-S pendant