Explain functions of input and output devices used in electronic control systems, including switches, sensors, transducers, relays, timers, counters, motors, and actuators.