1、2. Notes to the Operation of the CPU 315-2DP 64. Commissioning the Profibus ( Master CPU 315-2DP / Slave CPU 315-2DP) 7The following symbols stand for the specified modules: Information Programming Example exercise Notes1. forwardThe module D6 is assigned content wise to Industrial field bus systems
2、.IT- Communicationwith SIMATIC S71- 2 days E modulesSequencerProgramming2- 3 days C modulesProcessvisualization2- 3 days F modulesAdditional functions ofSTEP 7- Programming2- 3 days B modulesIndustrial field bussystems2- 3 days D modulesBasics ofSTEP 7- Programming2 - 3 days A modulesLearning goal:I
3、n 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 assum
4、ed: 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)Required hardware and software1 PC, Operating system Windo
5、ws 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 space2 Software STEP 7 V 5.x3 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-
6、 and output. Example configuration:- Network: PS 307 2A- CPU: CPU 315-2DP- Digital inputs: DI 16x DC24V- Digital outputs: DO 16x DC24V / 0.5A5 PLC SIMATIC S7-300 with the CPU 315-2DP and at least one digital in- and output. - Power supply: DO 16x DC24V / 0.5 A6 PROFIBUS cable with 2 PROFIBUS slots1
7、PC2 STEP 75 S7-300 with CPU 315-2DP4 S7-300 with 6 PROFIBUS cable2. Notes for the operation of the CPU 315-2DPThe 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- In
8、terface 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.
9、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 bitsNote: Here, the two CPUs 315-2DP are appointed to the PROFIBUS. One as a master and one as
10、a slave.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
11、 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 byteIB 40 Comm_IB1 Input communication Byte1QB 4 DISPLAY Display byteQB 40 Comm_QB1 Output communi
12、cation Byte1Assignment list Slave- CPU:IB 40 Comm_EB1 Input communication Byte1For 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 dou
13、ble click ( SIMATIC Manager).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)4. Highlight your project and insert a PROFIBUS Subnet ( CPU315_CPU315 Insert Subnet PROFIBUS).5. Then insert a SI
14、MATIC 300-Station ( Insert Station SIMATIC 300-Station).6. Modify the name of the station to Slave ( Slave).7. Open the configuration tool for the Hardware with a double click ( Hardware).8. Open the hardware catalog with a click on the symbol ().There you will see the directories are divided into t
15、he 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 t
16、able for the configuration of the Rack 0 appears automatically.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 &
17、 Drop the module into a line of the configurations table. We will begin with the power supply PS 307 2A ( PS-300 PS 307 2A). 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 individ
18、ual modules, which are found on the components, are indicated in the footer of the catalog.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. ( CPU-300 CPU 315-2DP 6ES7 315-2AF03-0AB0 V1.1 ).11. By the e
19、ntering 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).12. Now you can choose
20、 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). Slot numbe
21、r 3 is reserved for interface modules and remains empty. The order number of the module is displayed in the footer of the catalog. 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 ( DO-300 SM 322 DO16xDC24V/0.5A).
22、The order number of the module is displayed in the footer of the catalog.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).17. In the following dialog the data range for the
23、 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; This adjustment is then accepted with OK ( OK ).18. The configuration table should first be saved and compiled with a click on . Then the hardware configu
24、ration is closed with a click on x ( x).19. In SIMATIC Manager, a further SIMATIC 300-Station is inserted for the master ( SIMATIC Manager 20. Modify the name of the station to Master. ( Master)21. Open the configuration tool for the Hardware with a double click (22. Open the hardware catalog with a
25、 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. 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. PS 3
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1