Size: px
Start display at page:

Download "https://support.industry.siemens.com/cs/ww/en/view/"

Transcription

1 NAT Variants with the SCALANCE S615 SCALANCE S615 Siemens Industry Online Support

2 Siemens AG Valuable Information All rights reserved Warranty and Liability Warranty and Liability Note The Application Examples are not binding and do not claim to be complete regarding the circuits shown, equipping and any eventuality. The Application Examples do not represent customer-specific solutions. They are only intended to provide support for typical applications. You are responsible for ensuring that the described products are used correctly. These Application Examples do not relieve you of the responsibility to use safe practices in application, installation, operation and maintenance. When using these Application Examples, you recognize that we cannot be made liable for any damage/claims beyond the liability clause described. We reserve the right to make changes to these Application Examples at any time without prior notice. If there are any deviations between the recommendations provided in these Application Examples and other Siemens publications e.g. Catalogs the contents of the other documents have priority. We do not accept any liability for the information contained in this document. Any claims against us based on whatever legal reason resulting from the use of the examples, information, programs, engineering and performance data etc., described in this Application Example shall be excluded. Such an exclusion shall not apply in the case of mandatory liability, e.g. under the German Product Liability Act ( Produkthaftungsgesetz ), in case of intent, gross negligence, or injury of life, body or health, guarantee for the quality of a product, fraudulent concealment of a deficiency or breach of a condition which goes to the root of the contract ( wesentliche Vertragspflichten ). The damages for a breach of a substantial contractual obligation are, however, limited to the foreseeable damage, typical for the type of contract, except in the event of intent or gross negligence or injury to life, body or health. The above provisions do not imply a change of the burden of proof to your detriment. Any form of duplication or distribution of these Application Examples or excerpts hereof is prohibited without the expressed consent of the Siemens AG. Security information Siemens provides products and solutions with industrial security functions that support the secure operation of plants, systems, machines and networks. In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement and continuously maintain a holistic, state-of-the-art industrial security concept. Siemens products and solutions only form one element of such a concept. Customer is responsible to prevent unauthorized access to its plants, systems, machines and networks. Systems, machines and components should only be connected to the enterprise network or the internet if and to the extent necessary and with appropriate security measures (e.g. use of firewalls and network segmentation) in place. Additionally, Siemens guidance on appropriate security measures should be taken into account. For more information about industrial security, please visit Siemens products and solutions undergo continuous development to make them more secure. Siemens strongly recommends to apply product updates as soon as available and to always use the latest product versions. Use of product versions that are no longer supported, and failure to apply latest updates may increase customer s exposure to cyber threats. To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed under Entry ID: , V1.1, 08/2017 2

3 Siemens AG All rights reserved Table of Contents Table of Contents Warranty and Liability Introduction Static routing Web server access via NAPT PG functions with NETMAP and destination NAT NATing entire subnets via NETMAP and Destination NAT Series machines with NETMAP and destination NAT Cross communication for series machines with NETMAP and destination NAT Connection to control system with source NAT Source NAT from VPN tunnel S7 connection with double NAT Valuable Information General principles Classless Inter-Domain Routing (CIDR) Connection directions in the network NAT mechanisms Firewall and NAT S7 connections and NAT TIA Online functions and NAT Appendix Service and Support Links and literature Change documentation Entry ID: , V1.1, 08/2017 3

4 Siemens AG All rights reserved 1 Introduction 1 Introduction Starting situation The SCALANCE S615 is a module from the security module product line and protects industrial networks and automation systems against unauthorized access. Thanks to its diverse features, the security module enables protection of different network topologies and flexible implementation of security concepts: The option of VLAN structuring of its five Ethernet ports provides protection against DoS attacks and unauthorized access. Access to the device and the adjacent network can be protected by a firewall and VPN. Due to the configuration as a NAT router, the IP addresses of the industrial networks or automation systems can be hidden from the outside world. In addition, the IP address range can be used by multiple closed private networks without causing address collisions. Motivation for this documentation Use of the SCALANCE S615 as a router and simultaneous support of common NAT mechanisms provide numerous options for accessing the internal network or automation system to be protected: Static routing NAPT NAT NETMAP IP masquerading Static routing is always preferable over all other NAT variants. Depending on the use case, NAT requires significant extra effort in terms of configuration and handling. However, some configurations cannot be solved using routing, for example, if no gateway is desired. In these cases, a suitable NAT method must be used. Entry ID: , V1.1, 08/2017 4

5 Siemens AG All rights reserved 1 Introduction Contents of this document This document uses selected UseCases to describe the different options. Each UseCase describes the starting situation, discusses the requirement and addresses the advantages / disadvantages. The aim is to give an overview of the available options and provide an adequate solution for common use cases. The following configurations are looked at in detail: Table 1-1 UseCase Mechanism 1. Two-way communication with gateway Standard routing 2. Web server access without gateway (active PC, passive CPU) NAPT 3. PG functions on multiple CPUs without gateway Destination NAT 4. NATing entire subnets Destination NAT 5. PG functions on multiple CPUs without gateway in series machine manufacturing Destination NAT 6. Cross communication for series machines Destination NAT 7. Connection to control systems without gateway (CPU as the active part) 8. Reaction-free communication using VPN tunnel in existing plants Source NAT Source NAT 9. Reaction-free S7 communication in existing plants Source and destination NAT Note The functions described in this document require firmware V in the SCALANCE S615. Make sure that firmware V or higher is installed on the module (see Chapter 4.2). Entry ID: , V1.1, 08/2017 5

6 Siemens AG All rights reserved Note For the basics of the mechanisms used in this document and additional information on handling NAT, please refer to Chapter Static routing Starting situation The following configuration allows bidirectional communication between the PC and the CPU. Any connection establishment direction can be selected. Figure 2-1 VLAN2: /24 PC: Gateway: CPU: Gateway: VLAN1: /24 Requirements For network separation, the SCALANCE S615 has two VLANs with different network IDs. As a result, the device has a separate IP address for each VLAN (in this document: VLAN1: and VLAN2: ). Depending on the VLAN it belongs to, this IP address of the SCALANCE S615 must be entered in the terminal (in this document: PC or CPU) as the gateway. All subnets and IP addresses are only used once in the entire network. Entry ID: , V1.1, 08/2017 6

7 Siemens AG All rights reserved If there are additional routers on VLAN2 that must also communicate with VLAN1, advertise or configure the subnet of VLAN1 there as well. As a general rule, all subnets must have been advertised to the routers. Process flow (active connection establishment from CPU to PC) Advantages The IP address cannot be reached locally. The packet is sent to the gateway. The SCALANCE S615 has an interface on subnet and forwards the packet directly to the PC. From the PC s perspective, the IP address is not local. The reply packets are also sent to the gateway. Advantages of this scenario: Firewall rules All nodes can establish connections in any direction. Each node can be reached through a unique address. Bidirectional communication between the two VLANs is enabled in the SCALANCE S615 firewall. Figure 2-2 Entry ID: , V1.1, 08/2017 7

8 Siemens AG All rights reserved NAPT Table 2.2 Web server access via NAPT Starting situation The PC is to be able to access the CPU s web server without a gateway. The destination port is not defined and can be changed when establishing the connection. Figure 2-3 VLAN2: /24 PC: Gateway: None DST Port: DST Port: CPU: Gateway: VLAN1: /24 Requirements For network separation, the SCALANCE S615 has two VLANs with different network IDs. As a result, the device has a separate IP address for each VLAN (in this document: VLAN1: and VLAN2: ). In addition, a NAPT table is defined in the SCALANCE S615 to translate the PC s message frames to a different IP address. For the CPU s reply packets to find their way to VLAN2, the IP address of the SCALANCE S615 (VLAN1) must be entered in the CPU as the gateway. Process flow (active connection establishment from PC to CPU) Instead of the IP address of the CPU, , the PC accesses the local IP address of the SCALANCE S615 ( ), including a port, as the destination. Using the definition in its NAPT table, the SCALANCE S615 replaces the destination IP address and optionally a port and sends the packet to the CPU. Entry ID: , V1.1, 08/2017 8

9 Siemens AG All rights reserved Advantages Disadvantages The source IP address (in this document: ) is not changed; from the CPU s perspective, the packet is from another subnet. That is why the CPU requires an additional entry for the gateway (IP address of the SCALANCE S615 for VLAN1). In all reply packets that are sent from the CPU to the PC, the source IP address is automatically replaced with The advantage of this scenario is that no additional gateway entry is required in the PC. The IP address of the SCALANCE S615 of the local network that has already been used is used as the destination address. The disadvantage is that only active connection establishment from the PC to the CPU is possible. Each port can only be forwarded once. Only a single node on VLAN1 can be accessed using protocols with a fixed destination port (e.g., S7 protocol). Forwarded ports can no longer be used by the SCALANCE S615 (e.g., http, IPSec, SNMP, etc.). NAPT and firewall rules The NAPT table of the SCALANCE S615 translates packets from VLAN2 with the destination IP address :8080 to the CPU s IP address :80. Port 80 is used as this access is web server access. Figure 2-4 The firewall must allow communication between the PC (VLAN2) and the CPU (VLAN1). Figure 2-5 Remarks Address translation using NAPT has already been performed before the firewall; consequently, address translation must use the translated addresses and ports. From the PC s perspective, the CPU s web server can therefore be accessed via More CPUs can be made accessible in the same way by using a different destination port and destination IP address, e.g :8081 -> :80. To fully enable VLAN2 for access to the CPU, change the firewall rule for the source as follows: /24. Port forwarding is the more common term for NAPT. Entry ID: , V1.1, 08/2017 9

