[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-680738-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-680738-en":130,"doc-similar-680738":170},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","fundamentals-of-plc-software-chapter-2-introduction-and-logic-representation","Fundamentals of PLC Software - Chapter 2 - Introduction and Logic Representation","","Fundamentals of PLC Software introduces programmable logic controllers as devices that replace sequential relay circuits for machine control. It explains how PLCs use inputs to drive output states through user-written programs, including examples that scale beyond simple external timers. The text describes the internal structure of PLCs, covering CPU, memory, simulated relays, counters, timers, and output behavior. It then presents multiple methods for representing PLC logic, including word descriptions, ladder diagrams, function charts, statement lists, digital logic diagrams, and flowcharting approaches.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/fundamentals-of-plc-software-chapter-2-introduction-and-logic-representation/680738/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/fundamentals-of-plc-software-chapter-2-introduction-and-logic-representation/680738.png","ImageObject",300,407,{"name":42,"@type":43},"miaandmiso","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-12-01","2026-11-05",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"How does a PLC work in machine control?","Question",{"text":63,"@type":64},"A PLC reads its input states and, based on those states, turns outputs on or off according to the user’s program.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"Why is a PLC needed for larger processes than simple external timers?",{"text":68,"@type":64},"As the number of switches and solenoids increases, programming the PLC to count inputs and drive outputs for specified durations eliminates the need for many external timers.",{"name":70,"@type":61,"acceptedAnswer":71},"What are the main internal components of a PLC described in the text?",{"text":72,"@type":64},"The PLC consists of a CPU, memory areas, and dedicated circuits for receiving input/output data, with key functions implemented via simulated relays, counters, timers, and data storage registers.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},680738,1793920971,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,109,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":106,"show_sort_weight":107,"slug":108},"Healthcare",40,"healthcare",{"id":110,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},8,"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":80,"read_time":144,"preview_page_count":102,"preview_urls":145},7971478544854,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","2  \nFundamentals of PLC Software  \n2.1 Introduction  \nA programmable logic controller (PLC) is a device that was invented to replace the necessary sequential electrical relay circuits for machine control. The PLC works by looking at its inputs and depending upon their state, turning on/off its outputs. The user enters a program, usually via software, that gives the desired results.  \nFor example, a switch turns on a solenoid for 5 s and then turns it off. We can do this with a simple external timer. But what if the process included 10 switches and 10 solenoids? We would need 10 external timers.  \nAs you can see the bigger the process the more of a need we have for a PLC. We can simply program the PLC to count its inputs and turn the solenoids on for the specified time (Figure 2.1) .  \nFigure 2.1  \nTypical PLC assemblies  \nThe PLC mainly consists of a CPU, memory areas, and appropriate circuits to receive input/output data.  \nWe can imagine that the PLC to be a box full of hundreds or thousands of separate relays, counters, timers, and data storage locations. But, actually they do not exist in physical form, rather as a software, which is simulated through bit locations in registers.  \n36 Practical Troubleshooting and Problem Solving of PLCs and SCADA Systems  \nWhat is inside the PLC?  \n• Input relays –(contacts) These are connected to the outside world. They physically exist and receive signals from switches, sensors, etc. Typically they are not relays but rather they are transistors.  \n• Internal utility relays –(contacts) These do not receive signals neither from the outside world nor do they physically exist. They are simulated relays and are what enables a PLC to eliminate external relays. There are also some special relays that are dedicated to performing only one task. Some are always switched on while some are always switched off. Some are on only once during the power is on and are typically used for initializing data that were stored.  \n• Counters – These again do not physically exist. They are simulated counters and they can be programmed to count pulses. Typically, these counters can count up, down, or both up and down. Since they are simulated, they are limited in their counting speed. Some manufacturers also include high-speed counters that are hardware based. We can think of these as physically existing. Most times, these counters can count up, down, or up and down.  \n• Timers – These also do not physically exist. They come in many varieties and increments. The most common type is an on-delay type. Others include off-delay and both retentive and non-retentive types. Increments vary from 1 ms to 1 s.  \n• Output relays –(coils) These are connected to the outside world. They physically exist and send on/off signals to solenoids, lights, etc. They can be transistors, relays, or triacs depending upon the model chosen.  \n• Data storage – Typically, there are registers assigned to simply store data. They are usually used as temporary storage for math or data manipulation. They can also typically be used to store data when power is removed from the PLC. Upon powerup, they will still have the same contents as before power was removed. They are very convenient and necessary.  \n2.2 Methods of representing logic  \nThe PLC system can be represented with the following:  \n(a) Word Description  \n(b) Relay Logic Ladder Diagram  \n(c) PLC Logic Ladder Diagram  \n(d) PLC Functional Chart Diagram  \n(e) PLC Statement List  \n(f) Digital Logic Diagram  \n(g) Flowcharting Method  \n(A) The word description – involves Boolean expressions in word description. Sometimes, a PLC program is written in Boolean algebra system, which is a shorthand method of writing gate diagrams. The complex gate diagrams can be analyzed easily when they are written in Boolean form.  \n(B)The relay ladder diagrams – Relay Ladder diagrams are specialized schematics commonly used to document industrial control logic systems. These ladder diagrams are the most commonly","cbCaie5Yh9k9TQLo","https://ap.wps.com/l/cbCaie5Yh9k9TQLo","pdf",3100352,54,"English","# 2. Fundamentals of PLC Software\n## 2.1 Introduction\n## 2.2 Methods of representing logic","[{\"question\":\"How does a PLC work in machine control?\",\"answer\":\"A PLC reads its input states and, based on those states, turns outputs on or off according to the user’s program.\"},{\"question\":\"Why is a PLC needed for larger processes than simple external timers?\",\"answer\":\"As the number of switches and solenoids increases, programming the PLC to count inputs and drive outputs for specified durations eliminates the need for many external timers.\"},{\"question\":\"What are the main internal components of a PLC described in the text?\",\"answer\":\"The PLC consists of a CPU, memory areas, and dedicated circuits for receiving input/output data, with key functions implemented via simulated relays, counters, timers, and data storage registers.\"}]","Fundamentals of PLC Software - Chapter 2 - Introduction and Logic Representation | PDF",136,[146,150,154,158,162,166],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/8b6625d933dbff522303aaf9aabfcc0c.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/9de512dcf0af73920f604ccaf642b350.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/616113482906cef22a70425928965a56.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a8ff8ca52ed5076fe924c2b00c4046b9.webp",980,1268,{"page_no":97,"url":163,"width":164,"height":165},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/b3b365922aff76ea37f94fb24af7bb68.webp",979,1267,{"page_no":102,"url":167,"width":168,"height":169},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/38576e99a17007841a3919075d2125ee.webp",978,1265,{"list":171,"token":11},[172,178,184,191,197,203,209,215,221,227],{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":110,"category_name":29,"create_tm":177},680739,"MODULE 6 - PLC Syllabus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998022254/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=gCx2LHF8d32KjPhqor9%2FcbTSkJY%3D","module-6-plc-syllabus",1793920975,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":30,"category_name":29,"create_tm":183},697190,"Automating Manufacturing Systems with PLCs - Version 5 - March 21, 2008","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009790600/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=7X1mXXZLhrxd0THf2ODgm4YZreE%3D","automating-manufacturing-systems-with-plcs-version-5-march-21-2008",1794436791,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":29,"create_tm":190},654084,"PLC Programming for Industrial Automation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974017876/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=JIjYBcRdMh1%2BifKBeqmjk0pnVI8%3D","plc-programming-for-industrial-automation",12,1792907069,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":33,"category_name":29,"create_tm":196},680741,"DVP-PLC Application Manual - Chapter 1 Working Principles of PLC Ladder Diagram","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998022274/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=ZgzNHAhv1FjIVWsfS%2FwMfAZNTqU%3D","dvp-plc-application-manual-chapter-1-working-principles-of-plc-ladder-diagram",1793920980,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":115,"category_name":29,"create_tm":202},654078,"PLC Handbook - Practical Guide to Programmable Logic Controllers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974017746/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=%2B8wC2XGDvVKSQTFGBHiraGtoT%2F0%3D","plc-handbook-practical-guide-to-programmable-logic-controllers",1792907054,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":33,"category_name":29,"create_tm":208},680740,"SNJB Unit 4 - Programmable Logical Controllers (PLC) - Before PLCs came into existence","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998022263/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=7tztFdypR0BBtF2OML7dFQqgwXM%3D","snjb-unit-4-programmable-logical-controllers-plc-before-plcs-came-into-existence",1793920976,{"doc_id":210,"doc_title":211,"file_type":137,"home_preview_img_url":212,"slug":213,"view_count":115,"category_name":29,"create_tm":214},655298,"THE IMPORTANCE OF ELECTRICAL LADDER DIAGRAM in PLC PROGRAMMING AND APPLICATIONS - PLC Basics and Use Cases","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975077154/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=qZ0ZaY8kJ4hxDLKKt2MNkHTQTRg%3D","the-importance-of-electrical-ladder-diagram-in-plc-programming-and-applications-plc-basics-and-use-cases",1792960672,{"doc_id":216,"doc_title":217,"file_type":137,"home_preview_img_url":218,"slug":219,"view_count":97,"category_name":29,"create_tm":220},680747,"PLC Modicon Software 984LL Block Library - Volume 1 - User Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998022336/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=cgW2Lqut8Wimla81tAYDPBfudJw%3D","plc-modicon-software-984ll-block-library-volume-1-user-guide",1793920997,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":123,"category_name":29,"create_tm":226},654086,"DVP-PLC Application Manual - PLC Programming Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974017915/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=NeArC1mBqgWgJz%2BIEgb%2Fm6HXrac%3D","dvp-plc-application-manual-plc-programming-manual",1792907073,{"doc_id":228,"doc_title":229,"file_type":137,"home_preview_img_url":230,"slug":231,"view_count":110,"category_name":29,"create_tm":232},655539,"PLC Programming","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975284589/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110319&Signature=ZahgPHpSV0Y1gU2E1sobJ95IRZw%3D","plc-programming",1792962493]