Encoder Differential Error Rev2

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

Moderator: cnckeith

viscoelastic
Posts: 19
Joined: Fri Nov 26, 2021 2:38 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: A901056
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Encoder Differential Error Rev2

Post by viscoelastic »

Encoder Differential Error:
Encoder Wired
1---
2 0vdc
3 Z-
4 A-
5 B-
6 Z
7 A
8 B
9 +5vdc

Encoder Type Incremental (quadrature)
Encoder Output Type Line driver (differential)
Encoder Resolution 2500 ppr

I looked at the post for "encoder basics", I think I am somewhat, sorta, maybe correct on this, but obviously not if getting an error.

Thanks oh CNC Demigods
Attachments
report_0008DC111213-1026212647_2022-01-23_04-16-59.zip
(2.71 MiB) Downloaded 52 times
tblough
Posts: 3072
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Encoder Differential Error Rev2

Post by tblough »

Post a manual (or link) for your encoder.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Encoder Differential Error Rev2

Post by cncsnw »

Is the encoder in question (this time) for your fourth axis, or for your spindle?
viscoelastic
Posts: 19
Joined: Fri Nov 26, 2021 2:38 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: A901056
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Encoder Differential Error Rev2

Post by viscoelastic »

This is for my spindle I have it plugged into #6 and made sure it was 6 in the parameters. The encoder used is the ***.VD model

https://cdn.automationdirect.com/static ... series.pdf

Thanks
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Encoder Differential Error Rev2

Post by cncsnw »

Can you post a clear picture or two of the back of your D-sub connector; and also of any intermediate connectors, if you were unable to run the built-in cable all the way to the Allin1DC unit?
viscoelastic
Posts: 19
Joined: Fri Nov 26, 2021 2:38 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: A901056
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Encoder Differential Error Rev2

Post by viscoelastic »

I opened the case of the connector so you could see the type I used. The other picture I just reused the terminal block that was in the machine. Thanks



tblough
Posts: 3072
Joined: Tue Mar 22, 2016 10:03 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Boston, MA
Contact:

Re: Encoder Differential Error Rev2

Post by tblough »

Well, pin 2 on CNC12 is common. You have A connected to that according to the encoder color codes. I didn't bother checking the rest of the wires.
Cheers,

Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
martyscncgarage
Posts: 9912
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 Rev2

Post by martyscncgarage »

That picture of the connector is not very good and as Tom pointed out, you have black on terminal 2
Here is the way I see it:
1=No connection
2=COM (Blue)
3=Z/ (Yellow)
4=AA/ (Purple)
5= B/ (Grey)
6=Z (Orange)
7=A (Black)
8=B (White)
9-+5VDC (Brown)

You should be using a shielded cable and its drain wire soldered to the DB9 shell. I don't care for that DB9 breakout board you are using...but provided you get the drain wire to the shell, I imagine it should work.

Once you fixe the wiring, test it in the PID screen by rotating it. Watch for the asterisk to pop up next to the N of the channel you have the encoder programmed to,

Report back once you have corrected the wiring. Hopefully you haven't damaged the encoder because you grounded the A channel output.
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
viscoelastic
Posts: 19
Joined: Fri Nov 26, 2021 2:38 pm
Acorn CNC Controller: No
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: A901056
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Encoder Differential Error Rev2

Post by viscoelastic »

Thanks Marty, The colors of the wire are different from the encoder. But straight through they match yours. Listening to what you said, I ordered a double shielded cabling and solder on DB9's. Appreciate the input, I'll report back when I get everything in, at least for everyone else's benefit.
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Encoder Differential Error Rev2

Post by cncsnw »

Lack of shielding will not cause a differential error. It will cause quadrature errors during later motion.

Since you have exposed terminals on your DE9 breakout, it will be easy enough to measure DC voltage between A and /A (pins 4 and 7) and between B and /B (pins 5 and 8).

There should always be either plus or minus three or four volts across each of those pairs. If there is not, then the encoder is either faulty or mis-wired.

If all else fails, see:
http://www.cncsnw.com/EncoderTest.htm
Post Reply