10 Siemens AG All rights reserved NAT Table 2.3 PG functions with NETMAP and destination NAT Starting situation Without a gateway, the PC is to use STEP 7 PG functions on multiple CPUs. STEP 7 PG functions run on an S7 connection with a destination port, TCP 102, that cannot be changed. Figure 2-6 VLAN2: /24 PC: Gateway: None Additional IP: CPU: Gateway: CPU: Gateway: VLAN1: /24 Requirements For network separation, the SCALANCE S615 has two VLANs with different network IDs. As a result, the device has a separate IP address for each VLAN (in this document: VLAN1: and VLAN2: ). To translate the PC s message frames to a different IP address, a NAT table is additionally defined in the SCALANCE S615. This requires two other IP addresses from the subnet of VLAN2 that are not in use. For the reply packets of the two CPUs to find their way to VLAN2, the IP address of the SCALANCE S615 (VLAN1) must be entered in the two CPUs as the gateway. Entry ID: , V1.1, 08/

11 Siemens AG All rights reserved Process flow (active connection establishment from PC to CPU): Advantages The additional NAT IP addresses and are used by the SCALANCE S615. The PC accesses the local IP address or as the destination. Using the definition in its NAT table, the SCALANCE S615 replaces the destination IP address and sends the packet to CPU1 or CPU2. The source IP address (in this document: ) is not changed; from the CPU s perspective, the packet is from a non-local subnet. That is why the CPU requires an additional entry for the gateway (IP address of the SCALANCE S615 for VLAN1). In all reply packets from the CPU to the PC, the source IP address (or ) is automatically replaced with (or ). The advantage of the NAT table is that, due to the use of additional addresses per CPU, all ports can be forwarded or used. Disadvantages The disadvantage is that only active connection establishment from the PC to the CPU is possible. Furthermore, each CPU requires additional IP addresses from the subnet of VLAN2 and each single one must be configured accordingly. NAT and firewall rules The NAT table of the SCALANCE S615 translates packets from VLAN2 with the destination IP address (or ) to the CPU s IP address (or ). Figure 2-7 The firewall must allow communication between the PC (VLAN2) and the two CPUs (VLAN1). As only PG functions via an S7 connection are allowed, the service is limited to port 102. Figure 2-8 Entry ID: , V1.1, 08/

12 Siemens AG All rights reserved Remarks Address translation using NAT has already been performed before the firewall; consequently, the firewall must use the translated addresses. From the PC s (or STEP 7 s) perspective, the two CPUs can be accessed using the IP address or To fully enable VLAN2 for access to the CPU, change the firewall rule and the NAT rule for the source as follows: /24. For a single CPU, NAPT could also be used (see Chapter 2.2). NETMAP always translates x addresses to x other addresses, which is also called 1:1 NAT. The "Trans.Destination IP Subnet columns in the SCALANCE S615 may only be configured with a single IP address /32. Only then does the SCALANCE S615 reply to ARP requests for the additional IP addresses. Entry ID: , V1.1, 08/

13 Siemens AG All rights reserved NAT table 2.4 NATing entire subnets via NETMAP and Destination NAT Starting situation The PC shall communicate with several or all devices in an automation network. The destination port is not defined and can be changed when establishing the connection. Figure 2- VLAN2: /24 PC: Gateway: x x Additional subnet /24 module-internal, from VLAN2 only accessible via routing. CPU1: Gateway: CPU2: SCALANCE: Gateway: Gateway: VLAN1: /24 Prerequisites For network separation, the SCALANCE S615 has two VLANs with different network IDs. As a result, the device has a separate IP address for each VLAN (in this document: VLAN1: and VLAN2: ). To translate the PC s message frames to a different IP address, a NAT table is additionally defined in the SCALANCE S615. This requires an additional free subnet (in this document: /24). The additional virtual subnet only exists within the SCALANCE S. It is freely selectable and completely independent from the subnet at VLAN 1. Depending on the VLAN it belongs to, this IP address of the SCALANCE S615 must be entered in the terminal (in this document: PC or automation device) as the gateway. Entry ID: , V1.1, 08/

14 Siemens AG All rights reserved Process flow (active connection establishment from PC to CPU): The additional subnet /24 is used by the SCALANCE S615. The SCALANCE S615 uses NETMAP for the address translation. With NETMAP, complete subnets can be translated to a different subnet. The addresses are translated one to one. For the example, this results in the following translations: Table 2-2 Destination IP address Virtual NAT IP address Via routing, the PC accesses the IP address as the destination, for example. Using the definition in its NAT table, the SCALANCE S615 replaces the destination IP address to and sends the packet to CPU1. The source IP address (in this document: ) is not changed; from the CPU s perspective, the packet is from a non-local subnet. That is why the CPU requires an additional entry for the gateway (IP address of the SCALANCE S615 for VLAN1). In all reply packets from the CPU to the PC, the source IP address x is automatically replaced with x. Advantages Disadvantages NAT and firewall rules The advantage of the NAT table is that, due to the use of additional addresses per CPU, all ports can be forwarded or used. The one-to-one address translation simplifies the NAT configuration, since there is only one line necessary in the NAT table. The disadvantage is that only active connection establishment from the PC to the CPU is possible. The route to the virtual subnet needs to be known. The virtual NAT IP addresses cannot be accessed directly. The NAT table of the SCALANCE S615 translates packets from /24 with the destination IP address to VLAN 1. The translation is done one-to-one. Figure 2-2: The firewall must allow communication between the PC (VLAN2) and the automation devices (VLAN1). Figure 2- : Entry ID: , V1.1, 08/

15 Siemens AG All rights reserved Remarks Address translation using NAT has already been performed before the firewall; consequently, the firewall must use the translated addresses. To fully enable VLAN2 for access to the automation devices, change the firewall rule and the NAT rule for the source as follows: /24. No ARP requests to x are answered. As a result, these addresses can only be accessed via routing. For a single CPU, NAPT could also be used (see chapter 2.2). NETMAP always translates x addresses to x other addresses, which is also called 1:1 NAT. All subnets of the objects participating in NETMAP need to be of the same size, e.g. all are /24. Entry ID: , V1.1, 08/

16 Siemens AG All rights reserved NAT Table 2.5 Series machines with NETMAP and destination NAT Starting situation In this case, several identical plant parts are to be accessed by a PC. Consequently, all plant parts use the same subnet (in this document: x). Without a gateway, the PC is to communicate with each CPU from the plant parts and execute any functions. VLAN2: /24 PC: Gateway: None Addtl. IP: Addtl. IP: NAT Table CPU: Gateway: VLAN1: /24 CPU: Gateway: Requirement A SCALANCE S615 is connected upstream to each plant part. For network separation, the SCALANCE S615 has two VLANs with different network IDs. As a result, the device has a separate IP address for each VLAN (in this document: VLAN1: and VLAN2: or ). The SCALANCE S615 modules and the PC are connected via VLAN2. This configuration requires NAT and cannot be solved with pure routing as the subnet from VLAN1 could not be uniquely assigned, regardless of the direction of connection establishment and gateways in the PC. One SCALANCE S615 module is required for each identical internal subnet. It is not possible to connect multiple identical subnets to a single SCALANCE S615. Therefore, a NAT table is additionally defined in the SCALANCE S615 to translate the PC s message frames to a different IP address. This requires another IP address from the subnet of VLAN2. Entry ID: , V1.1, 08/

17 Siemens AG All rights reserved For the reply packets of the two CPUs to find their way back to VLAN2, the IP address of the SCALANCE S615 (VLAN1) must be entered in the two CPUs as the gateway. Process flow (active connection establishment from PC to CPU): Advantages The additional NAT IP addresses and are used by the two SCALANCE S615 modules. The PC accesses the local IP address or as the destination. Using the definition in its NAT table, the associated SCALANCE S615 replaces the destination IP address and sends the packet to CPU1 or CPU2. The source IP address (in this document: ) is not changed; from the CPU s perspective, the packet is from a non-local subnet. That is why the CPU requires an additional entry for the gateway (IP address of the associated SCALANCE S615 for VLAN1). In all reply packets from the CPU to the PC, the source IP address is automatically replaced with or The advantage of the NAT table is that, due to the use of an additional address, all ports can be forwarded or used. Disadvantages The disadvantage is that only active connection establishment from the PC to the CPU is possible. Furthermore, each plant part requires an additional IP address from the subnet of VLAN2 and each single one must be configured accordingly. NAT and firewall rules The NAT table of the SCALANCE S615 for the first plant part translates packets from VLAN2 with the destination IP address to the CPU s IP address Figure 2-9 The NAT table of the SCALANCE S615 for the second plant part is configured accordingly. Figure 2-10 Entry ID: , V1.1, 08/

