Incremental Encoder Convert to Degree

feisaladam

Member
Join Date
Mar 2024
Location
Indonesia
Posts
7
I have an application using an incremental encoder and then I convert it to degree (0-360) using calculation program. For a while, the calculation is correct, but after several movement from the machine, the degree calculation is not the same anymore. Have you all experience something like this before and how you resolve this
 
You say an incremental encoder these are normally single phase so keep counting where absolute are actual position 2 phase, need more information how are you determining the fwd/rev, or is it circular motion, how are you reading the pulses high speed input, counter card or interrupts it will depend on what you are doing.
 
You say these are "high-speed pulses?"

Is it possible the pulses are coming in too fast for the PLC? The PLC is a discrete device, and there need to be at least two PLC scan cycles (one to see the "1" and one to see the "0", and preferably more, per rising edge of the encoder signal, to ensure the PLC detects every edge.
 
Yes I use high-speed pulses
Previously I use rising edge and falling edge pulses when I use 2000 pls/rev encoder, but the increment not very stable so I changed it to 10000 pls/rev and I change the method (from rising/falling edge increment) to the automatic increment from buffer address my module and apparently using this address is more suitable for highspeed application
 
Some PLCs have high-speed counters (HSC) available on certain inputs. An HSC counts pulses independently of, and is capable of handling a higher pulse frequency than, the scan cycle. In the scan cycle the code can use the HSC accumulator value, with some tap dancing at rollover (typically from +32767 to -32768 or +2147483647 to -2147483648, or the unsigned equivalents).
 

Similar Topics

Hi all, I am using a B&R X20 unit and want to integrate an incremental encoder (OUT A, B, & Z). I have three BOOL digital input pins for my A,B...
Replies
3
Views
458
A bit of background here: We use an incremental encoder with a counting module in our PLC configuration. Using dual phase / quadrature counting...
Replies
26
Views
8,990
Hello, I am trying to take the counts I am getting on my plc from an incremental encoder and use them to keep track of position. I have never...
Replies
5
Views
1,330
Good Afternoon , We are thinking of using a BEI Incremental Encoder for one conveyor control , but keeping track of the speed of this...
Replies
3
Views
1,725
We have a PowerFlex 755 application using an incremental encoder for feedback. Is it possible to reset the Feedback Position to zero or a set...
Replies
1
Views
2,283
Back
Top Bottom