{"id":6938,"date":"2021-05-29T09:25:29","date_gmt":"2021-05-29T09:25:29","guid":{"rendered":"http:\/\/bryceautomation.com\/?p=6938"},"modified":"2021-05-31T14:20:02","modified_gmt":"2021-05-31T14:20:02","slug":"node-red-with-controllogix","status":"publish","type":"post","link":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/","title":{"rendered":"Node-Red with ControlLogix"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Introduction to Node-Red with ControlLogix<\/h4>\n\n\n\n<p>In this section, I&#8217;ll discuss setting up Node-Red with ControlLogix.   Basically, we just need to install the Eth-IP node in Node-Red (for CIP).  After that, we just configure the IP address of the Ethernet Module, the slot the processor is in, then declare the tags we want to connect to.   This node allows us to pull or push data to and from the processor.  For example, we&#8217;ll take data from OpenWeatherMap, and send that data to a tag in the processor.  This information is provided as-is and for example only.   It&#8217;s up to you to ensure you take all safety precautions.  Especially when writing data to the controller.<\/p><div id=\"bryce-423805253\" 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<h4 class=\"wp-block-heading\">Set up Node-Red Nodes<\/h4>\n\n\n\n<p>In this case, I already have Node-Red installed.   Simply go to &#8220;Options&#8221; in the upper right corner of the web interface and &#8220;Manage Palette&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"281\" height=\"360\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image.png\" alt=\"\" class=\"wp-image-6939 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image.png 281w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-234x300.png 234w\" data-sizes=\"(max-width: 281px) 100vw, 281px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 281px; --smush-placeholder-aspect-ratio: 281\/360;\" \/><\/figure>\n\n\n\n<p>Now, search for cip, and click &#8220;install&#8221; as shown.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"705\" height=\"225\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-1.png\" alt=\"\" class=\"wp-image-6940 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-1.png 705w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-1-300x96.png 300w\" data-sizes=\"(max-width: 705px) 100vw, 705px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 705px; --smush-placeholder-aspect-ratio: 705\/225;\" \/><\/figure>\n\n\n\n<p>Likewise, we&#8217;ll do the same with &#8220;OpenWeatherMap&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"703\" height=\"189\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-2.png\" alt=\"\" class=\"wp-image-6941 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-2.png 703w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-2-300x81.png 300w\" data-sizes=\"(max-width: 703px) 100vw, 703px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 703px; --smush-placeholder-aspect-ratio: 703\/189;\" \/><\/figure>\n\n\n\n<p>Eventually, you will need to go to <a href=\"http:\/\/openweathermap.org\">OpenWeatherMap.org <\/a>to get an API Key.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Set up the tags in your ControlLogix<\/h4>\n\n\n\n<p>In this case, I&#8217;ll configure the following tags in the ControlLogix processor that Node-Red will write to.  Be sure to remember the data types of each tag.   We will need to know these later when we set up Node-Red.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"587\" height=\"82\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-3.png\" alt=\"\" class=\"wp-image-6942 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-3.png 587w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-3-300x42.png 300w\" data-sizes=\"(max-width: 587px) 100vw, 587px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 587px; --smush-placeholder-aspect-ratio: 587\/82;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Configure the flows to connect Node-Red with ControlLogix<\/h4>\n\n\n\n<p>Finally, we are ready to configure the flows.  First, we&#8217;ll add the OpenWeatherMap node to the flow.  In this example, I&#8217;ve added the OpenWeatherMap IN node.  Be sure to configure the node with your own API key from OpenWeatherMap.org.   Add your coordinates, then click &#8220;Done&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"838\" height=\"448\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-4.png\" alt=\"\" class=\"wp-image-6945 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-4.png 838w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-4-300x160.png 300w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-4-768x411.png 768w\" data-sizes=\"(max-width: 838px) 100vw, 838px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 838px; --smush-placeholder-aspect-ratio: 838\/448;\" \/><\/figure>\n\n\n\n<p>Next, we&#8217;ll add the &#8220;Eth-IP OUT&#8221; node.   We will need to configure this, so double click on the node.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"449\" height=\"71\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-5.png\" alt=\"\" class=\"wp-image-6946 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-5.png 449w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-5-300x47.png 300w\" data-sizes=\"(max-width: 449px) 100vw, 449px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 449px; --smush-placeholder-aspect-ratio: 449\/71;\" \/><\/figure>\n\n\n\n<p>In the properties, click the pencil to add a new endpoint.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"490\" height=\"77\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-6.png\" alt=\"\" class=\"wp-image-6947 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-6.png 490w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-6-300x47.png 300w\" data-sizes=\"(max-width: 490px) 100vw, 490px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 490px; --smush-placeholder-aspect-ratio: 490\/77;\" \/><\/figure>\n\n\n\n<p>Be sure to set up the IP address of the Ethernet Module in your ControlLogix system.   Also declare what slot the processor is in.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"534\" height=\"176\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-7.png\" alt=\"\" class=\"wp-image-6948 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-7.png 534w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-7-300x99.png 300w\" data-sizes=\"(max-width: 534px) 100vw, 534px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 534px; --smush-placeholder-aspect-ratio: 534\/176;\" \/><\/figure>\n\n\n\n<p>At last, go to Tags, and add the tags we wish to connect to in the ControlLogix.   Remember, Controller tags are &#8220;Global&#8221; tags.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"598\" height=\"266\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-8.png\" alt=\"\" class=\"wp-image-6949 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-8.png 598w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-8-300x133.png 300w\" data-sizes=\"(max-width: 598px) 100vw, 598px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 598px; --smush-placeholder-aspect-ratio: 598\/266;\" \/><\/figure>\n\n\n\n<p>Be sure your data types match the data types in the processor.   You are finished configuring this node.  Click &#8220;Add&#8221; (at the top left), then Done.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Debug Node to view different types of Data<\/h4>\n\n\n\n<p>Here, I&#8217;ve added a debug node, so we can see the different types of data coming from OpenWeatherMap.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"809\" height=\"449\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-9.png\" alt=\"\" class=\"wp-image-6951 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-9.png 809w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-9-300x167.png 300w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-9-768x426.png 768w\" data-sizes=\"(max-width: 809px) 100vw, 809px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 809px; --smush-placeholder-aspect-ratio: 809\/449;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Conversions when interfacing Node-Red with ControlLogix<\/h4>\n\n\n\n<p>Since the Eth-IP node is looking for data in msg.payload, we will need to move some data around.    Another issue is that we need to scale the Celsius value coming from OpenWeatherMap to Fahrenheit (in the US).   Let&#8217;s do the temperature first.   We will use a function for the conversion.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"613\" height=\"98\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-10.png\" alt=\"\" class=\"wp-image-6952 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-10.png 613w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-10-300x48.png 300w\" data-sizes=\"(max-width: 613px) 100vw, 613px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 613px; --smush-placeholder-aspect-ratio: 613\/98;\" \/><\/figure>\n\n\n\n<p>Double-click the function, and we&#8217;ll enter the following code.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"450\" height=\"173\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-11.png\" alt=\"\" class=\"wp-image-6953 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-11.png 450w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-11-300x115.png 300w\" data-sizes=\"(max-width: 450px) 100vw, 450px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 450px; --smush-placeholder-aspect-ratio: 450\/173;\" \/><\/figure>\n\n\n\n<p>Finally, we&#8217;ll configure the Eth-IP output node to write to OpenWeatherTemp.  Just double click the Eth-IP output node to enter it&#8217;s configuration.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"464\" height=\"250\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-12.png\" alt=\"\" class=\"wp-image-6954 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-12.png 464w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-12-300x162.png 300w\" data-sizes=\"(max-width: 464px) 100vw, 464px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 464px; --smush-placeholder-aspect-ratio: 464\/250;\" \/><\/figure>\n\n\n\n<p>Be sure to tie your nodes together to show the flow of information.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"647\" height=\"49\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-13.png\" alt=\"\" class=\"wp-image-6955 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-13.png 647w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-13-300x23.png 300w\" data-sizes=\"(max-width: 647px) 100vw, 647px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 647px; --smush-placeholder-aspect-ratio: 647\/49;\" \/><\/figure>\n\n\n\n<p>Humidity will work slightly different.  We do not need to convert the data, so we&#8217;ll simply add a &#8220;Change&#8221; node, and another Eth-IP output node.<\/p>\n\n\n\n<p>Configure the &#8220;Change&#8221; node as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"521\" height=\"211\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-14.png\" alt=\"\" class=\"wp-image-6957 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-14.png 521w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-14-300x121.png 300w\" data-sizes=\"(max-width: 521px) 100vw, 521px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 521px; --smush-placeholder-aspect-ratio: 521\/211;\" \/><\/figure>\n\n\n\n<p>Then configure your Eth-IP output mode to store the data to the OpenWeatherHumidity tag.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"506\" height=\"259\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-15.png\" alt=\"\" class=\"wp-image-6958 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-15.png 506w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-15-300x154.png 300w\" data-sizes=\"(max-width: 506px) 100vw, 506px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 506px; --smush-placeholder-aspect-ratio: 506\/259;\" \/><\/figure>\n\n\n\n<p>Connect flows as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"721\" height=\"133\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-16.png\" alt=\"\" class=\"wp-image-6959 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-16.png 721w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-16-300x55.png 300w\" data-sizes=\"(max-width: 721px) 100vw, 721px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 721px; --smush-placeholder-aspect-ratio: 721\/133;\" \/><\/figure>\n\n\n\n<p>In like manner, I&#8217;ll add the following logic for WindDirection and WindSpeed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"710\" height=\"241\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-17.png\" alt=\"\" class=\"wp-image-6960 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-17.png 710w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-17-300x102.png 300w\" data-sizes=\"(max-width: 710px) 100vw, 710px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 710px; --smush-placeholder-aspect-ratio: 710\/241;\" \/><\/figure>\n\n\n\n<p>Click &#8220;Deploy&#8221; in the upper right corner of your web interface, and you will see the data going to the processor.<\/p>\n\n\n\n<p>Open your ControlLogix, and go online.  We can see the data is coming into the processor from OpenWeatherMap!<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"290\" height=\"76\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-18.png\" alt=\"\" class=\"wp-image-6965 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 290px; --smush-placeholder-aspect-ratio: 290\/76;\" \/><\/figure>\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-3686421063\" 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>Introduction to Node-Red with ControlLogix In this section, I&#8217;ll discuss setting up Node-Red with ControlLogix. Basically, we just need to install the Eth-IP node in Node-Red (for CIP). After that, we just configure the IP address of the Ethernet Module, the slot the processor is in, then declare the tags we want to connect to. <a class=\"moretag btn btn-primary\" href=\"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/\">Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":6960,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,335],"tags":[334,333,332],"class_list":{"0":"post-6938","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-controllogix","8":"category-information-technology","9":"category-node-red","10":"tag-cip","11":"tag-eth-ip","12":"tag-node-red","13":"czr-hentry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Node-Red with ControlLogix - Bryce Automation Node<\/title>\n<meta name=\"description\" content=\"Here we&#039;ll set up Node-Red with ControlLogix. In this example will send weather information to a controller tag in the processor.\" \/>\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\/05\/29\/node-red-with-controllogix\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Node-Red with ControlLogix - Bryce Automation Node\" \/>\n<meta property=\"og:description\" content=\"Here we&#039;ll set up Node-Red with ControlLogix. In this example will send weather information to a controller tag in the processor.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/\" \/>\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-05-29T09:25:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-31T14:20:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-17.png\" \/>\n\t<meta property=\"og:image:width\" content=\"710\" \/>\n\t<meta property=\"og:image:height\" content=\"241\" \/>\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\\\/05\\\/29\\\/node-red-with-controllogix\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/\"},\"author\":{\"name\":\"Ricky\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"headline\":\"Node-Red with ControlLogix\",\"datePublished\":\"2021-05-29T09:25:29+00:00\",\"dateModified\":\"2021-05-31T14:20:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/\"},\"wordCount\":632,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/image-17.png\",\"keywords\":[\"CIP\",\"Eth-IP\",\"Node-Red\"],\"articleSection\":[\"ControlLogix\",\"Information Technology\",\"Node-Red\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/\",\"name\":\"Node-Red with ControlLogix - Bryce Automation Node\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/image-17.png\",\"datePublished\":\"2021-05-29T09:25:29+00:00\",\"dateModified\":\"2021-05-31T14:20:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"description\":\"Here we'll set up Node-Red with ControlLogix. In this example will send weather information to a controller tag in the processor.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/image-17.png\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/image-17.png\",\"width\":710,\"height\":241,\"caption\":\"NodeRed\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/05\\\/29\\\/node-red-with-controllogix\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bryceautomation.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Node-Red with ControlLogix\"}]},{\"@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":"Node-Red with ControlLogix - Bryce Automation Node","description":"Here we'll set up Node-Red with ControlLogix. In this example will send weather information to a controller tag in the processor.","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\/05\/29\/node-red-with-controllogix\/","og_locale":"en_US","og_type":"article","og_title":"Node-Red with ControlLogix - Bryce Automation Node","og_description":"Here we'll set up Node-Red with ControlLogix. In this example will send weather information to a controller tag in the processor.","og_url":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/","og_site_name":"Bryce Automation","article_author":"https:\/\/www.facebook.com\/ricky.bryce.7","article_published_time":"2021-05-29T09:25:29+00:00","article_modified_time":"2021-05-31T14:20:02+00:00","og_image":[{"width":710,"height":241,"url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-17.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\/05\/29\/node-red-with-controllogix\/#article","isPartOf":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/"},"author":{"name":"Ricky","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"headline":"Node-Red with ControlLogix","datePublished":"2021-05-29T09:25:29+00:00","dateModified":"2021-05-31T14:20:02+00:00","mainEntityOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/"},"wordCount":632,"commentCount":0,"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-17.png","keywords":["CIP","Eth-IP","Node-Red"],"articleSection":["ControlLogix","Information Technology","Node-Red"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/","url":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/","name":"Node-Red with ControlLogix - Bryce Automation Node","isPartOf":{"@id":"https:\/\/bryceautomation.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/#primaryimage"},"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-17.png","datePublished":"2021-05-29T09:25:29+00:00","dateModified":"2021-05-31T14:20:02+00:00","author":{"@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"description":"Here we'll set up Node-Red with ControlLogix. In this example will send weather information to a controller tag in the processor.","breadcrumb":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/#primaryimage","url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-17.png","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/05\/image-17.png","width":710,"height":241,"caption":"NodeRed"},{"@type":"BreadcrumbList","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/05\/29\/node-red-with-controllogix\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bryceautomation.com\/"},{"@type":"ListItem","position":2,"name":"Node-Red with ControlLogix"}]},{"@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\/6938","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=6938"}],"version-history":[{"count":0,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/6938\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media\/6960"}],"wp:attachment":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media?parent=6938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/categories?post=6938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/tags?post=6938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}