SlideShare uma empresa Scribd logo
1 de 16
Baixar para ler offline
Table of Contents



Table of Contents
           1       Introduction........................................................................................................ 4
           2       Configuration ..................................................................................................... 5
                   2.1           Configuring CP343-1 and CP443-1 Advanced .................................... 5
                   2.1.1         Assigning IP addresses to CP343-1 and CP443-1 Advanced ............. 5
                   2.1.2         Entering the IP address of CP343-1 in the Hardware Configuration
                                 and downloading the configuration into the CPU................................. 8
                   2.1.3         Entering the IP address of CP443-1 Advanced in the Hardware
                                 Configuration and downloading the configuration into the CPU ........ 10
                   2.2           Configuring the S7 Connection Bilaterally.......................................... 13
                   2.2.1         Configuring a specified S7 connection............................................... 14
                   2.2.2         Configuring an unspecified S7 connection......................................... 19
                                 Configuring an unspecified S7 connection for the S7-300................. 19
                                 Configuring an unspecified S7 connection for the S7-400................. 22
                   2.3           Configuring the S7 Connection Unilaterally ....................................... 27
                   2.3.1         Configuring an S7 connection unilaterally for the S7-300.................. 27
                   2.3.2         Configuring an S7 connection unilaterally for the S7-400.................. 31




Technical instructions on configuring an S7 connection
V1.0, Item ID: 17628518                                                                                                                3


                                                 http://eyeteck.vn
1 Introduction



1            Introduction
             You can use the S7 communication through S7 connections for data exchange by
             way of the Industrial Ethernet CPs of S7-300 and S7-400.
             In this example an S7-300 is connected over the PROFINET interface of the
             CP343-1 on the subnetwork 172.16.0.0. The S7-400 on the other hand is
             connected over the GBIT interface of the CP443-1 Advanced on the subnetwork
             172.16.0.0. The PROFINET interface of the CP443-1 Advanced is connected on
             the subnetwork 192.168.99.0.

Configuration overview
             Figure 1-1 shows an overview of the configuration.
             Figure 1-1
                 S7-300                                             S7-400
                    CP343-1




                                                                      CP443-1 Advanced
                                                                                         IP address PROFINET interface:
                                          S7 connection                                  192.168.99.121
                                                                                         subnet mask: 255.255.255.0
                              IP address: 172.16.43.2                                    IP address Gigabit interface:
                              subnet mask: 255.255.0.0                                   172.16.49.99
                                                                                         subnet mask: 255.255.0.0




                                        SCALALANCE X




                                                             Technical instructions on configuring an S7 connection
4                                                                                           V1.0, Item ID: 17628518


                                                http://eyeteck.vn
2 Configuration



2              Configuration
               Below we describe how to configure an S7 connection for bilateral exchange of
               data by way of the Industrial Ethernet CPs of S7-300 and S7-400.
               The S7 connection is configured bilaterally in the S7-300 and in the S7-400.

2.1            Configuring CP343-1 and CP443-1 Advanced
2.1.1          Assigning IP addresses to CP343-1 and CP443-1 Advanced

               The following IP addresses are used in this configuration.
Table 2-1
 Industrial Ethernet CP                Interface              IP address           Subnet mask
 CP343-1                       PROFINET                  172.16.43.2           255.255.0.0
 CP443-1 Advanced              PROFINET                  192.168.99.121        255.255.255.0
 CP443-1 Advanced              GBIT                      172.16.49.99          255.255.0.0
               Assign the IP addresses to CP343-1 and CP443-1 Advanced.
               Follow the instructions below for assigning the IP addresses.




Technical instructions on configuring an S7 connection
V1.0, Item ID: 17628518                                                                            5


                                             http://eyeteck.vn
2 Configuration


Table 2-2
     No.            Configuration step                                   Note
    1.      Connect the SIMATIC Field PG on
            which the configuration created with
            STEP 7 is stored to the PROFINET
            interface of CP343-1.
            In Windows network settings
             LAN (Local Area Network) of the
            SIMATIC Field PG you enter an IP
            address that is in the same
            subnetwork as that of CP343-1.
            In this example the IP address
            172.16.43.100 and subnetwork mask
            255.255.0.0 are used for the
            SIMATIC Field PG.




    2.      In the SIMATIC Manager you open
            the STEP 7 project that contains the
            configurations of S7-300 and S7-400
            between which the data is to be
            exchanged over an S7 connection.
            By means of the menu PLC  Edit
            Ethernet Node you open the "Edit
            Ethernet Node" dialog.




                                                      Technical instructions on configuring an S7 connection
6                                                                                    V1.0, Item ID: 17628518


                                         http://eyeteck.vn
2 Configuration



  No.                Configuration step                                      Note
 3.        In the "Edit Ethernet Node" dialog
           you click the "Browse..." button and
           select the MAC address of CP343-1.




 4.        Enter the IP address and subnet
           mask of CP343-1.
           Click the "Assign IP Configuration"
           button to assign the IP address
           entered to CP343-1.
           Then click the "Close" button to close
           the "Edit Ethernet Node" dialog.




 5.        Enter the assigned IP address in the          See section 2.1.2
           Hardware Configuration of the S7-
           300 station and download the
           configuration into the S7-300 CPU.




Technical instructions on configuring an S7 connection
V1.0, Item ID: 17628518                                                                           7


                                             http://eyeteck.vn
2 Configuration



     No.           Configuration step                                       Note
    6.     Connect the SIMATIC Field PG on
           which the configuration created with
           STEP 7 is stored to the PROFINET
           interface of CP443-1 Advanced.
           In Windows network settings
            LAN (Local Area Network) of the
           SIMATIC Field PG you enter an IP
           address that is in the same
           subnetwork as that of CP443-1.
           In this example the IP address
           192.168.99.100 and subnetwork
           mask 255.255.255.0 are used for the
           SIMATIC Field PG.




    7.     Repeat configuration steps 2 to 4 to
           assign the IP address
           192.168.99.121 and subnet mask
           255.255.255.0 to CP443-1 Advanced.
    8.     Enter the assigned IP address in the   See section 2.1.3
           Hardware Configuration of the S7-
           400 station and download the
           configuration into the S7-400 CPU.

