There are different ways to assign the IP address to the added Ethernet interface of the controller:
oAddress assignment by DHCP server based on the Network Name of the Ethernet interface
oAddress assignment by BOOTP server based on the MAC address of the Ethernet interface
oFixed IP address
oPost configuration file. If a post configuration file exists, this assignment method has priority over the others.
The IP address can also be changed dynamically through the:
oCommunication Settings tab in EcoStruxure Machine Expert
ochangeIPAddress function block
NOTE: If the attempted addressing method is unsuccessful, the link uses a default IP address derived from the MAC address.
Carefully manage the IP addresses because each device on the network requires a unique address. Having multiple devices with the same IP address can cause unintended operation of your network and associated equipment.
|
UNINTENDED EQUIPMENT OPERATION |
oVerify that there is only one master controller configured on the network or remote link. oVerify that all devices have unique addresses. oObtain your IP address from your system administrator. oConfirm that the IP address of the device is unique before placing the system into service. oDo not assign the same IP address to any other equipment on the network. oUpdate the IP address after cloning any application that includes Ethernet communications to a unique address. |
Failure to follow these instructions can result in death, serious injury, or equipment damage. |
NOTE: Verify that your system administrator maintains a record of assigned IP addresses on the network and subnetwork, and inform the system administrator of any configuration changes performed.
This diagram shows the different types of address systems for the controller:
NOTE: If a device programmed to use the DHCP or BOOTP addressing methods is unable to contact its respective server, the controller uses the default IP address. It repeats its request constantly.
The IP process restarts in the following cases:
oController reboot
oEthernet cable reconnection
oApplication download (if IP parameters change)
oDHCP or BOOTP server detected after a prior addressing attempt was unsuccessful.
In the Devices tree, double-click Ethernet_1 or Ethernet_2
Note: If you are in online mode, you see the two windows. You cannot edit them. If you are in offline mode, you see the Configured Parameters window and, for Ethernet_2 the Ring topology options window. You can edit them.
This table describes the configured parameters:
Configured Parameters |
Description |
|
---|---|---|
Interface Name |
Name of the network link. Visible in online mode. |
|
Network Name |
Used as device name to retrieve IP address through DHCP, maximum 15 characters. |
|
IP Address by DHCP |
IP address is obtained by DHCP server. |
|
IP Address by BOOTP |
IP address is obtained by BOOTP server. MAC address is located on the front of the controller. |
|
Fixed IP Address |
IP address, Subnet Mask, and Gateway Address are defined by the user. |
|
Ethernet Protocol |
Protocol type used: Ethernet 2 |
|
Transfer Rate |
Speed and Duplex are in auto-negotiation mode. |
The default IP addresses are:
o10.10.x.x. for Ethernet_1
o10.11.x.y. for Ethernet_2
When TM262• is not configured, TMSES4 boots and automatically gets its default IP address:
o10.12.x.y for the first module
x and y 5th and 6th bytes of interface MAC address. For example, with a MAC address of 00:80:F4:4E:02:5D, the IP address will be 10.12.2.93
NOTE: The two IP addresses must not be in the same IP network.
The MAC address of the port can be retrieved on the label placed on the front side of the controller.
The default subnet masks are:
o255.255.0.0 for Ethernet_1
o255.255.0.0 for Ethernet_2
NOTE: A MAC address is written in hexadecimal format and an IP address in decimal format. Convert the MAC address to decimal format.
Example: If the MAC address is 00.80.F4.01.80.F2, the default IP address is 10.10.128.242.
USB Network address (192.168.200.0) and TMS Network address (192.168.2.0) are prohibited.
The subnet mask is used to address several physical networks with a single network address. The mask is used to separate the subnetwork and the device address in the host ID.
The subnet address is obtained by retaining the bits of the IP address that correspond to the positions of the mask containing 1, and replacing the others with 0.
Conversely, the subnet address of the host device is obtained by retaining the bits of the IP address that correspond to the positions of the mask containing 0, and replacing the others with 1.
Example of a subnet address:
IP address |
192 (11000000) |
1 (00000001) |
17 (00010001) |
11 (00001011) |
Subnet mask |
255 (11111111) |
255 (11111111) |
240 (11110000) |
0 (00000000) |
Subnet address |
192 (11000000) |
1 (00000001) |
16 (00010000) |
0 (00000000) |
NOTE: The device can communicate only on its subnetwork when there is no gateway.
The gateway allows a message to be routed to a device that is not on the current network.
If there is no gateway, the gateway address is 0.0.0.0.
The gateway address must be defined on Ethernet_1 interface. The traffic to unknown networks is sent through this interface.
This table describes the different security parameters:
Security Parameters |
Description |
---|---|
Discovery protocol |
This parameter deactivates Discovery protocol. When deactivated, Discovery requests are ignored. |
FTP Server |
This parameter deactivates the FTP Server of the controller. When deactivated, FTP requests are ignored. |
Machine Expert protocol |
This parameter deactivates the Machine Expert protocol on Ethernet interfaces. When deactivated, every Machine Expert request from every device is rejected. Therefore, no connection is possible on Ethernet from a PC with EcoStruxure Machine Expert, from an HMI target that wants to exchange variables with this controller, from an OPC server, or from Controller Assistant. |
Modbus Server |
This parameter deactivates the Modbus Server of the controller. When deactivated, every Modbus request to the controller is ignored. |
Remote connection |
This parameter deactivates the remote connection. When deactivated, Fast TCP requests are ignored. |
Secured Web Server |
This parameter deactivates the Secured Web Server of the controller. When deactivated, HTTPS requests to the controller Secured Web Server are ignored. |
SNMP protocol |
This parameter deactivates the SNMP server of the controller. When deactivated, SNMP requests are ignored. |
Web Server |
This parameter deactivates the Web Server of the controller. When deactivated, HTTP requests to the controller Web Server are ignored. |
WebVisualisation protocol |
This parameter deactivates the Web visualization pages of the controller. When deactivated, HTTP requests to the logic controller WebVisualisation protocol are ignored. |
This parameter is only available on the Ethernet_2 network.
This table describes the Ring topology options:
Options |
Description |
---|---|
No ring |
If selected, verify that no ring is wired. |
Root |
First device of the ring topology. |
Participant |
One of the devices in the ring topology. |
Each device in the ring topology must support the RSTP protocol.
You can have up to 40 devices in the ring topology.
For further information, refer to the Industrial Ethernet Considerations Modicon M262 Logic/Motion Controller, Hardware Guide.