9/22/2014 11:54 AM | |
Joined: 1/17/2007 Last visit: 8/21/2024 Posts: 1545 Rating: (537) |
I wrote some code to make a 2D linear interpolation block in this thread:- https://www.automation.siemens.com/tf/WW/en/Posts/76267 The code is in SCL, but it would be quite easy to convert it to STL if you wanted to. |
Programming today is the race between software engineers building bigger and better idiot proof programs, and the universe producing bigger and better idiots. |
|
This contribution was helpful to1 thankful Users |
9/22/2014 12:12 PM | |
Posts: 4 Rating: (0) |
OK, but how do I get "Real" to "TIME_OF_DAY" Have tried to konvenera Real to string and then string to time_of _day. But it does not work for me. |
9/23/2014 10:37 AM | |
Posts: 4 Rating: (0) |
Now works. I use the "RND" to get "REAL" to "TIME". Then it all went well, adding Tanks |
This contribution was helpful to1 thankful Users |
Follow us on