Programming Examples For Analog Input Data Collection With The Library; A-3-1 System Configuration; A-3-2 Programming Example; System Configuration - 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

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.
(a)
(b) (c)
Output device
Letter
(a)
NX-series CPU Unit
(b)
Additional I/O Power Supply Unit
(c)
High-speed Analog Input Unit
A-3-2

Programming Example

The following shows a basic programing example for collecting analog input data by using DeviceVar-
iableToArray_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.
NX-series Analog I/O Units User's Manual for High-speed Analog Input Units (W592)
Description
NX102-££££
NX-PF0730
NX-HAD401
Model
---
NX Unit number: 1
NX Unit number: 2
Channel used: Ch1
Appendices
Description
A - 13
A

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac nx-had401Sysmac nx-had seriesSysmac nx-had402

Table of Contents