2.1.2          Entering the IP address of CP343-1 in the Hardware Configuration and
               downloading the configuration into the CPU

               After you have assigned the IP address 172.16.43.2 and subnet mask 255.255.0.0
               to CP343-1 you enter the assigned IP address in the Hardware Configuration.




                                                         Technical instructions on configuring an S7 connection
8                                                                                       V1.0, Item ID: 17628518


                                         http://eyeteck.vn
2 Configuration


Table 2-3
  No.                Configuration step                          Note
 1.         In the SIMATIC Manager you mark
            the SIMATIC S7 300 station and
            double-click "Hardware" in order to
            open the Hardware Configuration of
            the S7-300 station.




 2.         In the Hardware Configuration of S7-
            300 you double-click the PROFINET
            interface of CP343-1. The Properties
            dialog of the PROFINET interface
            opens.




 3.         In the Properties dialog of the
            PROFINET interface you click the
            "Properties..." button to open the
            "Properties - Ethernet interface PN-
            IO" dialog.




Technical instructions on configuring an S7 connection
V1.0, Item ID: 17628518                                                               9


                                             http://eyeteck.vn
2 Configuration



     No.            Configuration step                                      Note
 4.        Enter the IP address 172.16.43.2 and
           the subnet mask 255.255.0.0.
           Activate the "Set MAC address / Use
           ISO protocol" function and enter the
           MAC address 00-0E-8C-D9-F0-1D of
           CP343-1.
           Assign an existing subnet to CP343-1
           or click the "New..." button to create a
           new subnet.
           Apply the settings with "OK".




 5.        Save and compile the hardware
           configuration of the S7-300 and then
           load the configuration into the S7-300
           CPU.


                                                                          Save and Compile
                                                                                                  download




2.1.3          Entering the IP address of CP443-1 Advanced in the Hardware
               Configuration and downloading the configuration into the CPU

               After you have assigned the IP address 192.168.99.121 and subnet mask
               255.255.255.0 to CP343-1 you enter the assigned IP address in the Hardware
               Configuration.




                                                        Technical instructions on configuring an S7 connection
10                                                                                     V1.0, Item ID: 17628518


                                           http://eyeteck.vn
2 Configuration


Table 2-4
  No.                Configuration step                          Note
 1.         In the SIMATIC Manager you mark
            the SIMATIC S7 400 station and
            double-click "Hardware" in order to
            open the Hardware Configuration of
            the S7-400 station.




 2.         In the Hardware Configuration of S7-
            400 you double-click the PROFINET
            interface of CP443-1 Advanced. The
            Properties dialog of the PROFINET
            interface opens.




 3.         In the Properties dialog of the
            PROFINET interface you click the
            "Properties..." button to open the
            "Properties - Ethernet interface PN-
            IO" dialog.




Technical instructions on configuring an S7 connection
V1.0, Item ID: 17628518                                                              11


                                             http://eyeteck.vn
2 Configuration



     No.            Configuration step                                       Note
 4.        Enter the IP address 192.168.99.121
           and the subnet mask 255.255.255.0.
           Assign a subnet to the PROFINET
           interface of CP443-1 Advanced.
           In this example the subnet assigned
           to the PROFINET interface of CP443-
           1 Advanced is different to that
           assigned to the PROFINET interface
           of CP343-1.
           Apply the settings with "OK".




 5.        In the Hardware Configuration of S7-
           400 you double-click the GBIT
           interface of CP443-1 Advanced. The
           Properties dialog of the GBIT
           interface opens.




 6.        In the Properties dialog of the GBIT
           interface you click the "Properties..."
           button to open the "Properties -
           Ethernet interface GBIT" dialog.




                                                         Technical instructions on configuring an S7 connection
12                                                                                      V1.0, Item ID: 17628518


                                            http://eyeteck.vn
2 Configuration



  No.                Configuration step                             Note
 7.        Activate the "Set MAC address / Use
           ISO protocol" function and enter the
           MAC address 00-0E-8C-DB-D2-98 of
           CP443-1 Advanced.
           Enter the IP address 172.16.49.99
           and the subnet mask 255.255.0.0.
           Assign the same subnet to the GBIT
           interface of CP443-1 Advanced as to
           the PROFINET interface of CP343-1.
           Apply the settings with "OK".




 8.        Save and compile the hardware
           configuration of the S7-400 and then
           load the configuration into the S7-400
           CPU.




                                                                 Save and compile        download




2.2            Configuring the S7 Connection Bilaterally
               Once you have completed configuration of CP343-1 and CP443-1 Advanced and
               have downloaded the hardware configuration into the S7-300 CPU and the S7-400
               CPU, then you configure the S7 connection for data exchange between S7-300
               and S7-400 by way of Industrial Ethernet CPs.
               The function blocks and system functions below are used for data exchange by
               way of S7 connections configured bilaterally in S7-300 and S7-400.
                        FB/SFB12 "BSEND" and FB/SFB13 "BRCV"
                        FB/SFB8 "USEND" and FB9 "URCV"
                        FB/SFB14 "GET" and FB/SFB15 "PUT"




Technical instructions on configuring an S7 connection
V1.0, Item ID: 17628518                                                                             13


                                             http://eyeteck.vn
2 Configuration



     Note       If you use the BSEND and BRCV or USEND and URCV services for data
                transfer, you must configure the S7 connection bilaterally for S7-300 and S7-400,
                because the services are based on the client-client principle.
                You can use the PUT and GET services for data transfer by way of S7
                connections configured unilaterally as well as by way of S7 connections
                configured bilaterally. They are based on the client-server principle.


              Below we describe how to configure a specified and an unspecified S7 connection
              for S7-300 and S7-400.

2.2.1         Configuring a specified S7 connection

              If the S7-300 and S7-400 between which there is data exchange are configured in
              the same STEP 7 project, then you configure a specified S7 connection.
              The connection parameters below are used for the S7 connection in this example.