18 Siemens AG All rights reserved The firewall rules for both SCALANCE S615 modules are identical as both use the same subnet on VLAN1. The firewall must allow communication between the PC (VLAN2) and the CPU (VLAN1). As all functions may be executed, there is no port restriction. Figure 2-11 Remarks Address translation using NAT has already been performed before the firewall; consequently, the firewall must use the translated addresses. From the PC s (or STEP 7 s) perspective, the two CPUs can therefore be accessed via or This ensures that the CPUs belong despite identical subnets on VLAN1. To fully enable VLAN2 for access to the CPU, change the firewall rule and the NAT rule for the source as follows: /24. NETMAP always translates x addresses to x other addresses, which is also called 1:1 NAT. The "Trans.Destination IP Subnet columns in the SCALANCE S615 may only be configured with a single IP address /32. Only then does the SCALANCE S615 reply to ARP requests for the additional IP addresses. Entry ID: , V1.1, 08/

19 Siemens AG All rights reserved NAT Table 2.6 Cross communication for series machines with NETMAP and destination NAT Starting situation In this case, several identical plant parts are to communicate among each other (in this document: CPU2 to CPU1). All plant parts use the same subnet (in this document: x). VLAN2: / Addtl.IP: Addtl.IP: NAT Table CPU1: Gateway: VLAN1: /24 CPU2: Gateway: Prerequisite A SCALANCE S615 is connected upstream to each plant part. For network separation, the SCALANCE S615 has two VLANs with different network IDs. As a result, the device has a separate IP address for each VLAN (in this document: VLAN1: and VLAN2: or ). The SCALANCE S615 modules are connected via VLAN2. This configuration requires NAT and cannot be solved with pure routing as the subnet from VLAN1 could not be uniquely assigned, regardless of the direction of connection establishment and gateways in the PC. One SCALANCE S615 module is required for each identical internal subnet. It is not possible to connect multiple identical subnets to a single SCALANCE S615. Therefore, a NAT table is additionally defined in the SCALANCE S615 to translate the PC s message frames to a different IP address. This requires another IP address from the subnet of VLAN2. Entry ID: , V1.1, 08/

20 Siemens AG All rights reserved In the left SCALANCE S615 (first plant part), the destination NAT is used, in the right SCALANCE S615 (second plant part), the source NAT. For the reply packets of the two CPUs to find their way back to VLAN2, the IP address of the SCALANCE S615 (VLAN1) must be entered in the two CPUs as the gateway. Process flow (active connection establishment from CPU2 to CPU1): The additional NAT IP addresses and are used by the two SCALANCE S615 modules. CPU2 accesses the local IP address as the destination. Using the definition in its NAT table, the associated SCALANCE S615 from the second plant part replaces the source IP address with and sends the packet to CPU1. Using the definition in its NAT table, the associated SCALANCE S615 from the first plant part replaces the destination IP address with and sends the packet to CPU1. The source IP address has been changed; from the CPU1 s perspective, the packet is from a non-local subnet. Changing the source IP address is necessary for the following reason: CPU1 and CPU2 internally use the same IP address (in this document: ). Wthout changing the source IP address, it would look like for CPU1, as if the packet came from its own IP address. Advantages Although both CPUs use the same IP address and subnet, a direct CPU-CPU communication is possible. Disadvantages NAT and firewall rules The disadvantage is that only active connection establishment from CPU2 to CPU1 is possible. For a bidirectional CPU-CPU communication, the same rules also need to be configured for the opposite direction. Each plant part requires an additional IP address from the subnet of VLAN2 and each single one must be configured accordingly. The NAT table of the SCALANCE S615 for the first plant part translates packets from VLAN2 with the destination IP address to the CPU1 s IP address Figure 2-1 Entry ID: , V1.1, 08/

21 Siemens AG All rights reserved The NAT table of the SCALANCE S615 for the second plant part translates packets from VLAN1 with the source IP address to the own, additional VLAN2 IP address Figure 2- The firewall of both SCALANCE S615 must allow communication between CPU1 (VLAN1) and CPU2 (VLAN1) via VLAN2, according to the NAT table. The CPU- CPU communication is based on an S7 communication. The services are therefore limited to port 102. The firewall of the SCALANCE S615 from the first plant part must allow communication between VLAN2 (additional IP address in the right SCALANCE S615) and CPU1 (VLAN1). Figure 2-2 The firewall of the SCALANCE S615 from the second plant part must allow communication between CPU2 (VLAN1) and VLAN2 (additional IP address in the left SCALANCE S615). Figure 2-3 Remarks In the SCALANCE S615 from the first plant part, address translation using NAT (destination NAT) has already been performed before the firewall; consequently, the firewall must use the translated addresses. In the SCALANCE S615 from the second plant part, address translation using NAT (source NAT) will be performed after the firewall; consequently, the firewall must use the physical addresses. The columns Trans.Destination IP Subnet or Trans.Source IP Subnet columns in the SCALANCE S615 may only be configured with a single IP address /32. Only then does the SCALANCE S615 reply to ARP requests for the additional IP addresses. To translate all internal participants from the second plant part to the IP address of the SCALANCE S615 IP in VLAN 2, Source NAT or masquerading may be used as an alternative to NETMAP Source NAT. Entry ID: , V1.1, 08/

22 Siemens AG All rights reserved NAT Table 2.7 Connection to control system with source NAT Starting situation Multiple CPUs are to actively establish a connection to the PC. The PC itself has no gateway entered. The destination port can be fixed or configurable (S7 connection or TCP/UDP native). Figure 2-12 VLAN2: /24 PC: Gateway: None x x CPU: Gateway: CPU: Gateway: VLAN1: /24 Requirements For network separation, the SCALANCE S615 has two VLANs with different network IDs. As a result, the device has a separate IP address for each VLAN (in this document: VLAN1: and VLAN2: ). In addition, a NAT table is defined in the SCALANCE S615 to translate the CPU s message frames to a different IP address. For the message frames of the two CPUs to find their way to VLAN2, the IP address of the SCALANCE S615 (VLAN1) must be entered in the two CPUs as the gateway. Process flow (active connection establishment from CPU to PC): The destination IP address is not in the local subnet of VLAN1. All message frames are sent to the gateway (IP address of the SCALANCE S615 (VLAN1)). Entry ID: , V1.1, 08/

23 Siemens AG All rights reserved Advantages Disadvantages Using the definition in its NAT table, the SCALANCE S615 replaces the source IP address with its own IP address ( ) and forwards the packet to the destination IP address. From the PC s perspective, all packets of the CPUs are from the local subnet, VLAN2. This means the packets can be replied to directly. The subnet of VLAN1 is not visible to the outside world. In all reply packets from the PC to the CPU, the destination IP address is automatically replaced with the appropriate CPU IP address. The assignment is made based on the existing state in the firewall. There is no manual assignment as with destination NAT. This NAT table has the advantage that no additional IP address is required. The IP address of the SCALANCE S615 for VLAN2 that is already in use is used as the source IP address. The disadvantage is that only active connection establishment from the CPU to the PC is possible. Due to the identical source IP addresses, it is no longer clear which CPU sends the packets. NAT and firewall rules The NAT table of the SCALANCE S615 translates packets from VLAN1 with the source IP address x to its own VLAN2 IP address Figure 2-13 The firewall must allow communication between the CPU (VLAN1) and the PC (VLAN2). The services are limited to TCP. Figure 2-14 Remarks Address translation using source NAT is performed behind the firewall; consequently, the physical addresses must be used here. To enable any source or destination IP addresses, change the firewall rule as follows: /0. The Source NAT tab translates several IP addresses to a single IP address, i.e. N:1 NAT. The NETMAP: Source NAT tab translates several IP addresses to several IP addresses, i.e. 1:1 NAT. In the reverse direction, the configuration works accordingly if both CPUs have no gateway entry. For source NAT, the translation shown here is normally sufficient as the source IP address of a connection is not checked in most cases. Otherwise, use appropriate "NETMAP > Source NAT (see Chapter 2.4) to translate to single addresses. Entry ID: , V1.1, 08/

24 Siemens AG All rights reserved As several IP addresses can be translated to a single IP address, the source port of a connection request may change during source NAT. This is inevitable if two nodes use the same source port. Entry ID: , V1.1, 08/

