Encoder Differential Error

All things related to Centroid Oak, Allin1DC, MPU11 and Legacy products

Moderator: cnckeith

jeingham
Posts: 33
Joined: Fri Dec 13, 2019 3:58 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Contact:

Re: Encoder Differential Error

Post by jeingham »

aamir wrote: Tue Jul 14, 2020 2:29 pm Can you double check your DB9 encoder cabels I think your 5V supply or ground did not go to the enocder .
All three axis has same problem very wired
Mistake in the encoder cabel please double check it
Will check that out this afternoon.

John
jeingham
Posts: 33
Joined: Fri Dec 13, 2019 3:58 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Contact:

Re: Encoder Differential Error

Post by jeingham »

cncsnw wrote: Tue Jul 14, 2020 3:53 pm
jeingham wrote:Gotta check tomorrow but it appears that I have the A and /A AND B and /B wire pairs inverted.
- Swapping A with /A;
- or swapping B with /B;
- or swapping A with B and also /A with /B;
... will not cause differential errors. Doing any one of those things will simply reverse the plus/minus count direction.

Swapping A with B, while leaving /A and /B where they belong -- or vice versa -- will cause differential errors.

If you do not find the connection problem on inspection, then you may want to take the time to make yourself one of these:
http://www.cncsnw.com/EncoderTest.htm

That will tell you exactly where the problem is.
Okay! Will keep all that in mind as I work this out, much appreciate your input.

John
jeingham
Posts: 33
Joined: Fri Dec 13, 2019 3:58 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Contact:

Re: Encoder Differential Error

Post by jeingham »

CJD wrote: Tue Jul 14, 2020 5:02 pm If the motors are not hooked up, the E stop will trigger without showing "EStop", and your error message will be...wait for it...encoder diff error. When the machine tries to move the servos, it looks for an appropriate encoder movement in the correct direction. If there is no motion, or backwards motion, it reads it as an encoder problem and triggers the hidden stop for the machine. Try connecting the motors to see if that prevents the encoder errors.
Okay, adding that bit to the stack of checks and great information I've received here.

When I said I had not run the motors I did not mean to convey that they were not wired, they are. I have not energized them by the control as of yet, gotta get past the encoder test first by the book.

So much appreciated here, thinks!

John
jeingham
Posts: 33
Joined: Fri Dec 13, 2019 3:58 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Contact:

Re: Encoder Differential Error

Post by jeingham »

martyscncgarage wrote: Mon Jul 13, 2020 10:59 pm What I come up with:
Encoder Color Code.JPG

Solder drain wire to DB9 shell
Marty,

Good news!

I checked your chart against my own information and it is spot on. I had the A and A/ wires reversed as well as the B and B/ reversed.

I was able to rewire and test two encoders today and the Encoder Differential Error disappeared.

Two more to fix and I can continue with my set up.

Thank you so much for pitching in here, golden.

Will report when I have the other two as well.

John
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Encoder Differential Error

Post by martyscncgarage »

👍👍
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
jeingham
Posts: 33
Joined: Fri Dec 13, 2019 3:58 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Contact:

Re: Encoder Differential Error

Post by jeingham »

All,

Primary XYZ encoders are all working now. Turns out that Mr. Dyslexia had wires crossed at both ends of the encoder cable.

Advice to other nubes would be to double check your double check. I just got it wrong from the very start and repeated my errors across all three cables. I did have it all wired correctly at the bench which it turns out was just luck as I had wires flipped at both ends. Deciding to change from mechanical to soldered DB9s AFTER my bench test was a bad decision due to aforementioned Dyslexia. I am still not sure how I could have screwed up so bad, certainly a lesson learned.

Thanks one and all for assistance trouble shooting! Really appreciated!

John

PS: After moving forward with testing I found another problem which I think will be fixed with new 24VAC contactor. Turns out you can not expect a 24VDC contactor to behave as expected if wired for 24VAC. I knew I needed 24VAC, even bought a 110 / 24 VAC transformer. I'll chalk that up dyslexia as well.
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Encoder Differential Error

Post by martyscncgarage »

I would recommend to any new user to just buy the encoder cables made up from Centroid. Your time and effort is worth something, not to mention minimizing risk of damaging an encoder or All in One DC.

Glad you are moving forward again!
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
CJD
Posts: 66
Joined: Sun Oct 06, 2019 8:50 am
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Encoder Differential Error

Post by CJD »

You're not alone...I am constantly getting confused about which side of the connector the diagram is showing. Sometimes it is not that clear.
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Encoder Differential Error

Post by martyscncgarage »

CJD wrote: Tue Jul 21, 2020 9:40 am You're not alone...I am constantly getting confused about which side of the connector the diagram is showing. Sometimes it is not that clear.
Follow the numbers on the connectors. Use a magnifying lens if you have to, so you can see them....They are usually on both the back and front of good connectors...
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Post Reply