SlideShare a Scribd company logo
1 of 34
Download to read offline
Automation– and Drive Technology- SCE




           Training document for the company-wide
                          automation solution
                  Totally Integrated Automation (T I A)


                              MODULE D6
                          PROFIBUS DP with
           Master CPU 315-2DP / Slave CPU 315-2DP




T I A Training document           Page 1 of 34                                           Module D6
Last revision: 02/2002                           PROFIBUS DP with Master CPU 315-2DP / CPU 315-2DP
Automation– and Drive Technology- SCE




This document was provided by Siemens A&D SCE (automation and drive technology, Siemens A&D
Cooperates with Education) for training purposes. Siemens does not make any type of guarantee regarding its
contents.

The passing on or duplication of this document, including the use and report of its contents, is only permitted
within public and training facilities.

Exceptions require written permission by Siemens A&D SCE (Mr. Knust: E-Mail:
michael.knust@hvr.siemens.de). Offences are subject to possible payment for damages caused. All rights are
reserved for translation and any case of patenting or GM entry.

We thank the company Michael Dziallas Engineering and the instructors of vocational schools as well as further
persons for the support with the production of the document.




 T I A Training document                            Page 2 of 34                                           Module D6
 Last revision: 02/2002                                            PROFIBUS DP with Master CPU 315-2DP / CPU 315-2DP
Automation– and Drive Technology- SCE



                                                                                                                                            PAGE:

1.               Forward.................................................................................................................       4

2.               Notes to the Operation of the CPU 315-2DP .....................................................                                6

4.               Commissioning the Profibus ( Master CPU 315-2DP / Slave CPU 315-2DP)..                                                         7




The following symbols stand for the specified modules:



                 Information



                 Programming



                 Example exercise



                 Notes




 T I A Training document                                             Page 3 of 34                                                 Module D6
 Last revision: 02/2002                                                                   PROFIBUS DP with Master CPU 315-2DP / CPU 315-2DP
Automation– and Drive Technology- SCE



1.          FORWARD

            The module D6 is assigned content wise to Industrial field bus systems.



                                                        Basics of
                                                 STEP 7- Programming
                                                 2 - 3 days A modules



                                                 Additional functions of
                                                 STEP 7- Programming
                                                  2- 3 days B modules




                      Industrial field bus              Sequencer                        Process
                            systems                   Programming                      visualization
                      2- 3 days D modules          2- 3 days C modules             2- 3 days F modules



                      IT- Communication
                       with SIMATIC S7
                      1- 2 days E modules


            Learning goal:

            In this module, the reader should learn how the PROFIBUS DP is taken into operation with the CPU
            315-2DP as a master and a CPU 315-2DP as a slave. The module shows the principle procedure by
            means of a short example.

            Requirements:

            For the successful use of this module, the following knowledge is assumed:

            ·    Knowledge in the use of Windows 95/98/2000/ME/NT4.0
            ·    Basics of PLC- Programming with STEP 7 (e.g. Module A3 - ‘Startup’
                 PLC programming with STEP 7)
            ·    Basics of the PROFIBUS DP (e.g. Appendix IV – Basics of
                 field bus systems with SIMATIC S7-300)




                            Forward                 Notes                    Commission


 T I A Training document                            Page 4 of 34                                           Module D6
 Last revision: 02/2002                                      PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



           Required hardware and software

           1    PC, Operating system Windows 95/98/2000/ME/NT4.0 with
                - Minimal: 133MHz and 64MB RAM, approx. 65 MB free hard disk space
                - Optimal: 500MHz and 128MB RAM, approx. 65 MB free hard disk space
           2    Software STEP 7 V 5.x
           3    MPI- Interface for the PC (e.g. PC- Adapter)
           4    PLC SIMATIC S7-300 with the CPU 315-2DP with at least one digital in- and output.
                Example configuration:
                - Network: PS 307 2A
                - CPU: CPU 315-2DP
                - Digital inputs: DI 16x DC24V
                - Digital outputs: DO 16x DC24V / 0.5A
           5   PLC SIMATIC S7-300 with the CPU 315-2DP and at least one digital in- and output.
               Example configuration:
                - Power supply: PS 307 2A
                - CPU: CPU 315-2DP
                - Digital inputs: DI 16x DC24V
                - Digital outputs: DO 16x DC24V / 0.5 A
           6    PROFIBUS cable with 2 PROFIBUS slots




                             1 PC                                2 STEP 7




                              3 PC Adapter




                          4 S7-300 with
                                              6 PROFIBUS cable                           5 S7-300 with
                          CPU 315-2DP
                                                                                         CPU 315-2DP




                             Forward               Notes                    Commission


T I A Training document                            Page 5 of 34                                           Module D6
Last revision: 02/2002                                      PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



2.         NOTES FOR THE OPERATION OF THE CPU 315-2DP

            The CPU 315-2DP is a CPU that is made available with an integrated PROFIBUS DP interface.
            For the CPU 315-2DP, the following PROFIBUS protocol profiles are available at your disposal:
            -    DP- Interface as a master or slave in accordance with EN 50170. PROFIBUS-DP (Distributed
                 I/O) is the protocol profile for the connection of distributed I/O/Field equipment with fast reaction
                 time.

            A further characteristic is that the addresses of the in- and output modules can be parameterized by
            this CPU.

            The CPU capability is given with the following data:
            - 16K statements. 48Kbyte RAM (integrated) 80Kbyte RAM
            - 1024 Byte DI/DO
            - 128 Byte AI/AO
            - 0.3 ms / 1K Instructions
            - 64 Counters
            - 128 Timers
            - 2048 memory bits

            Note:          Here, the two CPUs 315-2DP are appointed to the PROFIBUS.
                           One as a master and one as a slave.




                             Forward                   Notes                    Commission


 T I A Training document                                Page 6 of 34                                         Module D6
 Last revision: 02/2002                                        PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



