2/4/2012 10:38 AM | |
Joined: 12/22/2006 Last visit: 1/25/2022 Posts: 1742 Rating:
|
Hello, 1) If you want to know the status of a Profinet IO device: Using SFC51 you can read a system status list SSL. The CPU holds a large number of lists which are identified by an ID. In the manual System and Standard functions http://support.automation.siemens.com/WW/view/en/44240604 you will find in chapter 34 how to proceed and the list of IDs. The list 0694 is a list that lets you know if a Profinet IO device is OK not not. If you read the list, you will get one bit per device number where 1=error. From the manual: W#16#0694: Diagnostic status of the expansion units in the central rack / stations of an IO controller system (Status bit = 1: At least one module of the rack/station is disrupted or deactivated)2) If you want to know the presence of an HMI device, supposing you use WinCC Flexible panels and S7 protocols. In the section "connections", you can define so called "Area Pointers". On type of these area pointer is the "coordination area pointer". The "Coordination" area pointer is used to implement the following functions: ● Detecting the startup of the HMI device in the control program ● Detecting the current operating mode of the HMI device in the control program ● Detecting whether the HMI device is ready to communicate in the control program The life bit is inverted by the HMI device at intervals of approximately one second. By querying this bit in the PLC program, you can check whether or not the connection to the HMI device still exists. |
Last edited by: jklm at: 2/4/2012 10:41 AMBest regards |
|
This contribution was helpful to
2 thankful Users |
2/4/2012 10:56 AM | |
Posts: 4 Rating:
|
Dear Expert, Thanks for the reply. Suresh |
2/5/2012 11:04 AM | |
Joined: 10/7/2005 Last visit: 9/1/2024 Posts: 3018 Rating:
|
Just to quickly complement jklm's detailed advise: An example on how to use SFC51 for PN I/O relateddiagnostics can be found below: PROFINET IO – Diagnostics Processing in the User Program In case WinCC or WinCCflexible is used and visualisation of the PN I/O related diagnosticsis desired, the Diagnostic package PNIODiag for diagnostic evaluation for PROFIBUS DP and PROFINET IO is worth having a look at. |
Cheers |
|
4/2/2014 12:39 PM | |
Joined: 9/1/2005 Last visit: 8/12/2024 Posts: 4104 Rating:
|
follow up question published by pici_cis split to a seperate thread with the subjectProfinet node status using CP343-1. Best regards CS Moderator |
My Forum is the place to personalize your profile, |
|
1/20/2017 1:23 PM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4767 Rating:
|
New question published by hariirah1907 is split to a separate thread with the subject CPU1511-1 PN, ready made blocks for PN IO diagnostics. Best regards |
Follow us on