Jump to content

Recommended Posts

Posted

Hi,

I would like to have a timer box on HMI, so that the user can input a time on it. However, I don't use this timer to count down. Instead, I would like to take the value, and do some calculation with other input values. I can't find the information about how to convert the timer box's time into an int or real value for further calculation. Please help.

Thanks,

Charles

  • MVP 2023
Posted

Both the Preset and Current values of a timer are UINT integers. Just use them directly as you wish or convert them into other types as you would any other integer. I think they are in units of milliseconds.

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
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.