25 Siemens AG All rights reserved NAT Table 2.8 Source NAT from VPN tunnel Starting situation Protected by a VPN tunnel, the PC is to be able to use any functions on the S7 CPUs of an existing plant. No gateway is entered in the CPU and no change is to be made to the hardware setting. The destination port is not defined and can be changed when establishing the connection. Figure 2-15 Tunnel endpoint: /24 PC: Gateway: VPN Config Each x VPN x CPU: Gateway: None CPU: Gateway: None VLAN1: /24 Requirements An existing IPSec tunnel with the SCALANCE S615 as the tunnel endpoint is the basis of this configuration. For example, the SOFTNET Security Client or another SCALANCE S connected upstream to the PC can be the VPN partner. For network separation, the SCALANCE S615 has VLANs with different network IDs. As a result, the device has a separate IP address for each VLAN (in this document: VLAN1: ). Only VLAN1 is of interest to this configuration, as this is where the VPN tunnel terminates. To translate the message frames from the VPN tunnel to a different IP address, a NAT table is additionally defined in the SCALANCE S615. Entry ID: , V1.1, 08/

26 Siemens AG All rights reserved Process flow (active connection establishment from PC to CPU) Advantages Disadvantages All message frames from the VPN tunnel reach the SCALANCE S615 on subnet VLAN1. Using the definition in its NAT table, the SCALANCE S615 replaces the source IP address with its own IP address ( ) and sends the packet to the appropriate node. From the CPU s perspective, all packets are from the local subnet VLAN1 to which a direct reply is possible. In all reply packets from the CPU to the PC, the destination IP address is automatically replaced with the PC IP address. The assignment is made based on the existing state in the firewall, there is no manual assignment as with destination NAT. The advantage is that access is possible without having to change the settings in the terminals (reaction-free). The disadvantage is that, due to the identical source IP addresses, it is no longer clear which remote node sent the packets. NAT and firewall rules In the NAT table of the SCALANCE S615, all packets from the VPN tunnel are translated to a separate VLAN1 IP address. Figure 2-16 The firewall must allow communication between the VPN tunnel and the internal network, VLAN1. The services are unrestricted. Figure 2-17 Remarks Address translation using source NAT is performed behind the firewall; consequently, the remote VPN addresses must be used as the source range. By specifying /0, all IP addresses are allowed. This is necessary, for example, if the remote subnet of the tunnel is not known in advance when using SSC. The shown firewall rule is optional as, by default, all packets from the VPN tunnel are always enabled for VLAN1. When using a different or additional VLAN, this rule is always required. As the source interface of the firewall and NAT, you can either enable all tunnels ("IPSec all ) or select specific tunnels (via Interface = "Endpoint ). This configuration corresponds to the method of functioning of SINEMA RC when "Device is network gateway is not checked. This method, too, performs source NAT from the tunnel. Entry ID: , V1.1, 08/

27 Siemens AG All rights reserved NAT Table 2.9 S7 connection with double NAT Starting situation The CPUs are to establish an S7 connection to one another. No gateway is configured in the modules and no changes are to be made to the hardware settings. The S7 connection runs on a port that cannot be changed, TCP 102. Figure 2-18 VLAN2: /24 CPU2: Gateway: None Additional IP: CPU1: Gateway: None VLAN1: /24 Requirements For network separation, the SCALANCE S615 has two VLANs with different network IDs. As a result, the device has a separate IP address for each VLAN (in this document: VLAN1: and VLAN2: ). In addition, a source and destination NAT table is defined in the SCALANCE S615 to translate the CPU s message frames to a different IP address. This requires another IP address from the subnet of VLAN2. Entry ID: , V1.1, 08/

28 Siemens AG All rights reserved Process flow (active connection establishment from CPU2 to CPU1): Advantages Disadvantages The additional NAT IP address is used by the SCALANCE S615. CPU2 accesses the local IP address as the destination. Using the definition in its NAT table, the SCALANCE S615 replaces the source and destination IP address and sends the packet to CPU1. Due to the change of the source IP address, all packets, from CPU1 s perspective, are from CPU2 from the local subnet VLAN1. Therefore, CPU1 can reply directly without a gateway entry. In all reply packets from CPU1 to CPU2, the source and destination IP address is automatically replaced. The advantage of the NAT table is that, due to the use of an additional address, all ports can be forwarded or used. Subsequent changes to the CPUs hardware configuration are not required (reaction-free). The disadvantage is that only active connection establishment from CPU2 to CPU1 is possible. Furthermore, an additional IP address from the subnet of VLAN2 is required that must be configured accordingly. NAT and firewall rules The destination NAT table of the SCALANCE S615 translates packets from VLAN2 with the destination IP address to the CPU s IP address Figure 2-19 The source NAT table of the SCALANCE S615 translates packets with the source IP address to its own VLAN1 IP address Figure 2-20 The firewall must allow communication between CPU2 (VLAN2) and CPU1 (VLAN1). The services are limited to TCP port 102. Figure 2-21 Entry ID: , V1.1, 08/

29 Siemens AG All rights reserved Remarks Address translation using source NAT is performed behind the firewall; consequently, the physical addresses must be used here. Destination NAT has already been performed before the firewall; consequently, the translated addresses must be used here. The "Trans.Destination IP Subnet columns in the SCALANCE S615 may only be configured with a single IP address /32. Only then does the SCALANCE S615 reply to ARP requests for the additional IP addresses. Entry ID: , V1.1, 08/

30 Siemens AG All rights reserved 3 Valuable Information 3 Valuable Information 3.1 General principles Classless Inter-Domain Routing (CIDR) Description The firewall and NAT configuration in the S615 largely use CIDR suffix notation. CIDR is a method that combines multiple IPv4 addresses into a single address range by representing an IPv4 address combined with its subnet mask. To this end, the "/x suffix indicating the number ("x ) of network mask bits set to "1 is added to the IPv4 address. CIDR notation allows the user to reduce routing tables and make better use of the available address ranges. Example IPv4 address with subnet mask In the binary representation, the network portion of the address comprises three times 8 bits, i.e. 24 bits. This results in CIDR notation /24. If you want to access all addresses, use the following notation: /0. If you want to access only one address from the network (subnet mask: ), this results in the following notation: / Connection directions in the network What is decisive for the configuration of the firewall and NAT is the direction of connection establishment. Therefore, the direction must be defined in advance. A connection is always actively established by one node. The partner waits passively for the incoming connection. This defines the destination port (e.g., http on port 80) of connection establishment. Normally, the source port of connection establishment is dynamically managed by the operating system and not known in advance. Exceptions are, for example, native TCP/UDP connections between S7 CPUs or CPs where a fixed source port was defined. Note S7 connections always have the destination port TCP 102 and a dynamic source port. Entry ID: , V1.1, 08/

31 Siemens AG All rights reserved 3 Valuable Information NAT mechanisms NAT NAT (Network Address Translation) is a method of translating IP addresses in data packets. It can be used to interconnect two different networks (internal and external). There are two different NATs: source NAT that translates the source IP address and destination NAT that translates the destination IP address. IP masquerading IP masquerading is simplified source NAT. With each outgoing data packet sent via this interface, the source IP address is replaced with the IP address of the interface. The adapted data packet is sent to the destination IP address. To the destination host, it seems as if the requests always came from the same sender. The internal nodes cannot be directly accessed from the external network. Using NAPT, the services of the internal nodes can be made accessible via the external IP address of the device. IP masquerading can be used if the internal IP addresses cannot or should not be routed externally, for example, because the internal network structure should remain hidden. NAPT NAPT (Network Address and Port Translation) is a form of destination NAT and is also called port forwarding. It can be used to make services of the internal nodes accessible from the outside that are hidden by IP masquerading or source NAT. It translates incoming data packets from the external network that are intended for an external IP address of the device (destination IP address). The destination IP address is replaced with the IP address of the internal node. In addition to address translation, port translation is possible as well. Source NAT Like IP masquerading, source NAT translates the source IP address. In addition, it can be used to limit the outgoing data packets. This includes limiting them to certain IP addresses or IP address ranges and certain interfaces. These rules can also be applied to VPN connections. Source NAT can be used if the internal IP addresses cannot or should not be routed externally. NETMAP With NETMAP, complete subnets can be translated to a different subnet. This translation changes the subnet portion of the IP address and retains the host portion. For translating, NETMAP requires only one rule. NETMAP can translate both the source IP address and the destination IP address. To perform the translation with destination NAT and source NAT, many rules would be required. NETMAP can also be applied to VPN connections. Entry ID: , V1.1, 08/

32 Siemens AG All rights reserved 3 Valuable Information Firewall and NAT Firewall The security functions of the SCALANCE S615 include a stateful inspection firewall. This is a packet filtering / packet inspection method. The IP packets are inspected based on firewall rules that define the following: Allowed protocols IP addresses and ports of the allowed sources IP addresses and ports of the allowed destinations If an IP packet matches the specified parameters, it is allowed to pass through the firewall. The rules also specify what to do with IP packets that are not allowed to pass through the firewall. Simple packet filtering methods require two firewall rules per connection. One rule for the request direction from the source to the destination. And a second rule for the reply direction from the destination to the source. Stateful inspection firewall In contrast, when using a stateful inspection firewall, you only need to specify one firewall rule for the request direction from the source to the destination. The second rule is added implicitly. The packet filter remembers when, for example, computer "A communicates with computer "B and allows replies only when this is the case. A request from computer "B is therefore not possible without a prior request from computer "A. Firewall and NAT When configuring NAT, there is no automatic enable in the firewall. The NAT router settings and the firewall rules must be matched such that message frames with a translated address can pass through the firewall. What is important is the order in which the message frames pass through NAT and the firewall as IP addresses/ports are changed depending on the NAT used. When using destination NAT, the destination IP address and/or destination port are translated before passing through the firewall. Accordingly, the firewall rules must be created with the IP addresses and ports that have already been changed. When using source NAT, the source IP address is translated after passing through the firewall. The IP address that has already been changed can no longer be filtered in the firewall. Note For the SCALANCE S615, the number of firewall and NAT rules is limited to 64. The rules do not add up; consequently, 64 NAT and 64 firewalls rules are possible at the same time. Entry ID: , V1.1, 08/

