How decrement with variable vector function

claudio 6 months ago in IQANdesign updated by Thomas Moberg (System support) 6 months ago 1

Good morning, in a lifting machine controlled by an MC43, in the software I made counters to decrease the hours of life. Now I have to link this decrease to how much weight I'm moving. I read the weight from can open and turn it into a vector function Then with this I should vary the amount of time in percentage of the weight. That is, with weight 100% decrease 1, with weight 10% decrease 0.1. The question is which function can I use to perform this function?

Hello Claudio.

You could use a math channel and have a inverse of the weight, so at 0% weight you have 100% and  multiply that value with the time.

So then at 10% the new value would be 90%, and 90% of the time is 10%

something like this.