Sign in to follow this  
Followers 0
huntercc

S7-300/400 Status to Wonderware

2 posts in this topic

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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0