{"id":3709,"date":"2019-02-12T16:09:39","date_gmt":"2019-02-12T16:09:39","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/17-i-o-systems\/gmodbus\/"},"modified":"2025-09-26T12:01:31","modified_gmt":"2025-09-26T17:01:31","slug":"gmodbus","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/14-i-o-systems\/gmodbus\/","title":{"rendered":"gmodbus"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Use a CyFlex variable interface to and from multiple Modbus RTU\/TCP compliant slaves.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>gmodbus<\/strong> &lt;priority&gt; &lt;specification_filename&gt; [max_varibles_per_modbus_transfer] [check_rate] [verbose] &amp;<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<table style=\"width: 100%; height: 192px;\" cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr style=\"height: 56px;\">\n<td style=\"height: 56px; width: 37.1353%;\">\n<p>priority<\/p>\n<\/td>\n<td style=\"height: 56px; width: 62.6879%;\">\n<p>Specify the task priority.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.1353%;\">\n<p>specification_filename<\/p>\n<\/td>\n<td style=\"width: 62.6879%;\">\n<p>Specify the gmodbus specification file name.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 80px;\">\n<td style=\"height: 80px; width: 37.1353%;\">\n<p>max_varibles_per_modbus_transfer<\/p>\n<\/td>\n<td style=\"height: 80px; width: 62.6879%;\">\n<p>Optional. Specify the limit of the maximum number of variables to transfer in a single modbus request. The default is to group as many variables as possible in a request.<\/p>\n<\/td>\n<\/tr>\n<tr style=\"height: 56px;\">\n<td style=\"height: 56px; width: 37.1353%;\">\n<p>check_rate<\/p>\n<\/td>\n<td style=\"height: 56px; width: 62.6879%;\">\n<p>Optional. Specify the rate (in milliseconds) to test for timely updates. The default value is 2000ms.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 37.1353%;\">\n<p>verbose<\/p>\n<\/td>\n<td style=\"width: 62.6879%;\">\n<p>Optional. A<span style=\"font-family: inherit; font-size: inherit;\">dd some status <\/span><span style=\"font-family: inherit; font-size: inherit;\">messages to the error_log. Example error includes a message that the device is performing faster or slower than anticipated.<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>gmodbus<\/strong> 19 \/specs\/gModbus_specs.101 &amp;<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>To turn off runtime (not init) error logging set GMODBUS_ERRLOG environment variable before starting GModBus:<\/p>\n<p>export GMODBUS_ERRLOG=0<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"\/wp-content\/uploads\/GModBus-Device-Driver-Setup.pdf\">GModBus Setup<\/a>, <a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/14-i-o-systems\/modbus_srvr_serial\/\">modbus_srvr_serial<\/a>, <a href=\"https:\/\/cyflex.com\/index.php\/usage-help-manual\/14-i-o-systems\/modbus_srvr_tcp\/\">modbus_srvr_tcp<\/a>, <a href=\"https:\/\/cyflex.com\/wp-content\/uploads\/gmodbus_specs_example.pdf\">GModBus Specs Example<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Use a CyFlex variable interface to and from multiple Modbus RTU\/TCP compliant slaves. Enter: gmodbus &lt;priority&gt; &lt;specification_filename&gt; [max_varibles_per_modbus_transfer] [check_rate] [verbose] &amp; Where: priority Specify the task priority. specification_filename Specify the gmodbus specification file name. max_varibles_per_modbus_transfer Optional. Specify the limit of the maximum number of variables to transfer in a single modbus request. The default [&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-3709","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3709","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=3709"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3709\/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=3709"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}