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

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

Advertisement

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.
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.
1: Port 1
2: Port 2
For an NX Unit, set this to Port 1 or Port 2.
For an Option Board, set this to Port 1.
The data type of DeviceType is enumerated type _eDEVICE_TYPE.
The meanings of the enumerators of enumerated type _eDEVICE_TYPE are as follows:
Enumerator
_DeviceNXUnit
_DeviceEcatSlave
_DeviceOptionBoard
In this instruction, you can specify _DeviceNXUnit or _DeviceOptionBoard.
First, data received by the Unit is stored in the receive buffer.
Use the RcvDat in-out variable to specify the variable to store data received from the receive buffer.
Use the Size input variable to set the size of RcvDat in bytes.
The RcvSize output variable represents the size of data actually received from the receive buffer.

NY-series Instructions Reference Manual (W560)

Meaning
NX Unit is specified.
EtherCAT slave is specified.
Option Board is specified.
2 Instruction Descriptions
Assign a variable.
Do not assign variables.
2
2-1171

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents