![background image](http://html1.mh-extra.com/html/omron/sysmac-nx-series/sysmac-nx-series_user-manual_742270263.webp)
Fluctuations in the measurement values are significantly suppressed by the Ch1 Moving Aver-
age Filter 1.
9000
8000
7000
6000
5000
4000
3000
2000
1000
0
1
4
0
1
8
0
1
1
2
0
1
1
6
0
1
2
0
0
1
Analog input value after
moving average filtering
C
h
1
An
a
lo
g
I
n
p
u
t
V
a
lu
e
Number of data items
10000
11000
12000
13000
1
0
1
5
0
1
9
0
1
1
3
0
1
1
7
0
1
2
0
1
6
0
1
1
0
0
1
1
4
0
1
1
8
0
1
3
0
1
7
0
1
1
1
0
1
1
5
0
1
1
9
0
1
Old
New
Data at start
of recording
Additional Information
In this example, fluctuations are significantly suppressed using only the Ch1 Moving Average
Filter 1. If you cannot suppress frequency fluctuations from a noise component only with the
Ch1 Moving Average Filter 1, use the Ch1 Moving Average Filter 2 together to suppress the
fluctuations. At this time, design the Ch1 Moving Average Filter 2 with the same design proce-
dure and same requirements as the Ch1 Moving Average Filter 1 after you design the Ch1
Moving Average Filter 1.
A-4-3
Programming Example
This section shows programming examples that use the following libraries in the High-speed Analog
Inspection Library of Sysmac Library.
• DeviceVariableToArray_100 (Join Device Output Data)
• DataRecorder (Data Recorder)
• LogDataToCSV (Write Log Data to CSV File)
Refer to the
Sysmac Library User’s Manual for High-speed Analog Inspection Library (Cat. No. W607)
for details on the High-speed Analog Inspection Library of Sysmac Library.
In the following programming examples, you collect analog input values of Ch1 and then export the
collected data to a CSV file.
Unit Operation Settings
The following table shows the Unit operation settings for the High-speed Analog Input Unit that you set
in the program. Use the default values for settings that are not given in the table.
Appendices
A - 25
NX-series Analog I/O Units User’s Manual for High-speed Analog Input Units (W592)
A-4
Digital Filter Design with the Library
A
A-4-3 Programming Example