An IEC 61131-3-Based PLC Timers Module Implemented on FPGA Platform

  • Dhruv M. Patel
  • Ankit K. Shah
  • Yagnesh B. Shukla
Part of the Lecture Notes in Electrical Engineering book series (LNEE, volume 637)


In assembling units, the PLC plays a significant role in measuring and controlling various applications like motor control, blending of fluid inside tanks, fluid level control of tanks and others. The existing PLCs are offering sluggish response and poor scanning time based on sequential processing execution. This paper has proposed various delay timer modules of PLC on reconfigurable FPGA-LabVIEW platform with IEC 61131-3 standard compliant. The GUI and LD-based input user program are created with the assistance of LabVIEW, and it is assembled with a massive parallel processing-based hardware structure inside FPGA. The TON, TOFF, RTON and RTOFF timer modules are developed with various time-based values like 1–1000 ms. Others PLC functions like AND, OR, NOT, NAND, NOR, X-OR and X-NOR, PT and OT are realized and simulated with timer module. The PLCs-based delay timer modules are fully implemented inside FPGA hardware (NI myRIO-1900). Proposed algorithm is validated on DC motor, electrical oven and single tank systems along with the comparison of SIMATIC S7-200 PLC. The proposed design offers remarkable benefits like user friendliness, cost-effectiveness, miniaturization, simplicity, faster speed and scanning time.


Programmable logic controller (PLC) Ladder diagram (LD) Reconfigurable hardware Field programmable gate array (FPGA) 



The authors present their heartily thanks to the management, faculty members and staff members of Sardar Vallabhbhai Patel Institute of Technology, Vasad, L. D. Engineering College, Ahmadabad and Gujarat Technological University, Chandkheda, Gujarat, India, for their cooperation, non-stoppable support and help in the development of presented work.


  1. 1.
    Webb, J.W., Reis, R.A.: Programmable Logic Controllers: Principles and Applications. Prentice Hall PTR (2002)Google Scholar
  2. 2.
    Kamel, K., Kamel, E.: Programmable Logic Controllers: Industrial Control. McGraw-Hill Education (2014)Google Scholar
  3. 3.
    Bryan, L.A., Bryan, E.A.: Programmable Controllers: Theory and Implementation. Industrial Text Company (1997)Google Scholar
  4. 4.
    Auslander, D.M., Pawlowski, C., Ridgely, J.: Reconciling programmable logic controllers (PLCs) with mechatronics control software. In: Proceeding of the 1996 IEEE International Conference on Control Applications. IEEE (1996)Google Scholar
  5. 5.
    Rodriguez-Andina, J.J., Moure, M.J., Valdes, M.D.: Features, design tools, and application domains of FPGAs. IEEE Trans. Ind. Electron. 54(4), 1810–1823 (2007)CrossRefGoogle Scholar
  6. 6.
    John, K.H., Tiegelkamp, M.: IEC 61131-3: Programming Industrial Automation Systems: Concepts and Programming Languages, Requirements for Programming Systems, Decision-Making Aids. Springer Science & Business Media (2010)Google Scholar
  7. 7.
    Cenelec, E.N.: 61131-3, Programmable Controller—Part 3: Programming Languages. International Standard Management Centre, Brussels (2013)Google Scholar
  8. 8.
    Chmiel, M., Czerwinski, R., Smolarek, P.: IEC 61131-3-based PLC implemented by means of FPGA. IFAC-PapersOnLine 48(4), 374–379 (2015)CrossRefGoogle Scholar
  9. 9.
    Trimberger, S.M. (ed.): Field-Programmable Gate Array Technology. Springer Science & Business Media (2012)Google Scholar
  10. 10.
    Hauck, S., DeHon, A.: Reconfigurable Computing: The Theory and Practice of FPGA-Based Computation, vol. 1. Elsevier (2010)Google Scholar
  11. 11.
    Andrade, H.A., Ahrends, S., Hogg, S.: Making FPGAs accessible with LabVIEW. In: FPGAs for Software Programmers, pp. 63–79. Springer, Cham (2016)CrossRefGoogle Scholar
  12. 12.
    Chodorowski, P., Chmiel, M.: IEC 61131-3 compliant PLC structure based on FPGA multi-core solution. In: 2016 International Conference on Signals and Electronic Systems (ICSES). IEEE (2016)Google Scholar
  13. 13.
    Milik, A.: Multiple-core PLC CPU implementation and programming. J. Circ. Syst. Comput. 27(10), 1850162 (2018)CrossRefGoogle Scholar
  14. 14.
    Milik, A.: On hardware synthesis and implementation of PLC programs in FPGAs. Microprocess. Microsyst. 44, 2–16 (2016)CrossRefGoogle Scholar
  15. 15.
    Patel, D., Bhatt, J., Trivedi, S.: Programmable logic controller performance enhancement by field programmable gate array based design. ISA Trans. 54, 156–168 (2015)CrossRefGoogle Scholar
  16. 16.
    Patel, D., Trivedi, S., Bhatt, J.: Design and implementation of field programmable gate array based programmable logic controller. In: 2nd International Conference on Signals, Systems and Automation, G H Patel College of Engineering & Technology, Vallabh Vidyanagar, India. Universal Publishers, USA (2011)Google Scholar
  17. 17.
    Monmasson, E., et al.: FPGAs in industrial control applications. IEEE Trans. Ind. Inform. 7(2), 224–243 (2011)CrossRefGoogle Scholar
  18. 18.
    Gawali, D., Sharma, V.K.: FPGA based micro-PLC design approach. In: International Conference on Advances in Computing, Control, & Telecommunication Technologies, 2009. ACT’09. IEEE (2009)Google Scholar
  19. 19.
    Chmiel, M., et al.: Central processing units for PLC implementation in Virtex-4 FPGA. IFAC Proc. Vol. 44(1), 7860–7865 (2011)CrossRefGoogle Scholar
  20. 20.
    Yu, L., et al.: Design of PLC timer system based on ARM + FPGA. Appl. Mech. Mater. 249 (2013). Trans Tech PublicationsGoogle Scholar
  21. 21.
    Siemens AG: SIMATIC S7-200 Programmable Controller System Manual. Siemens AG, Monachium (2002)Google Scholar

Copyright information

© Springer Nature Singapore Pte Ltd. 2020

Authors and Affiliations

  • Dhruv M. Patel
    • 1
    • 2
  • Ankit K. Shah
    • 3
  • Yagnesh B. Shukla
    • 4
  1. 1.PhD ScholarInstrumentation and Control, Gujarat Technological UniversityChandkheda, GujaratIndia
  2. 2.Assistant Professor, Instrumentation and ControlSardar Vallabhbhai Patel Institute of TechnologyVasad, GujaratIndia
  3. 3.Assistant Professor, Instrumentation and ControlL. D. College of EngineeringAhmedabad, GujaratIndia
  4. 4.Professor, Electronics and CommunicationSardar Vallabhbhai Patel Institute of TechnologyVasad, GujaratIndia

Personalised recommendations