Sign in to follow this  
Followers 0
engr

To Display Efficiency in HMI MP270B

2 posts in this topic

Dear All I need to calculate the efficiency by following formula eff= total products / schedule time x set speed x 60 this value should be displayed in HMI for total products i have a data block db1.dbd5 which increments when machine runs and i have created new db for efficiency db1.dbd30 as total products db keeps on updating it is difficult to divide and display so please help me to display effiecincy on HMI so guide me step by step to which instruction i should use. Thank you

Share this post


Link to post
Share on other sites
engr; I am would start by setting up a timer in the PLC that resets itself about every 10 seconds or how ever often you need the efficiency calc updated, maybe every 60 seconds. When this timer finished I would have it toggle a bit that would calculate your efficiency. This should let the display keep up. You do not want to do it to often or you will bog down the PLC with coms to the HMI with passing data. If you are using ProTool Pro you can do a Script to do the calc in the HMI. I do not know anything about WinCC, but I figure you can do the same with it. Just setup your script to run every time the above mentioned bit is toggled. If you need more help just PM me and I will try and see If I can help. Larry

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