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

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

Advertisement

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.
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.
Use the SlaveAdr input variable to specify the address of a Modbus-RTU slave.
If 0 is set for the SlaveAdr input variable, an error occurs and you cannot broadcast commands to Mod-
bus-RTU slaves.

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-1195

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents