show the entry list
Industrial Ethernet S7-300/400 CPs -- Setting up and parameterizing hardware -- Initializing and parameterizing modules
What should you watch out for when a MAC address is entered for the PROFINET interface or GBIT interface in the configuration of the Industrial Ethernet CP343-1/CP443-1?
How do you configure a shared device when you are using a CPx43-1 Advanced as PROFINET IO controller and the GBIT interface of the module is networked?
Which "local_device_id" do you parameterize in order to establish a connection to FB65 "TCON" for open communication via Industrial Ethernet?
Which Industrial Ethernet CPs support the DHCP Option 12 (Host Name) and how do you configure the DHCP Option 12?
What should you watch out for when parameterizing the watchdog time when a ring redundancy is established with the Media Redundancy Protocol?
How do you use an Industrial Ethernet CP or SCALANCE S as a gateway?
How do you disable the "Link Layer Discovery Protocol" function at the ports of an IE CP of S7-300 or S7-400?
Where can you find sample S7 programs and documentation for communication via gateways and network components, and for security in networks on the SIMATIC NET Quick Start Collection?
What should you watch out for when operating a CP443-1EX20 V2.0 on a CPU V5.1?
Changing the configuration data of users for CP 343-1 IT and CP 443-1 IT
Loading the configuration via LAN into the IE-CP in "STOP" mode
Special points when setting the LAN medium for Industrial Ethernet CPs
Starting up automation systems with Industrial Ethernet without previous node initiation via MPI
Rejected diagnostics connection via TCP/IP protocol after changing the MAC address
Establishing an online connection to an S7-300/S7-400 CPU through several Ethernet interfaces
What should you pay attention to when formatting the file system in the S7-300 and S7-400 Industrial Ethernet CPs?
What should you watch out for when replacing the CP443-1 (6GK7443-1EX11-0XE0) with a CP443-1 (6GK7443-1EX20-0XE0 V1.0) in STEP 7 V5.4 SP3?
What is the meaning of the configuration option "Activate Web server" with CP443-1 EX20?
Why with CP443-1 Advanced is a different firmware version than the module displayed in the C-PLUG info text in the NCM S7 Diagnostics?
Which options are available for assigning the PROFINET IO controller a new IP address?
How can you configure an S7 CP during runtime?
How do you disable the S7 routing functions?
Which manufacturer ID, in other words OUI (Organizationally Unique Identifier), does SIEMENS AG use for the MAC addresses of network-compatible devices?
How can you protect the S7-300/400 against unauthorized access from the LAN (local area network)?
What should you watch out for when using the function block FB55 "IP_CONFIG" to configure an Industrial Ethernet CP?
Why are some of the newer versions of the names of SIMATIC NET modules not used in the hardware catalog?
Why can't my SIMATIC S7-300 Ethernet CP run as many S7 communication connections as specified?
How does connection multiplexing work and how do you configure it for SIMATIC S7-300 Ethernet CPs?
Rejected diagnostics connection via TCP/IP protocol after changing the MAC address
Part number:

QUESTION:
Is there are risk of errors when setting up a diagnostics connection via the LAN if the MAC address has been changed beforehand?

ANSWER:
The following information holds for all Industrial Ethernet CPs whose MAC address (media access control) can be configured with STEP 7. This module supports the ISO transport protocol amongst others. Some new CPs do not support the ISO protocol and therefore it is not possible to configure an MAC address. These modules use the factory-set MAC address. The defective diagnostics connection described concerns the following CPs:

  • 6GK7 343-1EX10-0XE0 (CP 343-1)
  • 6GK7 343-1EX11-0XE0 (CP 343-1)
  • 6GK7 443-1EX10-0XE0 (CP 443-1)
  • 6GK7 443-1EX11-0XE0 (CP 443-1)

Initial situation:
The station and the CP 443-1 have been configured with the following address parameters:

  • IP address: 140.90.36.1
  • MAC address: 08.00.06.01.36.01

The station is in RUN. All the modules in the rack are working perfectly. Now the MAC of the CP is to be changed to 08.00.06.01.36.02. The IP address is retained. The loading procedure is to be done via the LAN interface (local area network) with the TCP/IP protocol.

Behavior when loading:
The loading procedure is interrupted temporarily. The dialog shown in Fig. 1 is displayed. The interruption happens just when the Industrial Ethernet CP restarts. This happens through receipt of the new configuration and can be recognized by a brief RUN-STOP-RUN sequence of the LEDs.
The brief STOP of the module is a standard procedure. Normally the programming device sets up a new PG channel connection with the IP address stored in the project. This remains the same, because only the MAC address has been changed. So the message box depicted below should not really appear.



Fig 1: Error box, indicating that the target system cannot be reached

Press the "Details" button to open the following dialog:



Fig. 2: Details of the error box (Fig. 1)

The messages indicate that the programming device could no longer set up a connection to the module just as the system data block SDB1003 was supposed to be sent to the CPU. An NCM diagnostics connection via TCP/IP is no also no longer possible with this PG.
If you now set up a diagnostics connection to the CP 443-1 via MPI (MPI address of the CPU and slot of the CP), then the following figure shows quite clearly that the CP has already adopted the configured change.



Fig. 3: NCM S7 diagnostics window  

Remedy:

  • The whole configuration can be loaded via the MPI interface.
  • The whole configuration can be loaded once again from another PG/PC via the LAN with the TCP/IP protocol.
  • The whole configuration can be loaded once again from the same PG/PC via the LAN with the ISO protocol.
  • After a delay of a few minutes – without accessing the interface used for loading – the loading procedure via TCP functions again with the same PG.

Recommendation:
Always load the configuration changes which include a change of MAC address via the MPI interface of the associated CPU module.

Technical explanation:
After starting the first loading procedure the PG first uses the ARP protocol provided (address resolution protocol) to determine the MAC address for the IP address 40.90.36.1 which is to be used for loading. The CP responds with an ARP response with its MAC address 08.00.06.01.36.01.

The configuration can now be loaded via the TCP/IP protocol. After restarting of the module however the CP has a different MAC address. The PG has internally stored an MAC address once determined as an IP address in the so-called ARP cache.
That is why when setting up a connection again with the PG, the ARP protocol must no longer be used. Nevertheless the PG is still using the old MAC address that no longer exists. The proof of this is provided by the following figure showing the ARP cache of the PG that has been read out after abortion of the loading process and subsequent failure of the diagnostics connection via TCP/IP.



Fig. 4: Display of the IP and MAC addresses

The old MAC address is stilled entered for the IP address. This entry is deleted automatically when the IP address is not used for a certain period of time by the interface. As a quick remedy here you can delete individual entries of the ARP cache also in the PG. Then the ARP protocol is used again when accessing the IP address and access via TCP/IP is possible.

 Entry ID:15144693   Date:2003-04-24 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour