Clay B.
Lifetime Supporting Member
Here is what I am working with and what I need to do.
I have a machine that runs at a top speed of 60 parts per minute. What I need to do is display this speed. The machine pulses a prox on every cycle.
I am using a DL-06 PLC. What I have tried is to start a timer and reset it every time my prox transistions. I take this value and divide it into 60 to get my cycle speed. This should work buy when I change speed it gpoes haywire at really slow speeds. After my math cal I can end up with 2 and 3 digit numbers.
I looked on the AD web sight for examples. Found an example on using a HSC to figure RPM. Down side for me is my slow cycle so I am not using an enocoder so this example does not really help me any.
Has anybody ran into this before and could point me in the direction I need to go.
I have a machine that runs at a top speed of 60 parts per minute. What I need to do is display this speed. The machine pulses a prox on every cycle.
I am using a DL-06 PLC. What I have tried is to start a timer and reset it every time my prox transistions. I take this value and divide it into 60 to get my cycle speed. This should work buy when I change speed it gpoes haywire at really slow speeds. After my math cal I can end up with 2 and 3 digit numbers.
I looked on the AD web sight for examples. Found an example on using a HSC to figure RPM. Down side for me is my slow cycle so I am not using an enocoder so this example does not really help me any.
Has anybody ran into this before and could point me in the direction I need to go.