Getting 8000CPR out of a 2000 line encoder? (answered)

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

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

Getting 8000CPR out of a 2000 line encoder? (answered)

Post by martyscncgarage »

How do you get 8000 counts per rev out of a 2000 line encoder???

I have been getting asked this question as a result of a one of my videos.
Dynapar (Makers of great industrial encoders) explains it well here:
http://www.dynapar.com/Technology/Encod ... e_Encoder/

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
diycncscott

Re: Getting 8000CPR out of a 2000 line encoder?

Post by diycncscott »

On a quadrature encoder, there are 4 pulses generated. 1 ea for A, A-, B and B- for each "line" - hence the "quad"
Centroid_Tech
Posts: 286
Joined: Thu Mar 18, 2010 2:24 pm

Re: Getting 8000CPR out of a 2000 line encoder?

Post by Centroid_Tech »

On a typical encoder, you have 2 signals, A and B. Each individual signal has 2 states that it can be in, either ON or OFF. Since you have 2 signals that have 2 independent states, there are 4 possible combinations for those signals - They can both be ON, they can both be OFF, or one of them can be ON. The attached photo shows the logic table of those signals. The ON state is represented by a logic 1 while the OFF state is represented by a logic 0. That is why you multiply the line count or ppr of an encoder by 4.
Attachments
ABLogic.PNG
ABLogic.PNG (919 Bytes) Viewed 1813 times
When requesting support, please ALWAYS post a current report. Find out how to take a report from your Acorn, CNC11 or CNC10 system here: https://www.youtube.com/watch?v=Ecvg0VJp1oQ.

If your question is PLC, Macro or program related, please also post a copy of the program or macro as well.

Without the above information we may not be able to help and/or reply until the required information is posted..
frijoli
Posts: 595
Joined: Tue Sep 12, 2017 10:03 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 1030090099
DC3IOB: Yes
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: No
Location: Outside Winston-Salem, NC
Contact:

Re: Getting 8000CPR out of a 2000 line encoder?

Post by frijoli »

Centroid_Tech wrote: Mon Dec 18, 2017 5:13 pm On a typical encoder, you have 2 signals, A and B. Each individual signal has 2 states that it can be in, either ON or OFF. Since you have 2 signals that have 2 independent states, there are 4 possible combinations for those signals - They can both be ON, they can both be OFF, or one of them can be ON. The attached photo shows the logic table of those signals. The ON state is represented by a logic 1 while the OFF state is represented by a logic 0. That is why you multiply the line count or ppr of an encoder by 4.
The cool thing is it uses that format to determine which direction it is rotating. Each state happens in the exact order forward or back. In one pulse it know which way it's moving.

Clay
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
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: Getting 8000CPR out of a 2000 line encoder?

Post by martyscncgarage »

Everyone's input on this one is appreciated! Explained several different ways!
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Post Reply