{"id":3454,"date":"2019-02-12T16:09:13","date_gmt":"2019-02-12T16:09:13","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/17-i-o-systems\/candbc_set\/"},"modified":"2026-01-26T12:28:23","modified_gmt":"2026-01-26T17:28:23","slug":"candbc_set","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/14-i-o-systems\/candbc_set\/","title":{"rendered":"candbc_set"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Send a CAN message at a particular rate.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>candbc_set<\/strong> &lt;CanMessageID|MessageName&gt; &lt;SendInterval&gt; [name=Register_name] [count=num_of_msgs] [index] [std] [-c=n]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<table style=\"width: 100%; height: 159px; border-collapse: collapse;\">\n<tbody>\n<tr style=\"height: 104px;\">\n<td style=\"width: 123.625px; height: 10px;\">\n<p>CanMessageId<br \/>\nor<br \/>\nMessageName<\/p>\n<\/td>\n<td style=\"width: 1153.38px; height: 10px;\">\n<p>Specify either:<\/p>\n<ul>\n<li>The message ID from the *.dbc file.<\/li>\n<li>The message name from the *.dbc file.<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr style=\"height: 109px;\">\n<td style=\"width: 123.625px; height: 36px;\">\n<p>SendInterval<\/p>\n<\/td>\n<td style=\"width: 1153.38px; height: 36px;\">\n<p>Specify the delay time in milliseconds between messages:<\/p>\n<ul>\n<li>0 to disable<\/li>\n<li>1-19 to send once then disable<\/li>\n<li>20+ to send repeatedly<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr style=\"height: 70px;\">\n<td style=\"width: 123.625px; height: 70px;\">name<\/td>\n<td style=\"width: 1153.38px; height: 70px;\">Optional. Specify the registered name of the CanDbc.<\/td>\n<\/tr>\n<tr style=\"height: 80px;\">\n<td style=\"width: 123.625px; height: 10px;\">\n<p>Index<\/p>\n<\/td>\n<td style=\"width: 1153.38px; height: 10px;\">\n<p>Optional. Specify an index to send repeated messages at different times. The default is 0.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 10px;\">\n<td style=\"width: 123.625px; height: 10px;\">\n<p>Count<\/p>\n<\/td>\n<td style=\"width: 1153.38px; height: 10px;\">\n<p>Optional. Specify the number of times to send the message. Default is infinite.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 80px;\">\n<td style=\"width: 123.625px; height: 13px;\">std<\/p>\n<p>&nbsp;<\/p>\n<\/td>\n<td style=\"width: 1153.38px; height: 13px;\">\n<p>Optional. The default is to send an extended message for AC cards. If you specify this argument, a standard message will be sent instead.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 104px;\">\n<td style=\"width: 123.625px; height: 10px;\">\n<p>-c<\/p>\n<\/td>\n<td style=\"width: 1153.38px; height: 10px;\">\n<p>Optional. Specify the channel number (0 or 1) if multiple channels are in use.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>candbc_set<\/strong> 100 50<br \/>\nSend the message on the default channel. If using a Ac card, this will be an extended message.<\/p>\n<p><strong>candbc_set<\/strong> 100 1000 -c=1<br \/>\nSend the message on the second channel. If using a Ac card, this will be an extended message.<\/p>\n<p><strong>candbc_set<\/strong> 100 1000 name=CanDbc2<br \/>\nSend the message on the default channel with a CanDbc task started with the register name &#8220;CanDbc2&#8221;.<\/p>\n<p><strong>candbc_set<\/strong> 100 1000 name=CanDbc2 count=3<br \/>\nSend only 3 messages on the default channel with a CanDbc task started with the register name &#8220;CanDbc2&#8221;.<\/p>\n<p><strong>candbc_set<\/strong> 100 50 std<br \/>\nSend the message on the default channel, to a AC card in standard format.<\/p>\n<p><strong>candbc_set<\/strong> 100 1000 name=CanDbc2 count=3 std<br \/>\nSend only 3 messages on the default channel with a CanDbc task started with the register name &#8220;CanDbc2&#8221;. The message will be in standard format if going to a AC card.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>Channel number must be 0 or 1. Invalid values will cause an error.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<p style=\"padding-left: 40px;\"><a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/14-i-o-systems\/candbc\/\">CanDbc<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Send a CAN message at a particular rate. Enter: candbc_set &lt;CanMessageID|MessageName&gt; &lt;SendInterval&gt; [name=Register_name] [count=num_of_msgs] [index] [std] [-c=n] Where: CanMessageId or MessageName Specify either: The message ID from the *.dbc file. The message name from the *.dbc file. SendInterval Specify the delay time in milliseconds between messages: 0 to disable 1-19 to send once then [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1964,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3454","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3454","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=3454"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3454\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1964"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}