Documente Academic
Documente Profesional
Documente Cultură
com/WW/view/en/29338956
How is the diagnostic data of the DP diagnostics block FB125 in WinCC flexible visualized?
WinCC flexible ES -- Creating HMI configurations -- Outputting protocols, screens, messages and
documents
How is the diagnostic data of the DP diagnostics block FB125 in WinCC flexible visualized?
Instructions:
Using the diagnostics block FB125 from the S7 project "DP_DIAxx" the individual Profibus users can
be diagnosed in a Profibus subnet. You can download the diagnostics block or the S7 project under
the following Entry ID 387257.
Fig. 01
You find the diagnostics screens adapted to the appropriate operator panels for ProTool and for
WinCC flexible under the following Entry ID 5362473. If the operator panel is not in the download, use
the download of the previous version of the operator panel.
Alternatively you can use the WinCC flexible Library that can be loaded at the end of the entry.
The following description explains how you incorporate the FB125 and the diagnostics screens for
WinCC from the loadable library into your project:
No. Procedure
1 STEP 7 Open Manager
Fig. 02
2 Call function block FB125 in OB1
Call the FB125 including the DB125 in the cyclical program (for example OB1).
Save and close the appropriate block - in the example OB1.
Fig. 03
Fig. 04
Note:
For the Profibus diagnostics the WinCC flexible project must not necessarily be integrated in
STEP 7. The requirement in the WinCC flexible project is the correctly configured connection
to the controller in which the diagnostics block FB125 is called.
4 Opening WinCC flexible project
Note:
Assign a clear user address.
Fig. 05
5 Open WinCC library
Fig. 06
6 Adding WinCC flexible library
Add by "Drag & Drop" the diagnostics screens of the opened library to the folder
"Screens" in the project window.
Add three buttons with the following designations:
- "Diagnostic Overview"
- "Detail Diagnostic"
- "Cable Diagnostic"
In the properties of each button configure under the event "Print" the system function
"ActivateScreen" with the appropriate diagnostics screen.
Add another button in the diagnostics screens, to change to the Start picture.
Fig. 07
7 Transferring project
Note:
You can also use the option package "PLCSIM" to verify the diagnostics block.
Transfer the WinCC flexible project into the operator panel or use the WinCC flexible
PC-Runtime.
Switch the controller into the "RUN"-mode.
Fig. 08
Note:
For the simulation with PLCSIM further illustrations are avoided, because the subsequent
instructions are almost identical.
Fig. 09
Click on the button with the "magnifying glass", to change the screen to "Diagnostics
details".
Fig. 10
Change to the screen "Cabling diagnostics", by clicking on the second button below
see Fig. 09.
Close PLCSIM as well as the WinCC flexible PC Runtime.
Fig. 11
Download:
In the attachment 1 you will find the library described above, available from WinCC flexible 2007.
In Attachment 2 you will find the sample project described above. The current FB125 is available for
downloading under the Entry ID 387257.
Keywords:
Profibus diagnostics, DP Slave diagnostics
Fig. 01
Fig. 02
Fig. 03
Fig. 04
Fig. 05
Fig. 06
Fig. 07
Fig. 08
Fig. 09
Fig. 10
Fig. 11