EasyManua.ls Logo

Omron SYSMAC NX series

Omron SYSMAC NX series
306 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
A-3
Programming Examples for Analog
Input Data Collection with the Library
The High-speed Analog Input Units read each analog input value that has been sampled in the task
periods of the assigned periodic task as more than one I/O data item.
DeviceVariableToArray_100 (Join Device Output Data), a library in the High-speed Analog Inspection
Library of Sysmac Library, enables you to join more than one I/O data item into one array variable.
This section shows programming examples that use this library. The system configuration here as-
sumes that the High-speed Analog Input Unit is connected to a CPU Unit. In the programming exam-
ple 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 described. Refer to A-3-3 Connection to the Communi-
cations Coupler Unit on page A - 17 for details.
A-3-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-3-2
Programming Example
The following shows a basic programing example for collecting analog input data by using DeviceVar-
iableT
oArray_100 (Join Device Output Data), a library in the High-speed Analog Inspection Library of
Sysmac Library. 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.
Appendices
A - 13
NX-series Analog I/O Units Users Manual for High-speed Analog Input Units (W592)
A-3 Programming Examples for Analog In-
put Data Collection with the Library
A
A-3-1 System Configuration

Table of Contents

Other manuals for Omron SYSMAC NX series

Related product manuals