1
oscat.lib fuer TwinCAT/CoDeSys / Ramp function - FT_RMP
« am: 05. Februar 2016, 14:29:18 »
Hello,
What I want to do is increment a value by 1 each second and I was trying to use the linear ramp "FT_RMP" but unfourtunately is not working.
This is what I wrote
rampFunction(rmp := TRUE, in := 1, KR := 1, KF := 1, out => , busy =>, UD => );
IF rampFunction.UD THEN
increasePressureValue := increasePressureValue+1;
END_IF
Does anyone could tell me if the code is wrong or why is not working ?
Thanks
What I want to do is increment a value by 1 each second and I was trying to use the linear ramp "FT_RMP" but unfourtunately is not working.
This is what I wrote
rampFunction(rmp := TRUE, in := 1, KR := 1, KF := 1, out => , busy =>, UD => );
IF rampFunction.UD THEN
increasePressureValue := increasePressureValue+1;
END_IF
Does anyone could tell me if the code is wrong or why is not working ?
Thanks