Industry Online Support
Technical Forum
11/9/2011 4:09 AM | |
Joined: 9/27/2006 Last visit: 6/6/2023 Posts: 12036 Rating:
|
Hello Steven; I am sorry to say that the title of your post threw me off a bit, until I understood what you were looking for a "ramp" function to output an increasing value to your analog output channel. You could easily build a step function, just as you were starting to describe, by using timers (or a cyclic OB)and an increasingPQWxxx (using an ADD_I instruction, for example). However, every time you would want to change the parameters of your function (such as the ramp-up time, or creating a ramp-down) you would have to modify the function itself, or introduce variable parameters. This would make the overall program more complex. Now Siemens provides a sample function that you can use in your own program, once youstudy the provided description. You can download it from this link: http://support.automation.siemens.com/WW/view/en/1853767 Notice there is also a WinCC project attached that you can also use, if you happen to have the software. Hope this helps, Daniel Chartier |
11/9/2011 11:31 AM | |
Posts: 19 Rating:
|
Hi Dchartier, I'am sorry for the title made you confuse. It's my wrong misspellings Thank you, Steven |
Follow us on