Obsidean_VM/.obsidian/plugins/text-extractor/cache/5103893b6395c63a5d1a53bc234...

1 line
11 KiB
JSON
Raw Normal View History

2025-02-18 05:37:27 -03:00
{"path":"01-Documentation/SIEMENS & WINCC/PLC Siemens/adjuntos/STEP 7 and WinCC Engineering V18 - IP forwarding.pdf","text":"IP forwarding Forwarding of IP packets with IP forwarding IP forwarding is a function of devices to forward IP packets between two connected IP subnets. Enable/disable the IP forwarding function in STEP 7. When IP forwarding is enabled, the S71500 CPU forwards received IP packets not addressed to the CPU to locally connected IP subnets or to a configured router. The following figure shows how a programming device accesses data of an HMI device. Programming device and HMI device are located in different IP subnets. The IP subnets are connected to the two interfaces X1 and X2 of the CPU. Figure 1 Access of a programming device to an HMI via IP forwarding Areas of application • Easy access from the control level to the field level for configuration and parameter assignment of field devices, e.g. via PDM or web browser • Simplified integration of devices for remote access, e.g. for diagnostics during remote maintenance or firmware update Requirements for using IP forwarding • S71500 CPU as of firmware version V2.8 • Number of Ethernet interfaces: ― The CPU has at least two Ethernet interfaces. ― Or the CPU has one Ethernet interface, and a CP 1543-1 as of firmware version V2.2 provides the other Ethernet interface. In this case, the \"Access to PLC via communication module\" function must be enabled for the CP in the CPU. STEP 7 and WinCC Engineering V18 IP forwarding This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. 4/17/2024 • IP forwarding is enabled. • Suitable standard gateways/routes are configured in each participating device along the outgoing and return paths of the IP packets. IP route table When IP forwarding is enabled, the CPU forwards received IP packets that are not addressed to itself. How the CPU forwards the IP packets is defined in its internal IP route table. The CPU automatically creates the IP route table from the following information of the loaded hardware configuration: • IP configuration of the Ethernet interfaces • Configured router Example of a configuration with IP forwarding The following figure shows a sample configuration along with the required IP address settings and router settings. • A PC on the IP subnet 192.168.4.0 communicates with an HMI device on the IP subnet 192.168.2.0. • The IP address of a router (\"Standard Gateway\") is configured at the CPU, Ethernet interface X3; in the figure below it is the device that is designated as \"IP Router\". In STEP 7, you configure a router in the interface properties under \"Ethernet Addresses\" > \"IP Protocol\". For the PC, the IP router, the IO device and the HMI device, the IP addresses of a standard gateway or the corresponding routes are also entered. Figure 2 Configuring the router This example configuration results in the following IP routing table for the CPU. STEP 7 and WinCC Engineering V18 IP forwarding This document constitutes a free excerpt compiled by the user himself/herself from the documentation provided by Siemens for this product. Siemens disclaims all liability for the completeness of this document. It shall only be used for the user's own internal purposes. It shall not be passed on to third parties. 4/17/2024 Figure 3 Sample configuration Table 1 IP route table of the CPU Network destination Interface Gateway 0.0.0.0/0 10.10.0.10 10.10.0.1 192.168.1.0/24 192.168.1.1 - 192.168.2.0/24 192.168.2.1 - 10.10.0.0/24 10.10.0.10 - For IP communication between the PG/PC and the HMI device, you need to set up additional IP routes to the IP subnet of the HMI device both in the PC and in the IP router. In the HMI device, you configure the IP address of the CPU interface X1 as the standard gateway. In a Windows computer,