{"id":3843,"date":"2019-02-12T16:10:01","date_gmt":"2019-02-12T16:10:01","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/19-variables-and-computations\/ramp\/"},"modified":"2026-02-09T14:47:47","modified_gmt":"2026-02-09T19:47:47","slug":"ramp","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/ramp\/","title":{"rendered":"ramp"},"content":{"rendered":"<h3>Purpose:<\/h3>\n<dl>\n<dd>Ramp a real variable to a specified target value at a given rate.<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd><strong>ramp<\/strong> &lt;variable&gt; &lt;target&gt; &lt;ramp_rate&gt;<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>variable<\/td>\n<td>Specify the name of the variable to which a ramp is applied.<\/td>\n<\/tr>\n<tr>\n<td>target<\/td>\n<td>Specify the final value to achieve as a result of the ramp.<\/td>\n<\/tr>\n<tr>\n<td>ramp_rate<\/td>\n<td>\n<p>Specify the ramp rate to apply to the variable in units per second. Rate is always positive.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd><strong>ramp<\/strong> RPM 1200 50<br \/>\nThe above command ramps the value of the RPM variable from its current value to 1200 RPM by 50 rpm\/sec.<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>If the ramp_rate is 0, the variable is immediately set to the target and the program exits.<\/p>\n<p>The target and ramp_rate may be specified as variable labels.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd><a href=\"\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/sine\/\">sine<\/a><\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Ramp a real variable to a specified target value at a given rate. Enter: ramp &lt;variable&gt; &lt;target&gt; &lt;ramp_rate&gt; Where: variable Specify the name of the variable to which a ramp is applied. target Specify the final value to achieve as a result of the ramp. ramp_rate Specify the ramp rate to apply to the [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1948,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3843","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3843","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3843"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3843\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1948"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3843"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}