Floating Point
S Ramp
Description The value of Output will ramp to the value of Input at a rate (displayed in Rate Output) based on the Forward Up Time, Forward Down Time, Reverse Up Time, Reverse Down Time, and S Percent.

Preset is available by setting Preset Enable to Active (1) and the value of Preset Value greater than 0.

Setting Hold Enable to Active (1) will pause the value of Output.

Reset Enable will set Output and Rate Output to 0 or Preset Value (if applicable), and has the highest priority. For use with floating point numbers.
Availability
  • Available only in the dw2xx-v2 series products
  • Requires library: Advanced Math (option -10)
  • Firmware versions 0x210A and later
savvy-SFD Graphic fpSRamp
Graphic with Parameters fpSRamp

Parameters

Input Input, Read-write, Analog (32-bit IEEE-754 floating point value)
-340E36 to 340E36
Forward Up Time Internal Parameter, Read-write, Time or Rate (signed 16-bit integer)
0.1 s to 3000.0 s

Minimum time for the ramp to change by 100% when the input is positive and moving away from zero.
Forward Down Time Internal Parameter, Read-write, Time or Rate (signed 16-bit integer)
0.1 s to 3000.0 s

Minimum time for the ramp to change by 100% when the output is positive and moving toward zero.
Reverse Down Time Internal Parameter, Read-write, Time or Rate (signed 16-bit integer)
0.1 s to 3000.0 s

Minimum time for the ramp to change by 100% when the output is negative and moving toward zero.
Reverse Up Time Internal Parameter, Read-write, Time or Rate (signed 16-bit integer)
0.1 s to 3000.0 s

Minimum time for the ramp to change by 100% when the output is negative and moving away from zero.
S Percent Internal Parameter, Read-write, Analog (signed 16-bit integer)
0.01 % to 100.00 %

Specifies how much of the ramp time will be spent in the S part of the curve. 0% means a linear ramp, 100% means all S. Note that increasing the S Percent will increase the maximum rate of change of the ramp.
Hold Enable Input, Read-write, Boolean (signed 16-bit integer)

Immediately holds the ramp at its current value. Hold Enable simply suspends processing of the ramp.
0 = Inactive
1 = Hold
Reset Enable Input, Read-write, Boolean (signed 16-bit integer)

Immediately sets the output to zero and resets the S calculations
0 = Inactive
1 = Reset
Preset Enable Input, Read-write, Boolean (signed 16-bit integer)

Immediately sets the ramp output to Preset Value and resets the S calculations
0 = Inactive
1 = Preset
Preset Value Input, Read-write, Analog (signed 16-bit integer)
-340000000000000000000000000000000000000.0000 to 340000000000000000000000000000000000000.0000
Output Output, Read-only, Analog (32-bit IEEE-754 floating point value)
-340E36 to 340E36
Rate Output Output, Read-only, Analog (32-bit IEEE-754 floating point value)
-340E36 /s to 340E36 /s