The maximum operating frequency of the counter in the PLC ladder program is limited by the scan period and is generally only a few tens of Hz. In industrial control, the PLC is sometimes required to have a fast counting function, and the counting pulse may come from a rotary encoder, a mechanical switch or […]