I have seen the circuitry of a couple of programmable motion controllers. They were built around around microcontrollers like STM. So do I guess, the PLCs are also built around some microcontrollers. PLEASE correct me if I am wrong.
My concern is that how do the input ports of such motion controllers and PLCs are secured against EMI. What kind of protective circuit is used to avoid false triggering? Does the STM microcontrollers or others used in PLCs have some built-in protection? How can we secure AVR microcontrollers against EMI?
My concern is that how do the input ports of such motion controllers and PLCs are secured against EMI. What kind of protective circuit is used to avoid false triggering? Does the STM microcontrollers or others used in PLCs have some built-in protection? How can we secure AVR microcontrollers against EMI?