4.         COMMISSIONING THE PROFIBUS ( MASTER CPU 315-2DP / SLAVE CPU 315-2DP )

            In the following example, the commissioning of a mono master system with the CPU315-2DP as a
            master and another CPU 315-2DP as a slave is described.
            For the testing of the configuration, a program will be written in which an input (SET) can be preset in
            each PLC. This byte is transferred over the PROFIBUS to the other PLC and can then be displayed
            over a display byte (DISPLAY).


            Assignment list Master- CPU:
            IB 0      SET                           Input byte
            IB 40     Comm_IB1                      Input communication Byte1
            QB 4      DISPLAY                       Display byte
            QB 40     Comm_QB1                      Output communication Byte1

            Assignment list Slave- CPU:
            IB 0      SET                           Input byte
            IB 40     Comm_EB1                      Input communication Byte1
            QB 4      DISPLAY                       Display byte
            QB 40     Comm_QB1                      Output communication Byte1

            For the connection of the two CPU315-2DP, whereby one is set as a master and the other as a slave,
            the following steps must be followed.




            1.   The central tool in STEP 7 is the SIMATIC Manager, which is opened here with a double click
                 ( ® SIMATIC Manager).




                           Forward                     Notes                    Commission


 T I A Training document                             Page 7 of 34                                             Module D6
 Last revision: 02/2002                                          PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          2.    STEP 7- Programs are administered in projects . Such a project will be created ( ® File
                ® New).




          3.    Give the project the Name CPU315_CPU315 ( ® CPU315_CPU315 ® OK)




                          Forward                  Notes                    Commission


T I A Training document                          Page 8 of 34                                             Module D6
Last revision: 02/2002                                       PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE




           4.   Highlight your project and insert a PROFIBUS Subnet (® CPU315_CPU315 ® Insert ® Subnet
                ® PROFIBUS).




          5.    Then insert a SIMATIC 300-Station (® Insert ® Station ® SIMATIC 300-Station).




                          Forward                Notes                    Commission


T I A Training document                        Page 9 of 34                                             Module D6
Last revision: 02/2002                                     PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          6.    Modify the name of the station to Slave (® Slave).




          7.    Open the configuration tool for the Hardware with a double click (® Hardware).




                          Forward                  Notes                     Commission


T I A Training document                          Page 10 of 34                                            Module D6
Last revision: 02/2002                                       PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE




          8. Open the hardware catalog with a click on the symbol           (®  ).
             There you will see the directories are divided into the following:
             - PROFIBUS-DP, SIMATIC 300, SIMATIC 400 and SIMATIC PC Based Control,
             all module racks, modules and interface modules for the configuration of your hardware
             configuration are made available.
             Insert a Rail with a double click( ® SIMATIC 300 ® RACK-300 ® Rail).




                After the insert, a configurations table for the configuration of the Rack 0 appears automatically.




                          Forward                    Notes                    Commission


T I A Training document                            Page 11 of 34                                            Module D6
Last revision: 02/2002                                         PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          9.    Now all modules can be chosen out of the hardware catalog and inserted into the configuration
                table and are also inserted into your rack.
                To insert, you must click on the name of the respective module, hold the mouse button and Drag
                & Drop the module into a line of the configurations table. We will begin with the power supply
                PS 307 2A (® SIMATIC 300 ® PS-300 ® PS 307 2A).




          Note: If your hardware differs from what is shown above, then you must select the appropriate
          modules from the catalog and insert them into the rack. The part numbers of the individual modules,
          which are found on the components, are indicated in the footer of the catalog.




                          Forward                  Notes                    Commission


T I A Training document                          Page 12 of 34                                            Module D6
Last revision: 02/2002                                       PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



           10. In the next step, we drop the CPU 315-2DP into the second card location. This allows for the
               part number and version of the CPU to be read off. (® SIMATIC 300 ® CPU-300 ® CPU 315-
               2DP ® 6ES7 315-2AF03-0AB0 ® V1.1 ).




          11.   By the entering of the CPU, the following window appears, in which you assign a PROFIBUS
                address to the CPU 315-2DP and must already choose the first PROFIBUS net. When you want
                to alter the parameter of the PROFIBUS net, you must highlight it and then click on Properties
                ( ® Properties).




                          Forward                  Notes                    Commission


T I A Training document                          Page 13 of 34                                            Module D6
Last revision: 02/2002                                       PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



           12. Now you can choose the Highest PROFIBUS Address (here ® 126), the Transmission Rate
               (here ® 1,5 Mbit/s) and the Profile (here ® DP). (® OK).




          13. In the next step we see the input module for 16 inputs on fourth slot. There the order number of
              the module is read off the front (® SIMATIC 300® DI-300 ® SM 321 DI16xDC24V).




          Note: Slot number 3 is reserved for interface modules and remains empty. The order number of the
          module is displayed in the footer of the catalog.




                          Forward                 Notes                    Commission


T I A Training document                         Page 14 of 34                                            Module D6
Last revision: 02/2002                                      PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          14. In the next step we see the output module for 16 outputs on fifth slot. There the order number of
              the module is read off the front (® SIMATIC 300® DO-300 ® SM 322 DO16xDC24V/0.5A).




          Note: The order number of the module is displayed in the footer of the catalog.




                          Forward                  Notes                    Commission


T I A Training document                          Page 15 of 34                                            Module D6
Last revision: 02/2002                                       PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



           15. Choose the PROFIBUS interface ‘DP’ with a double click in order to change it to DP- Slave ( ®
                DP).




           16. Choose Operating Mode and change DP to DP slave (® Operation Mode ® DP slave).




                          Forward                 Notes                    Commission


T I A Training document                         Page 16 of 34                                            Module D6
Last revision: 02/2002                                      PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



           17. In the following dialog the data range for the communication to the master can be set.

                Mode: Master/Slave
                Output range: Q40; Length 1 byte; Consistency by the unit of a word
                Input range: I40; Length 1 byte; Consistency by the unit of a word

                This adjustment is then accepted with OK ( ® OK ).




                          Forward                  Notes                    Commission


