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

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

Advertisement

The value of BootPControl determines how to obtain the new IP address and when to set it, as
described in the following table.
For BootPControl, you can specify a value in the range of 0 to 2 for port 1 on an NX-series CPU Unit,
for an NJ-series CPU Unit, and for an NY-series Controller. The range is 0 to 3 for port 2 on an NX-
series CPU Unit. You can specify only 0 for internal communication port on an NY-series Controller.
Value of BootPCon-
trol
0
1
2
3
Set the IP address, subnet mask, and default gateway in order in elements 0 to 3 of IPAdr[],
SubnetMask[], and DefaultGateway[]. For example, if the new IP address is 130.58.17.32, set IPAdr[0]
to BYTE#16#82, IPAdr[1] to BYTE#16#3A, IPAdr[2] to BYTE#16#11 and IPAdr[3] to BYTE#16#20.
The valid ranges of IPAdr[], SubnetMask[], and DefaultGateway[] depend on whether you specify the
built-in EtherNet/IP port or an EtherNet/IP Unit for UnitNo, as shown below. The valid ranges of the val-
ues are valid only when the value of BootPControl is set to 0.
Setting of UnitNo
Built-in EtherNet/IP port
Internal communication
port

NY-series Instructions Reference Manual (W560)

Method to obtain the IP address
The IP address is obtained from IP
address IPAdr[], subnet mask
SubnetMask[], and default gateway
DefaultGateway[].
The IP address is obtained from the
BOOTP server.
The IP address is obtained from the
BOOTP server.
The port is set to an unused port.
Any existing IP address is deleted.
Input variable
IPAdr[] (array)
The following IP addresses cannot be used. All other IP
addresses are valid.
• IP addresses that start with 127, 0, or 255
• IP addresses with a host ID for which all bits are 0's or for
which all bits are 1's
• 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)
• IP addresses that are reserved for AutoIP
169.254.255.255)
• IP addresses of USB ports (192.168.255.0 to
192.168.255.255)
SubnetMask[]
192.0.0.0 to 255.255.255.252
(array)
DefaultGateway[]
The following IP addresses cannot be used. All other IP
(array)
addresses are valid.
• IP addresses that start with 127, 0, or 255
• There is only one address for which all bits are 1's
• 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)
• IP addresses that are reserved for AutoIP
169.254.255.255)
• IP addresses of USB ports (192.168.255.0 to
192.168.255.255)
2 Instruction Descriptions
When to change the IP address
The IP address is set only once each time
the instruction is executed (fixed setting).
The IP address is set once when the instruc-
tion is executed and then once each time
the power supply to the Controller is turned
ON.
The IP address is set only once each time
the instruction is executed (fixed setting).
The IP address is set only once each time
the instruction is executed (fixed setting).
Valid range
*1
*2
*1
*2
2
(169.254.0.0 to
(169.254.0.0 to
2-1093

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents