JNI를 이용한 MMS 구현

Implimentation of MMS using JNI

  • 장경수 (성균관대학교 대학원 전기전자 및 컴퓨터공학부) ;
  • 신동렬 (성균관대학교 전기전자 및 컴퓨터공학부)
  • 발행 : 2000.01.01

초록

MMS(Manufacturing Message Specification)는 PLC, NC, 로봇 등과 같이 서로 다른 제조회사의 서로 다른 단위제어기기 제품들간에 통신할 수 있는 ISO/IEC 9506으로 표준화된 공장자동호용 프로토콜이며 OSI 참조 모델의 최상위 층인 응용계층 프로토콜에 해당된다. 본 논문은 MMS를 TCP/IP상에서 동작할 수 있도록 유닉스 환경에서 ASNSI-C 언어로 구현하고, 이 구현된 프로토콜을 JNI(Java Native Interface)를 이용해 JAVA 클래스화한다. JAVA 클래스화함으로써 기존에 제공되는 MMS 라이브러리를 이용하는데 있어 표준화되지 않은 서로 다른 API를 이용하는데 어려움과 GUI를 구현하는데 어려움을 극복하는 기본을 제공한다. 그리고 구현된 JAVA 클래스화된 MMS 라이브러리를 인터넷의 WWW상에서 동작시킬 수 있도록 자동화된 PCB(Printed Circuit Board) 조립라인을 대상 모델로 선정하여 응용 프로그램을 작성하여 구현된 JNI를 이용한 MMS가 인터넷상에서 동작하여 사용자에게 일괄성있는 인터페이스를 제공하는 웹 브라우저를 통해 RMD(Real Manufacturing Device)를 동작${\cdot}$제어${\cdot}$감시할 수 있음을 보여준다.

Manufacturing Message Specification (MMS) is designed as a communication standard protocol, ISO/IEC 9506, on factory automation for messaging between heterogeneous programmable unit controller, PLC, NC, Robot, of different vendors on the networks. MMS is also a standard protocol of OSI reference model application layer, In this paper, we show an implementation of MMS over TCP/IP using ANSI-C programming language on the unix environment, and make java classification using java native interface (NJI) with MMS library. The use of java classification provides a basic environment ot overcome a difficult programming with different MMS application programming interface (MMS-I) which requires a siklled programming technique of graphic user interface (GUI). In this paper, we implement a MMS application program of the automated assembly model for printed circuit board based on WWW which shows the operation, control and monitoring of real manufacturing device (RMD) with web browser providing users for consistent user interface.

키워드

참고문헌

  1. 김정호, 이상범, 'MAP 네트워크에서 MMS 운영을 위한 가상제조기기의 설계', 한국 정보처리학회 논문지 제2권 제3호, pp.397-405, May 1995
  2. Peter A. Lagoni, Christophei, Crall, and Thomas G. Bartz, 'HP MAP 3.0 Manufacturing Message Specification/800,' Hewlett-Packard Journal, Aug. 1990
  3. Robert W. Atherton, 'Moving JAVA to the factory,' IEEE SPECTRUM, Dec. 1990 https://doi.org/10.1109/6.736446
  4. Gray Cornell, Cay S. Horstmann, 'Core JAVA,' SunSoft Press, U.S,A, 1997
  5. JavaSoft, 'Java Native Interface Specification Release 1.1,' Sun Microsystems Inc., 1997
  6. 박정우, 김영신, 권욱현, '생산자동화용 국제표준 메시지 통신규약-MMS', 제어.자동화.시스템공학회지, 제2권, 제4호, pp.30-41, Jul. 1996
  7. 서울대학교 자동화시스템공동연구소, '생산정보통신망 기술개발에 관한 연구(최종보고서)', 통상산업부 과학기술처, Dec. 1996
  8. SISCO, 'MMS-EASE reference manual, revision 11,' SISCO Inc., 1997
  9. ISO/IEC 9506-1 Industrial automation systems-Manufacturing Message Specification, Part 1: Service Definition, 1990
  10. ISO/IEC 9506-2 Industrial automation systems-Manufacturing Message Specification, Part 2: Protocol Specification, 1990
  11. ISO 8824, Information proecessing systemsOpen Systems Interconnection-Specification of Abstract Syntax Notation One (ASN.1), 1995
  12. ISO 8825, Information processing systems-Open Systems Interconnection-Specification of Basic Encoding Rules for Abstract Syntax Notation One (ASN.1), 1987
  13. David Flanagan, 'JAVA In a Nutshell, 2nd Ed.,' O'Reilly. 1997
  14. Jed Caben and John Jackman, 'An Icon-Based Approach to System Control Development,' IEEE Trans. on Industrial Electronics, Vol.37, No.3, pp.259-264, Jun. 1990 https://doi.org/10.1109/41.55167
  15. Raymond Seng-Sim Cheah et ai, 'Design and implementation of an MMS environment on ISODE,' Elsevier Science B.V. Computer Communications 20, pp.1354-1364, 1997 https://doi.org/10.1016/S0140-3664(97)00109-6
  16. A. Valenzano, C. Dermartini and L. Ciminiera. 'MAP and TOP Communications,' Addison-Wesley, Massachusetts, 1992
  17. E. Freund, H.-J. Buxbaum and U. van der Valk, 'PC-based hierarchical manufacturing cell control,' Control Eng. Practice, Vol.1, No.6, pp. 1047-1054, 1993 https://doi.org/10.1016/0967-0661(93)90016-K
  18. Sengoda G. Shanmugham, Terrence G. Beaumariage, Chell A. Roberts, 'Manufacturing Communication : A Review of the MMS Approach,' Computer ind Engng Vol.28, No.1, pp.1-21, 1995 https://doi.org/10.1016/0360-8352(94)00023-G
  19. J. P. T. Mo and Y. Wang, 'Integrated Robot Control using Manufacturing Message Specification Protocol based on NetBIOS,' Control Eng. Practice, Vol.1, No.6, pp.971-978, 1993 https://doi.org/10.1016/0967-0661(93)90007-E