T I A Training document                          Page 17 of 34                                            Module D6
Last revision: 02/2002                                       PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          18. The configuration table should first be saved and compiled with a click on         . Then the

                hardware configuration is closed with a click on x ( ®      ® x).




          19. In SIMATIC Manager, a further SIMATIC 300-Station is inserted for the master (® SIMATIC
              Manager ® Insert ® Station ® SIMATIC 300-Station).




                          Forward                   Notes                    Commission


T I A Training document                           Page 18 of 34                                            Module D6
Last revision: 02/2002                                        PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          20. Modify the name of the station to Master. (® Master)




          21. Open the configuration tool for the Hardware with a double click (® Hardware).




                          Forward                Notes                    Commission


T I A Training document                        Page 19 of 34                                            Module D6
Last revision: 02/2002                                     PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE




          22. Open the hardware catalog with a click on the symbol           (®  ).
              There you will see the directories are divided into the following:
              - PROFIBUS-DP, SIMATIC 300, SIMATIC 400 and SIMATIC PC Based Control,
              all module racks, modules and interface modules for the configuration of your hardware
             configuration are made available.
             Insert a Rail with a double click( ® SIMATIC 300 ® RACK-300 ® Rail).




                After the insert, a configurations table for the configuration of the Rack 0 appears automatically.




                          Forward                    Notes                    Commission


T I A Training document                            Page 20 of 34                                            Module D6
Last revision: 02/2002                                         PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          23. Now all modules can be chosen out of the hardware catalog and inserted into the configuration
              table and are also inserted into your rack.
              To insert, you must click on the name of the respective module, hold the mouse button and Drag
              & Drop the module into a line of the configurations table. We will begin with the power supply
              PS 307 2A (® SIMATIC 300 ® PS-300 ® PS 307 2A).




          Note: If your hardware differs from what is shown above, then you must select the appropriate
          modules from the catalog and insert them into the rack. The part numbers of the individual modules,
          which are found on the components, are indicated in the footer of the catalog.




                          Forward                 Notes                    Commission


T I A Training document                         Page 21 of 34                                            Module D6
Last revision: 02/2002                                      PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          24. In the next step, we drop the CPU 315-2DP into the second card location. This allows for the
              part number and version of the CPU to be read off. (® SIMATIC 300 ® CPU-300 ® CPU 315-
              2DP ® 6ES7 315-2AF03-0AB0 ® V1.1 ).




           25. By the entering of the CPU, the following window appears, in which you assign a
               PROFIBUS address to the CPU 315-2DP and must already choose the first PROFIBUS net.
               You can accept the setting. ( ® OK )




                          Forward                Notes                    Commission


T I A Training document                        Page 22 of 34                                            Module D6
Last revision: 02/2002                                     PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          26. In the next step we see the input module for 16 inputs on fourth slot. There the order number of
              the module is read off the front (® SIMATIC 300® DI-300 ® SM 321 DI16xDC24V).




          Note: Slot number 3 is reserved for interface modules and remains empty. The order number of the
          module is displayed in the footer of the catalog.




                          Forward                 Notes                    Commission


T I A Training document                         Page 23 of 34                                            Module D6
Last revision: 02/2002                                      PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          27. In the next step we see the output module for 16 outputs on fifth slot. There the order number of
              the module is read off the front (® SIMATIC 300® DO-300 ® SM 322 DO16xDC24V/0.5A).




          Note: The order number of the module is displayed in the footer of the catalog.




                          Forward                 Notes                    Commission


T I A Training document                         Page 24 of 34                                            Module D6
Last revision: 02/2002                                      PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



           28. Then a bar chart for the Master system is shown to the right of the CPU315-2DP, in which you
               can arrange the PROFIBUS. This happens by clicking the desired module
               (Here the CPU315-2DP as Configured Stations) from the hardware catalog in path
               CPU31x. By Drag & Drop click with the mouse, it can be dropped into the master system
               (® PROFIBUS DP ® Configured Stations ® CPU31x).




                          Forward                 Notes                    Commission


T I A Training document                         Page 25 of 34                                            Module D6
Last revision: 02/2002                                      PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



           29. By the entering of the CPU315-2DP as a slave, the following window is displayed in which you
               must Connect the already configured slave (PROFIBUS- Address 2) to the CPU 315-2DP as
               master ( ® Connect).




           30. After the connection, the CPU315-2DP is entered as an active connection. This connection is
               then accepted with OK ( ® OK ).




                          Forward                 Notes                    Commission


T I A Training document                         Page 26 of 34                                            Module D6
Last revision: 02/2002                                      PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



           31. In the following dialog, the data range can be adjusted for the communication between the
               master and slave.

           From master to slave:
           Mode: Master/Slave
           Output range master: Q40; Length 1 byte; Consistency by the unit of a byte
           Input range slave: I40; Length 1 byte; Consistency by the unit of a byte
           From slave to master:
           Mode: Master/Slave
           Output range slave: Q40; Length 1 byte; Consistency by the unit of a byte
           Input range master: I40; Length 1 byte; Consistency by the unit of a byte
           This adjustment is then accepted with OK ( ® OK ).




                          Forward                  Notes                    Commission


T I A Training document                          Page 27 of 34                                            Module D6
Last revision: 02/2002                                       PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          32. The configuration table should first be saved and compiled with a click on         . Then the

                hardware configuration is closed with a click on x ( ®      ® x).




          33. From the SIMATIC Manager, open the block OB1 for the Slave with a double click ( ® OB1).




                          Forward                   Notes                    Commission


T I A Training document                           Page 28 of 34                                            Module D6
Last revision: 02/2002                                        PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          34. By the properties of the OB1, change the Created in Language to STL and accept with ‘OK’ (®
              STL ®OK).




           35. With LAD, STL, FBD: Program blocks, you now have an editor which gives you the possibilty
               to generate your STEP 7- Program. Here the organization block OB1 was already opened with
               the first network. In order to generate your first logical operation, you must highlight the first
               network. Now you can write your first STEP 7- Program. Several programs can usually be

                divided into networks. Open a new network by clicking on the network symbol           . The STEP

                7- Program to be tested can now be saved with        (®        ).




                          Forward                   Notes                    Commission


