A-4 Digital Filter Design with the Library
This section shows digital filter design examples that utilize 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)
These libraries enable you to output the analog input values that have been read by a High-speed An-
alog Input Unit to a CSV file. By converting the output data in the form of a CSV file into a graph, you
can adjust the digital filter parameters of the High-speed Analog Input Unit and check their effects.
This section describes the system configuration, and shows how to design digital filters and their pro-
gramming examples. The system configuration here assumes that the High-speed Analog Input Unit is
connected to a CPU Unit. In the programming example where the Unit is connected to an NX-ECC203
EtherCAT Coupler Unit, only differences from the case where it is connected to the CPU Unit are de-
scribed. Refer to
A-4-4 Connection to the Communications Coupler Unit
on page A - 34 for details.
A-4-1
System Configuration
The system configuration is given below.
Output device
(a)
(b) (c)
Letter
Description
Model
Description
(a)
NX-series CPU Unit
NX102-
££££
---
(b)
Additional I/O Power Supply Unit
NX-PF0730
NX Unit number: 1
(c)
High-speed Analog Input Unit
NX-HAD401
•
NX Unit number: 2
•
Channel used: Ch1
A-4-2
Digital Filter Design Examples
The functions used for designing digital filters and the design procedure are shown below.
Appendices
A - 21
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-1 System Configuration