we projected a Phoenix controller as I/O device under a Siemens controller. The Siemens controller is connected to a remote maintenance router via a switch. Now we want to have internet access with the Phoenix controller.Therefore we have followed the following instructions. https://www.plcnext-community.net/index.php?option=com_content&view;=article&id;=322:setting-up-an-internet-connection-axc-f-2152&catid;=78&Itemid;=366⟨=en
After we have set our IP addresses under putty and saved them, they will not be saved after reboot. If we ping both devices from outside we will receive only two packets from the Phoenix controller and all packets from the Siemens controller.
Does anyone have an idea or a solution for our problems.
Hi Robo7795, I guess the AXC F 2152 is acting as a PN Device under the S7 as PN Controller. In that case will the PN Controller assign an IP to the Device which is volatile (PN DCP defninition). That means what ever you’ve configured in /etc/network/interface in whatever way will be than overwritten from the Profinet stack according to the parameters given from the S7. You should be able to easily test this as follows:
1. Use the AXC without the S7
2. Modify the network settings according to your demand
3. Restart the PLC
4. Try to reach the device --> if yes fine, if not my assumption is wrong ;-)
5. Connect the S7 and wait until the PN Connection is OK
6. Try to reach the device
In the meantime it is more easily to configure the IP. You can do that via “Scan online devices”, or “online settings”. Hope that helps, Frank
Hello Frank, Thank you for answer. We configured the plc next controller without the siemens. If the plc next is connected to the router everthing is fine we get a Internet connection. As soon as the Siemens is connected to the same network again, we can no longer establish an internet connection with the Phoenix Controller. The controller resets itself to the addresses 10.10.10.1.
Does anyone have any idea why the addresses are reset when the two devices are connected via Profinet again?
Robo7795, If you want to set the network parameters on the device, you need to make sure you choose “IP address is set directly at the device” in TIA Portal, otherwise, as Frank says, the settings will be overwritten as soon as the Siemens CPU is connected. Keep in mind that if you do this, you need to make sure both the IP address and the PROFINET name are configured exactly the same in PLCnext Engineer and TIA Portal, otherwise the Siemens CPU won’t “see” the PLCnext CPU as being the correct device. John