Table 2-5
     Connection parameters                       S7-300                                  S7-400
 Connection partners               S7-400 CPU                             S7-300 CPU
 Connection type                   S7 connection                          S7 connection
 IP address                        172.16.43.2                            172.16.49.99
 MAC address                       00-0E-8C-D9-F0-1D                      00-0E-8C-DB-D2-98
 Partner IP address                172.16.49.99                           172.16.43.2
 Partner MAC address               00-0E-8C-DB-D2-98                      00-0E-8C-D9-F0-1D
 Connection setup                  Active                                 Passive
 ID (connection number)            2                                      2
 LADDR                             W#16#0100                              W#16#3FFA
 (module start address)
 Local TSAP                        10.04                                  11.02
 Partner TSAP                      11.02                                  10.04




                                                          Technical instructions on configuring an S7 connection
14                                                                                       V1.0, Item ID: 17628518


                                       http://eyeteck.vn
2 Configuration



                Follow the instructions below to configure a specified S7 connection.
Table 2-6
  No.                Configuration step                                 Note
 1.         In the SIMATIC Manager you open
            the STEP 7 project that contains the
            configurations of S7-300 and/or S7-
            400 between which the data is to be
            exchanged over an S7 connection.
            By means of the menu Options 
            Configure Network you open
            NetPro where you configure the S7
            connection.




 2.         Mark the CPU of the SIMATIC 300
            station and create a new connection
            by means of the menu Insert 
            New Connection….




Technical instructions on configuring an S7 connection
V1.0, Item ID: 17628518                                                                          15


                                             http://eyeteck.vn
2 Configuration



     No.           Configuration step                                    Note
 3.        You configure the connection partner
           and the type of connection in the
           "Insert New Connection" dialog.
           Select the S7-400 CPU as
           connection partner.
           Select "S7 connection" as the
           connection type.
           Then click the "Apply" button to open
           the Properties dialog of the S7
           connection.




 4.        In the Properties dialog of the S7
           connection  "General" tab you
           determine the connection number by
           means of the block parameter "ID".
           You specify the connection number at
           the "ID" input parameter of the
           function blocks or system functions
           used for sending and receiving the
           data.
           The function blocks and system
           functions are called in the user
           program of the CPU.
           Activate the function "Active
           connection establishment" because
           the S7-300 actively establishes the
           S7 connection.




                                                      Technical instructions on configuring an S7 connection
16                                                                                   V1.0, Item ID: 17628518


                                         http://eyeteck.vn
2 Configuration



  No.                Configuration step                                                     Note
 5.        In the "Properties" dialog of the S7
           connection  "General" tab you see
           that the S7 connection is established
           between the addresses 00-0E-8C-
           D9-F0-1D and 00-0E-8C-DB-D2-98,
           i.e. the data is exchanged between
           S7-300 and S7-400 via CP343-1 and
           the GBIT interface of CP443-1.
           Click on the "Address Details..."
           button.




 6.        In the "Address Details" dialog the
           local connection end point in the S7-
           300 and the connection end point in
           the communication partner are
           defined with the local TSAP and the
           partner TSAP respectively.
           The connection resource "10" and the                                   Slot of the CP in                   Slot of the
           CP's rack and slot are specified as                                    the S7-300 station                  S7-400 CPU

           the local TSAP in the S7-300 station.
                                                         local TSAP in the S7-300 station       local TSAP in the S7-400 station
           The connection resource "11" and the
           rack and slot of the S7-400 CPU are
           specified as the partner TSAP.
           Click on the "Close" button to close
           the dialog.
 7.        Mark the CPU of the SIMATIC 300
           station. The configured S7
           connection is now displayed in the
           connection table.




 8.        Mark the CPU of the SIMATIC 400
           station. The configured S7
           connection is now displayed in the
           connection table.




Technical instructions on configuring an S7 connection
V1.0, Item ID: 17628518                                                                                                             17


                                             http://eyeteck.vn
2 Configuration



     No.           Configuration step                                             Note
 9.        Once you have completed the
           connection configuration, you save
           and compile the configuration.
           Mark the SIMATIC 300 station and                         Save and compile     download
           download the configuration into the
           S7-300 CPU.
           Then mark the SIMATIC 400 station
           and download the configuration into
           the S7-400 CPU.




 10.       Call the function blocks below in the    You will find function blocks in the library
           user program of the S7-300.              "SIMATIC_NET_CP  CP  CP 300  Blocks".
               FB12 "BSEND" and FB13               At the link below is a sample program for the S7-300
                "BRCV" or                           with the call of the function blocks FB12 "BSEND" and
               FB8 "USEND" and FB9 "URCV"          FB13 "BRCV".
                or                                  http://support.automation.siemens.com/WW/view/de/18
               FB14 "GET" and FB15 "PUT"           516182
                                                    At the link below is a sample program for the S7-300
                                                    with the call of the function blocks FB8 "BSEND" and
                                                    FB9 "BRCV".
                                                    http://support.automation.siemens.com/WW/view/de/22
                                                    791526
                                                    At the link below is a sample program for the S7-300
                                                    with the call of the function blocks FB14 "GET" and
                                                    FB15 "PUT".
                                                    http://support.automation.siemens.com/WW/view/de/18
                                                    610307


 11.       Call the system functions below in the   These system functions are available in the library
           user program of the S7-400.              "Standard Library  System Function Blocks 
               SFB12 "BSEND" and SFB13             Blocks".
                "BRCV" or                           At the link below is a sample program for the S7-400
               SFB8 "USEND" and SFB9               with the call of the system functions SFB14 "GET" and
                "URCV" or                           SFB15 "PUT".
               SFB14 "GET" and SFB15 "PUT"         http://support.automation.siemens.com/WW/view/de/18
                                                    19293




                                                           Technical instructions on configuring an S7 connection
18                                                                                        V1.0, Item ID: 17628518


                                          http://eyeteck.vn

Mais conteúdo relacionado

Mais procurados

Ccna lab manual
Ccna lab manual Ccna lab manual
Ccna lab manual aibad ahmed
 
Chapter 02 - Configuring a Network Operating System
Chapter 02 - Configuring a Network Operating SystemChapter 02 - Configuring a Network Operating System
Chapter 02 - Configuring a Network Operating SystemYaser Rahmati
 
CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3Nil Menon
 
CCNAv5 - S1: Chapter 10 Application Layer
CCNAv5 - S1: Chapter 10 Application LayerCCNAv5 - S1: Chapter 10 Application Layer
CCNAv5 - S1: Chapter 10 Application LayerVuz Dở Hơi
 