33 Siemens AG All rights reserved 3 Valuable Information 3.2 S7 connections and NAT For S7 connections specified on both sides, both sides check the partner s IP address when the connection is established. As neither the source nor the destination IP address can be changed when using NAT, a connection using this method cannot work. Instead, create a new connection with the "unspecified partner on both modules or, alternatively, create a unilateral connection on resource 03 with PUT/GET. This setting allows you to manually enter the IP address. According to NAT, use the translated IP address with which the connection comes in or to which sending takes place. In the address details, enter the rack, slot and connection resource. Vice versa, the "Local values correspond to the "Partner entry of the other module. 3.3 TIA Online functions and NAT Source NAT makes no difference regarding the use of the TIA Online function as, by default, the PG connection is accepted from any IP addresses. When using destination NAT, the IP address in the project no longer matches the IP address translated by NAT through which the appropriate module can actually be accessed. Therefore, destination NAT requires that the translated NAT IP address to which you want to establish the connection be specified in advance: 1. In TIA Portal, open the "Online > Extended go online menu item. 2. Set the interface based on the PC or module interfaces you are using. 3. Select "Show accessible devices. 4. Click the first blank row of the "Address column. An input field appears, where you can enter the NAT IP address. Entry ID: , V1.1, 08/

34 Siemens AG All rights reserved 3 Valuable Information 5. Then use the appropriate button to search for devices. 6. Do not accept a suggestion to add another IP address and click "next. Entry ID: , V1.1, 08/

35 Siemens AG All rights reserved 4 Appendix 4 Appendix 4.1 Service and Support Industry Online Support Technical Support Do you have any questions or do you need support? With Industry Online Support, our complete service and support know-how and services are available to you 24/7. Industry Online Support is the place to go to for information about our products, solutions and services. Product Information, Manuals, Downloads, FAQs and Application Examples all the information can be accessed with just a few clicks: Siemens Industry s Technical Support offers you fast and competent support for any technical queries you may have, including numerous tailor-made offerings ranging from basic support to custom support contracts. You can use the web form below to send queries to Technical Support: Service offer Our service offer includes the following services: Product Training Plant Data Services Spare Part Services Repair Services Field & Maintenance Services Retrofit & Modernization Services Service Programs & Agreements For detailed information about our service offer, please refer to the Service Catalog: Industry Online Support The "Siemens Industry Online Support app provides you with optimum support while on the go. The app is available for Apple ios, Android and Windows Phone. Entry ID: , V1.1, 08/

Configuration of an MRP Ring and a Topology with Two Projects

Configuration of an MRP Ring and a Topology with Two Projects Configuration Example 10/2016 Configuration of an MRP Ring and a Topology with Two Projects SCALANCE X, SIMATIC S7 https://support.industry.siemens.com/cs/ww/en/view/109741671 Warranty and Liability Warranty

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ Working with the TIA Portal Cloud Connector TIA Portal V14 SP1 https://support.industry.siemens.com/cs/ww/en/view/109747305 Siemens Industry Online Support Warranty and Liability Warranty and Liability

More information

Comparing Libraries using the "Library Compare" Tool TIA Portal Openness / V14 SP1 https://support.industry.siemens.com/cs/ww/en/view/109749141 Siemens Industry Online Support Warranty and Liability Warranty

More information

Configuration of an MRP ring with SIMOCODE and SIMATIC S SIMOCODE pro V PN, SIMATIC S Siemens Industry Online Support

Configuration of an MRP ring with SIMOCODE and SIMATIC S SIMOCODE pro V PN, SIMATIC S Siemens Industry Online Support Configuration of an MRP ring with SIMOCODE and SIMATIC S7-1500 SIMOCODE pro V PN, SIMATIC S7-1500 https://support.industry.siemens.com/cs/ww/en/view/109742280 Siemens Industry Online Support Siemens AG

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ Connecting SIMOCODE pro and Allen-Bradley Controller via EtherNet/IP SIMOCODE pro V EIP https://support.industry.siemens.com/cs/ww/en/view/109748968 Siemens Industry Online Support Warranty and liability

More information

Multiuser Engineering in the TIA Portal

Multiuser Engineering in the TIA Portal Application Example 02/2017 Multiuser Engineering in the TIA Portal TIA Portal V14 https://support.industry.siemens.com/cs/ww/de/view/109740141 Warranty and Liability Warranty and Liability The Application

More information

OpennessScripter: Introduction TIA Portal / Openness API https://support.industry.siemens.com/cs/ww/en/view/109742322 Siemens Industry Online Support Siemens AG 2017 All rights reserved Warranty and Liability

More information

Configuring a SINAMICS S120 with Startdrive V14 SIMATIC S7-1500 / SINAMICS S120 https://support.industry.siemens.com/cs/ww/en/view/109743270 Siemens Industry Online Support Warranty and Liability Warranty

More information

Application example 02/2017. SIMATIC IOT2000 Connection to IBM Watson IoT Platform SIMATIC IOT2040

Application example 02/2017. SIMATIC IOT2000 Connection to IBM Watson IoT Platform SIMATIC IOT2040 Application example 02/2017 SIMATIC IOT2000 Connection to IBM Watson IoT Platform SIMATIC IOT2040 Warranty and liability Warranty and liability Note The Application Examples are not binding and do not

More information

Multiuser Engineering in the TIA Portal TIA Portal V15 https://support.industry.siemens.com/cs/ww/en/view/109740141 Siemens Industry Online Support Warranty and Liability Warranty and Liability The Application

More information

Determination of suitable hardware for the Process Historian 2014 with the PH-HWAdvisor tool

Determination of suitable hardware for the Process Historian 2014 with the PH-HWAdvisor tool Application example 12/2016 Determination of suitable hardware for the Process Historian 2014 with the PH-HWAdvisor tool SIMATIC Process Historian 2014 https://support.industry.siemens.com/cs/ww/de/view/109740115

More information

Integration of Process Historian / Information Server in a Domain

Integration of Process Historian / Information Server in a Domain Application Description 11/2016 Integration of Process Historian / Information Server in a Domain SIMATIC PCS 7 https://support.industry.siemens.com/cs/ww/de/view/66579062 Warranty and liability Warranty

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ SIMOTION IT Application frame Manual 07/2017 https://support.industry.siemens.com/cs/ww/en/view/109748953 Siemens Industry Online Support Warranty and liability Warranty and liability Note The Application

More information

Setting up a secure VPN connection between two SCALANCE S Modules Using a static IP Address

Setting up a secure VPN connection between two SCALANCE S Modules Using a static IP Address Configuration Example 09/2014 Setting up a secure VPN connection between two SCALANCE S Modules Using a static IP Address SCALANCE S http://support.automation.siemens.com/ww/view/en/99681360 Warranty and

More information

Application example 12/2016. SIMATIC IOT2000 OPC UA Client SIMATIC IOT2020, SIMATIC IOT2040

Application example 12/2016. SIMATIC IOT2000 OPC UA Client SIMATIC IOT2020, SIMATIC IOT2040 Application example 12/2016 SIMATIC IOT2000 OPC UA Client SIMATIC IOT2020, SIMATIC IOT2040 Warranty and liability Warranty and liability Note The Application Examples are not binding and do not claim to

More information

APF report templates based on data from the WinCC User Archive

APF report templates based on data from the WinCC User Archive Application example 03/2017 APF report templates based on data from the WinCC User Archive PCS 7, Information Server https://support.industry.siemens.com/cs/ww/en/view/64906050 Warranty and liability Warranty

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ : Connecting Simulink Models to SIMATIC PLCSIM Advanced via OPC UA SIMATIC S7-PLCSIM Advanced Simulink https://support.industry.siemens.com/cs/ww/en/view/109749187 Siemens Industry Online Support Warranty

More information

Function Block for Monitoring 24V Load Circuits SITOP PSE200U, STEP 7 V5.5 https://support.industry.siemens.com/cs/ww/en/view/61450284 Siemens Industry Online Support Warranty and Liability Warranty and

More information

Setting up a secure VPN Connection between SCALANCE S and SSC Using a static IP Address. SCALANCE S, SOFTNET Security Client

Setting up a secure VPN Connection between SCALANCE S and SSC Using a static IP Address. SCALANCE S, SOFTNET Security Client Configuration Example 09/2014 Setting up a secure VPN Connection between SCALANCE S and SSC Using a static IP Address SCALANCE S, SOFTNET Security Client http://support.automation.siemens.com/ww/view/en/99681083

