QUESTION:
How can I configure a CPU 215-2DP as DP slave?
How can I configure a CPU 215-2DP as DP slave?
ANSWER:
This entry describes how to configure a CPU 215-2DP as slave on a CPU 315-2DP as master. STEP 7 V5.x and Micro/WIN 32 V3.x are used for the configuration.
This entry describes how to configure a CPU 215-2DP as slave on a CPU 315-2DP as master. STEP 7 V5.x and Micro/WIN 32 V3.x are used for the configuration.
Configuring in STEP 7 V5
1. Create a new project.
2. Add an S7-300 station to the project.
3. Open the hardware editor.
4. Add the power supply and the CPU 315-2DP. For test purposes, under Properties for the CPU configure the Marker Byte 1 as clock marker.
5. Attach the CPU 215-2DP to the DP segment. The CPU215-2DP is located in the hardware catalog under 字串5
"PROFIBUS DP \DP VO SLAVE\SIMATIC \ S7-200 CPU 215-2DP"
"PROFIBUS DP \DP VO SLAVE\SIMATIC \ S7-200 CPU 215-2DP"
6. You must add an input/output module to the CPU 215-2DP. In this example a "2 bytes out / 2 bytes in" module is used. The module is located in the hardware catalog under
"...\S7-200 CPU 215-2DP\..."
Mark the CPU 215-2DP. Drag-and-drop the module to the open table.
"...\S7-200 CPU 215-2DP\..."
Mark the CPU 215-2DP. Drag-and-drop the module to the open table.
7. Create the addresses for the input and output areas of the slave.
8. Double-click the module and enter the start addresses in the dialog that opens.
9. Enter the memory area in which the CPU 215-2DP is to store the inputs and outputs.
10. Double-click the CPU 215-2DP. The "Properties - DP slave" opens.
11. In the "Parameter Assignment" tab you specify the offset in the V memory of the CPU 215-2DP an. In the example the offset is 5000. This means that the DP inputs are in VB5000 or VB5001 and the DP outputs in VB5002 or VB5003.
12. Set the bus parameters. In the "General" tab click the "PROFIBUS" button. In the dialog that opens go to the "Network Settings" tab.
Note:
In "STEP 7 - Micro / WIN" you can only set the transfer rates to a value of 19.2 Kbaud. But the bus system can and must be much higher (up to 12 Mbaud). The CPU then sets itself automatically to this baud rate. This happens regardless of what has been set in "STEP 7 - Micro / WIN".
字串9
Note:
In "STEP 7 - Micro / WIN" you can only set the transfer rates to a value of 19.2 Kbaud. But the bus system can and must be much higher (up to 12 Mbaud). The CPU then sets itself automatically to this baud rate. This happens regardless of what has been set in "STEP 7 - Micro / WIN".
0




