Jump to content

To Display Efficiency in HMI MP270B


Recommended Posts

Posted
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
Posted
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

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...