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
*8 The valid range depends on whether you specify the built-in EtherNet/IP port or an EtherNet/IP Unit for UnitNo (Unit num-
ber). Refer to Function, below, for details.
Bit strings
UnitNo
BootP
Control
IPAdr[]
OK
(array)
Subnet
OK
Mask[]
(array)
BootP
OK
Control
Default
Gateway[]
(array)
Function
The ChangeIPAdr instruction changes the IP address of the built-in EtherNet/IP port, internal communi-
cation port, or EtherNet/IP Unit that is specified with UnitNo (Unit number) according to IP address
assignment method and setting timing BootPControl.
If you specify the built-in EtherNet/IP port with UnitNo, the port goes to link OFF status when execution
of the instruction ends and then goes to link ON status with the new IP address.
If the internal communication port is specified with UnitNo, the _EIPIn1_EtnOnlineSta system-defined
variable changes to FALSE when execution of the instruction ends. Communications with the new IP
address is enabled when the variable changes to TRUE. If you specify an EtherNet/IP Unit with UnitNo,
the EtherNet/IP Unit is restarted when execution of the instruction ends. Communications with the new
IP address is enabled when restarting the Unit ends.
You can use this instruction to change the IP address of the built-in EtherNet/IP port, internal communi-
cation port, or an EtherNet/IP Unit from an HMI.
The data type of UnitNo is enumerated type _eUnitNo. The meanings of the enumerators are as fol-
lows:
Enumerator
*1
_CBU_CPU
_CBU_CPU_Port1
_CBU_CPU_Port2
_CBU_CPU_InPort1
_CBU_No00 to _CBU_-
*5
No15
*1 Specification is possible for an NJ-series CPU Unit.
*2 Specification is possible for an NX-series CPU Unit or an NY-series Controller. You can spec-
ify _CBU_CPU instead of _CBU_CPU_Port1.
*3 Specification is possible for an NX-series CPU Unit. You cannot use it for CPU Units without
communications port 2.
*4 Specification is possible for an NY-series Controller.
*5 Specification is possible for an NJ-series CPU Unit.
2-1092
Refer to Function for the enumerators of the enumerated type _eUnitNo.
OK
Built-in EtherNet/IP port
*2
Built-in EtherNet/IP communications port 1
*3
Built-in EtherNet/IP communications port 2
*4
Internal port 1
Unit number 00 to 15 of the EtherNet/IP Unit
Integers
Specify an array.
Specify an array.
Specify an array.
Meaning

NY-series Instructions Reference Manual (W560)

Times, durations,
dates, and text
strings

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents