{"id":8895,"date":"2021-11-02T18:23:55","date_gmt":"2021-11-02T18:23:55","guid":{"rendered":"https:\/\/bryceautomation.com\/?p=8895"},"modified":"2021-11-02T18:23:58","modified_gmt":"2021-11-02T18:23:58","slug":"modbus-on-controllogix-serial-port","status":"publish","type":"post","link":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/","title":{"rendered":"Modbus on ControlLogix Serial Port"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Modbus on ControlLogix Serial Port<\/h3>\n\n\n\n<p>An inexpensive way to run Modbus on ControlLogix Serial Port is with an RS232-RS485 Adapter.   In short, download Rockwell&#8217;s sample code.  Apply power to the adapter, and you will be up and running on Modbus!  In this case, I&#8217;m using cheap Temperature and humidity sensors from Ebay.  Modbus is a protocol from 1978.  Many field devices still use modbus.  Examples include Omni&#8217;s, Acculoads, Multilin, and various other sensors and control boards.   <\/p><div id=\"bryce-1536772929\" class=\"bryce-afterfirst bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"7728240895\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n\n\n\n<p>To put it simply, this method is sample code.  It has no guarantee of running correctly.  Basically, I&#8217;ve been running this method for six months.  I have not had a problem.<\/p>\n\n\n\n<p>This method does require a serial port on the processor.  I just used an old 1756-L1.  This runs up to version 13 firmware.  The path for the sample code defaults to C:\/RSLogix 5000\/Projects\/Samples\/ENU\/V13\/Rockwell Automation.  The name of the project I&#8217;m using is &#8220;ModbusMaster.ACD&#8221;.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configure the Port<\/h3>\n\n\n\n<p>First, we&#8217;ll need to configure the Serial Port on your processor.  Do this under Controller Properties.  In this case, I will set up the Serial Port tab as shown:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"483\" height=\"375\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image.png\" alt=\"\" class=\"wp-image-8898 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image.png 483w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-300x233.png 300w\" data-sizes=\"(max-width: 483px) 100vw, 483px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 483px; --smush-placeholder-aspect-ratio: 483\/375;\" \/><\/figure>\n\n\n\n<p>Next, we&#8217;ll go to the &#8220;User Protocol&#8221; tab.  I have this set up as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"485\" height=\"365\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-1.png\" alt=\"\" class=\"wp-image-8899 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-1.png 485w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-1-300x226.png 300w\" data-sizes=\"(max-width: 485px) 100vw, 485px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 485px; --smush-placeholder-aspect-ratio: 485\/365;\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Controller tags for Modbus on ControlLogix Serial Port<\/h3>\n\n\n\n<p>At this point, let&#8217;s open Controller Tags.  Notice the tags where our data will be stored.  In Modbus, we have coils (bits).  We also see registers (words) .  These are are the INT datatype.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"698\" height=\"336\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-2.png\" alt=\"\" class=\"wp-image-8900 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-2.png 698w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-2-300x144.png 300w\" data-sizes=\"(max-width: 698px) 100vw, 698px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 698px; --smush-placeholder-aspect-ratio: 698\/336;\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"167\" height=\"82\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-3.png\" alt=\"\" class=\"wp-image-8901 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 167px; --smush-placeholder-aspect-ratio: 167\/82;\" \/><\/figure>\n\n\n\n<p>This is where our Modbus data will be stored.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Modbus Commands<\/h3>\n\n\n\n<p>At this time, you are ready to issue the modbus commands to send and receive data.  Keep in mind that RS232 only supports one slave device.  The typical limitation of RS485 is 32 (full load) devices.  If you are using RS485, remember to use shielded twisted pair, and terminate both ends with a 120 Ohm resistor.   Only terminate the ends of your network, and be sure to ground one end of the shield.<\/p>\n\n\n\n<p>In the meantime, open the Mod_Command tag.    As you can see, we can run up to 40 Modbus Commands by default.  Let&#8217;s open Mod_Command[0], and we are ready for the first command.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"316\" height=\"229\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-4.png\" alt=\"\" class=\"wp-image-8902 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-4.png 316w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-4-300x217.png 300w\" data-sizes=\"(max-width: 316px) 100vw, 316px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 316px; --smush-placeholder-aspect-ratio: 316\/229;\" \/><\/figure>\n\n\n\n<p>Notice the Command is enabled.  The Echo receive bit tells us that we are communicating to the field device.  We can use the scan number to group our commands in order of execution.  We&#8217;ll leave this on zero.  We need to figure out the address offset in master.  This tells us where to place the data in the AnalogInput register.  To put it simply, this is the difference between the memory location in the slave, and where you want to place the data in the master.  Basically, we are starting at address 1 in the slave.  An address offset of -1 will place this data into word 0 of the Mod_Data_InpReg3 array.<\/p>\n\n\n\n<p>The Slave address is the node number of the slave we are communicating with.  Additionally, the starting address in the slave is 1.  The Slave&#8217;s node address in this case is 8.  Obviously, we are getting 2 words from the field device.  This is the number of points.  Specifically I&#8217;m listing the function codes below.  Obviously, our  function code of 4 reads analog inputs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Function Codes<\/h3>\n\n\n\n<p>Moreover, we will enter a function code.  Specifically, there are 4 main function codes that you will use.  <\/p>\n\n\n\n<p>Function 1 will read output coils.  Remember, coils are bits.  Therefore, we are basically reading the status of discrete (digital) outputs.<\/p>\n\n\n\n<p>Function code 2 reads contacts.  Compared to function code 1, the function code 2 reads discrete inputs instead of output statuses.<\/p>\n\n\n\n<p>Function code 3 reads holding registers.  Basically, these are simply registers on the field device that we can write to, or read from.<\/p>\n\n\n\n<p>Function code 4 reads input registers.    In brief, these are analog inputs.<\/p>\n\n\n\n<p>Function code 5 writes a single coil.<\/p>\n\n\n\n<p>In the same way, function code 15 writes multiple coils.<\/p>\n\n\n\n<p>Function code 6 writes a single register.  <\/p>\n\n\n\n<p>Likewise, function code 16 writes multiple registers.<\/p>\n\n\n\n<p>You will see a full list of function codes<a href=\"https:\/\/medium.com\/analytics-vidhya\/what-are-the-function-codes-of-modbus-rtu-and-their-requests-and-responses-8c33a467aed3\"> here.<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Test your Work<\/h3>\n\n\n\n<p>At this time, download your project to the processor.  Be sure to go online in run mode.  Also, ensure your field device is connected and has power.   Finally I&#8217;ll open Mod_Data_InpReg3.  You will see our data from my temperature and humidity sensor.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-5.png\" alt=\"\" class=\"wp-image-8904 lazyload\" width=\"310\" height=\"66\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-5.png 310w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image-5-300x64.png 300w\" data-sizes=\"(max-width: 310px) 100vw, 310px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 310px; --smush-placeholder-aspect-ratio: 310\/66;\" \/><\/figure>\n\n\n\n<p>This is 16.1 degrees Celsius,  and humidity is 55.6%.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Summary<\/h3>\n\n\n\n<p>In summary, we just need to open the sample project, and configure the serial port.  For RS485, you need an RS232 to RS485 adapter.  Be sure you have a proper setup, and power applied where you need it.  Download your project, and you are ready to issue the modbus commands.  For critical applications, you might check out the <a href=\"http:\/\/prosoft.com\">Prosoft Modules.<\/a><\/p>\n\n\n\n<p>For more information on ControlLogix, visit the <a href=\"https:\/\/bryceautomation.com\/index.php\/category\/controllogix\/\">ControlLogix Category Page!<\/a><\/p>\n\n\n\n<p>&#8212; Ricky Bryce<\/p>\n<div id=\"bryce-1106838439\" class=\"bryce-after-content bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"4667596182\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Modbus on ControlLogix Serial Port An inexpensive way to run Modbus on ControlLogix Serial Port is with an RS232-RS485 Adapter. In short, download Rockwell&#8217;s sample code. Apply power to the adapter, and you will be up and running on Modbus! In this case, I&#8217;m using cheap Temperature and humidity sensors from Ebay. Modbus is a <a class=\"moretag btn btn-primary\" href=\"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/\">Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":8898,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[164,400,355],"class_list":{"0":"post-8895","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-controllogix","8":"tag-modbus","9":"tag-prosoft","10":"tag-rs485","11":"czr-hentry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Modbus on ControlLogix Serial Port - Bryce Automation<\/title>\n<meta name=\"description\" content=\"How to set up Modbus on ControlLogix Serial Port using Rockwell&#039;s sample program. This is an inexpensive way to run non-critical modbus.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Modbus on ControlLogix Serial Port - Bryce Automation\" \/>\n<meta property=\"og:description\" content=\"How to set up Modbus on ControlLogix Serial Port using Rockwell&#039;s sample program. This is an inexpensive way to run non-critical modbus.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/\" \/>\n<meta property=\"og:site_name\" content=\"Bryce Automation\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ricky.bryce.7\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-02T18:23:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-02T18:23:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"483\" \/>\n\t<meta property=\"og:image:height\" content=\"375\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Ricky\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/\"},\"author\":{\"name\":\"Ricky\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"headline\":\"Modbus on ControlLogix Serial Port\",\"datePublished\":\"2021-11-02T18:23:55+00:00\",\"dateModified\":\"2021-11-02T18:23:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/\"},\"wordCount\":803,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/image.png\",\"keywords\":[\"Modbus\",\"Prosoft\",\"rs485\"],\"articleSection\":[\"ControlLogix\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/\",\"name\":\"Modbus on ControlLogix Serial Port - Bryce Automation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/image.png\",\"datePublished\":\"2021-11-02T18:23:55+00:00\",\"dateModified\":\"2021-11-02T18:23:58+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"description\":\"How to set up Modbus on ControlLogix Serial Port using Rockwell's sample program. This is an inexpensive way to run non-critical modbus.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/image.png\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/11\\\/image.png\",\"width\":483,\"height\":375,\"caption\":\"SerialPortConfigModbus\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/11\\\/02\\\/modbus-on-controllogix-serial-port\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bryceautomation.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Modbus on ControlLogix Serial Port\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/\",\"name\":\"Bryce Automation\",\"description\":\"Automating Home and Industry...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bryceautomation.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\",\"name\":\"Ricky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"caption\":\"Ricky\"},\"sameAs\":[\"http:\\\/\\\/bryceautomation.com\",\"https:\\\/\\\/www.facebook.com\\\/ricky.bryce.7\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/ricky-bryce-4367a416\\\/\"],\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/author\\\/ricky\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Modbus on ControlLogix Serial Port - Bryce Automation","description":"How to set up Modbus on ControlLogix Serial Port using Rockwell's sample program. This is an inexpensive way to run non-critical modbus.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/","og_locale":"en_US","og_type":"article","og_title":"Modbus on ControlLogix Serial Port - Bryce Automation","og_description":"How to set up Modbus on ControlLogix Serial Port using Rockwell's sample program. This is an inexpensive way to run non-critical modbus.","og_url":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/","og_site_name":"Bryce Automation","article_author":"https:\/\/www.facebook.com\/ricky.bryce.7","article_published_time":"2021-11-02T18:23:55+00:00","article_modified_time":"2021-11-02T18:23:58+00:00","og_image":[{"width":483,"height":375,"url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image.png","type":"image\/png"}],"author":"Ricky","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/#article","isPartOf":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/"},"author":{"name":"Ricky","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"headline":"Modbus on ControlLogix Serial Port","datePublished":"2021-11-02T18:23:55+00:00","dateModified":"2021-11-02T18:23:58+00:00","mainEntityOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/"},"wordCount":803,"commentCount":0,"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image.png","keywords":["Modbus","Prosoft","rs485"],"articleSection":["ControlLogix"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/","url":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/","name":"Modbus on ControlLogix Serial Port - Bryce Automation","isPartOf":{"@id":"https:\/\/bryceautomation.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/#primaryimage"},"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image.png","datePublished":"2021-11-02T18:23:55+00:00","dateModified":"2021-11-02T18:23:58+00:00","author":{"@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"description":"How to set up Modbus on ControlLogix Serial Port using Rockwell's sample program. This is an inexpensive way to run non-critical modbus.","breadcrumb":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/#primaryimage","url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image.png","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/11\/image.png","width":483,"height":375,"caption":"SerialPortConfigModbus"},{"@type":"BreadcrumbList","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/11\/02\/modbus-on-controllogix-serial-port\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bryceautomation.com\/"},{"@type":"ListItem","position":2,"name":"Modbus on ControlLogix Serial Port"}]},{"@type":"WebSite","@id":"https:\/\/bryceautomation.com\/#website","url":"https:\/\/bryceautomation.com\/","name":"Bryce Automation","description":"Automating Home and Industry...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bryceautomation.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7","name":"Ricky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","url":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","caption":"Ricky"},"sameAs":["http:\/\/bryceautomation.com","https:\/\/www.facebook.com\/ricky.bryce.7","https:\/\/www.linkedin.com\/in\/ricky-bryce-4367a416\/"],"url":"https:\/\/bryceautomation.com\/index.php\/author\/ricky\/"}]}},"_links":{"self":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/8895","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/comments?post=8895"}],"version-history":[{"count":0,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/8895\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media\/8898"}],"wp:attachment":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media?parent=8895"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/categories?post=8895"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/tags?post=8895"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}