Omron CJ1W-EIP21 Network Card User Manual


 
51
Setting the Local IP Address Section 3-7
Method 2: Setting the Address in the CPU Bus Unit's Allocated DM Area
With this method, an IP address is not set in the TCP/IP Configuration (left at
its default setting), and an IP address is set in the allocated DM Area words
(the IP Address Display/Setting Area in words m+98 and m+99).
The IP address can be written in the two IP Address Display/Setting Area
words using the CX-Programmer or the Programming Console. To enable the
new IP Address setting, the EtherNet/IP Unit or built-in EtherNet/IP port must
be restarted or the PLC’s power must be turned OFF and then ON again.
Beginning word m = D30000 + (100 x unit number)
The following table shows the various Unit Setup when only the IP Address
Display/Setting Area is set, and the other TCP/IP Configuration settings are
left at their default values.
Method 3: Setting the TCP/IP Configuration from the Network
Configurator
This method can be used to set IP addresses from the CX-Programmer.
For details, refer to 3-8 TCP/IP and Link Settings.
If the IP address is set in the TCP/IP Tab Page, that IP address setting will be
displayed in the IP Address Display/Setting Area (words m+98 and m+99) in
the DM Area words allocated to the Unit/port.
1514131211109876543210
m+98 (1) (2) (3) (4)
m+99 (5) (6) (7) (8)
IP Address: (1)(2).(3)(4).(5)(6).(7)(8) (Hex)
Setting Operating status
IP address IP address set in words m+98 and m+99 (IP Address Dis-
play/Setting Area) of the DM Area words allocated to the
EtherNet/IP Unit as a CPU Bus Unit
Subnet mask Determined by class of the IP address
Default gateway None (IP routing disabled)
Preferred DNS server None
Alternate DNS server None
Host name None
Domain name None
Baud rate Auto-detect