CCNA R&S-09-Configuring Ethernet Switching
CCNA R&S-09-Configuring Ethernet SwitchingCCNA R&S-09-Configuring Ethernet Switching
CCNA R&S-09-Configuring Ethernet SwitchingAmir Jafari
 
Practica_Configuracion_Basica_SW_Cisco
Practica_Configuracion_Basica_SW_CiscoPractica_Configuracion_Basica_SW_Cisco
Practica_Configuracion_Basica_SW_CiscoRanghel Soto Espinoza
 
CCNA Lab 1-Configuring a Switch Part I
CCNA Lab 1-Configuring a Switch Part ICCNA Lab 1-Configuring a Switch Part I
CCNA Lab 1-Configuring a Switch Part IAmir Jafari
 
Ies5000 config guide
Ies5000 config guideIes5000 config guide
Ies5000 config guideAdvanced comm
 
CCNA 2 Routing and Switching v5.0 Chapter 11
CCNA 2 Routing and Switching v5.0 Chapter 11CCNA 2 Routing and Switching v5.0 Chapter 11
CCNA 2 Routing and Switching v5.0 Chapter 11Nil Menon
 

Mais procurados (18)

Day 13.1..1 catalyst switch
Day 13.1..1 catalyst switchDay 13.1..1 catalyst switch
Day 13.1..1 catalyst switch
 
Eigrp authentication
Eigrp authenticationEigrp authentication
Eigrp authentication
 
Ccna lab manual
Ccna lab manual Ccna lab manual
Ccna lab manual
 
Aironet
AironetAironet
Aironet
 
Ies5000 usg
Ies5000 usgIes5000 usg
Ies5000 usg
 
Chapter 02 - Configuring a Network Operating System
Chapter 02 - Configuring a Network Operating SystemChapter 02 - Configuring a Network Operating System
Chapter 02 - Configuring a Network Operating System
 
CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3CCNA 1 Routing and Switching v5.0 Chapter 3
CCNA 1 Routing and Switching v5.0 Chapter 3
 
CCNAv5 - S1: Chapter 10 Application Layer
CCNAv5 - S1: Chapter 10 Application LayerCCNAv5 - S1: Chapter 10 Application Layer
CCNAv5 - S1: Chapter 10 Application Layer
 
CCNA R&S-09-Configuring Ethernet Switching
CCNA R&S-09-Configuring Ethernet SwitchingCCNA R&S-09-Configuring Ethernet Switching
CCNA R&S-09-Configuring Ethernet Switching
 
Practica_Configuracion_Basica_SW_Cisco
Practica_Configuracion_Basica_SW_CiscoPractica_Configuracion_Basica_SW_Cisco
Practica_Configuracion_Basica_SW_Cisco
 
CCNA Lab 1-Configuring a Switch Part I
CCNA Lab 1-Configuring a Switch Part ICCNA Lab 1-Configuring a Switch Part I
CCNA Lab 1-Configuring a Switch Part I
 
Zxdsl 9210 guide
Zxdsl 9210 guideZxdsl 9210 guide
Zxdsl 9210 guide
 
520scg basic
520scg basic520scg basic
520scg basic
 
Icnd210 s01l02
Icnd210 s01l02Icnd210 s01l02
Icnd210 s01l02
 
Ies5000 config guide
Ies5000 config guideIes5000 config guide
Ies5000 config guide
 
Icnd210 s02l02
Icnd210 s02l02Icnd210 s02l02
Icnd210 s02l02
 
CCNA 2 Routing and Switching v5.0 Chapter 11
CCNA 2 Routing and Switching v5.0 Chapter 11CCNA 2 Routing and Switching v5.0 Chapter 11
CCNA 2 Routing and Switching v5.0 Chapter 11
 
Icnd210 s02l03
Icnd210 s02l03Icnd210 s02l03
Icnd210 s02l03
 

Semelhante a Configuring S7 Connections Between S7-300 and S7-400

All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docxAll contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docxgalerussel59292
 
Siemens gh cp443-1_76
Siemens gh cp443-1_76Siemens gh cp443-1_76
Siemens gh cp443-1_76Den Mba
 
Plc-s7-1200-opc-to-pc-connection-guide
Plc-s7-1200-opc-to-pc-connection-guidePlc-s7-1200-opc-to-pc-connection-guide
Plc-s7-1200-opc-to-pc-connection-guideBùi Thể
 
Virtualizing the Network to enable a Software Defined Infrastructure (SDI)
Virtualizing the Network to enable a Software Defined Infrastructure (SDI)Virtualizing the Network to enable a Software Defined Infrastructure (SDI)
Virtualizing the Network to enable a Software Defined Infrastructure (SDI)Odinot Stanislas
 
Lab- Full IPsec Implementation.pdf
Lab- Full IPsec Implementation.pdfLab- Full IPsec Implementation.pdf
Lab- Full IPsec Implementation.pdfNesibusami
 
Plc s7-1200-opc-to-pc-connection-guide
Plc s7-1200-opc-to-pc-connection-guidePlc s7-1200-opc-to-pc-connection-guide
Plc s7-1200-opc-to-pc-connection-guideTrung Le
 
Phan mem plc s7 1200 opc simatic-net-e
Phan mem plc s7 1200 opc simatic-net-ePhan mem plc s7 1200 opc simatic-net-e
Phan mem plc s7 1200 opc simatic-net-eBùi Thể
 
5.3.1.2 packet tracer skills integration challenge instructions
5.3.1.2 packet tracer   skills integration challenge instructions5.3.1.2 packet tracer   skills integration challenge instructions
5.3.1.2 packet tracer skills integration challenge instructionsJose Luis Heredia
 
Hướng dẫn cài đặt switch planet layer 3
Hướng dẫn cài đặt switch planet layer 3Hướng dẫn cài đặt switch planet layer 3
Hướng dẫn cài đặt switch planet layer 33c telecom
 
Configuring wireless lan access
Configuring wireless lan accessConfiguring wireless lan access
Configuring wireless lan accessdevidmakk
 
versa router teletronics
versa router teletronicsversa router teletronics
versa router teletronicsguestd33e17a
 
