31.5.3.1 Digital Input Filter

The digital input filter is a feature that eliminates noise from input signals like software. For the digital input filter, the minimum is 0.5 millisecond and you can use up to 20 milliseconds in 0.5 millisecond-units.

Once the digital input filter is set, it stores data sampled at 0.5 millisecond-loop updates and reads the input terminal state before the set time when I/O is refreshed every 2 millisecond-loop update, and then compares the data.

If all the input terminal states show the same state, use the state as the input terminal value. If not, use the previous value. (If the number of data does not reach the sufficient level within the filtering time, select the input state OFF when the digital input filter is set.)