Encoder Differential Error
Moderator: cnckeith
-
- 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
What I come up with:
Solder drain wire to DB9 shellReminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
-
- 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
When you say the motors have not been run, are they connected so they should run, or are they disconnected?
-
- 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
They are actually in the center, one switch for X and one for Y, Centered more or less.martyscncgarage wrote: ↑Mon Jul 13, 2020 10:26 pmIf 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 DCjeingham 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
-
- 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
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.martyscncgarage wrote: ↑Mon Jul 13, 2020 10:59 pm What I come up with:
Encoder Color Code.JPG
Solder drain wire to DB9 shell
John
-
- 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
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.jeingham wrote: ↑Tue Jul 14, 2020 12:21 pmThey are actually in the center, one switch for X and one for Y, Centered more or less.martyscncgarage wrote: ↑Mon Jul 13, 2020 10:26 pmIf 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 DCjeingham 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
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
-
- 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
I use spreadsheets and save them.jeingham wrote: ↑Tue Jul 14, 2020 12:25 pmThank 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.martyscncgarage wrote: ↑Mon Jul 13, 2020 10:59 pm What I come up with:
Encoder Color Code.JPG
Solder drain wire to DB9 shell
John
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
We can't "SEE" what you see...
Mesa, AZ
-
- 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
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
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
Re: Encoder Differential Error
- Swapping A with /A;jeingham wrote:Gotta check tomorrow but it appears that I have the A and /A AND B and /B wire pairs inverted.
- 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.
-
- 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
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.