More information

SINAMICS G/S: Integrating Warning and Error Messages into STEP 7 V5.x or WinCC flexible

SINAMICS G/S: Integrating Warning and Error Messages into STEP 7 V5.x or WinCC flexible Application Example 03/2017 SINAMICS G/S: Integrating Warning and Error Messages into STEP 7 V5.x or WinCC flexible https://support.industry.siemens.com/cs/ww/en/view/77467239 Warranty and Liability Warranty

More information

Migration of a Process Historian database

Migration of a Process Historian database Application Example 03/2017 Migration of a Process Historian database SIMATIC PCS 7 https://support.industry.siemens.com/cs/ww/en/view/66579062 Warranty and liability Warranty and liability Note The Application

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ Runtime Measurement using SIMATIC S7-1500 Profiling V1.0.2 https://support.industry.siemens.com/cs/ww/en/view/109750245 Siemens Industry Online Support Siemens AG 2017 All rights reserved Warranty and

More information

Digitalization with TIA Portal: Integration of planning data from TIA Selection Tool to TIA Portal or STEP 7 V14 SP1 (TIA Portal), TIA Selection Tool https://support.industry.siemens.com/cs/ww/en/view/109748223

More information

Position Control with SIMATIC S and SINAMICS V90 via IRT PROFINET SINAMICS V90 PROFINET. Application description 03/2016

Position Control with SIMATIC S and SINAMICS V90 via IRT PROFINET SINAMICS V90 PROFINET. Application description 03/2016 Application description 03/2016 Position Control with SIMATIC S7-1500 and SINAMICS V90 via IRT PROFINET SINAMICS V90 PROFINET https://support.industry.siemens.com/cs/ww/en/view/109739053 Warranty and liability

More information

RAID systems within Industry

RAID systems within Industry White Paper 01/2014 RAID systems within Industry Functioning, variants and fields of application of RAID systems https://support.industry.siemens.com/cs/ww/en/view/109737064 Warranty and liability Warranty

More information

Restarting Windows at the SIMATIC S7-1500 Software Controller Software Controller V 2.1, TIA Portal V14 SP1 https://support.industry.siemens.com/cs/ww/en/view/109748679 Siemens Industry Online Support

More information

SIMATIC NET OPC Server Implementation

SIMATIC NET OPC Server Implementation Application example 05/2016 SIMATIC NET OPC Server Implementation PDI HMI@F&B https://support.industry.siemens.com/cs/ww/en/view/100744248 Warranty and liability Warranty and liability Note The Application

More information

Visualizing Energy Data of a SITOP PSU8600

Visualizing Energy Data of a SITOP PSU8600 Application Example 02/2017 Visualizing Energy Data of a SITOP PSU8600 SIMATIC STEP 7 Professional V14, WinCC Comfort / Advanced V14, SITOP PSU8600, SIMATIC S7-1500 https://support.industry.siemens.com/cs/ww/en/view/109738082

More information

Segmenting a Network Using s SCALANCE X https://support.industry.siemens.com/cs/ww/en/view/109749844 Siemens Industry Online Support Siemens AG 2017 All rights reserved Warranty and Liability Warranty

More information

SINAMICS G/S: Tool for transforming Warning and Error Messages in CSV format

SINAMICS G/S: Tool for transforming Warning and Error Messages in CSV format Application example 03/2017 SINAMICS G/S: Tool for transforming Warning and Error Messages in CSV format https://support.industry.siemens.com/cs/ww/en/view/77467239 Copyright Siemens AG 2017 All rights

More information

Check List for Programming Styleguide for S7-1200/S7-1500

Check List for Programming Styleguide for S7-1200/S7-1500 Programming Styleguide 10/2016 Check List for Programming Styleguide for S7-1200/S7-1500 TIA Portal https://support.industry.siemens.com/cs/ww/en/view/81318674 Warranty and Liability Warranty and Liability

More information

Converting Equipment module for SIMOTION Project Generator Manual - V1.0.3-07/2017 https://support.industry.siemens.com/cs/ww/en/view/109485620 Siemens Industry Online Support Warranty and liability Warranty

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ Configuration Change with SINEMA Server for Network Devices with Command Line Interface (CLI) SINEMA Server V13 / V14 https://support.industry.siemens.com/cs/ww/en/view/109749379 Siemens Industry Online

More information

Applikationen & Tools. Network Address Translation (NAT) and Network Port Address Translation (NAPT) SCALANCE W. Application Description July 2009

Applikationen & Tools. Network Address Translation (NAT) and Network Port Address Translation (NAPT) SCALANCE W. Application Description July 2009 Cover Sheet Network Address Translation (NAT) and Network Port Address Translation (NAPT) SCALANCE W Application Description July 2009 Applikationen & Tools Answers for industry. Warranty, Liability and

More information

Setting up a secure VPN Connection between a Tablet (ios), SCALANCE S615 and SINEMA Remote Connect Server. SINEMA Remote Connect, SCALANCE S615

Setting up a secure VPN Connection between a Tablet (ios), SCALANCE S615 and SINEMA Remote Connect Server. SINEMA Remote Connect, SCALANCE S615 Configuration Example 09/2015 Setting up a secure VPN Connection between a Tablet (ios), SCALANCE S615 and SINEMA Remote Connect Server SINEMA Remote Connect, SCALANCE S615 https://support.industry.siemens.com/cs/ww/en/view/109479578

More information

Setting up a secure VPN Connection between the TS Adapter IE Advanced and Windows 7

Setting up a secure VPN Connection between the TS Adapter IE Advanced and Windows 7 Configuration Example 09/2014 Setting up a secure VPN Connection between the TS Adapter IE Advanced and Windows 7 TS Adapter IE Advanced http://support.automation.siemens.com/ww/view/en/99681037 Warranty

More information

Calculating the expected PH storage requirements of SIMATIC BATCH batches

Calculating the expected PH storage requirements of SIMATIC BATCH batches Application Example 08/2016 Calculating the expected PH storage requirements of SIMATIC BATCH batches SIMATIC Process Historian (PH) https://support.industry.siemens.com/cs/ww/en/view/66579062 Siemens

More information

User Login with RFID Card Reader WinCC Advanced V14 SP1, SIMATIC IPC https://support.industry.siemens.com/cs/ww/de/view/99808171 Siemens Industry Online Support Warranty and Liability Warranty and Liability

More information

X-Tools Loading Profile Files (LPF)

X-Tools Loading Profile Files (LPF) Application description 08/2016 X-Tools Loading Profile Files (LPF) CMS X-Tools / V 04.03 https://support.industry.siemens.com/cs/ww/en/view/item_number Warranty and liability Warranty and liability Note

More information

Data Storage on Windows Server or NAS Hard Drives

Data Storage on Windows Server or NAS Hard Drives Application Example 03/2016 Data Storage on Windows Server or NAS Hard Drives SIMATIC HMI Comfort Panels, Sharing of Network Drives and Folders https://support.industry.siemens.com/cs/ww/en/view/92346478

More information

Setting up a secure VPN Connection between CP x43-1 Adv. and SOFTNET Security Client Using a static IP Address

Setting up a secure VPN Connection between CP x43-1 Adv. and SOFTNET Security Client Using a static IP Address Configuration Example 02/2015 Setting up a secure VPN Connection between CP x43-1 Adv. and SOFTNET Security Client Using a static IP Address SOFTNET Security Client, CP 343-1 Advanced, CP 443-1 Advanced

More information

STEP 7 Professional V14 SP1, Energy Suite V14 SP1, SENTRON PAC Measuring Devices, Modbus TCP

STEP 7 Professional V14 SP1, Energy Suite V14 SP1, SENTRON PAC Measuring Devices, Modbus TCP Block for Connecting Modbus TCP Devices to Energy Suite V14 SP1 STEP 7 Professional V14 SP1, Energy Suite V14 SP1, SENTRON PAC Measuring Devices, Modbus TCP https://support.industry.siemens.com/cs/ww/en/view/109749074

More information

Automatic Visualization of the Sample Blocks in WinCC Advanced

Automatic Visualization of the Sample Blocks in WinCC Advanced Application Example 11/2016 Automatic Visualization of the Sample Blocks in WinCC Advanced SiVArc, WinCC Advanced https://support.industry.siemens.com/cs/ww/de/view/66839614 Warranty and Liability Warranty

More information

Integration of SIMATIC PCS 7 Asset Management into existing projects

Integration of SIMATIC PCS 7 Asset Management into existing projects Application Example 10/2010 Integration of SIMATIC PCS 7 Asset Management into existing projects SIMATIC PCS 7 https://support.industry.siemens.com/cs/ww/en/view/27833758 Warranty and liability Warranty

More information

Setting up 08/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

Setting up 08/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040 Setting up 08/2017 Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040 Warranty and liability Warranty and liability Note The Application Examples are not binding and do not claim to be complete

More information

Setting up a secure VPN Connection between SCALANCE S and CP x43-1 Adv. Using a static IP Address. SCALANCE S, CP Advanced, CP Advanced

