{"id":4039,"date":"2019-02-12T16:10:23","date_gmt":"2019-02-12T16:10:23","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/11-control-systems\/u_gains\/"},"modified":"2025-08-29T11:12:43","modified_gmt":"2025-08-29T16:12:43","slug":"u_gains","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/7-control-systems\/u_gains\/","title":{"rendered":"u_gains"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Set the proportional, integral, and derivative gains for a specified user control loop.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>u_gains<\/strong> &lt;ctrler&gt; &lt;proportional_gain&gt; &lt;integral_gain&gt; &lt;derivative_gain&gt;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<table style=\"width: 79.88%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td style=\"width: 7.54%;\">\n<p>ctrler<\/p>\n<\/td>\n<td style=\"width: 223.88%;\">\n<p>Specify the name of the user control loop.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 7.54%;\">\n<p>proportional_gain<\/p>\n<\/td>\n<td style=\"width: 223.88%;\">\n<p>Specify the proportional gain value.\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 7.54%;\">\n<p>integral_gain<\/p>\n<\/td>\n<td style=\"width: 223.88%;\">\n<p>Specify the integral gain value.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 7.54%;\">\n<p>derivative_gain<\/p>\n<\/td>\n<td style=\"width: 223.88%;\">\n<p>Specify the derivative gain value.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>u_gains<\/strong> fuel_in_t -1.25 -.0336 -4.84<br \/>\nThe above command sets the gains for the controller fuel_in_t to:<\/p>\n<p>-1.25 &gt;&gt; proportional gain<\/p>\n<p>-.0336 &gt;&gt; integral gain<\/p>\n<p>-4.84 &gt;&gt; derivative gain<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The units of the gains the same units that are used when specifying gains in the file ctrl_specs.nnn<\/p>\n<p>Use the controller name that is specified in the control specs file under the keyword @USER_CTRL_LOOP.\u00a0<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"\/index.php\/usage-help-manual\/7-control-systems\/u_ramp\/\">u_ramp<\/a>, <a href=\"\/index.php\/usage-help-manual\/7-control-systems\/u_target\/\">u_target<\/a>, <a href=\"\/index.php\/usage-help-manual\/7-control-systems\/u_mode\/\">u_mode<\/a>, <a href=\"https:\/\/cyflex.com\/wp-content\/uploads\/CyFlex-User-Control-Loops.pdf\">User Control Loops<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Set the proportional, integral, and derivative gains for a specified user control loop. Enter: u_gains &lt;ctrler&gt; &lt;proportional_gain&gt; &lt;integral_gain&gt; &lt;derivative_gain&gt; Where: ctrler Specify the name of the user control loop. proportional_gain Specify the proportional gain value.\u00a0 integral_gain Specify the integral gain value. derivative_gain Specify the derivative gain value. Example: u_gains fuel_in_t -1.25 -.0336 -4.84 The [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1958,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4039","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/4039","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=4039"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/4039\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1958"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=4039"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}