User Manual

Communication via PROFIBUS and PROFINET
3.5 S7 communication
Fieldbuses
Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE
57
Settings at the SIMATIC panel
Procedure
1.
Configure the connection using WinCC flexible
Enter a name for the connection
Set the value in the "Active" column to "On"
Select
"SIMATIC S7 300/400"
as the communication driver.
Set the value in the "Online" column to "On"
2.
Make the following settings for the configured connection:
Select the interface (IF1 B for PROFIBUS, "Ethernet" for PROFINET)
Set the baud rate for PROFIBUS
Assign a bus address (PROFIBUS) or an IP address (PROFINET)
Select S7ONLINE as the access point
If no other control is connected to the inverter, select "Only master on bus"
Select cyclical operation.
3.
ON/OFF1:
Create a variable for the parameter p2900, which refers to the address "Data module
2900 with the data word DBD 0 (data type double word)":
DB2900.DBD 0
You can switch ON/OFF1 on the panel using one or two buttons.
4.
Setpoint
Create a variable for the parameter 1001, which refers to the address "Data module
1001 with the data word DBD 0 (data type real)":
DB1001.DBD 0
You can display it through an I/O field.
5.
Actual value display
Create a variable for the parameter r0021, which refers to the address "Data module
21 with the data word DBD 0 (data type real)":
DB21.DBD 0
You can display it through an I/O field.
6.
Status display
Create a variable for the parameter r0052, which refers to the address "Data module
52 with the data word DBW 0 (data type word)":
DB52.DBW 0
You can display it through an I/O field with a binary display, for example.
You have now made the most important settings in the SIMATIC panel.