Setting up a secure VPN Connection between SCALANCE S and CP x43-1 Adv. Using a static IP Address. SCALANCE S, CP Advanced, CP Advanced Configuration Example 09/2014 Setting up a secure VPN Connection between SCALANCE S and CP x43-1 Adv. Using a static IP Address SCALANCE S, CP 343-1 Advanced, CP 443-1 Advanced http://support.automation.siemens.com/ww/view/en/99681025

More information

Setting up 01/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040

Setting up 01/2017. Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040 Setting up 01/2017 Setting up the SIMATIC IOT2000 SIMATIC IOT2020, SIMATIC IOT2040 Warranty and liability Warranty and liability Note The Application Examples are not binding and do not claim to be complete

More information

Windows firewall settings for X-Tools Server Pro. CMS X-Tools / V / CPU PN/DP. Application description 6/2016

Windows firewall settings for X-Tools Server Pro. CMS X-Tools / V / CPU PN/DP. Application description 6/2016 Application description 6/2016 Windows firewall settings for X-Tools Server Pro CMS X-Tools / V 04.03 / CPU 416-3 PN/DP https://support.industry.siemens.com/cs/ww/en/view/item_number Warranty and liability

More information

Data Storage on Windows Server or NAS Hard Drives SIMATIC HMI Comfort Panels, Sharing of Network Drives and Folders https://support.industry.siemens.com/cs/ww/en/view/92346478 Siemens Industry Online Support

More information

Generating the Parameters for the Modbus/TCP Communication

Generating the Parameters for the Modbus/TCP Communication Application description 10/2014 Generating the Parameters for the Modbus/TCP Communication http://support.automation.siemens.com/ww/view/en/60735352 Warranty and liability Warranty and liability Note The

More information

Library Description 08/2015. HMI Templates. TIA Portal WinCC V13. https://support.industry.siemens.com/cs/ww/en/view/

Library Description 08/2015. HMI Templates. TIA Portal WinCC V13. https://support.industry.siemens.com/cs/ww/en/view/ Library Description 08/2015 TIA Portal WinCC V13 https://support.industry.siemens.com/cs/ww/en/view/91174767 Warranty and Liability Warranty and Liability Note The Application Examples are not binding

More information

SIMATIC Energy Suite Visualization example of the "*.csv"-energy Data Files

SIMATIC Energy Suite Visualization example of the *.csv-energy Data Files Application Example 03/2017 SIMATIC Energy Suite Visualization example of the "*.csv"-energy Data Files SIMATIC STEP 7 (TIA Portal), SIMATIC Energy Suite https://support.industry.siemens.com/cs/ww/en/view/109739772

More information

PNDriver V2.1 Quick Start Guide for IOT2040 SIMATIC IOT

PNDriver V2.1 Quick Start Guide for IOT2040 SIMATIC IOT PNDriver V2.1 Quick Start Guide for IOT2040 SIMATIC IOT2040 https://support.industry.siemens.com/cs/ww/en/view/109761191 Warranty and liability Warranty and liability Note The Application Examples are

More information

Acyclic communication between S and V90PN via PROFINET. Application example 12/

Acyclic communication between S and V90PN via PROFINET. Application example 12/ Application example 12/20162016 Acyclic communication between S7-1500 and V90PN via PROFINET SINAMICS V90 / SIMATIC S7-1500 https://support.industry.siemens.com/cs/ww/en/view/109743977 Warranty and liability

More information

Setting up a VPN Connection between a Tablet (ios) and the SINEMA Remote Connect Server SINEMA Remote Connect https://support.industry.siemens.com/cs/ww/en/view/109479577 Siemens Industry Online Support

More information

IP-based Remote Networks

IP-based Remote Networks Application Description 03/2017 SCALANCE M, SCALANCE S, CP x43-1 Advanced, CP 1x43-1, TS Adapter IE Advanced, SINEMA Remote Connect https://support.industry.siemens.com/cs/ww/de/view/26662448 Siemens AG

More information

Improving the performance of the Process Historian

Improving the performance of the Process Historian Application example 01/2016 Improving the performance of the Process Historian SIMATIC PCS 7 https://support.industry.siemens.com/cs/ww/en/view/66579062 Warranty and Liability Warranty and Liability Note

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ Light control with LOGO! and HMI Panel Application example 07/2017 https://support.industry.siemens.com/cs/ww/en/view/109747758 Siemens Industry Online Support Warranty and liability Warranty and liability

More information

Message Cycle Report for the Information Server. SIMATIC PCS 7, SIMATIC Information Server Siemens Industry Online Support

Message Cycle Report for the Information Server. SIMATIC PCS 7, SIMATIC Information Server Siemens Industry Online Support Message Cycle Report for the Information Server SIMATIC PCS 7, SIMATIC Information Server 2014 https://support.industry.siemens.com/cs/ww/en/view/64906050 Siemens Industry Online Support Legal information

More information

Networking a SINUMERIK 828D

Networking a SINUMERIK 828D Application description 06/2015 828D SINUMERIK 828D, SW 4.5 SP3 https://support.industry.siemens.com/cs/ww/en/view/109474567 Warranty and liability Warranty and liability Note The Application Examples

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ Generating the Parameters for the Modbus/TCP Communication https://support.industry.siemens.com/cs/ww/en/view/60735352 Siemens Industry Online Support Siemens AG 2016-20186 All rights reserved Warranty

More information

Guideline for Library Handling in TIA Portal TIA Portal V14 SP1 https://support.industry.siemens.com/cs/ww/en/view/109747503 Siemens Industry Online Support Siemens AG 2017 All rights reserved Warranty

More information

Setting up a secure VPN Connection between SCALANCE M-800 and SSC

Setting up a secure VPN Connection between SCALANCE M-800 and SSC Configuration Example 12/2015 Setting up a secure VPN Connection between SCALANCE M-800 and SSC SCALANCE S615, SCALANCE M-800, SOFTNET Security Client https://support.industry.siemens.com/cs/ww/de/view/109481101

More information

Transmitting HMI data to an external monitor

Transmitting HMI data to an external monitor Application description 07/2015 Transmitting HMI data to an external monitor SINUMERIK 828D, SW 4.5 SP3 https://support.industry.siemens.com/cs/ww/en/view/109477688 Warranty and liability Warranty and

More information

Single Message Report for the Information Server. SIMATIC PCS 7, SIMATIC Information Server Siemens Industry Online Support

Single Message Report for the Information Server. SIMATIC PCS 7, SIMATIC Information Server Siemens Industry Online Support Single Message Report for the Information Server SIMATIC PCS 7, SIMATIC Information Server 2014 https://support.industry.siemens.com/cs/ww/en/view/64906050 Siemens Industry Online Support Legal information

More information

Checking of STEP 7 Programs for the Migration of S7-318 to S CPU318 Migration Check. Application description 01/2015

Checking of STEP 7 Programs for the Migration of S7-318 to S CPU318 Migration Check. Application description 01/2015 Application description 01/2015 Checking of STEP 7 Programs for the Migration of S7-318 to S7-300 http://support.automation.siemens.com/ww/view/en/22680601 Warranty and liability Warranty and liability

More information

Applications & Tools. Security Configurations in LAN and WAN (DSL) with SCALANCE S61x Modules and the Softnet Security Client. Industrial Security

Applications & Tools. Security Configurations in LAN and WAN (DSL) with SCALANCE S61x Modules and the Softnet Security Client. Industrial Security Cover Configurations in LAN and WAN (DSL) with S61x Modules and the Softnet Client Industrial Application Description March 2010 Applications & Tools Answers for industry. Industry Automation and Drives

More information

Acknowledgement of WinCC Messages with forced comments WinCC V7 https://support.industry.siemens.com/cs/ww/en/view/52329908 Siemens Industry Online Support Warranty and liability Warranty and liability

More information

Setting up time synchronization of Process Historian and Information Server

Setting up time synchronization of Process Historian and Information Server Application example 11/2015 Setting up time synchronization of Process Historian and Information Server SIMATIC PCS 7 V8.1 https://support.industry.siemens.com/cs/ww/en/view/66579062 Warranty and Liability

More information

Display of SINAMICS Error Messages in Runtime Professional

Display of SINAMICS Error Messages in Runtime Professional Application Example 09/2016 Display of SINAMICS Error Messages in Runtime Professional SINAMICS G120, WinCC Runtime Professional https://support.industry.siemens.com/cs/ww/en/view/109738320 Warranty and

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ LOGO! 8 Heater and Fan Control (CO2 and %RH) for KNX LOGO! 8, LOGO! CMK2000 https://support.industry.siemens.com/cs/ww/en/view/109748588 Siemens Industry Online Support Siemens AG 2017 All rights reserved

More information

SIMATIC PDM - Central access to MODBUS RTU devices

SIMATIC PDM - Central access to MODBUS RTU devices Application example 03/2017 SIMATIC PDM - Central access to MODBUS RTU devices Customer benefits and a step-by-step description in Engineering https://support.industry.siemens.com/cs/ww/en/view/109740107

