Jump to content

Recommended Posts

Posted
I've been tasked with building several "maintenance" related HMI screens in our Wonderware application for systems running on S7-300 and S7-400 PLCs. I'd like to provide an overview of general PLC status for all PLCs, displaying this type of information: LED StatusStatus of Communication to WonderwareI/O FaultsModule faultsetcFirst on my list was LED Status. I found a Siemens tech document describing how to determine the status of each LED on the processor via PLC programming, but it occurs to me that it's pointless to do so for the Run or Stop LED's - if it's not in the Run state, then the code will not execute, therefor the HMI will always display a healthy status for those two LED's. I'm referring to a Siemens document entitled "Programming Example in Ladder Logic, Getting the Status for the CPU LED Indicators." It would be nice to be able to indicate if a PLC was faulted/stopped. Does anybody out there know of a way to do this with Wonderware? I'm fairly new to Siemens and Wonderware (mostly AB and iFix experience), so detailed answers will be much appreciated!
Posted
Hi LED status you can get according documentation , for I/O Faults , Module Faults , PLC restart etc. you have to use required OB and create system alarms ( use set , not = ) Other details : " Diagnostic package PNIODiag for diagnostic evaluation for Profibus DP and Profinet IO" from Siemens Communication status with PLC : use $SYS$Status - I/O Discrete Tag for your Access Name . You can create one pop-up screen " Not Connected" in condition script or simple change one color Sample of script: While false Show ... , While true Hide ... Regards

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...