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

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

Advertisement

2 Instruction Descriptions
The data type of the DevicePort input variable is structure _sDEVICE_PORT. The specifications are as
follows:
Variables
DevicePort
DeviceType
NxUnit
EcatSlave
OptBoard
Reserved
PortNo
Use DeviceType to specify the device type. Set this to _DeviceNXUnit for an NX Unit. The variable
used to specify the device is determined by the specified device type.
In this instruction, NxUnit is used to specify the device. 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.
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.
Refer to the Sysmac Studio Version 1 Operation Manual (Cat. No. W504-E1-07 or later) for details on
assigning a device variable to the node location information.
Use PortNo to specify the port number.
2-1240
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
Data type
Valid range
_sDE-
---
VICE_PORT
_DeviceNXUnit
_DeviceEcat-
_eDEVICE_-
Slave
TYPE
_DeviceOption-
Board
_sNXUNIT_ID ---
_sECAT_ID
---
_sOPTBOAR
---
D_ID
Reserved
---
Depends on
USINT
data type.
Assign a variable.
Do not assign variables.

NY-series Instructions Reference Manual (W560)

Unit
Default
---
---
---
---
---
---
---
---
---
---
---
---
---
---

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents