PLC Pie Guy
Member
Good Morning Folks.
I'm having a bit of an issue with a machine and I'm looking for opinions on something.
I have a beam that is moved with a hydraulic cylinder. On the beam is 53 segments that are 14 MM in width and 14 MM between them.
While the beam travels back and fourth, a proximity switch is looking for these segments.
Prox swith is 2-3mm distance with 10000HZ switching. SICK IME08-02BPSZW2K
The prox. goes to Input.0 on My Micro850.
Its always counts 53. However, every once in a while I will loose a pulse or two at a slower speed, but once I ramp up, I'm loosing like 10 to 12 pulses per move.
Just by using a timer to see how long it takes to make 1 full directional, at speed stroke, is about 633ms. So for my math I will use 600ms just for a safety buffer.
So If its 600MS for 53 Pulses = 11.3 MS between rising edges and should be on for about 5.66MS
My Max scan is 4MS, average is 2MS.
All this scan speed, high speed stuff is not my forte. I do some basic positioning with encoders, Iv used them on the Micro850 and with Logix stuff. Missing positions or pulses Isn't something Iv encountered. Usually I see this pulse counting set up on slower machines.
My question is, Do you think I can make this reliable, or should I find another way to do this? This is on my log harvester mounted on an excavator and lives in the worst of environment, which is why I figure an encoder would not last a day. Id really like to get this to work 100%.
I have used the Input filtering on the Micro850 while connected to an encoder, do you think it might be beneficial in this situation? If so, how would you configure it?
The choices are
-Enable Latch Rising or Falling and Ell Edge, Rising or Falling.
I'm going to experiment with this some on Saturday but I was hoping to be armed with as much knowledge about this as possible.
Thanks for any advice in advance!
I'm having a bit of an issue with a machine and I'm looking for opinions on something.
I have a beam that is moved with a hydraulic cylinder. On the beam is 53 segments that are 14 MM in width and 14 MM between them.
While the beam travels back and fourth, a proximity switch is looking for these segments.
Prox swith is 2-3mm distance with 10000HZ switching. SICK IME08-02BPSZW2K
The prox. goes to Input.0 on My Micro850.
Its always counts 53. However, every once in a while I will loose a pulse or two at a slower speed, but once I ramp up, I'm loosing like 10 to 12 pulses per move.
Just by using a timer to see how long it takes to make 1 full directional, at speed stroke, is about 633ms. So for my math I will use 600ms just for a safety buffer.
So If its 600MS for 53 Pulses = 11.3 MS between rising edges and should be on for about 5.66MS
My Max scan is 4MS, average is 2MS.
All this scan speed, high speed stuff is not my forte. I do some basic positioning with encoders, Iv used them on the Micro850 and with Logix stuff. Missing positions or pulses Isn't something Iv encountered. Usually I see this pulse counting set up on slower machines.
My question is, Do you think I can make this reliable, or should I find another way to do this? This is on my log harvester mounted on an excavator and lives in the worst of environment, which is why I figure an encoder would not last a day. Id really like to get this to work 100%.
I have used the Input filtering on the Micro850 while connected to an encoder, do you think it might be beneficial in this situation? If so, how would you configure it?
The choices are
-Enable Latch Rising or Falling and Ell Edge, Rising or Falling.
I'm going to experiment with this some on Saturday but I was hoping to be armed with as much knowledge about this as possible.
Thanks for any advice in advance!
Last edited: