Hello,
I'm just starting up the Unitronics/Unistream learning curve and attempting to map features from Automation Direct PLC programming to Unistream.
One of the first functions I need to replicate is cycle timing. When using the TON, I can subtract the current value from the preset value of the timer to get a "raw" value for cycle time. This comes out as an unsigned integer in milliseconds. I would like to divide that number by 1000 to get the result in seconds. That's simple enough but takes another tag and is limited to the unsigned integer format.
Is there a way to do all the math in floating point to provide fractions of a second (or minute)? When I tried to use a formula, I was unable because the default values for the timer function are unsigned integer which meant I couldn't assign those tags to the variables in the formula editor.
Also, are there count up timer functions?
Like others, I'm new to Unitronics so if I'm missing something, feel free to enlighten me.
Thanks!!
Michael