T I A Training document                           Page 29 of 34                                            Module D6
Last revision: 02/2002                                        PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          36. From the SIMATIC Manager, open the block OB1 for the Master with a double click ( ® OB1).




          37. By the properties of the OB1, change the Created in Language to STL and accept with ‘OK’ (®
              STL ®OK).




                          Forward               Notes                    Commission


T I A Training document                       Page 30 of 34                                            Module D6
Last revision: 02/2002                                    PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



           38. With LAD, STL, FBD: Program blocks, you now have an editor which gives you the possibilty
               to generate your STEP 7- Program. Here the organization block OB1 was already opened with
               the first network. In order to generate your first logical operation, you must highlight the first
               network. Now you can write your first STEP 7- Program. Several programs can usually be

                divided into networks. Open a new network by clicking on the network symbol           . The STEP

                7- Program to be tested can now be saved with        (®        ).




                Now the configuration and connection of both partners is completed.
                The output word 40 from the master is now written to the slave in input word 40.
                The output word 40 from the slave is now read from the master and written in the input work 40.

          Note: By activation of both CPUs a synchronization error can arise, so that both CPUs show a
                system error (SF) and will go into STOP mode. Therefore it means that both CPUs never
                switch to high at the same time and the beginning run to the slave of the master fails and
                returns.
                By this error, the CPUs try to call the OB82 (Diagnostic alarm). If it is not available, the CPUs
                go into STOP mode! This problem can be repaired by an empty OB82 being downloaded into
                both CPUs.




                          Forward                   Notes                    Commission


T I A Training document                           Page 31 of 34                                            Module D6
Last revision: 02/2002                                        PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



           39. In SIMATIC Manager, choose the folder Blocks to the Master station. Insert a new
                Organization Block (® Master ® SIMATIC Manager ® Blocks ® Insert ® S7 Block ®
                Organization Block ).




           40. Adjust the Name to OB82 and accept with OK (® Name ® OB82 ® OK ).




                          Forward                Notes                     Commission


T I A Training document                         Page 32 of 34                                            Module D6
Last revision: 02/2002                                      PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



           41. In SIMATIC Manager, choose the folder Blocks to the Slave station. Insert a new Organization
                Block (® Master ® SIMATIC Manager ® Blocks ® Insert ® S7 Block ® Organization Block ).




           42. Adjust the Name to OB82 and accept with OK (® Name ® OB82 ® OK )




                          Forward                Notes                     Commission


T I A Training document                         Page 33 of 34                                            Module D6
Last revision: 02/2002                                      PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
Automation– and Drive Technology- SCE



          43. In SIMATIC Manager, download the station Master into the PLC   . The mode switch of the
                CPU must be on STOP and the PC-Adapter must be connected with the MPI interface!

                (® CPU315_2DP ®         ).




          44. In SIMATIC Manager, download the station Slave into the PLC  . The mode switch of the
                CPU must be on STOP and the PC-Adapter must be connected with the MPI interface!

                (® CPU315_2DP ®         ).




          45. Now switch the slave to RUN. If it starts up, then also through the switching of the mode switch
              on the master to RUN, the program is started.

                          Forward                  Notes                    Commission


T I A Training document                          Page 34 of 34                                            Module D6
Last revision: 02/2002                                       PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP

More Related Content

What's hot

What's hot (8)

Architectures for parallel
Architectures for parallelArchitectures for parallel
Architectures for parallel
 
System on chip architectures
System on chip architecturesSystem on chip architectures
System on chip architectures
 
Processors selection
Processors selectionProcessors selection
Processors selection
 
Embedded systems-unit-1
Embedded systems-unit-1Embedded systems-unit-1
Embedded systems-unit-1
 
XMC4000 Brochure
XMC4000 BrochureXMC4000 Brochure
XMC4000 Brochure
 
Oak 0-2011
Oak 0-2011Oak 0-2011
Oak 0-2011
 
21PSP13
21PSP1321PSP13
21PSP13
 
MTE104-L2: Overview of Microcontrollers
MTE104-L2: Overview of MicrocontrollersMTE104-L2: Overview of Microcontrollers
MTE104-L2: Overview of Microcontrollers
 

Viewers also liked

8-sem WEGHING AND BATCHING USING PLC BY MRUNAL VYAS [Autosaved]
8-sem WEGHING AND BATCHING USING PLC BY MRUNAL VYAS [Autosaved]8-sem WEGHING AND BATCHING USING PLC BY MRUNAL VYAS [Autosaved]
8-sem WEGHING AND BATCHING USING PLC BY MRUNAL VYAS [Autosaved]Mrunal Vyas
 
Engineering tools simatic software
Engineering tools   simatic softwareEngineering tools   simatic software
Engineering tools simatic softwareTaufiq Wibowo
 
6ES7331-7KF02-0AB0 manual
6ES7331-7KF02-0AB0 manual6ES7331-7KF02-0AB0 manual
6ES7331-7KF02-0AB0 manualsteven qi
 
Top Ten Programming Mistakes by People New to Siemens
Top Ten Programming Mistakes by People New to SiemensTop Ten Programming Mistakes by People New to Siemens
Top Ten Programming Mistakes by People New to SiemensDMC, Inc.
 
Top Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and TricksTop Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and TricksDMC, Inc.
 

Viewers also liked (8)

CPU
CPUCPU
CPU
 
8-sem WEGHING AND BATCHING USING PLC BY MRUNAL VYAS [Autosaved]
8-sem WEGHING AND BATCHING USING PLC BY MRUNAL VYAS [Autosaved]8-sem WEGHING AND BATCHING USING PLC BY MRUNAL VYAS [Autosaved]
8-sem WEGHING AND BATCHING USING PLC BY MRUNAL VYAS [Autosaved]
 
Engineering tools simatic software
Engineering tools   simatic softwareEngineering tools   simatic software
Engineering tools simatic software
 
