Get help and insight.
Post Reply
User avatar
Posts: 829
Joined: Thu Jan 05, 2012 2:28 pm
Bot?: No
Location: Texas


Post by oakbarn » Wed Jan 03, 2018 6:25 am

In the API you can call a timer value. What is the value format?

What would 5 minutes be?

How about 1 Minute.

BBralley helped me make a Single Timer and Temp on an html that I can run on a screen and see across the room. I am trying to modify it so that the color changes at <= 5 minutes and again at 1 Min,

I will have a countdown timer that is color "lime" until <= 5 when it will turn "red". When it gets to <= 1 minute, the background will turn "yellow".

I just do not know the format of the timer object.value. Seconds? :D

User avatar
Posts: 203
Joined: Sat Mar 27, 2010 3:59 am
Bot?: No
Location: Vancouver, BC or NST, Thailand

Re: timeobject[2].value

Post by bbrally » Sat Jan 06, 2018 4:17 pm

The BCS returns time values in tenths of a second. So 5 minutes would be 5 * 60 * 10 = 3000
Move, copy, clear processes/states: http://manipulator.from-ca.com/
Perform coefficient mods: http://calculator.from-ca.com/
HMI Builder: http://bbrally.altervista.org/GUI/index.html
HMI Builder latest ver: http://bbrally.altervista.org/guibeta/index.html

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests