![Page 1: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/1.jpg)
1. HY헤드라인M(20pt)
All about Data Connectivity Solutions
How to use KepSeverEXfor Mitsubishi PLC
브릿지웨어
www.opchub.com / www.bridgeware.kr
![Page 2: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/2.jpg)
1. HY헤드라인M(20pt)Mitsubishi Driver 설치
• Administrator 권한으로 설치하며, Communication Driver 에서 Mitsubishi Suite을선택하여 설치한다.
www.opchub.com
![Page 3: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/3.jpg)
1. HY헤드라인M(20pt)KepServerEX Configuration 실행
• 설치가 완료되면 KepServerEX Administration이 Service로 등록되어, System Tray에나타난다.
• Right-click하여 “Configuration”을실행한다.
www.opchub.com
![Page 4: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/4.jpg)
1. HY헤드라인M(20pt)New Project 시작
• 새 프로젝트를 시작한다.
www.opchub.com
![Page 5: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/5.jpg)
1. HY헤드라인M(20pt)Channel 설정
• 새 Channel을 생성한다. 원하는 이름을 입력하면 된다.
www.opchub.com
![Page 6: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/6.jpg)
1. HY헤드라인M(20pt)Channel 설정
• Driver를선택하고, 나머지는 Default로하여 끝까지 진행한다.
www.opchub.com
![Page 7: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/7.jpg)
1. HY헤드라인M(20pt)Device 설정
• 원하는 Device 이름을 입력하고, Device Model을 선택한다.
www.opchub.com
![Page 8: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/8.jpg)
1. HY헤드라인M(20pt)Device 설정: Device ID 입력
• Device ID 는 “PLC_IP:N0:255” (Network 0, PC# 255) 형식으로 입력한다.
www.opchub.com
![Page 9: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/9.jpg)
1. HY헤드라인M(20pt)Device 설정: Auto Demotion
• 아래는 2회 통신 실패시 1분간 통신을 멈춘 뒤(“demoted”), 다시 통신을 재 시도한다.Network 부하를 줄이는 설정으로, 사용을 권장한다.
www.opchub.com
![Page 10: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/10.jpg)
1. HY헤드라인M(20pt)Device 설정: Port# 지정
• PLC와 Ping이 되나, 통신이 되지 않는 이유의 90% 이상은 Port# 지정이 잘못된 경우이다.GX Works2에서 Port를 열어주고 (hexadecimal), KepServer에서는 Port#를 Decimal로 변환하여 입력한다. 보통 UDP 5000, TCP 5001은 Default로 열려 있다. (CPU built-in Ethernet 의 경우는, 1388H(5000) ~ 1391H(5009)외의 다른 Port# 사용해야 함)
www.opchub.com
![Page 11: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/11.jpg)
1. HY헤드라인M(20pt)Tag 설정
• Tag 설정은 Option 항목이다. OPC Client에서 “Channel1.Device1.AI1” 또는“Channel1.Device1.D0001” 모두 사용 가능하다. 즉 Tag Name 대신 실제 Address를사용하면 된다 (“Dynamic Addressing”).
www.opchub.com
![Page 12: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/12.jpg)
1. HY헤드라인M(20pt)Tag 설정 예
www.opchub.com
![Page 13: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/13.jpg)
1. HY헤드라인M(20pt)Multi-Channel 구성
• Channel당 Thread이므로, 각 PLC를 별도의 Channel로구성하는 것을 권장한다.• 왼쪽 창에서 Channel1을 Copy 한 뒤, 빈 공간을 Right-Click 하여 Paste 하면 Channel1 전체가py , g복사된다. 이때 Channel Name과 PLC IP Address만 변경하면, Channel1의모든 속성 및Tag list가 전부 Channel2로 복사된다.
•설정이완료되면 Quick Client를눌러통신상태를 Monitoring 할수있다.• Quick Client는 Test Tool로,실제운영시에는 KepServer Configuration과함께닫아둘것을권장한다 (KepServer가 Service로동작하므로열어둘필요가없다)
www.opchub.com
닫아둘것을권장한다 (KepServer가 Service로동작하므로열어둘필요가없다).
![Page 14: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/14.jpg)
1. HY헤드라인M(20pt)Simulation Mode
• PLC가 연결되지 않은 상태에서, HMI 등에서 작업을 원할 경우, Simulation Mode로 전환하면수동으로 Read/Write 가 가능하다.
www.opchub.com
![Page 15: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/15.jpg)
1. HY헤드라인M(20pt)GX Works2 – Ethernet Operational Settings
이곳이선택되어있지않으면, Write 기능이동작하지않는다.
www.opchub.com
![Page 16: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/16.jpg)
1. HY헤드라인M(20pt)GX Works2 – 전용 Ethernet card OPEN Settings 예
• 위설정은하나의예일뿐이며, 상세한내용은 PLC 매뉴얼을참조한다.
www.opchub.com
![Page 17: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/17.jpg)
1. HY헤드라인M(20pt)GX Works2 - Ethernet Card Timer 설정 예
• 위의 예에서는 3초(500ms*6) 동안 PLC가 Connection을유지하며, 그 후 2초 간격으로 3번Resend를해서 응답이 없으면 port를 release한다 Port를 release해야새로운 connection이
www.opchub.com
Resend를해서 응답이 없으면, port를 release한다. Port를 release해야새로운 connection이가능하므로, KepServer의 Demotion은 11초보다 길게 설정해야 한다.
![Page 18: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/18.jpg)
1. HY헤드라인M(20pt)GX Works2 – CPU Built-in Ethernet port 설정
www.opchub.com
![Page 19: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/19.jpg)
1. HY헤드라인M(20pt)GX Works – Built-in Ethernet port OPEN Settings
사용 가능한 port 범위는 0401H (1025) to 1387H (4999) and 1392H (5010) to FFFEH
www.opchub.com
• 사용 가능한 port 범위는 0401H (1025) to 1387H (4999), and 1392H (5010) to FFFEH (65534) 이며, port 1388H(5000) ~ 1391H(5009) 까지는 사용할 수 없다.
![Page 20: How to use KepSeverEX - opchub.comopchub.com/download/KepserverEX_for_Mitsubishi.pdf · GX Works2에서Port를열어주고(hexadecimal), KepServer 에서는Port#를Decimal로변환하](https://reader030.vdocuments.mx/reader030/viewer/2022041212/5dd11eb1d6be591ccb64511f/html5/thumbnails/20.jpg)
1. HY헤드라인M(20pt)Contact Us
Thank You!Thank You!Thank You!Thank You!www.opchub.com / www.bridgeware.kr
영업 기술지원영업 기술지원031-346-1981 [email protected] [email protected]
www.opchub.com