CCNAv5 - S4: Chapter 4 Frame Relay
CCNAv5 - S4: Chapter 4 Frame RelayCCNAv5 - S4: Chapter 4 Frame Relay
CCNAv5 - S4: Chapter 4 Frame RelayVuz Dở Hơi
 
Cn instructor ppt_chapter4_final
Cn instructor ppt_chapter4_finalCn instructor ppt_chapter4_final
Cn instructor ppt_chapter4_finalLeoo Romo
 
103320664 eigrp-sba
103320664 eigrp-sba103320664 eigrp-sba
103320664 eigrp-sbajlvive
 
Isolated IntegrationISSConference2
Isolated IntegrationISSConference2Isolated IntegrationISSConference2
Isolated IntegrationISSConference2Chris Ryan
 
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02Abhilash Kuniyil
 
Chapter 15 : routing concepts
Chapter 15 : routing conceptsChapter 15 : routing concepts
Chapter 15 : routing conceptsteknetir
 
Chapter 13 : Introduction to switched networks
Chapter 13 : Introduction to switched networksChapter 13 : Introduction to switched networks
Chapter 13 : Introduction to switched networksteknetir
 

Semelhante a Configuring S7 Connections Between S7-300 and S7-400 (20)

All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docxAll contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
All contents are Copyright © 1992–2012 Cisco Systems, Inc. A.docx
 
Siemens gh cp443-1_76
Siemens gh cp443-1_76Siemens gh cp443-1_76
Siemens gh cp443-1_76
 
Plc-s7-1200-opc-to-pc-connection-guide
Plc-s7-1200-opc-to-pc-connection-guidePlc-s7-1200-opc-to-pc-connection-guide
Plc-s7-1200-opc-to-pc-connection-guide
 
Virtualizing the Network to enable a Software Defined Infrastructure (SDI)
Virtualizing the Network to enable a Software Defined Infrastructure (SDI)Virtualizing the Network to enable a Software Defined Infrastructure (SDI)
Virtualizing the Network to enable a Software Defined Infrastructure (SDI)
 
Lab- Full IPsec Implementation.pdf
Lab- Full IPsec Implementation.pdfLab- Full IPsec Implementation.pdf
Lab- Full IPsec Implementation.pdf
 
CCNA Icnd110 cag
CCNA Icnd110 cagCCNA Icnd110 cag
CCNA Icnd110 cag
 
Plc s7-1200-opc-to-pc-connection-guide
Plc s7-1200-opc-to-pc-connection-guidePlc s7-1200-opc-to-pc-connection-guide
Plc s7-1200-opc-to-pc-connection-guide
 
Phan mem plc s7 1200 opc simatic-net-e
Phan mem plc s7 1200 opc simatic-net-ePhan mem plc s7 1200 opc simatic-net-e
Phan mem plc s7 1200 opc simatic-net-e
 
5.3.1.2 packet tracer skills integration challenge instructions
5.3.1.2 packet tracer   skills integration challenge instructions5.3.1.2 packet tracer   skills integration challenge instructions
5.3.1.2 packet tracer skills integration challenge instructions
 
Hướng dẫn cài đặt switch planet layer 3
Hướng dẫn cài đặt switch planet layer 3Hướng dẫn cài đặt switch planet layer 3
Hướng dẫn cài đặt switch planet layer 3
 
Configuring wireless lan access
Configuring wireless lan accessConfiguring wireless lan access
Configuring wireless lan access
 
versa router teletronics
versa router teletronicsversa router teletronics
versa router teletronics
 
CCNAv5 - S4: Chapter 4 Frame Relay
CCNAv5 - S4: Chapter 4 Frame RelayCCNAv5 - S4: Chapter 4 Frame Relay
CCNAv5 - S4: Chapter 4 Frame Relay
 
Cn instructor ppt_chapter4_final
Cn instructor ppt_chapter4_finalCn instructor ppt_chapter4_final
Cn instructor ppt_chapter4_final
 
Vpn
VpnVpn
Vpn
 
103320664 eigrp-sba
103320664 eigrp-sba103320664 eigrp-sba
103320664 eigrp-sba
 
Isolated IntegrationISSConference2
Isolated IntegrationISSConference2Isolated IntegrationISSConference2
Isolated IntegrationISSConference2
 
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
Labpractice1 configuringbasicroutingandswitchingwithanswer-121214084802-phpapp02
 
Chapter 15 : routing concepts
Chapter 15 : routing conceptsChapter 15 : routing concepts
Chapter 15 : routing concepts
 
Chapter 13 : Introduction to switched networks
Chapter 13 : Introduction to switched networksChapter 13 : Introduction to switched networks
Chapter 13 : Introduction to switched networks
 

Mais de Bùi Thể

Cảm biến áp suất MPS
Cảm biến áp suất MPSCảm biến áp suất MPS
Cảm biến áp suất MPSBùi Thể
 
Cảm biến áp suất P250
Cảm biến áp suất P250Cảm biến áp suất P250
Cảm biến áp suất P250Bùi Thể
 
Cảm biến mức LR400
Cảm biến mức LR400Cảm biến mức LR400
Cảm biến mức LR400Bùi Thể
 
Cảm biến áp suất-sitrans p250
Cảm biến áp suất-sitrans p250Cảm biến áp suất-sitrans p250
Cảm biến áp suất-sitrans p250Bùi Thể
 
Cảm biến áp suất-sitranspz
Cảm biến áp suất-sitranspzCảm biến áp suất-sitranspz
Cảm biến áp suất-sitranspzBùi Thể
 
Cam bien-ap-suat-phan2
Cam bien-ap-suat-phan2Cam bien-ap-suat-phan2
Cam bien-ap-suat-phan2Bùi Thể
 
cảm biến áp suất -phan1
cảm biến áp suất -phan1cảm biến áp suất -phan1
cảm biến áp suất -phan1Bùi Thể
 
PLC S7- 300 module data_manual_en-us_en-us
PLC S7- 300 module data_manual_en-us_en-usPLC S7- 300 module data_manual_en-us_en-us
PLC S7- 300 module data_manual_en-us_en-usBùi Thể
 
Giao trinh-plc-s7-1200-easy book
Giao trinh-plc-s7-1200-easy bookGiao trinh-plc-s7-1200-easy book
Giao trinh-plc-s7-1200-easy bookBùi Thể
 
