{"id":3338,"date":"2019-02-12T16:09:03","date_gmt":"2019-02-12T16:09:03","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/8-smart-instrument-interfaces\/msgprotocol\/"},"modified":"2025-10-14T14:02:19","modified_gmt":"2025-10-14T19:02:19","slug":"msgprotocol","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/16-smart-instrument-interfaces\/msgprotocol\/","title":{"rendered":"MsgProtocol"},"content":{"rendered":"<div>\n<h3>Purpose:<\/h3>\n<\/div>\n<dl>\n<dd>\n<p>Configure and process CyFlex messages, converting logical commands to protocol-specific messages, handling events, and updating variables.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>MsgProtocol<\/strong> &lt;filename&gt; &lt;device_name&gt; [priority] [debug]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>filename<\/p>\n<\/td>\n<td>\n<p>Specify the\u00a0.ini configuration filename.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>device_name<\/p>\n<\/td>\n<td>\n<p>Specify a unique name for this instance of MsgProtocol.\u00a0<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>priority<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the task priority. The default is 20.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>debug<\/p>\n<\/td>\n<td>\n<p>Optional. Specify ON to enable debug statements. The default is OFF.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>MsgProtocol<\/strong> gac.ini GAC<br \/>\nOR<br \/>\n<strong>MsgProtocol<\/strong> \/specs\/MEXA.ini CTC_MEXA<\/p>\n<p>gac.ini and MEXA.ini are configuration files in the above examples GAC and CTC_MEXA are the device names.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>The priority must be specified for the debug option to be recognized.<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p><a href=\"\/index.php\/usage-help-manual\/16-smart-instrument-interfaces\/msgtcp\/\">MsgTCP<\/a><\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Configure and process CyFlex messages, converting logical commands to protocol-specific messages, handling events, and updating variables. Enter: MsgProtocol &lt;filename&gt; &lt;device_name&gt; [priority] [debug] Where: filename Specify the\u00a0.ini configuration filename. device_name Specify a unique name for this instance of MsgProtocol.\u00a0 priority Optional. Specify the task priority. The default is 20. debug Optional. Specify ON to enable [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1955,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3338","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3338","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=3338"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3338\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1955"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}