Hello all. I am on site trying to scale my rotors controlled with a compact logix through analog inputs and outputs. My brain is racked.
The rotors are to be ran between 30 - 60 Hz.
I do a SCP with my input min / max set at 30 and 60 respectively.
I do the scaled min / max at 4000 and 20000 respectively.
It works, but not in all ranges. If I do 30 or 60 in my scp I get the correct speed output, but if I do 45, my counts go to 12000 and it is a little off.
It seems not to be linear. If I do my SCP input min / max to 0 and 60 respectively, the middle range is accurate, (like 45 Hz), but the minimum speed is 37 instead of 30.
I cannot linearly scale them with a scp block. Are there any tricks I am missing?
Thanks
The rotors are to be ran between 30 - 60 Hz.
I do a SCP with my input min / max set at 30 and 60 respectively.
I do the scaled min / max at 4000 and 20000 respectively.
It works, but not in all ranges. If I do 30 or 60 in my scp I get the correct speed output, but if I do 45, my counts go to 12000 and it is a little off.
It seems not to be linear. If I do my SCP input min / max to 0 and 60 respectively, the middle range is accurate, (like 45 Hz), but the minimum speed is 37 instead of 30.
I cannot linearly scale them with a scp block. Are there any tricks I am missing?
Thanks