News:
Home
Help
Search
Login
Register
September 29, 2026, 11:45:16 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Host Engineering Forum
»
General Category
»
Do-more CPUs and Do-more Designer Software
»
Timer feature request
« previous
next »
Print
Pages: [
1
]
Author
Topic: Timer feature request (Read 9855 times)
TheGreatMarklar
Jr. Member
Posts: 18
Timer feature request
«
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.
Logged
pbw
Hero Member
Posts: 127
Re: Timer feature request
«
Reply #1 on:
February 25, 2019, 01:41:27 PM »
If you're a C-more HMI, you can use scaling. The Pic is scaled for seconds, but you could do it minutes, hours......
Logged
Bolt
Hero Member
Posts: 598
Re: Timer feature request
«
Reply #2 on:
February 26, 2019, 12:17:29 PM »
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.
Logged
ATU
Internal Dev
Hero Member
Posts: 2126
YKPAIHA
Re: Timer feature request
«
Reply #3 on:
February 26, 2019, 04:41:19 PM »
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.
Logged
franji1
Bit Weenie
Host Moderator
Hero Member
Posts: 3847
Re: Timer feature request
«
Reply #4 on:
February 26, 2019, 08:56:11 PM »
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.
Logged
There are only 10 kinds of people in this world: those who know binary, and those who don't
Print
Pages: [
1
]
« previous
next »
Host Engineering Forum
»
General Category
»
Do-more CPUs and Do-more Designer Software
»
Timer feature request