5.5.12 DI Input Bounce Counter and Pass Time FIFO (2070h to 208Fh)
These objects record the count of signal bounce of R2-EC0004 and R2-EC1004 after the
timestamp function is enabled and record the pass time based on the initial time (2020h).
The available DI points of R2-EC0004 are DI 0 to DI 15 of Port 0; 16 points in total.
The available DI points of R2-EC1004 are DI 0 to DI 15 of Port 0 and DI 0 to DI 15 of Port 1;
32 points in total.
The correspondence between the DI point and OD index is as follows: DI 0 of Port 0 is 2070h,
DI 1 of Port 0 is 2071h, and then DI 0 of Port 1 is 2080h and DI 1 of Port 1 is 2081h, and so on.
Sub-index 1 records the count of signal bounce after the timestamp function is enabled. Each
time the DI signal changes but with the time duration shorter than the set filter time (2002h), the
bounce count increments by 1. Sub-indexes 2 to 9 record the pass time with 4 layers of FIFO.
When the 4 FIFO layers are full, new data is written to overwrite the old data starting from FIFO
0. The pass time is in units of 100 µs. For example, when the pass time of FIFO 0 is 100000, it
means that signal bounce occurs 10 seconds (100000*100 µs = 10000 ms = 10 s) after the
initial time.