Copyright: Created with EasyHelp (Tel: 0973 209667)


SignalP/Pushbutton Ramp - RG354280

Description

This block implements a pushbutton 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 (0 to 100% with a resolution of 0.003%) of the Invocation rate.  The Invocation rate 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 (0 to 100%) of the Invocation rate; it specifies a reference ramp which is used to normalize the Rate Output.

A new Output is computed at the rate specified by the Invocation rate configuration parameter.  (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

Raise	Raise input.  Expects true or false.

Lower	Lower input.  Expects true or false.

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 Raise	Returns the current raise state:  true or false.

Get Lower	Returns the current lower state:  true or false.

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 the rate output:  -100% to +100%.

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


Description

This block implements a pushbutton 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 (0 to 100% with a resolution of 0.003%) of the Invocation rate.  The Invocation rate 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 (0 to 100%) of the Invocation rate; it specifies a reference ramp which is used to normalize the Rate Output.

A new Output is computed at the rate specified by the Invocation rate configuration parameter.  (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

Raise	Raise input.  Expects true or false.

Lower	Lower input.  Expects true or false.

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 Raise	Returns the current raise state:  true or false.

Get Lower	Returns the current lower state:  true or false.

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 the rate output:  -100% to +100%.

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