11/17/2010 12:46 PM | |
Joined: 3/21/2006 Last visit: 4/25/2024 Posts: 10228 Rating: (1181) |
Hello, Look at Monitoring whether OP on STEP 7 is on-line or off-line BR, Hristo Mihalev |
11/30/2010 9:47 AM | |
Joined: 10/7/2005 Last visit: 4/26/2024 Posts: 3004 Rating: (1046) |
Hello @Nick I have a question for you: Is your Panel connected to aDP Master or Profinet I/O controller port of the CPU (NOT MPI)? If so, may I suggest an alternative method for detecting a HMI Panel related comms failure which is the usage of the so called "DP Direct Keys". For this you add the HMI as a DP Slave (or Profinet I/O Device)in the HWconfig of Step 7. You now get the "direct keys" as Profibus (or Profinet) Inputs into the PLC. You now allocate one "direct key" and set it status to 1 upon HMI startup. If the comms fail, the input will automatically turn off (Standard DP slave ehaviour assuming "Watchdog" is ticked in the properties of the DP Slave) and you can use it to stop your conveyor. Alternatively you can use OB86 to detect the DP Slave failure. Either way, the "direct keys" DP Slave method will reactmuch faster than the other method and may be easier to implement(food for thought anyhow). Should this way interest you then you'll find more info on how to configure them in chapter 2.3 of the SIMATIC HMI WinCC flexible 2008 Communication Part 1manual. Last but not least a word of caution: Neither this nor the otherwayarea "safe stop" in the context of machine safety. For that you would need an E-Stop (I'm sure you are aware of this, but thought I mention it anyhow). I hope this helps and pelase let us know the outcome (and make sure to test too that it does what it should not only upon comms failure but also in case the HMIruntime shuts down or is powered off). |
Cheers |
|
12/3/2010 12:32 PM | |
Joined: 10/7/2005 Last visit: 4/26/2024 Posts: 3004 Rating: (1046) |
You're giving up to fast dear @Nick "Direct keys"are a feature that's available to Key Panels as well as Touch Panels and you can use up to 40 "Touch Buttons" as "Direct keys" with the MP277. Have another look at the previously linked manualand make sure to pay heedto the applicable restrictions when using "Direct keys" on a Touch Panel. Just as an afterthought: You currently do have a touch button on the MP which is used to start and stop the conveyor correct? Assuming you can live with the restrictions on Touch Panel related "Direct keys", you can keep the whole applicationneat and simple by doing the following: Change the existing Start/Stop Touch button to a direct key and then use itsProfinet Input instead of the DB or M bit that you are currently using in your logic. If comms now fail, the Input goes off and the conveyor stops. I hope this helps |
Last edited by: fritz at: 12/3/2010 12:44 PMadded afterthought Cheers |
|
This contribution was helpful to1 thankful Users |
12/16/2010 12:09 PM | |
Joined: 11/17/2010 Last visit: 11/25/2020 Posts: 81 Rating: (2) |
Hello Fritz, In your latest post you told me about the direct keys. I have added the direct keys but for the connection check the direct keys are not the right solution. Because the direct keys can only be used under a [BUTTON] with the function [PRESS], the result is that a input (for example I2.0) in the CPU becomes high when you are pressing the button. So when the connection falls, you won't notice it. Because the CPU thinks you aren't pressing it anymore. But i have found an other solution in this document that you earlier mentioned: https://support.automation.siemens.com/WW/llisapi.dll?func=cslib.csinfo&lang=en&objid=18797552&caller=view The area pointer " coordination" provides a life bit to the CPU. The bit continous toggles. With this bit i am able to check my connection at any time! Thank you for your help! Greets Nick |
This contribution was helpful to2 thankful Users |
Follow us on