More information

Display of SINAMICS Fault Messages in WinCC V7.4

Display of SINAMICS Fault Messages in WinCC V7.4 Application Example 03/2017 Display of SINAMICS Fault Messages in WinCC V7.4 SINAMICS G120, WinCC V7.4 https://support.industry.siemens.com/cs/ww/de/view/109744939 Warranty and Liability Warranty and Liability

More information

Setting up a secure VPN Connection between two M812-1 Using a static IP Address

Setting up a secure VPN Connection between two M812-1 Using a static IP Address Configuration Example 07/2015 Setting up a secure VPN Connection between two M812-1 Using a static IP Address SCALANCE M https://support.industry.siemens.com/cs/ww/en/view/109477919 Warranty and Liability

More information

Communication between HMI and Frequency Converter. Basic Panel, Comfort Panel, Runtime Advanced, SINAMICS G120. Application Example 04/2016

Communication between HMI and Frequency Converter. Basic Panel, Comfort Panel, Runtime Advanced, SINAMICS G120. Application Example 04/2016 Application Example 04/2016 Communication between HMI and Frequency Converter Basic Panel, Comfort Panel, Runtime Advanced, SINAMICS G120 https://support.industry.siemens.com/cs/ww/en/view/109481157 Warranty

More information

TeleService of a S station via mobile network

TeleService of a S station via mobile network Application Example 10/2016 TeleService of a S7-1200 station via mobile network CP 1242-7 V2, CP 1243-7 LTE, TCSB V3 https://support.industry.siemens.com/cs/ww/en/view/56720905 Warranty and Liability Warranty

More information

Exchange of large data volumes between S control system and WinCC

Exchange of large data volumes between S control system and WinCC Application Example 09/2016 Exchange of large data volumes between S7-1500 control system and WinCC S7-1500, WinCC V7.4 https://support.industry.siemens.com/cs/ww/de/view/37873547 Warranty and Liability

More information

Key Panel Library / TIA Portal

Key Panel Library / TIA Portal Application Example 06/2015 Key Panel Library / TIA Portal Configuration Manual https://support.industry.siemens.com/cs/ww/en/63482149 Warranty and Liability Warranty and Liability Note The application

More information

Fail-Safe Group Shutdown of the ET 200SP F-Motor Starter with F-DQ SIMATIC Safety Integrated https://support.industry.siemens.com/cs/ww/en/view/109748128 Siemens Industry Online Support Warranty and Liability

More information

Connection of SIMATIC Energy Suite to SIMATIC Energy Manager PRO and subsequent Reporting SIMATIC Energy Manager PRO V7.0, SIMATIC Energy Suite V14 SP1 https://support.industry.siemens.com/cs/ww/en/view/109744400

More information

PCS 7 Configuration Changes in RUN with Active Fieldbus Diagnosis

PCS 7 Configuration Changes in RUN with Active Fieldbus Diagnosis Application example 11/2016 PCS 7 Configuration Changes in RUN with Active Fieldbus Diagnosis SIMATIC PCS 7 V8.1 or higher https://support.industry.siemens.com/cs/ww/en/view/109741092 Siemens AG 2016 All

More information

Application for Process Automation

Application for Process Automation Application for Process Automation Connecting external periphery to PCS 7 via IE/PB Link PN IO Application Note Warranty, liability and support Note The Application Examples are not binding and do not

More information

Tabular SIMATIC BATCH report for the Information Server. SIMATIC PCS 7 / SIMATIC Information Server 2014 / Customized Reporting

Tabular SIMATIC BATCH report for the Information Server. SIMATIC PCS 7 / SIMATIC Information Server 2014 / Customized Reporting Tabular SIMATIC BATCH report for the Information Server SIMATIC PCS 7 / SIMATIC Information Server 2014 / Customized Reporting https://support.industry.siemens.com/cs/ww/en/view/64906050 Siemens Industry

More information

Application on Control Technology

Application on Control Technology Application on Control Technology Programming example in Ladder Logic (SSL) to determine a battery fault Warranty, liability and support Note The application examples are not binding and do not claim to

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ Setup a new Process Historian with an existing Historian Storage Database SIMATIC Process Historian 2013/2014 https://support.industry.siemens.com/cs/ww/en/view/66579062 Siemens Industry Online Support

More information

S Data Transfer with SEND/RECEIVE Interface

S Data Transfer with SEND/RECEIVE Interface Application Example 04/2016 S7-1500 Data Transfer with SEND/RECEIVE Interface WinCC/IndustrialDataBridge, S7-1500 https://support.industry.siemens.com/cs/ww/en/view/109483465 Warranty and Liability Warranty

More information

Setting up VPN connection between two SCALANCE SC SCALANCE SC https://support.industry.siemens.com/cs/ww/en/view/99681360 Siemens Industry Online Support Siemens AG 2018 All rights reserved Legal information

More information

STEP 7 function block to control a MICROMASTER 4 or SINAMICS G120/G120D via PROFIBUS DP

STEP 7 function block to control a MICROMASTER 4 or SINAMICS G120/G120D via PROFIBUS DP Application description 01/2014 STEP 7 function block to control a MICROMASTER 4 or SINAMICS G120/G120D via PROFIBUS DP Function / application of the FB14 in a SIMATIC S7-300/400 in STEP 7V5.x http://support.automation.siemens.com/ww/view/en/22078757

More information

Plant Data Interface for the Food & Beverage Industry in SIMATIC PCS 7. Interface description based on Weihenstephan Standards

Plant Data Interface for the Food & Beverage Industry in SIMATIC PCS 7. Interface description based on Weihenstephan Standards Application example 05/2016 Plant Data Interface for the Food & Beverage Industry in SIMATIC PCS 7 Interface description based on Weihenstephan Standards https://support.industry.siemens.com/cs/ww/en/view/109483798

More information

House Control with Touch Panel

House Control with Touch Panel Application Example 04/2016 House Control with Touch Panel LOGO! 8, KTP700 Set 10 https://support.industry.siemens.com/cs/ww/en/view/68585344 Warranty and liability Warranty and liability Note The Application

More information

Safety-Related IO Controller-I-Device Communication SIMATIC, PROFIsafe https://support.industry.siemens.com/cs/ww/en/view/109478798 Siemens Industry Online Support Legal information Legal information Use

More information

Cover. WinAC Command. User documentation. V1.5 November Applikationen & Tools. Answers for industry.

Cover. WinAC Command. User documentation. V1.5 November Applikationen & Tools. Answers for industry. Cover WinAC Command User documentation V1.5 November 2009 Applikationen & Tools Answers for industry. Industry Automation and Drives Technologies Service & Support Portal This article is taken from the

More information

Comparing Libraries using the "Library Compare" Tool TIA Portal Openness / V15 https://support.industry.siemens.com/cs/ww/en/view/109749141 Siemens Industry Online Support Legal information Legal information

More information

PCS 7 Process Visualization on Mobile Devices with RDP

PCS 7 Process Visualization on Mobile Devices with RDP i Application Example 04/2016 on Mobile Devices with RDP SIMATIC PCS 7 V8.1 https://support.industry.siemens.com/cs/ww/en/view/102843424 Warranty and Liability Warranty and Liability Note The Application

More information

Setting up a secure VPN Connection between SCALANCE S and M812-1 Using a static IP Address

Setting up a secure VPN Connection between SCALANCE S and M812-1 Using a static IP Address Configuration Example 09/2014 Setting up a secure VPN Connection between SCALANCE S and M812-1 Using a static IP Address SCALANCE S, SCALANCE M http://support.automation.siemens.com/ww/view/en/99681595

More information

Passivation and Reintegration of F-/O S7-1200/1500, ET 200SP, STEP 7 Safety Basic/Advanced https://support.industry.siemens.com/cs/ww/en/view/22304119 Siemens Industry Online Support Intern Siemens AG

More information

Engineering of the Configuration Control for IO Systems

Engineering of the Configuration Control for IO Systems pplication Example 03/2017 Engineering of the Configuration Control for IO Systems ET 200SP, ReconfigIOSystem https://support.industry.siemens.com/cs/ww/en/view/29430270 Siemens G 2016 ll rights reserved

More information

Acyclic Reading and Writing with the Library for SIMOTION SIMOTION https://support.industry.siemens.com/cs/ww/en/view/109740369 Siemens Industry Online Support Siemens AG 2017 All rights reserved Warranty

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ Fail-Safe Group Shutdown of the ET 200SP F-Motor Starter with F-PM-E SIMATIC Safety Integrated https://support.industry.siemens.com/cs/ww/en/view/109748128 Siemens Industry Online Support Warranty and

More information

https://support.industry.siemens.com/cs/ww/en/view/

https://support.industry.siemens.com/cs/ww/en/view/ Toolbox for HMI projects - Simplified engineering SIMATIC WinCC (TIA Portal) from V13 SP1 SIMATIC WinCC RT (TIA Portal) from V13 SP1 SIMATIC TIA Portal Openness https://support.industry.siemens.com/cs/ww/en/view/106226404

More information