Sign in to follow this  
Followers 0
hondo

part counter

5 posts in this topic

Does any one out there have a simple way of programming a parts counter? i'm really new to Omron and the help file just isn't cutting it. Basically, i just want to record the # of good parts produced and display on the Hmi. Any advice would be greatly appreciated.

Share this post


Link to post
Share on other sites
show a little more effort....

Share this post


Link to post
Share on other sites
thanks.lol i used your first Cj1 option and it is counting, but it is in hex. what can i do to get the value to decimal? i need to show this value on the Hmi. if this was step 7....i wouldn't be asking. thanks again

Share this post


Link to post
Share on other sites
hondo, If you mean BCD (Binary Coded Decimal) then replace the ++(590) with ++B(594). If you mean Unsigned Decimal(Binary) then what you have is correct in terms of data storage, however, you may be displaying it as Hex. You can usually change the display from Hex to Unsigned Decimal in the HMI itself. Look for the following: Data Storage Type and/or Display Type. Data Storage = UINT(unsigned 1 word) Display Type = Decimal. Hope this helps. P.S. Differentiation "@" will still need to be included in the instruction or selected in the 0.00 contact. Edited by MiniH

Share this post


Link to post
Share on other sites
]\ thanks miniH i'll give it a try and i'll let you know

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