{"id":3839,"date":"2019-02-12T16:10:01","date_gmt":"2019-02-12T16:10:01","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/11-control-systems\/pwm_ctrl\/"},"modified":"2026-05-20T13:56:53","modified_gmt":"2026-05-20T18:56:53","slug":"pwm_ctrl","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/7-control-systems\/pwm_ctrl\/","title":{"rendered":"pwm_ctrl"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Control an actuator using pulse width modulation based on command inputs and error calculations.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>pwm_ctrl<\/strong> &lt;actuator&gt; &lt;priority&gt; &lt;interval&gt; [+c]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<table style=\"height: 287px; width: 88.9685%;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 80px;\">\n<td style=\"width: 11.0307%; height: 80px;\">\n<p>actuator<\/p>\n<\/td>\n<td style=\"width: 153.013%; height: 80px;\">\n<p>Specify the CyFlex label assigned to the actuator that will be controlled via pulse width modulation.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 11.0307%; height: 56px;\">\n<p>priority<\/p>\n<\/td>\n<td style=\"width: 153.013%; height: 56px;\">\n<p>Specify the priority level.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"width: 11.0307%; height: 56px;\">\n<p>interval<\/p>\n<\/td>\n<td style=\"width: 153.013%; height: 56px;\">\n<p>Specify an existing process interval to set the master scheduler rate such as SLO.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 95px;\">\n<td style=\"width: 11.0307%; height: 95px;\">\n<p>+c<\/p>\n<\/td>\n<td style=\"width: 153.013%; height: 95px;\">\n<p>Optional. Specify this flag to indicate that the task should be registered as a critical task. If the task dies, CyFlex will stop the test being run.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>pwm_ctrl<\/strong> exh_rest 10 SLO +c<br \/>\nThe above command applies pwm control to the exhaust restriction. The task is also registered as watchdog-critical. If it stops responding CyFlex will stop the active test.<\/p>\n<p><strong>pwm_ctrl<\/strong> DilFlow 8 SLO +c<br \/>\nThe above command starts the PWM control task for the dilution flow actuator with a priority of 8 and a master scheduler process interval of the slow rate. The task is watchdog-critical. If it stops responding, CyFlex will stop the active test.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>After starting pwm_ctrl, the task must be configured via the pwm_specs command.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<p style=\"padding-left: 40px;\"><a href=\"\/wp-content\/uploads\/Pulse-Width-Modulation-Control.pdf\">Pulse With Modulation Control<\/a>, <a href=\"\/index.php\/usage-help-manual\/7-control-systems\/pwm_specs\/\">pwm_specs<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Control an actuator using pulse width modulation based on command inputs and error calculations. Enter: pwm_ctrl &lt;actuator&gt; &lt;priority&gt; &lt;interval&gt; [+c] Where: actuator Specify the CyFlex label assigned to the actuator that will be controlled via pulse width modulation. priority Specify the priority level. interval Specify an existing process interval to set the master scheduler [&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-3839","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3839","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=3839"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3839\/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=3839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}