PLC Pie Guy
Member
Good Morning Gents.
L35E, RSL5000 V20.18
I have a quick question for you regarding a single turn encoder I am using for a new project. I am using this encoder to A track line position, B to tell me RPM and C to increment a BSL instruction.
The first two things no troubles. The one thing I am noticing is that if I have my encoder resolution set to more than 10 counts per rev. I start missing the 0 position.
EX: I am using an EQU instruction to turn on a one shot. The EQU instruction looks at encoder position and if Equal to 0, trigger the ONS. However, if my resolution is set to more than 10 and I do 20 revolutions, I might only count 11 one shot enables. At 10 Pulses it is very accurate.
My question is this?
What is the ideal way to catch the 0 position reliably at a resolution higher than 10 counts per rev. ???
I would like to run at 100 counts/rev.
My max RPM would be about 140 RPM. But this is not reliable even at 80 RPM.
My RPI for encoder is 2.0ms.
My max scan time at this point is 5.08 with an average about 1. If this is relevant.
Thanks for any advice in advance!
L35E, RSL5000 V20.18
I have a quick question for you regarding a single turn encoder I am using for a new project. I am using this encoder to A track line position, B to tell me RPM and C to increment a BSL instruction.
The first two things no troubles. The one thing I am noticing is that if I have my encoder resolution set to more than 10 counts per rev. I start missing the 0 position.
EX: I am using an EQU instruction to turn on a one shot. The EQU instruction looks at encoder position and if Equal to 0, trigger the ONS. However, if my resolution is set to more than 10 and I do 20 revolutions, I might only count 11 one shot enables. At 10 Pulses it is very accurate.
My question is this?
What is the ideal way to catch the 0 position reliably at a resolution higher than 10 counts per rev. ???
I would like to run at 100 counts/rev.
My max RPM would be about 140 RPM. But this is not reliable even at 80 RPM.
My RPI for encoder is 2.0ms.
My max scan time at this point is 5.08 with an average about 1. If this is relevant.
Thanks for any advice in advance!