Encoder Differential Error

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

Moderator: cnckeith

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 »

What I come up with:
Encoder Color Code.JPG
Solder drain wire to DB9 shell
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 »

When you say the motors have not been run, are they connected so they should run, or are they disconnected?
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 9:43 am When you say the motors have not been run, are they connected so they should run, or are they disconnected?
Have not gotten that far. Will likely do so this week or next.

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:26 pm
jeingham wrote: Mon Jul 13, 2020 10:24 pm
<SNIP>

Yes, got it, one tripper and software limits, I was sort of aware that would need to be the case.

X switch is in the middle pretty much, Y too. Trips are at either end of the range of travel relative to the single switch.

Will contemplate second switch.

John
If you have one switch you need to fix it in the CNC12 software configuration. You didn't answer which end of the axis the switch is on so I can't help you there. You will have to either jump the unused limit switch input to COM or use the appropriate limit switch defeat on AIO DC
They are actually in the center, one switch for X and one for Y, Centered more or less.
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
Thank you Marty, I should have done some kind of spread sheet myself. Will run it all to ground tomorrow and let you know how it goes.

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 »

jeingham wrote: Tue Jul 14, 2020 12:21 pm
martyscncgarage wrote: Mon Jul 13, 2020 10:26 pm
jeingham wrote: Mon Jul 13, 2020 10:24 pm
<SNIP>

Yes, got it, one tripper and software limits, I was sort of aware that would need to be the case.

X switch is in the middle pretty much, Y too. Trips are at either end of the range of travel relative to the single switch.

Will contemplate second switch.

John
If you have one switch you need to fix it in the CNC12 software configuration. You didn't answer which end of the axis the switch is on so I can't help you there. You will have to either jump the unused limit switch input to COM or use the appropriate limit switch defeat on AIO DC
They are actually in the center, one switch for X and one for Y, Centered more or less.
I would move it to one end or the other. BUt it could be used this way, you would have negative and positive values for your soft limits depending on the travel distance either side of the tripper.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
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 »

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

Solder drain wire to DB9 shell
Thank you Marty, I should have done some kind of spread sheet myself. Will run it all to ground tomorrow and let you know how it goes.

John
I use spreadsheets and save them.
Just double check and see if it jibes....
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
aamir
Posts: 98
Joined: Fri Jun 10, 2011 8:31 am
Allin1DC CNC Controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes

Re: Encoder Differential Error

Post by aamir »

Jhon
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
cncsnw
Posts: 3854
Joined: Wed Mar 24, 2010 5:48 pm

Re: Encoder Differential Error

Post by cncsnw »

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.
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 »

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.
Post Reply