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
Setting of UnitNo
EtherNet/IP Unit
*1 AutoIP is an automatic IP address assignment feature of Windows 98 and later operating systems.
*2 NX1P2 CPU Units and NY-series Controllers have no USB port.
The values of IPAdr[], SubnetMask[], and DefaultGateway[] are ignored when the value of BootPCon-
trol is 1 or 2. Therefore, the values of IPAdr[], SubnetMask[], and DefaultGateway[] can be outside of
the valid ranges.
If you specify the built-in EtherNet/IP port for UnitNo, you can use the _EIP_EtnOnlineSta, _EIP1_Et-
nOnlineSta, _EIP2_EtnOnlineSta, and _EIPIn1_EtnOnlineSta system-defined variables to see if com-
munications are possible.
Here, _EIP_EtnOnlineSta is used as an example, but this information also applies to
_EIP1_EtnOnlineSta, _EIP2_EtnOnlineSta and _EIPIn1_EtnOnlineSta.
When Busy changes to FALSE, _EIP_EtnOnlineSta changes to FALSE. When communications using
the new IP address are enabled, _EIP_EtnOnlineSta changes to TRUE.
Execute
Busy
Done
_EIP_EtnOnlineSta
Instruction
execution started.
The following example shows how to change the IP address of the EtherNet/IP Unit with unit number
00 to the IP address that is obtained from the BOOTP server each time the instruction is executed. If A
(Execute) is changed to TRUE from an HMI or other device, the IP address is changed to the IP
address that is obtained from the BOOTP server. Then, each time the power supply is turned ON, the
IP address is changed to the IP address that is obtained from the BOOTP server.
2-1094
Input variable
IPAdr[] (array)
SubnetMask[]
(array)
DefaultGateway[]
(array)
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
The variable changes to
FALSE when instruction
execution ends.
Valid range
The following IP addresses cannot be used. All other IP
addresses are valid.
• IP addresses that start with 127
• Class D IP addresses (224.0.0.0 to 239.255.255.255)
• Class E IP addresses (240.0.0.0 to 255.255.255.255)
• 0.0.0.0
• 192.0.0.0 to 255.255.255.252
The following IP addresses cannot be used. All other IP
addresses are valid.
• IP addresses that start with 127
• Class D IP addresses (224.0.0.0 to 239.255.255.255)
• Class E IP addresses (240.0.0.0 to 255.255.255.255)
The variable changes to
TRUE when communications
become possible.

NY-series Instructions Reference Manual (W560)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents