jeepers52004 Posted August 9, 2015 Report Share Posted August 9, 2015 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 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.