6ES7331-7KF02-0AB0 manual
6ES7331-7KF02-0AB0 manual6ES7331-7KF02-0AB0 manual
6ES7331-7KF02-0AB0 manual
 
Lkm
LkmLkm
Lkm
 
Top Ten Programming Mistakes by People New to Siemens
Top Ten Programming Mistakes by People New to SiemensTop Ten Programming Mistakes by People New to Siemens
Top Ten Programming Mistakes by People New to Siemens
 
Top Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and TricksTop Ten Siemens S7 Tips and Tricks
Top Ten Siemens S7 Tips and Tricks
 
20 what’s next
20 what’s next20 what’s next
20 what’s next
 

Similar to D06 cpu315 cpu315_4

Manual software para acionamneto v75
Manual software para acionamneto v75Manual software para acionamneto v75
Manual software para acionamneto v75FTorres Torres
 
Giao trinh tia
Giao trinh tiaGiao trinh tia
Giao trinh tiaTan Ngoc
 
Tai lieu plc s7 300
Tai lieu plc s7 300Tai lieu plc s7 300
Tai lieu plc s7 300Bùi Thể
 
Pcs7 7sj6x 6md63_e_mapping_file
Pcs7 7sj6x 6md63_e_mapping_filePcs7 7sj6x 6md63_e_mapping_file
Pcs7 7sj6x 6md63_e_mapping_fileFTorres Torres
 
Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3WE-IT TUTORIALS
 
Siemens s7-200 new catalogue
Siemens s7-200 new catalogueSiemens s7-200 new catalogue
Siemens s7-200 new catalogueDien Ha The
 
Siemens s7-200 new catalogue
Siemens s7-200 new catalogueSiemens s7-200 new catalogue
Siemens s7-200 new catalogueDien Ha The
 
SIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزSIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزEssosElectronic
 
Simulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLCSimulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLCIRJET Journal
 
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...Christopher Diamantopoulos
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming satyajit patra
 
Bus de datos y Software de DDC
Bus de datos y Software de DDCBus de datos y Software de DDC
Bus de datos y Software de DDCMarketing Donalba
 
Tarjetas de buses de datos DDC: Subsistemas de laboratorio
Tarjetas de buses de datos DDC: Subsistemas de laboratorioTarjetas de buses de datos DDC: Subsistemas de laboratorio
Tarjetas de buses de datos DDC: Subsistemas de laboratorioMarketing Donalba
 
Dsp Based Field Programable Gate Array
Dsp Based Field Programable Gate ArrayDsp Based Field Programable Gate Array
Dsp Based Field Programable Gate Arraydecebems
 

Similar to D06 cpu315 cpu315_4 (20)

Manual software para acionamneto v75
Manual software para acionamneto v75Manual software para acionamneto v75
Manual software para acionamneto v75
 
Giao trinh tia
Giao trinh tiaGiao trinh tia
Giao trinh tia
 
Tai lieu plc s7 300
Tai lieu plc s7 300Tai lieu plc s7 300
Tai lieu plc s7 300
 
Plc operation part 2
Plc operation part 2Plc operation part 2
Plc operation part 2
 
Pcs7 7sj6x 6md63_e_mapping_file
Pcs7 7sj6x 6md63_e_mapping_filePcs7 7sj6x 6md63_e_mapping_file
Pcs7 7sj6x 6md63_e_mapping_file
 
Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3
 
Siemens s7-200 new catalogue
Siemens s7-200 new catalogueSiemens s7-200 new catalogue
Siemens s7-200 new catalogue
 
Siemens s7-200 new catalogue
Siemens s7-200 new catalogueSiemens s7-200 new catalogue
Siemens s7-200 new catalogue
 
SIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنزSIMATIC manager سيماتك منجر سيمنز
SIMATIC manager سيماتك منجر سيمنز
 
WT.PPTX
WT.PPTXWT.PPTX
WT.PPTX
 
Simulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLCSimulation and Modelling of 3-Floor Elevator System using PLC
Simulation and Modelling of 3-Floor Elevator System using PLC
 
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
 
Siemens s7 300 programming
Siemens s7 300 programming Siemens s7 300 programming
Siemens s7 300 programming
 
Bus de datos y Software de DDC
Bus de datos y Software de DDCBus de datos y Software de DDC
Bus de datos y Software de DDC
 
Plc 1
Plc 1Plc 1
Plc 1
 
Ti DSP optimization on Jacinto
Ti DSP optimization on JacintoTi DSP optimization on Jacinto
Ti DSP optimization on Jacinto
 
peeyush tyagi (2)
peeyush tyagi (2)peeyush tyagi (2)
peeyush tyagi (2)
 
Tarjetas de buses de datos DDC: Subsistemas de laboratorio
Tarjetas de buses de datos DDC: Subsistemas de laboratorioTarjetas de buses de datos DDC: Subsistemas de laboratorio
Tarjetas de buses de datos DDC: Subsistemas de laboratorio
 
Dsp Based Field Programable Gate Array
Dsp Based Field Programable Gate ArrayDsp Based Field Programable Gate Array
Dsp Based Field Programable Gate Array
 
MPEG2whitepaper
MPEG2whitepaperMPEG2whitepaper
MPEG2whitepaper
 

Recently uploaded

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityIES VE
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxfnnc6jmgwh
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 

Recently uploaded (20)

The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Decarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a realityDecarbonising Buildings: Making a net-zero built environment a reality
Decarbonising Buildings: Making a net-zero built environment a reality
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptxGenerative AI - Gitex v1Generative AI - Gitex v1.pptx
Generative AI - Gitex v1Generative AI - Gitex v1.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 

