A-4-3 Programming Example; Programming Example - Omron Sysmac NX Series User Manual

Machine automation controller analog i/o units high-speed analog input units
Hide thumbs Also See for Sysmac NX Series:
Table of Contents

Advertisement

Fluctuations in the measurement values are significantly suppressed by the Ch1 Moving Aver-
age Filter 1.
13000
12000
11000
10000
9000
8000
7000
6000
5000
4000
3000
2000
1000
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.
NX-series Analog I/O Units User's Manual for High-speed Analog Input Units (W592)
0
Old
Analog input value after
moving average filtering
Number of data items
Appendices
A
New
A - 25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac nx-had401Sysmac nx-had seriesSysmac nx-had402

Table of Contents