- Hardware & Machines
- Driver Boards
- Trouble Shooting Universal Stepper Controller with Gecko Interface
Trouble Shooting Universal Stepper Controller with Gecko Interface
- 3DTOPO
- Topic Author
- Offline
- Senior Member
- Posts: 47
- Thank you received: 3
I'm close to 100% sure the encoder works, because if I take the encoder that isn’t working and plug it into a drive that is working, it works as expected. I’ve also tried a brand new encoder and behaves the same way.
I guess I can be sure it’s not a configuration issue since, running the pos diagnostic, it only gets incremented in one direction. So, it seems like it has to be a wiring issue. The only thing is, I’ve traced all the wires in question and they seem fine (determined by a DVM continuity test).
I suspect that the wires going to the Gecko Interface aren’t causing the issue, because if I unplug the encoders from it, the working drives update positions and the bad ones don’t. So it seems like my focus on the encoder connection to the USC. It seems like for this issue, the two most important wires to check are on the USC P3 pins A0 and B0 (or A3 and B3 if using W). Would you agree?
Thanks for the information about checking the encoders for logic, that was what I had in mind asking if the signals could be tested.
I had a pocket scope, but the problem with pocket sized items is they tend to get easily lost! So will give it a shot with the DVM.
If looking at the encoder logic signals doesn’t narrow it down, I’m thinking of replacing all the encoder wiring for the X drive today.
Please Log in or Create an account to join the conversation.
- 3DTOPO
- Topic Author
- Offline
- Senior Member
- Posts: 47
- Thank you received: 3
Please Log in or Create an account to join the conversation.
- 3DTOPO
- Topic Author
- Offline
- Senior Member
- Posts: 47
- Thank you received: 3
I only have one DVM, so not sure how I can measure A and B simultaneously.
Please Log in or Create an account to join the conversation.
- 3DTOPO
- Topic Author
- Offline
- Senior Member
- Posts: 47
- Thank you received: 3
Please Log in or Create an account to join the conversation.
- 3DTOPO
- Topic Author
- Offline
- Senior Member
- Posts: 47
- Thank you received: 3
Does it make any sense to plot the signals if we can?
Please Log in or Create an account to join the conversation.
- jmelson
- Offline
- Moderator
- Posts: 817
- Thank you received: 151
Yes, that's right. Since you tried a new encoder, then it has to be in the wires. There could be an internal break in the wires, especially if the flex when the machine moves. Is the X axis the longest cable in the system? Possibly capacitive coupling between the wires is causing errors in reading the signals, and a longer cable would make it worse. You mentioned differential encoders. Do you have a differential to single-ended converter module between the encoders and the Gecko interface/USC? Could that be going bad?Thanks Jon. I’m just trying to take a good look at everything since I’m really getting stumped.
I'm close to 100% sure the encoder works, because if I take the encoder that isn’t working and plug it into a drive that is working, it works as expected. I’ve also tried a brand new encoder and behaves the same way.
I guess I can be sure it’s not a configuration issue since, running the pos diagnostic, it only gets incremented in one direction. So, it seems like it has to be a wiring issue. The only thing is, I’ve traced all the wires in question and they seem fine (determined by a DVM continuity test).
I suspect that the wires going to the Gecko Interface aren’t causing the issue, because if I unplug the encoders from it, the working drives update positions and the bad ones don’t. So it seems like my focus on the encoder connection to the USC. It seems like for this issue, the two most important wires to check are on the USC P3 pins A0 and B0 (or A3 and B3 if using W). Would you agree?
Thanks for the information about checking the encoders for logic, that was what I had in mind asking if the signals could be tested.
I had a pocket scope, but the problem with pocket sized items is they tend to get easily lost! So will give it a shot with the DVM.
If looking at the encoder logic signals doesn’t narrow it down, I’m thinking of replacing all the encoder wiring for the X drive today.
Please Log in or Create an account to join the conversation.
- 3DTOPO
- Topic Author
- Offline
- Senior Member
- Posts: 47
- Thank you received: 3
I just completely unplugged the Gecko Interfaces and is not needed for trouble shooting which helps simplify things for me.
Please Log in or Create an account to join the conversation.
- 3DTOPO
- Topic Author
- Offline
- Senior Member
- Posts: 47
- Thank you received: 3
Now instead of the encoder just increasing the value, it jumps back and forth between 0 and +1. I swapped the X encoder (including differential) with Z and the Z pos was correct.
But since it is behaving differently, I guess I'm going to try with the new direct cable to new encoder.
Please Log in or Create an account to join the conversation.
- jmelson
- Offline
- Moderator
- Posts: 817
- Thank you received: 151
This jumping between 0 and 1 (or any two adjacent numbers) is a classic indication that one of the A or B signals is not getting through. With say, A stuck at zero and B toggling up and down, that is a valid quadrature state transition between two adjacent position counts. This COULD be a defect in the USC board, but could be in the encoder wiring.I decided to move stuff from W back to X. I've had the diagnostic pos command running and noticed that both the X and W was flicking from 0 to +1. Double checked my work, shrugged, then just cut all W wires off the USC. That got rid of the chatter.
Now instead of the encoder just increasing the value, it jumps back and forth between 0 and +1. I swapped the X encoder (including differential) with Z and the Z pos was correct.
But since it is behaving differently, I guess I'm going to try with the new direct cable to new encoder.
Your meter should show which signal is not responding.
Jon
Please Log in or Create an account to join the conversation.
- 3DTOPO
- Topic Author
- Offline
- Senior Member
- Posts: 47
- Thank you received: 3
I manually moved the X encoder and saw both the X and W pos flickered between 0 and 1. Since nothing is connected to the W, would you think it might be time to buy a new USC?
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Driver Boards
- Trouble Shooting Universal Stepper Controller with Gecko Interface