Copyright: Created with EasyHelp (Tel: 0973 209667)


SignalP/Linear Ramp - RG354111

Description

This block implements a linear ramp.  It has both a ramp output and a scaled rate output.

A true on the Reset input immediately forces the output to zero.  A true on the Hold input holds the output as its current value.  The Reset input overrides the Hold input.

The Ramp Time is set as a percentage of the time range (0 to 100% with a resolution of 0.003%).  The Time Range is a configuration parameter, entered in milliseconds (up to 300 000 000 000 ms with a resolution of 0.001 ms).

The Rate Cal is also set as a percentage of the Time Range (0 to 100%); it specifies a reference ramp which is used to normalize the Rate Output.

A new Output is computed only when the Input input receives a message.  Although the block is designed to tolerate timing jitter, the Input input should receive messages on a regular basis.  (Note that a high invocation rate coupled with a long ramp time may result in unacceptable quantization errors).

The Ramp Time, Rate Cal, Positive Clamp and Negative Clamp are persistent.

Parameters

Input	Input.  Expects a value (-100% to +100%).

Ramp Time	Ramp time input.  Expects a value (0% to +100%).

Rate Cal	Rate Cal input.  Expects a value (0% to +100%).

Reset	Reset input.  Expects Not Reset (false) or Reset (true).

Hold	Hold input.  Expects Ramp (false) or Hold (true).

Positive Clamp	Positive Clamp input.  Expects a value (-100% to +100%).

Negative Clamp	Negative Clamp input.  Expects a value (-100% to +100%).

Get Input	Returns the current value of the input:  -100% to +100%.

Get Ramp Time	Returns the current ramp time:  0% to +100%.

Get Rate Cal	Returns the current rate cal:  0% to +100%.

Get Reset	Returns the current reset state:  Enabled (false) or Reset (true).

Get Hold	Returns the current hold state:  Ramping (false) or Holding (true).

Get Positive Clamp	Returns the current value of the positive clamp:  -100% to +100%.

Get Negative Clamp	Returns the current value of the negative clamp:  -100% to +100%.

Get Rate Output	Returns the current value of rate output:  -100% to +100%.

Get Output	Returns the current value of the output:  -100% to +100%.


Description

This block implements a linear ramp.  It has both a ramp output and a scaled rate output.

A true on the Reset input immediately forces the output to zero.  A true on the Hold input holds the output as its current value.  The Reset input overrides the Hold input.

The Ramp Time is set as a percentage of the time range (0 to 100% with a resolution of 0.003%).  The Time Range is a configuration parameter, entered in milliseconds (up to 300 000 000 000 ms with a resolution of 0.001 ms).

The Rate Cal is also set as a percentage of the Time Range (0 to 100%); it specifies a reference ramp which is used to normalize the Rate Output.

A new Output is computed only when the Input input receives a message.  Although the block is designed to tolerate timing jitter, the Input input should receive messages on a regular basis.  (Note that a high invocation rate coupled with a long ramp time may result in unacceptable quantization errors).

The Ramp Time, Rate Cal, Positive Clamp and Negative Clamp are persistent.


Parameters

Input	Input.  Expects a value (-100% to +100%).

Ramp Time	Ramp time input.  Expects a value (0% to +100%).

Rate Cal	Rate Cal input.  Expects a value (0% to +100%).

Reset	Reset input.  Expects Not Reset (false) or Reset (true).

Hold	Hold input.  Expects Ramp (false) or Hold (true).

Positive Clamp	Positive Clamp input.  Expects a value (-100% to +100%).

Negative Clamp	Negative Clamp input.  Expects a value (-100% to +100%).

Get Input	Returns the current value of the input:  -100% to +100%.

Get Ramp Time	Returns the current ramp time:  0% to +100%.

Get Rate Cal	Returns the current rate cal:  0% to +100%.

Get Reset	Returns the current reset state:  Enabled (false) or Reset (true).

Get Hold	Returns the current hold state:  Ramping (false) or Holding (true).

Get Positive Clamp	Returns the current value of the positive clamp:  -100% to +100%.

Get Negative Clamp	Returns the current value of the negative clamp:  -100% to +100%.

Get Rate Output	Returns the current value of rate output:  -100% to +100%.

Get Output	Returns the current value of the output:  -100% to +100%.