Sign in to follow this  
Followers 0
sa747sp

Setting a timer preset from the HMI

2 posts in this topic

Anyone know how to send the timer preset values from the HMI, I want to be able to change a timers preset. HMI is Panel View Plus Software is RSlogix 5000 Thanks

Share this post


Link to post
Share on other sites
You could select the timer structure.PRE tag and write to it directly, realizing that it's in milliseconds. Second method is to create a floating point tag that the HMI accesses, and to scale it and move it into the appropriate timer register. There are two reasons that the PLC option would be better anyway. First, you've got some indirection. You can redirect the value some place else and generally change the code without any effect on the HMI (separation of concerns). Second, you can verify that the value is non-negative, and scale it with a MUL instruction. Theoretically, checking for illegal values is better left handled in the HMI but the reality is that this does not always get done.

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