Hello everyone,
I am looking for the best method to automatically trigger an action from my HMI in TIA Portal (WinCC Comfort). My objective is the following: when a process value appears or updates on the HMI screen, I want to evaluate a specific logic condition. If the condition is true, the system should behave exactly as if the operator pressed the STOP button. If the condition is false, nothing should happen.
So far, I have tried using the process value as a kind of clock on the HMI. On each rising edge, I perform the logical check and, if the result is true, I trigger the STOP command; otherwise I do nothing. This approach works partially, but I am not fully confident that it is the best or safest method.
I would like to know what the recommended practice is in TIA Portal and WinCC for simulating a button press based on a process value. Also, would it be better to implement this logic in the PLC instead of the HMI? Any feedback or best-practice recommendations would be greatly appreciated.
Thank you in advance.
I am looking for the best method to automatically trigger an action from my HMI in TIA Portal (WinCC Comfort). My objective is the following: when a process value appears or updates on the HMI screen, I want to evaluate a specific logic condition. If the condition is true, the system should behave exactly as if the operator pressed the STOP button. If the condition is false, nothing should happen.
So far, I have tried using the process value as a kind of clock on the HMI. On each rising edge, I perform the logical check and, if the result is true, I trigger the STOP command; otherwise I do nothing. This approach works partially, but I am not fully confident that it is the best or safest method.
I would like to know what the recommended practice is in TIA Portal and WinCC for simulating a button press based on a process value. Also, would it be better to implement this logic in the PLC instead of the HMI? Any feedback or best-practice recommendations would be greatly appreciated.
Thank you in advance.