Programming Guidelines for Sequential Automation Tasks in Low-Cost Systems
Main Article Content
Abstract
This research presents programming guidelines for controlling automated systems designed based on the state machine diagram concept. This will help to develop software efficiently within the software development cycle and reduce the problem of inconsistency in programming, improving code understanding regardless of the programming language. The experiments are divided into two cases. The first part uses the C++ language to write programs on a microcontroller. The second part uses the ladder language to write programs on a PLC. This will develop software according to the requirements of the competition for the training set of the MPU-A automatic drilling system. The test results show that following this new approach results in both controllers working properly according to the system requirements, with a common programming style. However, response times may vary depending on the hardware of controllers.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
วารสารวิศวกรรมฟาร์มและเทคโนโลยีควบคุมอัตโนมัติ (FEAT Journal) มีกําหนดออกเป็นราย 6 เดือน คือ มกราคม - มิถุนายน และกรกฎาคม - ธันวาคม ของทุกปี จัดพิมพ์โดยกลุ่มวิจัยวิศวกรรมฟาร์มและเทคโนโลยีควบคุมอัตโนมัติ คณะวิศวกรรมศาสตร์มหาวิทยาลัยขอนแก่น เพื่อเป็นการส่งเสริมและเผยแพร่ความรู้ ผลงานทางวิชาการ งานวิจัยทางด้านวิศวกรรมศาสตร์และเทคโนโลยีพร้อมทั้งยังจัดส่ง เผยแพร่ตามสถาบันการศึกษาต่างๆ ในประเทศด้วย บทความที่ตีพิมพ์ลงในวารสาร FEAT ทุกบทความนั้นจะต้องผ่านความเห็นชอบจากผู้ทรงคุณวุฒิในสาขาที่เกี่ยวข้องและสงวนสิทธิ์ ตาม พ.ร.บ. ลิขสิทธิ์ พ.ศ. 2535
References
Fronchetti F, Ritschel N, Holmes R, Li L, Soto M, Jetley R, et al.Language impact on productivity for industrial end users: A case study from Programmable Logic Controllers. Journal of Computer Languages. 2022 Apr 1;69:101087.
Chakraborti T. From Robotic Process Automation to Intelligent Process Automation: –Emerging Trends–. InBusiness Process Management: Blockchain and Robotic Process Automation Forum: BPM 2020 Blockchain and RPA Forum, Seville, Spain, September 13–18; 2020, Proceedings 18 2020; 215-228. Springer International Publishing.
Beer P, Mulder RH. The effects of technological developments on work and their implications for continuous vocational education and training: A systematic review. Frontiers in Psychology 2020; May 8;11:918.
Thong-un N, Wongsaroj W. Productivity enhancement using low-cost smart wireless programmable logic controllers: A case study of an oyster mushroom farm. Computers and Electronics in Agriculture. 2022 Apr 1;195:106798.
Dwinugroho TB, Hapsari YT. Greenhouse automation: Smart watering system for plants in greenhouse using programmable logic control (PLC). In Journal of Physics: Conference Series 2021 Mar 1 (Vol. 1823, No. 1, p. 012014). IOP Publishing.
Cheng YH, Chao PJ, Liang HY, Kuo CN. Smart Home Environment Management Using Programmable Logic Controller. Engineering Letters. 2020 Dec 1; 28(4).
Livinsa ZM, Valantina GM, Premi MG, Sheeba GM. A modern automatic cooking machine using arduino mega and IOT. InJournal of Physics: Conference Series 2021 Mar 1 (Vol. 1770, No. 1, p. 012027). IOP Publishing.
Tiegelkamp M, John KH. IEC 61131-3: Programming industrial automation systems. Berlin/Heidelberg, Germany: Springer; 2010.
Erickson KT. Programmable logic controllers. IEEE potentials. 1996 Feb; 15(1): 14-7.
Bornot S, Huuck R, Lakhnech Y, Lukoschus B. An abstract model for sequential function charts. Discrete event systems: analysis and control. 2000: 255-64.
Sanver U, Yavuz E, Eyupoglu C, Uzun T. Design and implementation of a programmable logic controller using PIC18F4580. In2018 IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus) 2018 Jan 29; 231-235. IEEE.
Balaji S, Murugaiyan MS. Waterfall vs. V-Model vs. Agile: A comparative study on SDLC. International Journal of Information Technology and Business Management. 2012 Jun 29; 2(1): 26-30.
Vogel-Heuser B, Obermeier M, Braun S, Sommer K, Jobst F, Schweizer K. Evaluation of a UML-based versus an IEC 61131-3-based software engineering approach for teaching PLC programming. IEEE Transactions on Education. 2012 Nov 29; 56(3): 329-35
Wagner F, Schmuki R, Wagner T, Wolstenholme P. Modeling software with finite state machines: a practical approach. CRC Press; 2006 May 15.
DeGuglielmo NP, Basnet SM, Dow DE. Introduce Ladder Logic and Programmable Logic Controller (PLC). In2020 Annual Conference Northeast Section (ASEE-NE) 2020 Oct 16; 1-5. IEEE.
Sanver U, Yavuz E, Eyupoglu C, Uzun T. Design and implementation of a programmable logic controller using PIC18F4580. In 2018 IEEE Conference of Russian Young Researchers in Electrical and Electronic Engineering (EIConRus) 2018 Jan 29; 231-235. IEEE.
Hudedmani MG, Umayal RM, Kabberalli SK, Hittalamani R. Programmable logic controller (PLC) in automation. Advanced Journal of Graduate Research. 2017 May 24; 2(1): 37-45.