D06 cpu315 cpu315_4

  • 1. Automation– and Drive Technology- SCE Training document for the company-wide automation solution Totally Integrated Automation (T I A) MODULE D6 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP T I A Training document Page 1 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / CPU 315-2DP
  • 2. Automation– and Drive Technology- SCE This document was provided by Siemens A&D SCE (automation and drive technology, Siemens A&D Cooperates with Education) for training purposes. Siemens does not make any type of guarantee regarding its contents. The passing on or duplication of this document, including the use and report of its contents, is only permitted within public and training facilities. Exceptions require written permission by Siemens A&D SCE (Mr. Knust: E-Mail: michael.knust@hvr.siemens.de). Offences are subject to possible payment for damages caused. All rights are reserved for translation and any case of patenting or GM entry. We thank the company Michael Dziallas Engineering and the instructors of vocational schools as well as further persons for the support with the production of the document. T I A Training document Page 2 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / CPU 315-2DP
  • 3. Automation– and Drive Technology- SCE PAGE: 1. Forward................................................................................................................. 4 2. Notes to the Operation of the CPU 315-2DP ..................................................... 6 4. Commissioning the Profibus ( Master CPU 315-2DP / Slave CPU 315-2DP).. 7 The following symbols stand for the specified modules: Information Programming Example exercise Notes T I A Training document Page 3 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / CPU 315-2DP
  • 4. Automation– and Drive Technology- SCE 1. FORWARD The module D6 is assigned content wise to Industrial field bus systems. Basics of STEP 7- Programming 2 - 3 days A modules Additional functions of STEP 7- Programming 2- 3 days B modules Industrial field bus Sequencer Process systems Programming visualization 2- 3 days D modules 2- 3 days C modules 2- 3 days F modules IT- Communication with SIMATIC S7 1- 2 days E modules Learning goal: In this module, the reader should learn how the PROFIBUS DP is taken into operation with the CPU 315-2DP as a master and a CPU 315-2DP as a slave. The module shows the principle procedure by means of a short example. Requirements: For the successful use of this module, the following knowledge is assumed: · Knowledge in the use of Windows 95/98/2000/ME/NT4.0 · Basics of PLC- Programming with STEP 7 (e.g. Module A3 - ‘Startup’ PLC programming with STEP 7) · Basics of the PROFIBUS DP (e.g. Appendix IV – Basics of field bus systems with SIMATIC S7-300) Forward Notes Commission T I A Training document Page 4 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 5. Automation– and Drive Technology- SCE Required hardware and software 1 PC, Operating system Windows 95/98/2000/ME/NT4.0 with - Minimal: 133MHz and 64MB RAM, approx. 65 MB free hard disk space - Optimal: 500MHz and 128MB RAM, approx. 65 MB free hard disk space 2 Software STEP 7 V 5.x 3 MPI- Interface for the PC (e.g. PC- Adapter) 4 PLC SIMATIC S7-300 with the CPU 315-2DP with at least one digital in- and output. Example configuration: - Network: PS 307 2A - CPU: CPU 315-2DP - Digital inputs: DI 16x DC24V - Digital outputs: DO 16x DC24V / 0.5A 5 PLC SIMATIC S7-300 with the CPU 315-2DP and at least one digital in- and output. Example configuration: - Power supply: PS 307 2A - CPU: CPU 315-2DP - Digital inputs: DI 16x DC24V - Digital outputs: DO 16x DC24V / 0.5 A 6 PROFIBUS cable with 2 PROFIBUS slots 1 PC 2 STEP 7 3 PC Adapter 4 S7-300 with 6 PROFIBUS cable 5 S7-300 with CPU 315-2DP CPU 315-2DP Forward Notes Commission T I A Training document Page 5 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 6. Automation– and Drive Technology- SCE 2. NOTES FOR THE OPERATION OF THE CPU 315-2DP The CPU 315-2DP is a CPU that is made available with an integrated PROFIBUS DP interface. For the CPU 315-2DP, the following PROFIBUS protocol profiles are available at your disposal: - DP- Interface as a master or slave in accordance with EN 50170. PROFIBUS-DP (Distributed I/O) is the protocol profile for the connection of distributed I/O/Field equipment with fast reaction time. A further characteristic is that the addresses of the in- and output modules can be parameterized by this CPU. The CPU capability is given with the following data: - 16K statements. 48Kbyte RAM (integrated) 80Kbyte RAM - 1024 Byte DI/DO - 128 Byte AI/AO - 0.3 ms / 1K Instructions - 64 Counters - 128 Timers - 2048 memory bits Note: Here, the two CPUs 315-2DP are appointed to the PROFIBUS. One as a master and one as a slave. Forward Notes Commission T I A Training document Page 6 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 7. Automation– and Drive Technology- SCE 4. COMMISSIONING THE PROFIBUS ( MASTER CPU 315-2DP / SLAVE CPU 315-2DP ) In the following example, the commissioning of a mono master system with the CPU315-2DP as a master and another CPU 315-2DP as a slave is described. For the testing of the configuration, a program will be written in which an input (SET) can be preset in each PLC. This byte is transferred over the PROFIBUS to the other PLC and can then be displayed over a display byte (DISPLAY). Assignment list Master- CPU: IB 0 SET Input byte IB 40 Comm_IB1 Input communication Byte1 QB 4 DISPLAY Display byte QB 40 Comm_QB1 Output communication Byte1 Assignment list Slave- CPU: IB 0 SET Input byte IB 40 Comm_EB1 Input communication Byte1 QB 4 DISPLAY Display byte QB 40 Comm_QB1 Output communication Byte1 For the connection of the two CPU315-2DP, whereby one is set as a master and the other as a slave, the following steps must be followed. 1. The central tool in STEP 7 is the SIMATIC Manager, which is opened here with a double click ( ® SIMATIC Manager). Forward Notes Commission T I A Training document Page 7 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 8. Automation– and Drive Technology- SCE 2. STEP 7- Programs are administered in projects . Such a project will be created ( ® File ® New). 3. Give the project the Name CPU315_CPU315 ( ® CPU315_CPU315 ® OK) Forward Notes Commission T I A Training document Page 8 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 9. Automation– and Drive Technology- SCE 4. Highlight your project and insert a PROFIBUS Subnet (® CPU315_CPU315 ® Insert ® Subnet ® PROFIBUS). 5. Then insert a SIMATIC 300-Station (® Insert ® Station ® SIMATIC 300-Station). Forward Notes Commission T I A Training document Page 9 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 10. Automation– and Drive Technology- SCE 6. Modify the name of the station to Slave (® Slave). 7. Open the configuration tool for the Hardware with a double click (® Hardware). Forward Notes Commission T I A Training document Page 10 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 11. Automation– and Drive Technology- SCE 8. Open the hardware catalog with a click on the symbol (® ). There you will see the directories are divided into the following: - PROFIBUS-DP, SIMATIC 300, SIMATIC 400 and SIMATIC PC Based Control, all module racks, modules and interface modules for the configuration of your hardware configuration are made available. Insert a Rail with a double click( ® SIMATIC 300 ® RACK-300 ® Rail). After the insert, a configurations table for the configuration of the Rack 0 appears automatically. Forward Notes Commission T I A Training document Page 11 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 12. Automation– and Drive Technology- SCE 9. Now all modules can be chosen out of the hardware catalog and inserted into the configuration table and are also inserted into your rack. To insert, you must click on the name of the respective module, hold the mouse button and Drag & Drop the module into a line of the configurations table. We will begin with the power supply PS 307 2A (® SIMATIC 300 ® PS-300 ® PS 307 2A). Note: If your hardware differs from what is shown above, then you must select the appropriate modules from the catalog and insert them into the rack. The part numbers of the individual modules, which are found on the components, are indicated in the footer of the catalog. Forward Notes Commission T I A Training document Page 12 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 13. Automation– and Drive Technology- SCE 10. In the next step, we drop the CPU 315-2DP into the second card location. This allows for the part number and version of the CPU to be read off. (® SIMATIC 300 ® CPU-300 ® CPU 315- 2DP ® 6ES7 315-2AF03-0AB0 ® V1.1 ). 11. By the entering of the CPU, the following window appears, in which you assign a PROFIBUS address to the CPU 315-2DP and must already choose the first PROFIBUS net. When you want to alter the parameter of the PROFIBUS net, you must highlight it and then click on Properties ( ® Properties). Forward Notes Commission T I A Training document Page 13 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 14. Automation– and Drive Technology- SCE 12. Now you can choose the Highest PROFIBUS Address (here ® 126), the Transmission Rate (here ® 1,5 Mbit/s) and the Profile (here ® DP). (® OK). 13. In the next step we see the input module for 16 inputs on fourth slot. There the order number of the module is read off the front (® SIMATIC 300® DI-300 ® SM 321 DI16xDC24V). Note: Slot number 3 is reserved for interface modules and remains empty. The order number of the module is displayed in the footer of the catalog. Forward Notes Commission T I A Training document Page 14 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 15. Automation– and Drive Technology- SCE 14. In the next step we see the output module for 16 outputs on fifth slot. There the order number of the module is read off the front (® SIMATIC 300® DO-300 ® SM 322 DO16xDC24V/0.5A). Note: The order number of the module is displayed in the footer of the catalog. Forward Notes Commission T I A Training document Page 15 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 16. Automation– and Drive Technology- SCE 15. Choose the PROFIBUS interface ‘DP’ with a double click in order to change it to DP- Slave ( ® DP). 16. Choose Operating Mode and change DP to DP slave (® Operation Mode ® DP slave). Forward Notes Commission T I A Training document Page 16 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 17. Automation– and Drive Technology- SCE 17. In the following dialog the data range for the communication to the master can be set. Mode: Master/Slave Output range: Q40; Length 1 byte; Consistency by the unit of a word Input range: I40; Length 1 byte; Consistency by the unit of a word This adjustment is then accepted with OK ( ® OK ). Forward Notes Commission T I A Training document Page 17 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 18. Automation– and Drive Technology- SCE 18. The configuration table should first be saved and compiled with a click on . Then the hardware configuration is closed with a click on x ( ® ® x). 19. In SIMATIC Manager, a further SIMATIC 300-Station is inserted for the master (® SIMATIC Manager ® Insert ® Station ® SIMATIC 300-Station). Forward Notes Commission T I A Training document Page 18 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 19. Automation– and Drive Technology- SCE 20. Modify the name of the station to Master. (® Master) 21. Open the configuration tool for the Hardware with a double click (® Hardware). Forward Notes Commission T I A Training document Page 19 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 20. Automation– and Drive Technology- SCE 22. Open the hardware catalog with a click on the symbol (® ). There you will see the directories are divided into the following: - PROFIBUS-DP, SIMATIC 300, SIMATIC 400 and SIMATIC PC Based Control, all module racks, modules and interface modules for the configuration of your hardware configuration are made available. Insert a Rail with a double click( ® SIMATIC 300 ® RACK-300 ® Rail). After the insert, a configurations table for the configuration of the Rack 0 appears automatically. Forward Notes Commission T I A Training document Page 20 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 21. Automation– and Drive Technology- SCE 23. Now all modules can be chosen out of the hardware catalog and inserted into the configuration table and are also inserted into your rack. To insert, you must click on the name of the respective module, hold the mouse button and Drag & Drop the module into a line of the configurations table. We will begin with the power supply PS 307 2A (® SIMATIC 300 ® PS-300 ® PS 307 2A). Note: If your hardware differs from what is shown above, then you must select the appropriate modules from the catalog and insert them into the rack. The part numbers of the individual modules, which are found on the components, are indicated in the footer of the catalog. Forward Notes Commission T I A Training document Page 21 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 22. Automation– and Drive Technology- SCE 24. In the next step, we drop the CPU 315-2DP into the second card location. This allows for the part number and version of the CPU to be read off. (® SIMATIC 300 ® CPU-300 ® CPU 315- 2DP ® 6ES7 315-2AF03-0AB0 ® V1.1 ). 25. By the entering of the CPU, the following window appears, in which you assign a PROFIBUS address to the CPU 315-2DP and must already choose the first PROFIBUS net. You can accept the setting. ( ® OK ) Forward Notes Commission T I A Training document Page 22 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 23. Automation– and Drive Technology- SCE 26. In the next step we see the input module for 16 inputs on fourth slot. There the order number of the module is read off the front (® SIMATIC 300® DI-300 ® SM 321 DI16xDC24V). Note: Slot number 3 is reserved for interface modules and remains empty. The order number of the module is displayed in the footer of the catalog. Forward Notes Commission T I A Training document Page 23 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 24. Automation– and Drive Technology- SCE 27. In the next step we see the output module for 16 outputs on fifth slot. There the order number of the module is read off the front (® SIMATIC 300® DO-300 ® SM 322 DO16xDC24V/0.5A). Note: The order number of the module is displayed in the footer of the catalog. Forward Notes Commission T I A Training document Page 24 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 25. Automation– and Drive Technology- SCE 28. Then a bar chart for the Master system is shown to the right of the CPU315-2DP, in which you can arrange the PROFIBUS. This happens by clicking the desired module (Here the CPU315-2DP as Configured Stations) from the hardware catalog in path CPU31x. By Drag & Drop click with the mouse, it can be dropped into the master system (® PROFIBUS DP ® Configured Stations ® CPU31x). Forward Notes Commission T I A Training document Page 25 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 26. Automation– and Drive Technology- SCE 29. By the entering of the CPU315-2DP as a slave, the following window is displayed in which you must Connect the already configured slave (PROFIBUS- Address 2) to the CPU 315-2DP as master ( ® Connect). 30. After the connection, the CPU315-2DP is entered as an active connection. This connection is then accepted with OK ( ® OK ). Forward Notes Commission T I A Training document Page 26 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 27. Automation– and Drive Technology- SCE 31. In the following dialog, the data range can be adjusted for the communication between the master and slave. From master to slave: Mode: Master/Slave Output range master: Q40; Length 1 byte; Consistency by the unit of a byte Input range slave: I40; Length 1 byte; Consistency by the unit of a byte From slave to master: Mode: Master/Slave Output range slave: Q40; Length 1 byte; Consistency by the unit of a byte Input range master: I40; Length 1 byte; Consistency by the unit of a byte This adjustment is then accepted with OK ( ® OK ). Forward Notes Commission T I A Training document Page 27 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 28. Automation– and Drive Technology- SCE 32. The configuration table should first be saved and compiled with a click on . Then the hardware configuration is closed with a click on x ( ® ® x). 33. From the SIMATIC Manager, open the block OB1 for the Slave with a double click ( ® OB1). Forward Notes Commission T I A Training document Page 28 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 29. Automation– and Drive Technology- SCE 34. By the properties of the OB1, change the Created in Language to STL and accept with ‘OK’ (® STL ®OK). 35. With LAD, STL, FBD: Program blocks, you now have an editor which gives you the possibilty to generate your STEP 7- Program. Here the organization block OB1 was already opened with the first network. In order to generate your first logical operation, you must highlight the first network. Now you can write your first STEP 7- Program. Several programs can usually be divided into networks. Open a new network by clicking on the network symbol . The STEP 7- Program to be tested can now be saved with (® ). Forward Notes Commission T I A Training document Page 29 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 30. Automation– and Drive Technology- SCE 36. From the SIMATIC Manager, open the block OB1 for the Master with a double click ( ® OB1). 37. By the properties of the OB1, change the Created in Language to STL and accept with ‘OK’ (® STL ®OK). Forward Notes Commission T I A Training document Page 30 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 31. Automation– and Drive Technology- SCE 38. With LAD, STL, FBD: Program blocks, you now have an editor which gives you the possibilty to generate your STEP 7- Program. Here the organization block OB1 was already opened with the first network. In order to generate your first logical operation, you must highlight the first network. Now you can write your first STEP 7- Program. Several programs can usually be divided into networks. Open a new network by clicking on the network symbol . The STEP 7- Program to be tested can now be saved with (® ). Now the configuration and connection of both partners is completed. The output word 40 from the master is now written to the slave in input word 40. The output word 40 from the slave is now read from the master and written in the input work 40. Note: By activation of both CPUs a synchronization error can arise, so that both CPUs show a system error (SF) and will go into STOP mode. Therefore it means that both CPUs never switch to high at the same time and the beginning run to the slave of the master fails and returns. By this error, the CPUs try to call the OB82 (Diagnostic alarm). If it is not available, the CPUs go into STOP mode! This problem can be repaired by an empty OB82 being downloaded into both CPUs. Forward Notes Commission T I A Training document Page 31 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 32. Automation– and Drive Technology- SCE 39. In SIMATIC Manager, choose the folder Blocks to the Master station. Insert a new Organization Block (® Master ® SIMATIC Manager ® Blocks ® Insert ® S7 Block ® Organization Block ). 40. Adjust the Name to OB82 and accept with OK (® Name ® OB82 ® OK ). Forward Notes Commission T I A Training document Page 32 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 33. Automation– and Drive Technology- SCE 41. In SIMATIC Manager, choose the folder Blocks to the Slave station. Insert a new Organization Block (® Master ® SIMATIC Manager ® Blocks ® Insert ® S7 Block ® Organization Block ). 42. Adjust the Name to OB82 and accept with OK (® Name ® OB82 ® OK ) Forward Notes Commission T I A Training document Page 33 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP
  • 34. Automation– and Drive Technology- SCE 43. In SIMATIC Manager, download the station Master into the PLC . The mode switch of the CPU must be on STOP and the PC-Adapter must be connected with the MPI interface! (® CPU315_2DP ® ). 44. In SIMATIC Manager, download the station Slave into the PLC . The mode switch of the CPU must be on STOP and the PC-Adapter must be connected with the MPI interface! (® CPU315_2DP ® ). 45. Now switch the slave to RUN. If it starts up, then also through the switching of the mode switch on the master to RUN, the program is started. Forward Notes Commission T I A Training document Page 34 of 34 Module D6 Last revision: 02/2002 PROFIBUS DP with Master CPU 315-2DP / Slave CPU 315-2DP