Free engineering calculators and unit convertersceo@instrumentationblog.in
PLC Digital Signal · Free Calculator

PLC Setpoint Ramp Rate Calculator

Build a setpoint or output ramp in a PLC: from the ramp rate and the task time, find the increment to add each scan and the time the ramp takes.

Setpoint rampIncrement per scanRamp timeSoft start
units per minute
ms
units
units
units
Increment per scan0.008333 units
Ramp time12 min (720 s)
Number of scans7200
Rate per second0.08333 units/s
How this result was calculated
  1. Increment = rate ÷ 60 × Ts = 5 ÷ 60 × 0.1 s = 0.008333
  2. Ramp time = |end − start| ÷ rate = 12 min
  3. Each scan: SP = SP ± increment, clamp at end value
Advertisement

Ramp Formulas

Increment per scan = ramp rate × Ts
Ramp time = |end − start| ÷ ramp rate

Ramp rate is in engineering units per minute, Ts the fixed task time in seconds. Run the ramp in a cyclic task with a known interval; in a free running scan, multiply the rate by the measured cycle time instead.

Worked example

Ramping a temperature setpoint at 5 °C/min in a 100 ms task adds 0.00833 °C each scan; going from 20 to 80 °C takes 12 min (7200 scans).

Key insight: with integer values, small increments round to zero. Ramp in floating point or in scaled engineering units, and clamp the setpoint exactly at the end value.
Advertisement

Frequently Asked Questions

Why ramp a setpoint?

To avoid thermal shock, pressure surges or large controller outputs when the setpoint changes, and to follow product recipes.

Where should the ramp run?

In a fixed interval cyclic task, so the increment per execution gives a known rate.

How do I stop overshoot of the end value?

Limit the ramped value so it never passes the target, then set it exactly to the target.

You May Also Like

Learn more on the blog

Why 24 volts is used in PLC systems

A practical, field focused guide on instrumentationblog.in that explains the theory behind this calculator and how engineers apply it on real plants.

Read Full Article

More PLC Digital Signal Calculators

More Calculator Categories