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
Getting 8000CPR out of a 2000 line encoder? (answered)
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
Getting 8000CPR out of a 2000 line encoder? (answered)
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
Re: Getting 8000CPR out of a 2000 line encoder?
On a quadrature encoder, there are 4 pulses generated. 1 ea for A, A-, B and B- for each "line" - hence the "quad"
-
- Posts: 286
- Joined: Thu Mar 18, 2010 2:24 pm
Re: Getting 8000CPR out of a 2000 line encoder?
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 (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..
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..
-
- 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?
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.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.
Clay
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
-
- 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?
Everyone's input on this one is appreciated! Explained several different ways!
Marty
Marty
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