Hi.
I have a quick question about debouncing. I have a machine which has two optical sensors as inputs. I’ll describe it simply as a conveyor belt with 30 storage bins fixed to it, and each storage bin has an optical reflector stuck on the side. When each bin passes past the sensor, a CP1L Omron PLC counts its passing and increments a register. Simple. But, the conveyor system is Soooo flacky that it vibrates, and sways from side to side, causing the optical sensor (a real cheap sensor) to falsely trigger giving several outputs when there is only one.
I tend to live in the Microcontroller world and the solution is very simply implemented with hardware filters in the extreme, and or well designed software debounce routines.
How can I solve this using this CP1L PLC,without expensive sensors. I’m still developing the ladder code for the PLC, but I want to implement the differentiation feature available in the PLC, will this be enough or is there some other method. How do PLC’s best handle debouncing?
Thanks for any help
Cheers
Martin
I have a quick question about debouncing. I have a machine which has two optical sensors as inputs. I’ll describe it simply as a conveyor belt with 30 storage bins fixed to it, and each storage bin has an optical reflector stuck on the side. When each bin passes past the sensor, a CP1L Omron PLC counts its passing and increments a register. Simple. But, the conveyor system is Soooo flacky that it vibrates, and sways from side to side, causing the optical sensor (a real cheap sensor) to falsely trigger giving several outputs when there is only one.
I tend to live in the Microcontroller world and the solution is very simply implemented with hardware filters in the extreme, and or well designed software debounce routines.
How can I solve this using this CP1L PLC,without expensive sensors. I’m still developing the ladder code for the PLC, but I want to implement the differentiation feature available in the PLC, will this be enough or is there some other method. How do PLC’s best handle debouncing?
Thanks for any help
Cheers
Martin