4-9
4 Determining IP Addresses
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
4-2 Setting the IP Address of the EtherNet/IP Unit
4
4-2-3 Online Connection
Precautions for Correct UsePrecautions for Correct Use
• If the IP address is duplicated or not set correctly, communications are not possible via the
EtherNet/IP network.
• The IP address range shown below is used by the system and cannot be specified.
169.254.0.0 to 169.254.255.255
192.168.255.0 to 192.168.255.255
• Due to Ethernet restrictions, you cannot specify the IP addresses that are described below.
• An IP address that is all 0’s or all 1’s
• IP addresses that start with 127, 0, or 255 (decimal)
• An IP address with a host ID that is all 0’s or all 1’s
• An IP address with a network ID that is all 0’s or all 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)
Connecting from a Saved Project
The connection configuration that is set (USB or EtherNet/IP) is saved in the project. (The file is
xxx.smc.) If you open a saved project on the Sysmac Studio, you can connect to the EtherNet/IP
network without redoing the settings.
Checking the Current IP Address
You can use the following device variable for the CJ-series Unit to check the IP address that is set for
the EtherNet/IP Unit.
The IP address is stored as shown below.
Device variable name for CJ-
series Unit
Data
type
R/W Meaning Description
*_IPAdrCfg DWORD RW IP address dis-
play/setting area
Default: 00000000
*_IPAdr1Cfg USINT RW IP Address 1 Part (1) of the IP Address of the Eth-
erNet/IP Unit
*_IPAdr2Cfg USINT RW IP Address 2 Part (2) of the IP Address of the Eth-
erNet/IP Unit
*_IPAdr3Cfg USINT RW IP Address 3 Part (3) of the IP Address of the Eth-
erNet/IP Unit
*_IPAdr4Cfg USINT RW IP Address 4 Part (4) of the IP Address of the Eth-
erNet/IP Unit
First byte
Byte
First byte + 1
IP Address: (1).(2).(3).(4) (hex)
(1)
(2)
(3)
(4)
1514131211109876543210