Tai lieu plc s7 200
Tai lieu plc s7 200Tai lieu plc s7 200
Tai lieu plc s7 200Bùi Thể
 
Tai lieu plc s7 1200
Tai lieu plc s7 1200Tai lieu plc s7 1200
Tai lieu plc s7 1200Bùi Thể
 
Tai lieu plc s7 300
Tai lieu plc s7 300Tai lieu plc s7 300
Tai lieu plc s7 300Bùi Thể
 
Tai lieu plc s7 300
Tai lieu plc s7 300Tai lieu plc s7 300
Tai lieu plc s7 300Bùi Thể
 

Mais de Bùi Thể (13)

Cảm biến áp suất MPS
Cảm biến áp suất MPSCảm biến áp suất MPS
Cảm biến áp suất MPS
 
Cảm biến áp suất P250
Cảm biến áp suất P250Cảm biến áp suất P250
Cảm biến áp suất P250
 
Cảm biến mức LR400
Cảm biến mức LR400Cảm biến mức LR400
Cảm biến mức LR400
 
Cảm biến áp suất-sitrans p250
Cảm biến áp suất-sitrans p250Cảm biến áp suất-sitrans p250
Cảm biến áp suất-sitrans p250
 
Cảm biến áp suất-sitranspz
Cảm biến áp suất-sitranspzCảm biến áp suất-sitranspz
Cảm biến áp suất-sitranspz
 
Cam bien-ap-suat-phan2
Cam bien-ap-suat-phan2Cam bien-ap-suat-phan2
Cam bien-ap-suat-phan2
 
cảm biến áp suất -phan1
cảm biến áp suất -phan1cảm biến áp suất -phan1
cảm biến áp suất -phan1
 
PLC S7- 300 module data_manual_en-us_en-us
PLC S7- 300 module data_manual_en-us_en-usPLC S7- 300 module data_manual_en-us_en-us
PLC S7- 300 module data_manual_en-us_en-us
 
Giao trinh-plc-s7-1200-easy book
Giao trinh-plc-s7-1200-easy bookGiao trinh-plc-s7-1200-easy book
Giao trinh-plc-s7-1200-easy book
 
Tai lieu plc s7 200
Tai lieu plc s7 200Tai lieu plc s7 200
Tai lieu plc s7 200
 
Tai lieu plc s7 1200
Tai lieu plc s7 1200Tai lieu plc s7 1200
Tai lieu plc s7 1200
 
Tai lieu plc s7 300
Tai lieu plc s7 300Tai lieu plc s7 300
Tai lieu plc s7 300
 
Tai lieu plc s7 300
Tai lieu plc s7 300Tai lieu plc s7 300
Tai lieu plc s7 300
 

Último

4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPCeline George
 

Último (20)

4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
How to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERPHow to do quick user assign in kanban in Odoo 17 ERP
How to do quick user assign in kanban in Odoo 17 ERP
 

