
π’ Fresh Content: PLC Troubleshooting Tips That Work Across Any Platform | Click to read on PLCBlog!
A chattering sensor drives everyone crazy. Filter it: the Clean signal only changes after the raw input has been stable for 200 ms in either direction.
Your goal
Pattern from Contact & Coil's classic ladder logic series.
I/O for this exercise
| Inputs | |
| Noisy | Raw (chattering) sensor |
| Outputs | |
| Clean | Debounced signal |
| Timers | |
| T1 Β· 200ms | ON-delay (signal high) |
| T2 Β· 200ms | OFF-delay (signal low) |