Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: TheGreatMarklar on February 25, 2019, 01:04:25 PM
-
My project uses some timers that are configured by the user via variables. Programming these timers gets messy because the variable must be in ms, which results in some big numbers when dealing with hours-long timers.
Request: Please add the ability to specify the time unit of the timer preset variable.
-
If you're a C-more HMI, you can use scaling. The Pic is scaled for seconds, but you could do it minutes, hours......
-
You could also have a variable run through a math instruction to create a variableMS for the timer from a variableHR from user. But yes, I have also thought it might be handy at times to be able to change timer variable rate. But that would also get confusing at times.
-
I have been working on a BRX project with hundreds of user programmable timers in hrs min and seconds down to milliseconds. It is far more manageable to keep the stored value in milliseconds and use the HMI to convert the hrs-min-sec setpoint entry to and from milliseconds.
-
The accumulator would have to be REAL to time in Hours. The HMI would have to be configured differently based in the time base of each individual timer.