- Posts: 19306
- Thank you received: 0
Greenie problems configuring 6i25 with 7i77, using Granite Devices VSD-E drives
DeckelHead wrote: The real curiosity, however, is that with only my Z axis powered up (but all encoders live), I am seeing drift on both my Z and Y. That is definitely puzzling. If I pull the 7i77 plug for the Y encoder, then the drift there ceases..
Maybe it is actually moving. Vibration?
As for the Z, you will probably get following errors until the tuning it right.
What is your current f-error limit? You might want to widen it a bit for tuning.
Please Log in to join the conversation.
- DeckelHead
- Topic Author
- Offline
- Elite Member
-
- Posts: 166
- Thank you received: 0
My sense is that somehow the Y and Z are coupled in software, which would be an error in the HAL file. But I haven't really messed with the configurations in that area that were created using pncconf... and I have no reason to believe the application may have created the file incorrectly. Plus, a *very brief* review of the .hal file looked fine on first blush. And finally, when I removed the Y encoder input to the 7i77, the & Y encoder counting within LinuxCNC (and the HAL monitor) stopped. That would imply a hardware problem, not software.
However, a hardware issue is even more of a mystery. Physically, my machine is wired as follows... Each axis is completely independent. The encoder lead goes to a terminal block (original wiring) and then that goes to my servo amplifier. Internally, the amp uses the encoder as feedback (no tachometer used) and there is also a passthrough for the encoder, to which the 7i77 is connected through a different cable. So, my X, Y and Z are pretty isolated from one another. Even the power for the encoders (but not limit switches) comes from the amp....
Hmmm.... that is an interesting statement.... I hadn't thought about that before. That would mean the Y encoder isn't even powered up right now because I don't have power connected to the Y amplifier. I think it is time to get out my scope and see if I have noise here or something.
LOL. As I said, there is nothing like writing a post. It seems like 9 times out of 10, right after you hit the SEND button you figure out the problem. Although I don't know why I'd have noise only on the Y axis, it is certainly something to look at. I was planning on probing for signals, but now I think I'll be looking at triggering noise (in fairness, looking at a signal with a scope will cover all questions about what that signal is outputting...)
Alan
P.S. regarding the following error... I don't have that value right now, but I'll look for it. I want to nail down this Y axis encoder count thing first.
Please Log in to join the conversation.
- DeckelHead
- Topic Author
- Offline
- Elite Member
-
- Posts: 166
- Thank you received: 0
I've tried FERROR of 5.0 but I seem to be getting a lot of "joint 2 following error" faults.
I am ignoring the Y axis count problem for the time being. I just pulled the 7i77 encoder input until I have a better handle on everything.
Q: while I'm playing around with Calibration, are the limits being used?
[on edit: Yes, limits seem to be working (not completely validated... might just be the software limits on travel... TBD) but there is an odd experience with them that I'll have to figure out at some point. When I hit a limit, I can't move the axis at all. I'd expect that I couldn't move *further* into the limit condition, but I should be able to move away from it. That is the only way to clear the thing.]
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
- DeckelHead
- Topic Author
- Offline
- Elite Member
-
- Posts: 166
- Thank you received: 0
I recall that inside HAL there is a sequence for homing (Z, Y, X, for instance) that one can define. That makes sense. I thought there was an ability to home a single axis though too. Although it might not make sense for a fully configured machine, at my point in the commissioning process, it would certainly be helpful to be able to control a single axis. The UI, however, seems to only have the 'Home All' option. Is there a way around this?
Please Log in to join the conversation.
DeckelHead wrote: Ah, thanks Todd. That makes sense, although I'm surprised that it is not a little more "intelligent" in its handling. Limiting travel in the direction *away* from the limit seems like it would make a lot more sense and easy to do.
I think it can do that if there are separate limits for max and min, but for shared limits it can't tell which way is safe.
Please Log in to join the conversation.
- DeckelHead
- Topic Author
- Offline
- Elite Member
-
- Posts: 166
- Thank you received: 0
Please Log in to join the conversation.
. I thought there was an ability to home a single axis though too.
I think you can home one axis if you have a separate home switch for each axis. Go the the machine tab and the function is there to home one axis or un-home an axis depending how you have set linuxcnc up.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
DeckelHead wrote: Huh. Then I'm not sure why it didn't work as I have unique limits on my machine. I do share the home and limit on the +Z, -X, -Y switches, but that is a logical distinction. The travel limits on each of the axis are definitely unique.
It might depend on the user interface. Linuxcnc definitely distinguishes between positive and negative hard limits. But I'm not sure which if any of the UIs make a use of that distinction. I'm really only familiar with the Axis UI, and I don't think it does anything different between the two.
Please Log in to join the conversation.
- DeckelHead
- Topic Author
- Offline
- Elite Member
-
- Posts: 166
- Thank you received: 0
Please Log in to join the conversation.
