Troubleshooting STEP7 Routing Issues for CPU 317-2 PN/DP Controllers

Question:

Greetings! I am seeking assistance with configuring my STEP7 system. I am utilizing two CPU 317-2 PN/DP controllers (317-2EK14-0AB0) on PROFIBUS, with one as the Master (CPU_1) and the other as the Slave (CPU_2). Currently, PROFINET is linked to CPU_1, hindering my ability to monitor input/output signals from CPU_2 on my computer. Despite attempting to set up routing as suggested, I have encountered difficulties. Is it feasible to establish a connection to CPU_2 for monitoring input/output signals? If so, what steps should I take to ensure a successful setup? Unfortunately, I am unable to share the project file due to its size limitations.

Top Replies

Hello, there are two modes for connecting devices. In mode 1, a more complex approach is required using the netPro feature in Step 7 Manager to locate and enable certain check options. In mode 2, a simpler method involves using DP communication on your PG/PC without MPI and connecting the adapter to the Profibus connector on one of the two CPUs. For mode 2, an active converter MPI/DP is necessary.

Ensure that the "Test, Commissioning, Routing" option is properly configured in the hardware settings of the DP slave device.

Приветствую, друзья! Благодарю за оказанную помощь. Прилагаю изображения настроек моего проекта.

Master Settings for CPU 1 - Complete Control and Optimization

To begin, launch NetPro and add a PG/PC station to the dashboard. Next, access the properties of the PG/PC station and configure the interface as "Industrial Ethernet". Connect this interface to the Ethernet network. In the properties tab, select the appropriate network interface connected to the PLC for the inserted interface. This should begin with "TCP/IP -> ..." and avoid using interfaces with "(Auto)" in the name. Ensure that the "S7ONLINE Access -> active" checkbox is checked. In the overview, the PG/PC station should be displayed with a green line and yellow border indicating connection to the Ethernet network. This setup allows Step7 to automatically configure the PG/PC interface when the project is opened, enabling online accessibility. If accessing a station solely connected to the Profibus network, the system will utilize the intermediate S7 as a router.

Hi there! It's totally feasible to establish a connection with CPU_2 for monitoring I/O signals, but you need a bit of configuration. You mentioned PROFIBUS, which is a good start, but it's worth noting that the connectivity issue might not be just a PROFIBUS issue; it might also be related to station configuration in NETPRO. Without being able to see your configurations it's a bit tricky, but I suggest checking both configurations for CPU_1 and CPU_2 in NETPRO. Make sure both are set correctly. Also, ensure CPU_2 is properly defined in the hardware configuration as a slave. If you're still facing problems, a last-ditch effort could be trying a direct Ethernet connection between your PC and CPU_2 for setting/testing purposes.

Hello! I believe you can indeed enable communication between both of the CPUs. Primarily, you'll need to correctly configure the routing table in TIA Portal. Make sure that the IP address and subnet mask of both CPUs are accurately entered and match what's physically on the device. Also, ensure the routing path to CPU_2 via the Master CPU_1 is accurately defined. It might also be a good idea to check the types of connections you are using, as they could be causing issues. Remember that for Step7, PROFIBUS isn't necessarily suited for larger networks. Lastly, also verify if you have the necessary licenses for Two Subnet Support in S7-300 and Multi subnet with any head station in one subnet. I hope these pointers help, and you can navigate your way to a running system!

Absolutely, it is feasible to connect and monitor I/O signals from your slave CPU. The key lies in establishing correct routing. Be sure your networks are correctly assigned in your hardware configuration. Additionally, ensure your MPI/PROFIBUS addresses are correctly set and match your actual PLC configuration. Your PC's PG/PC interface should also be configured appropriately. In STEP7, set up MPI/PROFIBUS accessibility from your PC to both CPUs. Remember to establish correct route paths in your 'Accessible Nodes' window under 'Set PG/PC Interface' in STEP7. If you're still facing difficulties, it might be helpful to connect to CPU_2 directly, bypassing CPU_1, just to isolate and troubleshoot any issues. Remember, size limitation of project file could be tackled though data compression or splitting files if necessary.

Hi there! It is certainly possible to establish a connection to CPU_2 for monitoring Input/Output signals, though the exact process may vary depending on your specific network setup. Fundamentally, you'll want CPU_2 to be accessible over the same network as both CPU_1 and your computer. One way is to use the S7 routing feature. This connects the devices serially which makes your computer able to access both CPUs. Another potential step may involve configuring the CPU_2's communication properties to either mirror those of CPU_1, or to establish its own connection parameters for accessing your computer. How you achieve this might depend on the specifics of your network hardware and software. Lastly, it would be prudent to ensure that there are no firewalls or network permissions obstructing your connection. Ultimately, you may also want to consider contacting Siemens technical support as they could provide expert advice based on your specific hardware and setup.

More Replies →

Streamline Your Asset Management
See How Oxmaint Works!!

✅   Work Order Management

✅   Asset Tracking

✅   Preventive Maintenance

✅   Inspection Report

We have received your information. We will share Schedule Demo details on your Mail Id.

To add a comment, please sign in or register if you haven't already..   

Frequently Asked Questions (FAQ)

FAQ: 1. How can I monitor input/output signals from a CPU 317-2 PN/DP controller that is linked to another CPU via PROFINET?

Answer: Answer: Yes, it is possible to establish a connection to CPU_2 for monitoring input/output signals. You may need to correctly configure the routing settings to enable communication between the CPUs.

FAQ: 2. What are the common difficulties faced when setting up routing for CPU 317-2 PN/DP controllers in a STEP7 system?

Answer: Answer: Difficulties in setting up routing for CPU 317-2 PN/DP controllers can include issues with network configuration, IP addresses, subnet masks, and routing tables. Ensuring these settings are correct is crucial for successful communication between devices.

FAQ: 3. Can you provide guidance on the steps to set up routing for communication between two CPU 317-2 PN/DP controllers in a STEP7 system?

Answer: Answer: To ensure successful setup of routing between CPU_1 and CPU_2, you may need to configure the routing tables in both controllers, specify the correct IP addresses and subnet masks, and ensure proper network communication settings are in place.

FAQ: 4. Is it necessary to share the project file to troubleshoot STEP7 routing issues for CPU 317-2 PN/DP controllers?

Answer: Answer: While sharing the project file can be helpful for troubleshooting, in cases where file size limitations prevent sharing, focusing on configuration steps

Ready to Simplify Maintenance?

Join hundreds of satisfied customers who have transformed their maintenance processes.
Sign up today and start optimizing your workflow.

Request Demo  →