5.5.11 DO Timestamp Counter and Pass Time FIFO (2050h to 206Fh)
These objects record the count of DO changes of R2-EC0004 and R2-EC2004 after the
timestamp function is enabled and record the pass time based on the initial time (2020h).
The available DO points of R2-EC0004 are DO 0 to DO 15 of Port 0; 16 points in total.
The available DO points of R2-EC2004 are DO 0 to DO 15 of Port 0 and DO 0 to DO 15 of
Port 1; 32 points in total.
The correspondence between the DO point and OD index is as follows: DO 0 of Port 0 is 2050h,
DO 1 of Port 0 is 2051h, and then DO 0 of Port 1 is 2060h and DO 1 of Port 1 is 2061h, and so
on.
Sub-index 1 records the count of DO changes after the timestamp function is enabled. Each
time the DO switches from On to Off or from Off to On, the 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 10 seconds (100000*100 µs =
10000 ms = 10 s) has passed since the initial time.