Ny-Series Instructions Reference Manual (W560 - Omron NY532-5400 Reference Manual

Ny-series
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

The data type of the DevicePort input variable is structure _sDEVICE_PORT. The specifications are as
follows:
Name
DevicePort
DeviceType
NxUnit
EcatSlave
OptBoard
Reserved
PortNo
Use DeviceType to specify the device type. Set this to _DeviceNXUnit for an NX Unit and _DeviceOp-
tionBoard for an Option Board. The variable used to specify the device is determined by the specified
device type.
To specify an NX Unit, use NxUnit to specify the device.
In this case, EcatSlave and OptBoard are not used.
To NxUnit, pass the device variable that is assigned to the node location information on the I/O Map for
the device to specify.
To specify an Option Board, use OptBoard to specify the device.
In this case, NxUnit and EcatSlave are not used.
To OptBoard, pass the device variable that is assigned to the node location information on the I/O Map
for the device to specify.
If you use this instruction, be sure to assign a device variable to the node location information. Do not
assign device variables to any I/O ports following the node location information that are indicated by
"W" under the R/W column.
The figure below is an example of using this instruction for port 1 on an NX-CIF210.

NY-series Instructions Reference Manual (W560)

Meaning
Description
Object that represents a
Device port
device port
Type of the device to
Device type
specify
Specified Unit NX Unit to control
Specified
EtherCAT slave to con-
slave
trol
Specified
Option Board to control
Option Board
Reserved
Reserved
Port number
Port number
1: Port 1
2: Port 2
2 Instruction Descriptions
Data type
Valid range
_sDE-
---
VICE_PORT
_DeviceNXUnit
_DeviceEcat-
_eDEVICE_-
Slave
TYPE
_DeviceOption-
Board
_sNXUNIT_ID ---
_sECAT_ID
---
_sOPT-
---
BOARD_ID
Reserved
---
Depends on
USINT
data type.
Unit
Default
---
---
---
---
---
---
2
---
---
---
---
---
---
---
---
2-1225

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents