{"id":917,"date":"2020-08-31T14:52:05","date_gmt":"2020-08-31T14:52:05","guid":{"rendered":"https:\/\/www.axcontrol.com\/blog\/?p=917"},"modified":"2021-05-19T19:32:58","modified_gmt":"2021-05-19T19:32:58","slug":"the-basics-of-ladder-logic","status":"publish","type":"post","link":"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/","title":{"rendered":"Ladder Logic: Here are the Basics"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">What is Ladder Logic? A Definition<\/h2>\n\n\n\n<p>Ladder logic stems from the history of relays.  At one time, relays were the primary control for most automatic systems.  These electromechanical devices consisted of coils and contacts that they moved.  Energized coils moved their contacts from their resting position to their active position (either closed to open or open to closed.) <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-attachment-id=\"920\" data-permalink=\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/pexels-cottonbro-5094573\/\" data-orig-file=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-scaled.jpg\" data-orig-size=\"2560,1706\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Pexels Cottonbro\" data-image-description=\"&lt;p&gt;Photo of a light bulb next to a ladder&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-300x200.jpg\" data-large-file=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-1024x683.jpg\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-1024x683.jpg\" alt=\"Close up image of a real ladder and a light bulb.  Visual representation of the inspiration basic ladder logic programming can allow for. \n\" class=\"wp-image-920\" width=\"768\" height=\"512\" srcset=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-1024x683.jpg 1024w, https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-300x200.jpg 300w, https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-768x512.jpg 768w, https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-1536x1024.jpg 1536w, https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-2048x1365.jpg 2048w, https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-1200x800.jpg 1200w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><figcaption>Ladder logic is shaped like an actual ladder, and is read from top to bottom\/left to right.  <\/figcaption><\/figure>\n\n\n\n<p>In practical application, a ladder diagram showed how to wire relays together. This diagram looked like a drawing of a standard household ladder with uprights and rungs. Modern-day ladder logic still follows these conventions.  Relays did (and still do) their job well, but can be cumbersome due to the sheer size of multiple relays wired together.  This is where programmable logic controllers using ladder logic can be advantageous: able to do the same kind of job but in significantly less space. <\/p>\n\n\n\n<!--more-->\n\n\n\n<h3 class=\"wp-block-heading\">Differences Between Relays and PLCs<\/h3>\n\n\n\n<p>This is not to say that relays and PLCs are the same thing.  <\/p>\n\n\n\n<p>A relay acts as an electrically operated switch.  These internal switches (otherwise known as contacts) operate via internal electromagnets or coils.  The contacts can be &#8220;normally open&#8221; (N.O) or &#8220;normally closed&#8221; (N.C.); activating the mechanism through power application will switch them to their opposite setting.  In other words, N.O contacts will close and N.C contacts will open.  <\/p>\n\n\n\n<p>A PLC, on the other hand, is a ruggedized computer specifically designed for industrial applications.   Like your home computer, it can receive information from connected input devices, process data, and create outputs depending on specific parameters. <\/p>\n\n\n\n<p>Like these early ladder diagrams, ladder logic still places power information at the top of the drawing and has the power (or hot) rail going down its left side.  The right side holds neutral rail information.  Then contacts go on the left side of the drawing, while outputs go on the right. Each output has its own ladder rung. A horizontal line represents a rung.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Is Ladder Logic Still Used? <\/h2>\n\n\n\n<p>Yes.  According to one 2016 study by Technavio, ladder logic continues as the dominant language for PLC programming&#8211;accounting for more than 81% of the global market&#8211;although some PLCs use instruction list programming, function blocks, structured text, or sequential function blocks.  However, ladder logic remains popular and common. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img data-attachment-id=\"1007\" data-permalink=\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/5120-photo_-3\/\" data-orig-file=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/11\/5120.photo_.3.jpg\" data-orig-size=\"350,158\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"5120 Photo\" data-image-description=\"&lt;p&gt;Pi chart photo for different percentage&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/11\/5120.photo_.3-300x135.jpg\" data-large-file=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/11\/5120.photo_.3.jpg\" decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/11\/5120.photo_.3.jpg\" alt=\"Pie chart representing PLC programming percentages using ladder logic. \" class=\"wp-image-1007\" width=\"585\" height=\"264\" srcset=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/11\/5120.photo_.3.jpg 350w, https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/11\/5120.photo_.3-300x135.jpg 300w\" sizes=\"(max-width: 585px) 85vw, 585px\" \/><figcaption>Global market shares of PLC programming languages in 2015.  Source: Technavio<\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Ladder Logic is Easy <\/h3>\n\n\n\n<p>One reason for ladder logic&#8217;s continued use is its simplicity.   Since it reads left to right like most Indo-European languages, it&#8217;s easy to learn.   When deployed, it executes from top to bottom and mimics electrical circuits, making it easy to troubleshoot.  <\/p>\n\n\n\n<p>One caveat for this continued popularity may be the slow transition from PLCs to PACs within industrial settings.  PLCs (programmable logic controllers) have been around for decades.  Newer PACs, or programmable automation controllers, offer the same essential functions and are used for generally the same things, but are typically programmed using C or C++.   However, the jury is still out on whether PACs will be fully embraced by the manufacturing community as a replacement for reliable PLCs. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to Read Diagrams<\/h2>\n\n\n\n<p>Ladder logic reads like the text in a book: left to right and top to bottom.   Power in a ladder logic diagram flows left to right, and instructions descend from the top of the ladder to the bottom. Based upon electrical diagrams of relay logic, it&#8217;s easy to see why these diagrams were called ladders;  the diagrams resemble an upright ladder with two vertical rails and several rungs between.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-attachment-id=\"918\" data-permalink=\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/ladder-logic\/\" data-orig-file=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/ladder-logic.jpg\" data-orig-size=\"604,663\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Ladder Logic\" data-image-description=\"&lt;p&gt;Photo of how ladder logic works in a circuit&lt;\/p&gt;\n\" data-image-caption=\"\" data-medium-file=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/ladder-logic-273x300.jpg\" data-large-file=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/ladder-logic.jpg\" decoding=\"async\" loading=\"lazy\" width=\"604\" height=\"663\" src=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/ladder-logic.jpg\" alt=\"Several electrical diagram examples of ladder logic. \" class=\"wp-image-918\" srcset=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/ladder-logic.jpg 604w, https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/ladder-logic-273x300.jpg 273w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><figcaption>Image by Hugh Jack at English Wikibooks.  Used under CC BY-SA 3.0. <\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">What Can This Logic Actually Do? <\/h2>\n\n\n\n<p>Ladder logic is most often used in the development of software for industrial programmable logic controllers (PLCs).   Ladder logic creates a central architecture. This connects to function blocks holding more complex instructions.   This type of structure allows for ease of programming while instructions become more complex.   By using ladder logic, PLCs can: <\/p>\n\n\n\n<ul><li>Have counting functions (count down\/count up) to decrease or increase values on each transition of the input<\/li><li>Make comparisons to determine if values are greater than, less than, or equal<\/li><li>Have timing instructions for on- or off-delayed events.  <\/li><li>Include special functions like PID loops, shift registers, communication instructions, ramp generators, etc. <\/li><li>Use math instructions for everything from addition and subtraction to finding square roots and changing the sign of a piece of data. <\/li><li>Use Boolean expressions like &#8220;AND&#8221;, &#8220;NOT&#8221;, and &#8220;OR.&#8221;  <\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Does Ladder Logic have Any Drawbacks? <\/h2>\n\n\n\n<p>All programming languages  have their strengths and weaknesses.  Ladder logic is no different.  Even though it remains easy to use, the language cannot encapsulate code for reuse.  This can make programs unreasonably long.   Additionally, since ladder diagrams read and write to variables anywhere in the program in single memory bits, data can be difficult to protect or group.   Finally, ladder logic can have difficulty with complex algorithms that involve a large number of variables. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How do I Learn Ladder Logic? <\/h2>\n\n\n\n<p>Nowadays there are literally thousands of free resources on the web for learning this programming language.   Start by checking out videos on YouTube or on PLC supplier sites (Siemens, Allen Bradley, Omron) for training courses.   You can also try this search string in Google: <\/p>\n\n\n\n<p class=\"has-text-align-center\">site:edu ladder logic mooc <\/p>\n\n\n\n<p>which should result in an additional resource list of previous Massive Online Open Courses.  Closed courses may still have class notes, videos,  or other resources available.  <\/p>\n\n\n\n<p class=\"has-text-align-center\">Have questions about <a href=\"https:\/\/www.axcontrol.com\/automation\/square-d\">the right PLC<\/a> for your application?  Talk to our staff today.  We can help. <\/p>\n\n\n\n<p class=\"has-text-align-center\">AX Control, Inc is a leading supplier of industrial automation parts to companies around the world.  If you need help with drives, motors, circuit boards, turbine parts, or vision systems, talk to our team or take a look at our online inventory.  We ship globally from our facility located in the heart of North Carolina. <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is Ladder Logic? A Definition Ladder logic stems from the history of relays. At one time, relays were the primary control for most automatic systems. These electromechanical devices consisted of coils and contacts that they moved. Energized coils moved their contacts from their resting position to their active position (either closed to open or &hellip; <a href=\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Ladder Logic: Here are the Basics&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false},"categories":[9],"tags":[267,270,269,268,74,47],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ladder Logic: Here are the Basics - AX Control, Inc.<\/title>\n<meta name=\"description\" content=\"Ladder logic is still used today in many PLCs. Find out where programming came from, how to use it, and what it&#039;s used for.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ladder Logic: Here are the Basics - AX Control, Inc.\" \/>\n<meta property=\"og:description\" content=\"Ladder logic is still used today in many PLCs. Find out where programming came from, how to use it, and what it&#039;s used for.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/\" \/>\n<meta property=\"og:site_name\" content=\"AX Control, Inc.\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-31T14:52:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-19T19:32:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-1024x683.jpg\" \/>\n<meta name=\"author\" content=\"axcontrol\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"axcontrol\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/\"},\"author\":{\"name\":\"axcontrol\",\"@id\":\"https:\/\/www.axcontrol.com\/blog\/#\/schema\/person\/b19681ba5b3316e7f3357bba95aa697a\"},\"headline\":\"Ladder Logic: Here are the Basics\",\"datePublished\":\"2020-08-31T14:52:05+00:00\",\"dateModified\":\"2021-05-19T19:32:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/\"},\"wordCount\":985,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.axcontrol.com\/blog\/#organization\"},\"keywords\":[\"ladder logic\",\"ladder logic diagram\",\"Mooc\",\"pac\",\"PLC\",\"relay\"],\"articleSection\":[\"Education\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/\",\"url\":\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/\",\"name\":\"Ladder Logic: Here are the Basics - AX Control, Inc.\",\"isPartOf\":{\"@id\":\"https:\/\/www.axcontrol.com\/blog\/#website\"},\"datePublished\":\"2020-08-31T14:52:05+00:00\",\"dateModified\":\"2021-05-19T19:32:58+00:00\",\"description\":\"Ladder logic is still used today in many PLCs. Find out where programming came from, how to use it, and what it's used for.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.axcontrol.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ladder Logic: Here are the Basics\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.axcontrol.com\/blog\/#website\",\"url\":\"https:\/\/www.axcontrol.com\/blog\/\",\"name\":\"AX Control, Inc.\",\"description\":\"A Global Industrial Automation Supplier\",\"publisher\":{\"@id\":\"https:\/\/www.axcontrol.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.axcontrol.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.axcontrol.com\/blog\/#organization\",\"name\":\"AX Control, Inc\",\"url\":\"https:\/\/www.axcontrol.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.axcontrol.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2019\/12\/image001.png\",\"contentUrl\":\"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2019\/12\/image001.png\",\"width\":200,\"height\":114,\"caption\":\"AX Control, Inc\"},\"image\":{\"@id\":\"https:\/\/www.axcontrol.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/3575940\/\",\"https:\/\/www.pinterest.com\/axcontrol\/\",\"https:\/\/www.youtube.com\/c\/Axcontrolinc\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.axcontrol.com\/blog\/#\/schema\/person\/b19681ba5b3316e7f3357bba95aa697a\",\"name\":\"axcontrol\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.axcontrol.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/153a58f084a16e17f087b0091053ab6b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/153a58f084a16e17f087b0091053ab6b?s=96&d=mm&r=g\",\"caption\":\"axcontrol\"},\"url\":\"https:\/\/www.axcontrol.com\/blog\/author\/axcontrol\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ladder Logic: Here are the Basics - AX Control, Inc.","description":"Ladder logic is still used today in many PLCs. Find out where programming came from, how to use it, and what it's used for.","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:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/","og_locale":"en_US","og_type":"article","og_title":"Ladder Logic: Here are the Basics - AX Control, Inc.","og_description":"Ladder logic is still used today in many PLCs. Find out where programming came from, how to use it, and what it's used for.","og_url":"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/","og_site_name":"AX Control, Inc.","article_published_time":"2020-08-31T14:52:05+00:00","article_modified_time":"2021-05-19T19:32:58+00:00","og_image":[{"url":"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/08\/pexels-cottonbro-5094573-1024x683.jpg"}],"author":"axcontrol","twitter_card":"summary_large_image","twitter_misc":{"Written by":"axcontrol","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/#article","isPartOf":{"@id":"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/"},"author":{"name":"axcontrol","@id":"https:\/\/www.axcontrol.com\/blog\/#\/schema\/person\/b19681ba5b3316e7f3357bba95aa697a"},"headline":"Ladder Logic: Here are the Basics","datePublished":"2020-08-31T14:52:05+00:00","dateModified":"2021-05-19T19:32:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/"},"wordCount":985,"commentCount":0,"publisher":{"@id":"https:\/\/www.axcontrol.com\/blog\/#organization"},"keywords":["ladder logic","ladder logic diagram","Mooc","pac","PLC","relay"],"articleSection":["Education"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/","url":"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/","name":"Ladder Logic: Here are the Basics - AX Control, Inc.","isPartOf":{"@id":"https:\/\/www.axcontrol.com\/blog\/#website"},"datePublished":"2020-08-31T14:52:05+00:00","dateModified":"2021-05-19T19:32:58+00:00","description":"Ladder logic is still used today in many PLCs. Find out where programming came from, how to use it, and what it's used for.","breadcrumb":{"@id":"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.axcontrol.com\/blog\/2020\/the-basics-of-ladder-logic\/31\/08\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.axcontrol.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Ladder Logic: Here are the Basics"}]},{"@type":"WebSite","@id":"https:\/\/www.axcontrol.com\/blog\/#website","url":"https:\/\/www.axcontrol.com\/blog\/","name":"AX Control, Inc.","description":"A Global Industrial Automation Supplier","publisher":{"@id":"https:\/\/www.axcontrol.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.axcontrol.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.axcontrol.com\/blog\/#organization","name":"AX Control, Inc","url":"https:\/\/www.axcontrol.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.axcontrol.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2019\/12\/image001.png","contentUrl":"https:\/\/www.axcontrol.com\/blog\/wp-content\/uploads\/2019\/12\/image001.png","width":200,"height":114,"caption":"AX Control, Inc"},"image":{"@id":"https:\/\/www.axcontrol.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/company\/3575940\/","https:\/\/www.pinterest.com\/axcontrol\/","https:\/\/www.youtube.com\/c\/Axcontrolinc\/"]},{"@type":"Person","@id":"https:\/\/www.axcontrol.com\/blog\/#\/schema\/person\/b19681ba5b3316e7f3357bba95aa697a","name":"axcontrol","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.axcontrol.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/153a58f084a16e17f087b0091053ab6b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/153a58f084a16e17f087b0091053ab6b?s=96&d=mm&r=g","caption":"axcontrol"},"url":"https:\/\/www.axcontrol.com\/blog\/author\/axcontrol\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_likes_enabled":false,"jetpack_shortlink":"https:\/\/wp.me\/pbxqch-eN","jetpack-related-posts":[{"id":1515,"url":"https:\/\/www.axcontrol.com\/blog\/2021\/plc-hmi-scada-how-they-work-together\/16\/07\/","url_meta":{"origin":917,"position":0},"title":"PLC, HMI &#038; SCADA: How They Work Together","date":"July 16, 2021","format":false,"excerpt":"If you work in any sort of manufacturing setting, you've probably heard the terms PLC, HMI & SCADA. But do you know what they all mean? More importantly, do you know what they do, when to use them, and how they work together within industrial systems? If you answered \"no\"\u2026","rel":"","context":"In &quot;Automation&quot;","img":{"alt_text":"ic693udr005","src":"https:\/\/i0.wp.com\/www.axcontrol.com\/blog\/wp-content\/uploads\/2021\/07\/ic693udr005.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2534,"url":"https:\/\/www.axcontrol.com\/blog\/2022\/4-examples-of-plcs-in-industrial-automation\/01\/11\/","url_meta":{"origin":917,"position":1},"title":"4 Examples of PLCs in Industrial Automation","date":"November 1, 2022","format":false,"excerpt":"Programmable logic controllers, or PLCs, are an essential part of many industrial workflows. Read on to learn some examples of PLCs in automation.","rel":"","context":"In &quot;Automation&quot;","img":{"alt_text":"4 Examples of PLCs in Industrial Automation","src":"https:\/\/i0.wp.com\/www.axcontrol.com\/blog\/wp-content\/uploads\/2022\/11\/CDZyDUBBhTKikjdo3sKoUxRLv11KXTSn1666368858.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":636,"url":"https:\/\/www.axcontrol.com\/blog\/2020\/what-is-a-programmable-logic-controller\/05\/03\/","url_meta":{"origin":917,"position":2},"title":"What is a Programmable Logic Controller?","date":"March 5, 2020","format":false,"excerpt":"A useful Infographic covering some of the most-asked questions about PLCs.","rel":"","context":"In &quot;Education&quot;","img":{"alt_text":"Programmable-Logic-Controller-Basics","src":"https:\/\/i0.wp.com\/www.axcontrol.com\/blog\/wp-content\/uploads\/2020\/03\/Programmable-Logic-Controller-Basics.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1522,"url":"https:\/\/www.axcontrol.com\/blog\/2021\/what-is-bang-bang-control\/20\/07\/","url_meta":{"origin":917,"position":3},"title":"What is Bang-bang Control?","date":"July 20, 2021","format":false,"excerpt":"Thermostats like this old Honeywell model offered bang-bang control. Copyright M Kenney 2021 Mechanical systems offer many different control options. One of these is the oddly-named bang-bang control. This short blog post answers some common questions about this control theory. What is bang-bang control theory? Bang-bang control is a kind\u2026","rel":"","context":"In &quot;Automation&quot;","img":{"alt_text":"Honeywell-Thermostat","src":"https:\/\/i0.wp.com\/www.axcontrol.com\/blog\/wp-content\/uploads\/2021\/07\/Honeywell-Thermostat.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1071,"url":"https:\/\/www.axcontrol.com\/blog\/2021\/a-quick-primer-on-servo-position-controllers\/21\/01\/","url_meta":{"origin":917,"position":4},"title":"A Quick Primer on Servo Position Controllers","date":"January 21, 2021","format":false,"excerpt":"Servo systems are widely used in manufacturing, laser processing equipment, industrial robotics, and various robotic and motor applications.\u00a0 But if you\u2019re just starting to dip your foot into the world of servos there are plenty of terms you probably have never heard of.\u00a0 Servo position controller. Here\u2019s a short overview\u2026","rel":"","context":"In &quot;Manufacturing&quot;","img":{"alt_text":"A servo position controller (plc servo motor kontrol\u00c3\u00bc) ","src":"https:\/\/i0.wp.com\/www.axcontrol.com\/blog\/wp-content\/uploads\/2021\/01\/ic800vmcb1100-servo-motor.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":1365,"url":"https:\/\/www.axcontrol.com\/blog\/2021\/universal-relays-what-you-need-to-know\/26\/04\/","url_meta":{"origin":917,"position":5},"title":"Universal Relays: What You Need to Know","date":"April 26, 2021","format":false,"excerpt":"The GE L90-H03-HKH-F8L-H6D-L6C-NXX-SXX-UXX-W7I Universal Relay Relays have been around since the mid-1800s, but universal relays are relatively new (GE's UR relay has been in production for a little over two decades.) But what is a universal relay? Universal, adjectiveincluding or covering all or a whole collectively or distributively without limit\u2026","rel":"","context":"In &quot;Manufacturing&quot;","img":{"alt_text":"L90-H03-HKH-F8L-H6D-L6C-NXX-SXX-UXX-W7I-universal-Relay","src":"https:\/\/i0.wp.com\/www.axcontrol.com\/blog\/wp-content\/uploads\/2021\/04\/L90-H03-HKH-F8L-H6D-L6C-NXX-SXX-UXX-W7I-universal-Relay.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.axcontrol.com\/blog\/wp-json\/wp\/v2\/posts\/917"}],"collection":[{"href":"https:\/\/www.axcontrol.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.axcontrol.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.axcontrol.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.axcontrol.com\/blog\/wp-json\/wp\/v2\/comments?post=917"}],"version-history":[{"count":7,"href":"https:\/\/www.axcontrol.com\/blog\/wp-json\/wp\/v2\/posts\/917\/revisions"}],"predecessor-version":[{"id":1401,"href":"https:\/\/www.axcontrol.com\/blog\/wp-json\/wp\/v2\/posts\/917\/revisions\/1401"}],"wp:attachment":[{"href":"https:\/\/www.axcontrol.com\/blog\/wp-json\/wp\/v2\/media?parent=917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.axcontrol.com\/blog\/wp-json\/wp\/v2\/categories?post=917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.axcontrol.com\/blog\/wp-json\/wp\/v2\/tags?post=917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}