An Implementation of Software PLC Based on Real-Time Tasks of Linux

리눅스 상에서 실시간 태스크에 의한 소프트웨어 PLC의 구현

  • 김용석 (강원대학교 전기전자정보통신공학부)
  • Published : 2003.09.01

Abstract

본 논문에서는 소프트웨어 PLC를 구현하는 방안을 제시하였다. 하드웨어는 표준적인 산업용 PC와 입출력 보드들로 구성된다. 운영체제로는 수십 마이크로초의 정밀한 단위로 태스크들의 스케줄링이 가능한 실시간 리눅스를 사용하였다. 소프트웨어 PLC를 위해 개발한 실시간 태스크들은 실시간 리눅스의 커널 모드에서 실행되며, 사용 목적에 따라 작성된 PLC 프로그램을 해석하고 실행하는 작업을 일정한 주기로 반복한다. 또한 PLC 프로그램을 편리하게 작성할 수 있도록 자체 프로그램 문법을 제안하고 이를 위한 컴파일러도 구현하였다. 이렇게 구현된 PLC는 가격 대비 성능이 우수하며 소규모의 응용분야들에 유용하게 활용할 수 있다.

Keywords

References

  1. IEC 61131-1, Programmable Controllers - Part 1: General Information, International Electrotechnical Commission, 1993
  2. IEC 61131-3, Programmable Controllers - Part 3: Programming Languages, International Electrotechnical Commission, 1993
  3. 김원희, 안항목, PLC 이론과 실제, 도서출판 기술, 1995
  4. Schleicher Gmbh & Co., ProNumeric/ProSycon Operation Manual - Controller on IPC Hardware for CNC/PLC and PLC, http://www.schleicher-de.com, 2003
  5. M. de. Sousa, 'Linux-Based PLC for Industrial Control,' Embedded Linux Journal (http://embedded.linuxjournal.com), Issue 3, May 2001
  6. LinuxDevices.com, 'The Real-time Linux Software Quick Reference Guide,' http://www.linuxdevices.com/articles/AT8073314981.html, April 2002
  7. M. Barabanov, A Linux-based Real-Time Operating System, New Mexico Institute of Mining and Technology, 1997
  8. V. Yodaiken, 'The RTLinux Manifesto,' Department of Computer Science, New Mexico Institute of Technology, http://www.rtlinux.org, Nov. 1999
  9. P. Bhowal, R. Mall, and A. Basu, 'Estimating micro-PLC exection time for time critical system design,' Journal of Systems Architecture 45(14) pp. 1245-1248, Elsevier Science B.V., 1999 https://doi.org/10.1016/S1383-7621(98)00033-2
  10. M. Ohman, S. Johansson, and K. E. Arzen, 'Implementation aspects of the PLC standard IEC 1131-3,' Control Engineering Practice 6(4) pp. 547-555, Elsevier Science B.V., 1998 https://doi.org/10.1016/S0967-0661(98)00054-9
  11. T. F. Al-Khudairy, B. A. Al-Hashemy, and M. A. J. Al-Baker, 'Design of a VMEbus-based programmable logic controller (PLC),' Microprocessors and Microsystems 21(5) pp. 329-336, Elsevier Science B.V., 1998 https://doi.org/10.1016/S0141-9331(97)00046-X