Ramp is a background task. It only needs to be Started. Once Started, it will continue to operate in the background until Stopped.

The Ramp function changes a value from its initial value to a target value, at a defined rate of change. Optionally, a ramp can include a soft start and soft stop. A soft start ramps the rate of change up to the defined rate of change gradually, over the defined soft start/stop period. A soft stop ramps the rate of change from the defined rate to 0, over the defined soft start/stop period.

Ramp is commonly used for motion control. The vBuilder Stepper Motion function has its own ramp feature built in, so this Ramp function would not commonly be used for stepper motion control. It would be applicable to servo motion control, typically coupled with a high speed pulse counter input and PID.

Ramp is also applicable to other machine and process control applications. Any time you want to change a variable at a defined rate, Ramp can be used.

  • The top selection is for the Tag that you want to Ramp.
  • Next is the ramp rate in units per second of whatever unit the Ramp Tag is. The Ramp Rate is an absolute value. Whether it is a rate of increase or decrease depends on whether the Ramp Tag is above or below the target.
  • Next is the Ramp Target – the .final value of the Tag after ramping
  • Optionally, you can enter a Soft Start/Stop time. If you enter a Soft Start/Stop time the ramp rate will ramp up to the Ramp rate over the defined period and ramp down over the same defined period, when approaching the target. This will have the effect of rounding off the value curve, like that shown in the Ramp button graphic.


Ramp Stop will Stop the Ramp function. This is something that you would normally do, once the target value has been reached.

Select the Tag that is being ramped.



In Ladder: How to execute tasks only once at startup?

Useful for defining the starting value of certain tags or for background tasks.

Note: Since some tools are background tasks, it is not necessary to run them every PLC cycle. If you run it every cycle, the tool will not work properly because you are constantly configuring it.

Just add a "BIT" that will be turned ON right after.

All your lines that only need to start once at startup :

  • must be behind the normally closed "ColdStart" contact.
  • before the line where the "ColdStart" coil is set to 1.

Note: You can use any name for the ColdStart bit.