PLUS+1 Software > Code sharing

Stop piston in a wanted position

(1/1)

MimmoA:
Hello everybody,
I have a PVED_CC connected to a cylinder where there also is a position sensor, I want to command the piston with a display.
Now, when i insert a position va lue the piston goes at that value but it oscillates around that value going over and back. I've supposed that happens becouse my PVED_CC valves is full opened ,maybe I should start closing it before of my stop value (SoftRamp Function ???).
Am I right? How could I do it?
Is there othere solution too??
Thank you so much in advance.
Regards
Mimmo

tommyqvist:
Connect the position sensor input to a PID function block as the PV. Use a Softramp to ramp the position as a set point to the PID. Start by trimming P. Let the PID output control the PVED CC.

Navigation

[0] Message Index

Go to full version