6 - 65
6 Incremental Encoder Input Units
NX-series Position Interface Units User’s Manual (W524)
6-9 Functions
6
6-9-10 Pulse Rate Measurement
Precautions for Correct Use
The time that is set for the time window for pulse rate measurement varies within a range of
±250 μs. The range of variation is constant. It does not depend on the value set for the time
window.
To reduce the variation, set the average processing times and perform moving average pro-
cessing.
The time window is not synchronized when the NX bus I/O is refreshed.
When refreshing is performed for the NX bus I/O, the pulse rate measurement value that was
measured in the most recent time window is returned.
Average processing for the average processing times also starts from the set value that is written and it
starts when the set value is written.
When processing begins, the data that is obtained at that point is used to fill the average processing
times buffers.
Data is stored in the corresponding buffer from the 2nd cycle onward and the average value is calcu-
lated. When the buffers are full, the buffer with the oldest data is overwritten with the latest data.
If a new value is written to the Average Processing Times parameter during an average processing
operation, the average processing data up to that point is discarded and average processing is started
again from the time when the set value is written.
100 ms 100 ms
40 ms
40 ms
40 ms
Pulse rate
measurement
value
Pulse rate
measurement
value
Pulse rate
measurement
value
Pulse rate
measurement
value
The time window
is set to 100 ms.
The time window is
changed to 40 ms.
1st cycle Data 1 Data 1 Data 1 Data 1
The data buffers are filled when average processing is started.