{"id":1711,"date":"2019-08-15T20:18:40","date_gmt":"2019-08-15T14:18:40","guid":{"rendered":"https:\/\/us.rs-online.com\/expert\/?p=1711"},"modified":"2023-10-18T10:21:34","modified_gmt":"2023-10-18T15:21:34","slug":"pulling-your-first-plc-project-together","status":"publish","type":"post","link":"https:\/\/us.rs-online.com\/expert\/pulling-your-first-plc-project-together\/","title":{"rendered":"Pulling Your First PLC Project Together"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><div id=\"tdi_1\" class=\"tdc-row\"><div class=\"vc_row tdi_2  wpb_row td-pb-row\" >\n<style scoped>\n\/* custom css - generated by TagDiv Composer *\/\n\n\/* custom css - generated by TagDiv Composer *\/\n\/* custom css - generated by TagDiv Composer *\/\n.tdi_2,\r\n                .tdi_2 .tdc-columns{\r\n                    min-height: 0;\r\n                }.tdi_2,\r\n\t\t\t\t.tdi_2 .tdc-columns{\r\n\t\t\t\t    display: block;\r\n\t\t\t\t}.tdi_2 .tdc-columns{\r\n\t\t\t\t    width: 100%;\r\n\t\t\t\t}\n<\/style><div class=\"vc_column tdi_4  wpb_column vc_column_container tdc-column td-pb-span12\">\n<style scoped>\n\/* custom css - generated by TagDiv Composer *\/\n\n\/* custom css - generated by TagDiv Composer *\/\n\/* custom css - generated by TagDiv Composer *\/\n.tdi_4{\r\n                    vertical-align: baseline;\r\n                }.tdi_4 > .wpb_wrapper,\r\n\t\t\t\t.tdi_4 > .wpb_wrapper > .tdc-elements{\r\n\t\t\t\t    display: block;\r\n\t\t\t\t}.tdi_4 > .wpb_wrapper > .tdc-elements{\r\n\t\t\t\t    width: 100%;\r\n\t\t\t\t}.tdi_4 > .wpb_wrapper > .vc_row_inner{\r\n\t\t\t\t    width: auto;\r\n\t\t\t\t}.tdi_4 > .wpb_wrapper{\r\n\t\t\t\t    width: auto;\r\n\t\t\t\t    height: auto;\r\n\t\t\t\t}\n<\/style><div class=\"wpb_wrapper\" >[vc_column_text]<em>You\u2019ve invested time into researching many aspects of PLC (programmable logic controller) automation and are now ready for your first project. Here are a few pointers to help you proceed.<\/em><\/p>\n<p>The good news is that there are <a href=\"https:\/\/us.rs-online.com\/plcs-hmis\/plcs\/\" target=\"_blank\" rel=\"noopener noreferrer\">many great products<\/a> and <a href=\"https:\/\/us.rs-online.com\/expert\/category\/industrial-control\/plcs-hmi-data-acquisition\/\" target=\"_blank\" rel=\"noopener noreferrer\">resources available<\/a> to help when you are ready to embark on your first automation project. The challenge is that automating equipment, machinery and systems with PLCs and other devices is a multi-faceted endeavor.<\/p>\n<p>To successfully execute an automation project, end users must be ready to take on the following duties:<\/p>\n<ul>\n<li>Understanding the equipment or process functions<\/li>\n<li>Accounting for <a href=\"https:\/\/us.rs-online.com\/expert\/pneumatic-basics\/\">mechanical real-world behaviors and interfaces<\/a><\/li>\n<li>Ensuring the equipment is properly instrumented<\/li>\n<li><a href=\"https:\/\/us.rs-online.com\/expert\/industrial-control-panels-101-design-basics\/\">Designing control panels<\/a><\/li>\n<li>Designing electrical power and I\/O wiring<\/li>\n<li>Developing drawings and documentation<\/li>\n<li>Planning for installation and constructability issues<\/li>\n<li>Communication interfaces<\/li>\n<li><a href=\"https:\/\/us.rs-online.com\/expert\/plc-basics\/\">Creating and testing PLC programming<\/a><\/li>\n<li>Configuring HMI displays useful for operators<\/li>\n<li>Testing the system to ensure it runs for the long haul<\/li>\n<\/ul>\n<p>Very few people can do all these tasks well, so most likely you will delegate at least some of the tasks, with the team coordinating as required. Of course, sticking to a materials and labor budget to execute the project is important, so usually there is a project manager keeping an eye on those items.<\/p>\n<p>Following are a few tips for your first PLC project.<\/p>\n<h4><span style=\"color: #9b080c;\">Plan the Work<img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-1713\" src=\"https:\/\/res.cloudinary.com\/mktg-allied-electronics-automation\/image\/upload\/v1565877732\/Expert%20Advice\/Industry_assistance_and_engineering-857592594.jpg\" alt=\"\" width=\"350\" height=\"525\" \/><\/span><\/h4>\n<p>Whoever understands the functionality must document it in a way others can understand. This might be a written sequence of operation, a functional description, a flow chart, a list of steps, or any other useful method. This documentation provides the basic requirements that the team will follow for design and testing.<\/p>\n<h4><span style=\"color: #9b080c;\">Expect the Unexpected<\/span><\/h4>\n<p>Design for real-world situations, not perfect scenarios. Normal operation is relatively simple for many applications, but developing a system that is resilient when problems happen is much harder. Think about how the equipment can fail, get jammed, operate too slowly or be subjected to operator errors, and build in provisions or even manual features to handle those situations.<\/p>\n<h4><span style=\"color: #9b080c;\">All About the I\/O<\/span><\/h4>\n<p>A control system is only effective when it can monitor the right conditions and command the right actions. Early on, create a complete I\/O list to indicate how every point of control operates (normally open, normally closed, energize to open, etc.) so the team is working with a common understanding. Add more sensors and I\/O when you start out than may be needed because it is always easier to delete than add down the road.<\/p>\n<h4><span style=\"color: #9b080c;\">Keep the Crew in Mind<\/span><\/h4>\n<p>Designing control panels and electrical schematics is detailed technical work subject to UL and NEC requirements, and will require qualified design and engineering support. However, a good common-sense practice is remembering those who will work on these systems in the future. Make the documents and drawings good enough so future personnel can figure out how the system is put together. Provide enough working space, good tagging and troubleshooting aids to help installers, operators and maintenance personnel do their jobs.<\/p>\n<h4><span style=\"color: #9b080c;\">Spares, Spares, Spares!<\/span><\/h4>\n<p>For new designs, always build in spares and future space to the greatest extent practical \u2014 most people target about 25% installed spares as a good rule of thumb to address possible changes. If you will be producing a typical system over and over, you can shave down these spares when you go into production. Order extra consumables like fuses, and consider stocking some additional devices like circuit breakers and terminal blocks so changes or fixes can be made quickly.<\/p>\n<h4><span style=\"color: #9b080c;\">Pre-Check the Tech<\/span><\/h4>\n<p>Classic hardwiring and I\/O are relatively straightforward. However, more complicated connections using industrial communications may take some extra effort to ensure everything is compatible. Most products play well together, but it\u2019s always a good idea to pre-check these links early on the test bench to make sure all drivers, tag names and addressing are working as expected.<\/p>\n<h4><span style=\"color: #9b080c;\">PLC and HMI Programming is Crucial<\/span><\/h4>\n<p>Programming PLCs and HMIs can be the most intensive part of the automation effort and is the most unlike the rest of the tasks. It is very hard for most people to determine the status of software as it progresses from 0 to 100 percent complete. Hold progress meetings often. Document the code exhaustively, especially making sure that every I\/O point and variable has a human-friendly description. In fact, consider cutting-and-pasting the requirements into the program comments, and adding more comments to explain what is going on.<\/p>\n<h4><span style=\"color: #9b080c;\">Test Early and Often<\/span><\/h4>\n<p>Test your software work on the desktop piece-by-piece as you develop it, and section-by-section as you combine routines. Create a detailed test plan based on the requirements documents and execute that plan in shop conditions before you go into production. Dream up crazy conditions to \u201cstress test\u201d the code. Then test everything again the same way when the system is installed in the field.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1715 alignright\" src=\"https:\/\/res.cloudinary.com\/mktg-allied-electronics-automation\/image\/upload\/v1565877726\/Expert%20Advice\/Programmer_checks_the_quality_of_the_connection_of_the_production_line-921684688.jpg\" alt=\"\" width=\"480\" height=\"300\" \/><\/p>\n<h2><strong>Pulling it All Together<\/strong><\/h2>\n<p>The preceding tips should help as you work through the details of your application. Fortunately, industrial automation is a mature field and there are many great <a href=\"https:\/\/us.rs-online.com\/plcs-hmis\/\" target=\"_blank\" rel=\"noopener noreferrer\">commercially-available hardware<\/a> and <a href=\"https:\/\/us.rs-online.com\/plcs-hmis\/plc-programming-software\/\" target=\"_blank\" rel=\"noopener noreferrer\">software products<\/a> to make your work easier. With due diligence, you will soon stand back and admire your automated system in action![\/vc_column_text]<\/div><\/div><\/div><\/div>\n<div style='text-align:left' class='yasr-auto-insert-visitor'><\/div><\/div>","protected":false},"excerpt":{"rendered":"[vc_column_text]You\u2019ve invested time into researching many aspects of PLC (programmable logic controller) automation and are now ready for your first project. Here are a few pointers to help you proceed. The good news is that there are many great products and resources available to help when you are ready to embark on your first automation [...]","protected":false},"author":14,"featured_media":1723,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"yasr_overall_rating":0,"yasr_post_is_review":"","yasr_auto_insert_disabled":"","yasr_review_type":"BlogPosting","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[345,1,333,34],"tags":[515,683,560,776,649,693,607],"class_list":{"0":"post-1711","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ask-the-expert","8":"category-expert-advice","9":"category-industrial-control","10":"category-plcs-hmi-data-acquisition","11":"tag-expert-advice","12":"tag-expert-insights","13":"tag-plc","14":"tag-plcs-hmis","15":"tag-rs","16":"tag-rs-americas","17":"tag-rs-group"},"yasr_visitor_votes":{"stars_attributes":{"read_only":false,"span_bottom":false},"number_of_votes":3,"sum_votes":15},"jetpack_featured_media_url":"https:\/\/res.cloudinary.com\/mktg-allied-electronics-automation\/image\/upload\/v1565877730\/Expert%20Advice\/Production_line_worker_featured-856909066.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/us.rs-online.com\/expert\/wp-json\/wp\/v2\/posts\/1711","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/us.rs-online.com\/expert\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/us.rs-online.com\/expert\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/us.rs-online.com\/expert\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/us.rs-online.com\/expert\/wp-json\/wp\/v2\/comments?post=1711"}],"version-history":[{"count":3,"href":"https:\/\/us.rs-online.com\/expert\/wp-json\/wp\/v2\/posts\/1711\/revisions"}],"predecessor-version":[{"id":4588,"href":"https:\/\/us.rs-online.com\/expert\/wp-json\/wp\/v2\/posts\/1711\/revisions\/4588"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/us.rs-online.com\/expert\/wp-json\/wp\/v2\/media\/1723"}],"wp:attachment":[{"href":"https:\/\/us.rs-online.com\/expert\/wp-json\/wp\/v2\/media?parent=1711"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/us.rs-online.com\/expert\/wp-json\/wp\/v2\/categories?post=1711"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/us.rs-online.com\/expert\/wp-json\/wp\/v2\/tags?post=1711"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}