{"id":9990,"date":"2022-01-19T17:42:14","date_gmt":"2022-01-19T17:42:14","guid":{"rendered":"https:\/\/bryceautomation.com\/?p=9990"},"modified":"2022-01-19T17:42:18","modified_gmt":"2022-01-19T17:42:18","slug":"controllogix-case-of-statement","status":"publish","type":"post","link":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/","title":{"rendered":"ControlLogix CASE \/ OF Statement"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Introduction to ControlLogix CASE \/ OF Statement<\/h3>\n\n\n\n<p>The ControlLogix CASE \/ OF Statement allows a specific block of code to execute.  The block of code that executes depends on the value of a tag.  This can also be an expression that returns a value.  <\/p><div id=\"bryce-1726506219\" 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>You can use this statement in Structured Text.  An example of this would be an alarm code.  Based on a specific alarm code, we can execute a block of logic.  This logic would be the action we might take when a specific alarm occurs.  For example, you could shutdown a certain section of your equipment.  You could also update an operator display.<\/p>\n\n\n\n<p>Another example would be in a type of sequencer operation.  In this case, we can increment a tag.  The value of the tag represents the step of a sequencer.  Each block of code would be the actions you want to take during that step.<\/p>\n\n\n\n<p>It&#8217;s important to realize that you might want to use structured text sparingly.  Some technicians find this type of logic difficult to troubleshoot.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Set up a Structured Text Routine<\/h3>\n\n\n\n<p>First, we&#8217;ll create a Structured Text routine.  We will right-click on a program.  After that, choose &#8220;New Routine&#8221;.  Be sure to name your routine.  The type of routine will be &#8220;Structured Text&#8221;.  It&#8217;s important to realize that we need a JSR in the main routine.  The JSR allows subroutines to execute.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"366\" height=\"213\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-36.png\" alt=\"\" class=\"wp-image-9991 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-36.png 366w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-36-300x175.png 300w\" data-sizes=\"(max-width: 366px) 100vw, 366px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 366px; --smush-placeholder-aspect-ratio: 366\/213;\" \/><\/figure>\n\n\n\n<p>Don&#8217;t forget that if you created a new program, you need to declare a main routine.  Do this in the properties of the program.  This is on the &#8220;Configuration&#8221; Tab.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"366\" height=\"283\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-37.png\" alt=\"\" class=\"wp-image-9992 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-37.png 366w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-37-300x232.png 300w\" data-sizes=\"(max-width: 366px) 100vw, 366px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 366px; --smush-placeholder-aspect-ratio: 366\/283;\" \/><\/figure>\n\n\n\n<p>When finished, our tree should look similar to this:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"519\" height=\"257\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-38.png\" alt=\"\" class=\"wp-image-9993 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-38.png 519w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-38-300x149.png 300w\" data-sizes=\"(max-width: 519px) 100vw, 519px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 519px; --smush-placeholder-aspect-ratio: 519\/257;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Add the ControlLogix CASE \/ OF Statement<\/h4>\n\n\n\n<p>At this point, we are ready to add some logic.  Before we begin, let&#8217;s create a couple tags.  Remember the purpose of this exercise is to understand the CASE \/ OF Statement.  The logic will be of no practical value at this point.  It&#8217;s simply to show you how the instruction works.<\/p>\n\n\n\n<p>First, lets create a couple tags.  Create &#8220;MyCase&#8221; as DINT.  In the same way, we&#8217;ll create a tag called &#8220;MyValue&#8221;.  Again, this will have a DINT data type.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"420\" height=\"106\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-39.png\" alt=\"\" class=\"wp-image-9994 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-39.png 420w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-39-300x76.png 300w\" data-sizes=\"(max-width: 420px) 100vw, 420px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 420px; --smush-placeholder-aspect-ratio: 420\/106;\" \/><\/figure>\n\n\n\n<p>Our objective will be for us to manually place a value into MyCase.  After that, MyValue will immediately change, depending on the value we chose for that case.   For example, we&#8217;ll change MyValue to 10, when MyCase = 1.  Likewise, MyValue will contain the value of 20 when MyCase = 2.  Again, this is just to prove out the operation of the Case \/ Of statement in the simplest way possible.  In reality, you would execute certain blocks of logic during each case instead of just setting a single value.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Let&#8217;s give it a try!<\/h3>\n\n\n\n<p>We&#8217;ll configure the logic in our &#8220;Example&#8221; Routine as follows:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"192\" height=\"109\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-40.png\" alt=\"\" class=\"wp-image-9995 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 192px; --smush-placeholder-aspect-ratio: 192\/109;\" \/><\/figure>\n\n\n\n<p>As you can see, we are looking at the tag &#8220;MyCase&#8221;.  Obviously, when this is 0, we write the value of 0 to MyValue.  Likewise, if the MyCase = 1, then we write the value of 10 to MyValue.  <\/p>\n\n\n\n<p>Let&#8217;s go to our program tags to test our work.<\/p>\n\n\n\n<p>When MyValue = 1:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"303\" height=\"93\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-41.png\" alt=\"\" class=\"wp-image-9996 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-41.png 303w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-41-300x92.png 300w\" data-sizes=\"(max-width: 303px) 100vw, 303px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 303px; --smush-placeholder-aspect-ratio: 303\/93;\" \/><\/figure>\n\n\n\n<p>Again, When MyValue = 2:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"290\" height=\"95\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-42.png\" alt=\"\" class=\"wp-image-9997 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 290px; --smush-placeholder-aspect-ratio: 290\/95;\" \/><\/figure>\n\n\n\n<p>Finally, back to 0:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"287\" height=\"66\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-43.png\" alt=\"\" class=\"wp-image-9998 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 287px; --smush-placeholder-aspect-ratio: 287\/66;\" \/><\/figure>\n\n\n\n<p>Let&#8217;s try something different.  I&#8217;m going to change MyCase to the value of 10.  Remember, we have no logic that executes with this value.   The value will remain at 0.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Summary<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"297\" height=\"87\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-44.png\" alt=\"\" class=\"wp-image-9999 lazyload\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 297px; --smush-placeholder-aspect-ratio: 297\/87;\" \/><\/figure>\n\n\n\n<p>In Summary, use the ControlLogix CASE \/ OF Statement when you want a certain block of logic to execute.  We base this on a value or expression.    As long as this value is listed as a case in the construct, only that block of logic will execute.  If the case is not listed in the construct, then no logic executes.  For a more detailed explanation of each structured text command, take a look at Rockwell&#8217;s user manual.  <a href=\"https:\/\/literature.rockwellautomation.com\/idc\/groups\/literature\/documents\/pm\/1756-pm007_-en-p.pdf\">This manual is strictly for Structured Text Routines.<\/a><\/p>\n\n\n\n<p>For more information on ControlLogix, visit the <a href=\"https:\/\/bryceautomation.com\/index.php\/category\/controllogix\/\">category page!<\/a><\/p>\n\n\n\n<p>&#8212; Ricky Bryce<\/p>\n<div id=\"bryce-3696473657\" 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 ControlLogix CASE \/ OF Statement The ControlLogix CASE \/ OF Statement allows a specific block of code to execute. The block of code that executes depends on the value of a tag. This can also be an expression that returns a value. You can use this statement in Structured Text. An example of <a class=\"moretag btn btn-primary\" href=\"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/\">Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":9995,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[435,433],"class_list":{"0":"post-9990","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-controllogix","8":"tag-case-of","9":"tag-structured-text","10":"czr-hentry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ControlLogix CASE \/ OF Statement - Bryce Automation<\/title>\n<meta name=\"description\" content=\"ControlLogix CASE \/ OF Statement: How to create a a structured text routine to utilize the construct for sequencers, alarms, etc.\" \/>\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\/2022\/01\/19\/controllogix-case-of-statement\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ControlLogix CASE \/ OF Statement - Bryce Automation\" \/>\n<meta property=\"og:description\" content=\"ControlLogix CASE \/ OF Statement: How to create a a structured text routine to utilize the construct for sequencers, alarms, etc.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/\" \/>\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=\"2022-01-19T17:42:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-01-19T17:42:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-40.png\" \/>\n\t<meta property=\"og:image:width\" content=\"192\" \/>\n\t<meta property=\"og:image:height\" content=\"109\" \/>\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\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/\"},\"author\":{\"name\":\"Ricky\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"headline\":\"ControlLogix CASE \\\/ OF Statement\",\"datePublished\":\"2022-01-19T17:42:14+00:00\",\"dateModified\":\"2022-01-19T17:42:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/\"},\"wordCount\":645,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/image-40.png\",\"keywords\":[\"case of\",\"structured text\"],\"articleSection\":[\"ControlLogix\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/\",\"name\":\"ControlLogix CASE \\\/ OF Statement - Bryce Automation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/image-40.png\",\"datePublished\":\"2022-01-19T17:42:14+00:00\",\"dateModified\":\"2022-01-19T17:42:18+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"description\":\"ControlLogix CASE \\\/ OF Statement: How to create a a structured text routine to utilize the construct for sequencers, alarms, etc.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/image-40.png\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/image-40.png\",\"width\":192,\"height\":109,\"caption\":\"case of\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2022\\\/01\\\/19\\\/controllogix-case-of-statement\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bryceautomation.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ControlLogix CASE \\\/ OF Statement\"}]},{\"@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":"ControlLogix CASE \/ OF Statement - Bryce Automation","description":"ControlLogix CASE \/ OF Statement: How to create a a structured text routine to utilize the construct for sequencers, alarms, etc.","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\/2022\/01\/19\/controllogix-case-of-statement\/","og_locale":"en_US","og_type":"article","og_title":"ControlLogix CASE \/ OF Statement - Bryce Automation","og_description":"ControlLogix CASE \/ OF Statement: How to create a a structured text routine to utilize the construct for sequencers, alarms, etc.","og_url":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/","og_site_name":"Bryce Automation","article_author":"https:\/\/www.facebook.com\/ricky.bryce.7","article_published_time":"2022-01-19T17:42:14+00:00","article_modified_time":"2022-01-19T17:42:18+00:00","og_image":[{"width":192,"height":109,"url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-40.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\/2022\/01\/19\/controllogix-case-of-statement\/#article","isPartOf":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/"},"author":{"name":"Ricky","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"headline":"ControlLogix CASE \/ OF Statement","datePublished":"2022-01-19T17:42:14+00:00","dateModified":"2022-01-19T17:42:18+00:00","mainEntityOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/"},"wordCount":645,"commentCount":0,"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-40.png","keywords":["case of","structured text"],"articleSection":["ControlLogix"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/","url":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/","name":"ControlLogix CASE \/ OF Statement - Bryce Automation","isPartOf":{"@id":"https:\/\/bryceautomation.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/#primaryimage"},"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-40.png","datePublished":"2022-01-19T17:42:14+00:00","dateModified":"2022-01-19T17:42:18+00:00","author":{"@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"description":"ControlLogix CASE \/ OF Statement: How to create a a structured text routine to utilize the construct for sequencers, alarms, etc.","breadcrumb":{"@id":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/#primaryimage","url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-40.png","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2022\/01\/image-40.png","width":192,"height":109,"caption":"case of"},{"@type":"BreadcrumbList","@id":"https:\/\/bryceautomation.com\/index.php\/2022\/01\/19\/controllogix-case-of-statement\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bryceautomation.com\/"},{"@type":"ListItem","position":2,"name":"ControlLogix CASE \/ OF Statement"}]},{"@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\/9990","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=9990"}],"version-history":[{"count":0,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/9990\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media\/9995"}],"wp:attachment":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media?parent=9990"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/categories?post=9990"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/tags?post=9990"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}