Configuring S7 Connections Between S7-300 and S7-400

  • 1. Table of Contents Table of Contents 1 Introduction........................................................................................................ 4 2 Configuration ..................................................................................................... 5 2.1 Configuring CP343-1 and CP443-1 Advanced .................................... 5 2.1.1 Assigning IP addresses to CP343-1 and CP443-1 Advanced ............. 5 2.1.2 Entering the IP address of CP343-1 in the Hardware Configuration and downloading the configuration into the CPU................................. 8 2.1.3 Entering the IP address of CP443-1 Advanced in the Hardware Configuration and downloading the configuration into the CPU ........ 10 2.2 Configuring the S7 Connection Bilaterally.......................................... 13 2.2.1 Configuring a specified S7 connection............................................... 14 2.2.2 Configuring an unspecified S7 connection......................................... 19 Configuring an unspecified S7 connection for the S7-300................. 19 Configuring an unspecified S7 connection for the S7-400................. 22 2.3 Configuring the S7 Connection Unilaterally ....................................... 27 2.3.1 Configuring an S7 connection unilaterally for the S7-300.................. 27 2.3.2 Configuring an S7 connection unilaterally for the S7-400.................. 31 Technical instructions on configuring an S7 connection V1.0, Item ID: 17628518 3 http://eyeteck.vn
  • 2. 1 Introduction 1 Introduction You can use the S7 communication through S7 connections for data exchange by way of the Industrial Ethernet CPs of S7-300 and S7-400. In this example an S7-300 is connected over the PROFINET interface of the CP343-1 on the subnetwork 172.16.0.0. The S7-400 on the other hand is connected over the GBIT interface of the CP443-1 Advanced on the subnetwork 172.16.0.0. The PROFINET interface of the CP443-1 Advanced is connected on the subnetwork 192.168.99.0. Configuration overview Figure 1-1 shows an overview of the configuration. Figure 1-1 S7-300 S7-400 CP343-1 CP443-1 Advanced IP address PROFINET interface: S7 connection 192.168.99.121 subnet mask: 255.255.255.0 IP address: 172.16.43.2 IP address Gigabit interface: subnet mask: 255.255.0.0 172.16.49.99 subnet mask: 255.255.0.0 SCALALANCE X Technical instructions on configuring an S7 connection 4 V1.0, Item ID: 17628518 http://eyeteck.vn
  • 3. 2 Configuration 2 Configuration Below we describe how to configure an S7 connection for bilateral exchange of data by way of the Industrial Ethernet CPs of S7-300 and S7-400. The S7 connection is configured bilaterally in the S7-300 and in the S7-400. 2.1 Configuring CP343-1 and CP443-1 Advanced 2.1.1 Assigning IP addresses to CP343-1 and CP443-1 Advanced The following IP addresses are used in this configuration. Table 2-1 Industrial Ethernet CP Interface IP address Subnet mask CP343-1 PROFINET 172.16.43.2 255.255.0.0 CP443-1 Advanced PROFINET 192.168.99.121 255.255.255.0 CP443-1 Advanced GBIT 172.16.49.99 255.255.0.0 Assign the IP addresses to CP343-1 and CP443-1 Advanced. Follow the instructions below for assigning the IP addresses. Technical instructions on configuring an S7 connection V1.0, Item ID: 17628518 5 http://eyeteck.vn
  • 4. 2 Configuration Table 2-2 No. Configuration step Note 1. Connect the SIMATIC Field PG on which the configuration created with STEP 7 is stored to the PROFINET interface of CP343-1. In Windows network settings  LAN (Local Area Network) of the SIMATIC Field PG you enter an IP address that is in the same subnetwork as that of CP343-1. In this example the IP address 172.16.43.100 and subnetwork mask 255.255.0.0 are used for the SIMATIC Field PG. 2. In the SIMATIC Manager you open the STEP 7 project that contains the configurations of S7-300 and S7-400 between which the data is to be exchanged over an S7 connection. By means of the menu PLC  Edit Ethernet Node you open the "Edit Ethernet Node" dialog. Technical instructions on configuring an S7 connection 6 V1.0, Item ID: 17628518 http://eyeteck.vn
  • 5. 2 Configuration No. Configuration step Note 3. In the "Edit Ethernet Node" dialog you click the "Browse..." button and select the MAC address of CP343-1. 4. Enter the IP address and subnet mask of CP343-1. Click the "Assign IP Configuration" button to assign the IP address entered to CP343-1. Then click the "Close" button to close the "Edit Ethernet Node" dialog. 5. Enter the assigned IP address in the See section 2.1.2 Hardware Configuration of the S7- 300 station and download the configuration into the S7-300 CPU. Technical instructions on configuring an S7 connection V1.0, Item ID: 17628518 7 http://eyeteck.vn
  • 6. 2 Configuration No. Configuration step Note 6. Connect the SIMATIC Field PG on which the configuration created with STEP 7 is stored to the PROFINET interface of CP443-1 Advanced. In Windows network settings  LAN (Local Area Network) of the SIMATIC Field PG you enter an IP address that is in the same subnetwork as that of CP443-1. In this example the IP address 192.168.99.100 and subnetwork mask 255.255.255.0 are used for the SIMATIC Field PG. 7. Repeat configuration steps 2 to 4 to assign the IP address 192.168.99.121 and subnet mask 255.255.255.0 to CP443-1 Advanced. 8. Enter the assigned IP address in the See section 2.1.3 Hardware Configuration of the S7- 400 station and download the configuration into the S7-400 CPU. 2.1.2 Entering the IP address of CP343-1 in the Hardware Configuration and downloading the configuration into the CPU After you have assigned the IP address 172.16.43.2 and subnet mask 255.255.0.0 to CP343-1 you enter the assigned IP address in the Hardware Configuration. Technical instructions on configuring an S7 connection 8 V1.0, Item ID: 17628518 http://eyeteck.vn
  • 7. 2 Configuration Table 2-3 No. Configuration step Note 1. In the SIMATIC Manager you mark the SIMATIC S7 300 station and double-click "Hardware" in order to open the Hardware Configuration of the S7-300 station. 2. In the Hardware Configuration of S7- 300 you double-click the PROFINET interface of CP343-1. The Properties dialog of the PROFINET interface opens. 3. In the Properties dialog of the PROFINET interface you click the "Properties..." button to open the "Properties - Ethernet interface PN- IO" dialog. Technical instructions on configuring an S7 connection V1.0, Item ID: 17628518 9 http://eyeteck.vn
  • 8. 2 Configuration No. Configuration step Note 4. Enter the IP address 172.16.43.2 and the subnet mask 255.255.0.0. Activate the "Set MAC address / Use ISO protocol" function and enter the MAC address 00-0E-8C-D9-F0-1D of CP343-1. Assign an existing subnet to CP343-1 or click the "New..." button to create a new subnet. Apply the settings with "OK". 5. Save and compile the hardware configuration of the S7-300 and then load the configuration into the S7-300 CPU. Save and Compile download 2.1.3 Entering the IP address of CP443-1 Advanced in the Hardware Configuration and downloading the configuration into the CPU After you have assigned the IP address 192.168.99.121 and subnet mask 255.255.255.0 to CP343-1 you enter the assigned IP address in the Hardware Configuration. Technical instructions on configuring an S7 connection 10 V1.0, Item ID: 17628518 http://eyeteck.vn
  • 9. 2 Configuration Table 2-4 No. Configuration step Note 1. In the SIMATIC Manager you mark the SIMATIC S7 400 station and double-click "Hardware" in order to open the Hardware Configuration of the S7-400 station. 2. In the Hardware Configuration of S7- 400 you double-click the PROFINET interface of CP443-1 Advanced. The Properties dialog of the PROFINET interface opens. 3. In the Properties dialog of the PROFINET interface you click the "Properties..." button to open the "Properties - Ethernet interface PN- IO" dialog. Technical instructions on configuring an S7 connection V1.0, Item ID: 17628518 11 http://eyeteck.vn
  • 10. 2 Configuration No. Configuration step Note 4. Enter the IP address 192.168.99.121 and the subnet mask 255.255.255.0. Assign a subnet to the PROFINET interface of CP443-1 Advanced. In this example the subnet assigned to the PROFINET interface of CP443- 1 Advanced is different to that assigned to the PROFINET interface of CP343-1. Apply the settings with "OK". 5. In the Hardware Configuration of S7- 400 you double-click the GBIT interface of CP443-1 Advanced. The Properties dialog of the GBIT interface opens. 6. In the Properties dialog of the GBIT interface you click the "Properties..." button to open the "Properties - Ethernet interface GBIT" dialog. Technical instructions on configuring an S7 connection 12 V1.0, Item ID: 17628518 http://eyeteck.vn
  • 11. 2 Configuration No. Configuration step Note 7. Activate the "Set MAC address / Use ISO protocol" function and enter the MAC address 00-0E-8C-DB-D2-98 of CP443-1 Advanced. Enter the IP address 172.16.49.99 and the subnet mask 255.255.0.0. Assign the same subnet to the GBIT interface of CP443-1 Advanced as to the PROFINET interface of CP343-1. Apply the settings with "OK". 8. Save and compile the hardware configuration of the S7-400 and then load the configuration into the S7-400 CPU. Save and compile download 2.2 Configuring the S7 Connection Bilaterally Once you have completed configuration of CP343-1 and CP443-1 Advanced and have downloaded the hardware configuration into the S7-300 CPU and the S7-400 CPU, then you configure the S7 connection for data exchange between S7-300 and S7-400 by way of Industrial Ethernet CPs. The function blocks and system functions below are used for data exchange by way of S7 connections configured bilaterally in S7-300 and S7-400.  FB/SFB12 "BSEND" and FB/SFB13 "BRCV"  FB/SFB8 "USEND" and FB9 "URCV"  FB/SFB14 "GET" and FB/SFB15 "PUT" Technical instructions on configuring an S7 connection V1.0, Item ID: 17628518 13 http://eyeteck.vn
  • 12. 2 Configuration Note If you use the BSEND and BRCV or USEND and URCV services for data transfer, you must configure the S7 connection bilaterally for S7-300 and S7-400, because the services are based on the client-client principle. You can use the PUT and GET services for data transfer by way of S7 connections configured unilaterally as well as by way of S7 connections configured bilaterally. They are based on the client-server principle. Below we describe how to configure a specified and an unspecified S7 connection for S7-300 and S7-400. 2.2.1 Configuring a specified S7 connection If the S7-300 and S7-400 between which there is data exchange are configured in the same STEP 7 project, then you configure a specified S7 connection. The connection parameters below are used for the S7 connection in this example. Table 2-5 Connection parameters S7-300 S7-400 Connection partners S7-400 CPU S7-300 CPU Connection type S7 connection S7 connection IP address 172.16.43.2 172.16.49.99 MAC address 00-0E-8C-D9-F0-1D 00-0E-8C-DB-D2-98 Partner IP address 172.16.49.99 172.16.43.2 Partner MAC address 00-0E-8C-DB-D2-98 00-0E-8C-D9-F0-1D Connection setup Active Passive ID (connection number) 2 2 LADDR W#16#0100 W#16#3FFA (module start address) Local TSAP 10.04 11.02 Partner TSAP 11.02 10.04 Technical instructions on configuring an S7 connection 14 V1.0, Item ID: 17628518 http://eyeteck.vn
  • 13. 2 Configuration Follow the instructions below to configure a specified S7 connection. Table 2-6 No. Configuration step Note 1. In the SIMATIC Manager you open the STEP 7 project that contains the configurations of S7-300 and/or S7- 400 between which the data is to be exchanged over an S7 connection. By means of the menu Options  Configure Network you open NetPro where you configure the S7 connection. 2. Mark the CPU of the SIMATIC 300 station and create a new connection by means of the menu Insert  New Connection…. Technical instructions on configuring an S7 connection V1.0, Item ID: 17628518 15 http://eyeteck.vn
  • 14. 2 Configuration No. Configuration step Note 3. You configure the connection partner and the type of connection in the "Insert New Connection" dialog. Select the S7-400 CPU as connection partner. Select "S7 connection" as the connection type. Then click the "Apply" button to open the Properties dialog of the S7 connection. 4. In the Properties dialog of the S7 connection  "General" tab you determine the connection number by means of the block parameter "ID". You specify the connection number at the "ID" input parameter of the function blocks or system functions used for sending and receiving the data. The function blocks and system functions are called in the user program of the CPU. Activate the function "Active connection establishment" because the S7-300 actively establishes the S7 connection. Technical instructions on configuring an S7 connection 16 V1.0, Item ID: 17628518 http://eyeteck.vn
  • 15. 2 Configuration No. Configuration step Note 5. In the "Properties" dialog of the S7 connection  "General" tab you see that the S7 connection is established between the addresses 00-0E-8C- D9-F0-1D and 00-0E-8C-DB-D2-98, i.e. the data is exchanged between S7-300 and S7-400 via CP343-1 and the GBIT interface of CP443-1. Click on the "Address Details..." button. 6. In the "Address Details" dialog the local connection end point in the S7- 300 and the connection end point in the communication partner are defined with the local TSAP and the partner TSAP respectively. The connection resource "10" and the Slot of the CP in Slot of the CP's rack and slot are specified as the S7-300 station S7-400 CPU the local TSAP in the S7-300 station. local TSAP in the S7-300 station local TSAP in the S7-400 station The connection resource "11" and the rack and slot of the S7-400 CPU are specified as the partner TSAP. Click on the "Close" button to close the dialog. 7. Mark the CPU of the SIMATIC 300 station. The configured S7 connection is now displayed in the connection table. 8. Mark the CPU of the SIMATIC 400 station. The configured S7 connection is now displayed in the connection table. Technical instructions on configuring an S7 connection V1.0, Item ID: 17628518 17 http://eyeteck.vn
  • 16. 2 Configuration No. Configuration step Note 9. Once you have completed the connection configuration, you save and compile the configuration. Mark the SIMATIC 300 station and Save and compile download download the configuration into the S7-300 CPU. Then mark the SIMATIC 400 station and download the configuration into the S7-400 CPU. 10. Call the function blocks below in the You will find function blocks in the library user program of the S7-300. "SIMATIC_NET_CP  CP  CP 300  Blocks".  FB12 "BSEND" and FB13 At the link below is a sample program for the S7-300 "BRCV" or with the call of the function blocks FB12 "BSEND" and  FB8 "USEND" and FB9 "URCV" FB13 "BRCV". or http://support.automation.siemens.com/WW/view/de/18  FB14 "GET" and FB15 "PUT" 516182 At the link below is a sample program for the S7-300 with the call of the function blocks FB8 "BSEND" and FB9 "BRCV". http://support.automation.siemens.com/WW/view/de/22 791526 At the link below is a sample program for the S7-300 with the call of the function blocks FB14 "GET" and FB15 "PUT". http://support.automation.siemens.com/WW/view/de/18 610307 11. Call the system functions below in the These system functions are available in the library user program of the S7-400. "Standard Library  System Function Blocks   SFB12 "BSEND" and SFB13 Blocks". "BRCV" or At the link below is a sample program for the S7-400  SFB8 "USEND" and SFB9 with the call of the system functions SFB14 "GET" and "URCV" or SFB15 "PUT".  SFB14 "GET" and SFB15 "PUT" http://support.automation.siemens.com/WW/view/de/18 19293 Technical instructions on configuring an S7 connection 18 V1.0, Item ID: 17628518 http://eyeteck.vn