透過您的圖書館登入
IP:3.17.79.60
  • 學位論文

基於雲端網路平台之即時監控與存取可程式化邏輯控制器資料(以手機伺服測試平台為例)

Real-time Data Transfer and Monitor With A PLC Via Web Interface (Take Mobile Phone Servo Test Platform as Example)

指導教授 : 陳冠辰

摘要


目前本研究為克服自動化操作時,多軟體、畫面的交握與操作,使現場人力短缺與整合效率低落之問題,本論文提出以WebServer為基礎,並在電腦的瀏覽器上整合相關監控目標之資訊,藉此提升工作效率,使單人多工的環境下有更高的生產力,因此本研究選定一套自動化系統,該自動化系統為「手機四軸測試平台」該平台需要監控四座IAI伺服滑台與的相關資訊如當前位置、目標位置、速度等資訊。 此監控程式主要監控可程式邏輯控制器(PLC)之數值後,將資料輸出於伺服器,再將輸出至網頁瀏覽器上呈現資料,會使用到的相關軟體有Node.js, Python, Keyence PLC, Google Chrome與上述程式的相關套件有Socket, Flask, JavaScript, Vue.js, Bootstrap和Ajax。 後端伺服器利用了Python的Flask套件達成傳輸資料給前端伺服器與利用Python可程式化的部分使用Socket連接PLC的Socket,完成可程式邏輯控制器(PLC)端獲取資料與修改資料,而前端伺服器使用Node.js完成前端網頁資料呈現,其中使用了Ajax完成了非同步請求之功能,其目的為在只刷新資料,不刷新整個網頁,提升使用者體驗,並使用Bootsrap美化網頁相關控件(ex:bottom),並且使用前後端分離的架構可以將兩個部分分開除錯,在合作開發上有極大的優勢。

並列摘要


An existing PLC system runs automatically, but still need monitoring manually by human. In most of the cases, one person needs to monitor multiple machines. This leads to manpower shortage and decreases integration efficiency. This project aims to overcome the multiple handshaking and operations leads by automatic system. By using web browser as the interface to monitor the task details through Web Server. This project uses one set of mobile devices which applies PLC and installed link “Testing Platform for four axis servos on mobile device” as the automatic system. It monitors 4 IAI robot slides with existing the information such as: location, target location and speed, etc. The system will then return PLC values to web server and show on the web browser. The system includes node.js, python, Keyence PLC and chrome with packages include socket, flask, JavaScript, vue.js, bootstrap and Ajax. The built system details are as follow, Data Transfer between frontend and backend server by Python Flask. PLC Socket Server connect with Socket Client by Python to get data and edit data. Web interface present information by node.js. To refresh the website and get the latest data, Ajax played the role as the main character to do the parallel request. The user interface is improved and user experience is enhance by applying “Bootstrap”. The major advantage of this system is that the front-end and back-end system can divide as 2 parts for further system revamp or enhancement.

參考文獻


[1]. Cristina Simache and Mohamed Kaaniche, Availability Assessment of SunOS/Solaris Unix Systems based on Syslogd and wtmpx log files: A case study, IEEE 2005.
[2]. Bartolomeo Montrucchio, Maurizio Rebaudengo and Alejandro Velasco, Fault Injection in the Process Descriptor of a Unix-based Operating System, IEEE 2014.
[3]. Schuh, G., Frank, J., Jussen, P., Rix, C., & Harland, T. (2019, June). Monetizing Industry 4.0: design principles for subscription business in the manufacturing industry. In 2019 IEEE International Conference on Engineering, Technology and Innovation (ICE/ITMC) (pp. 1-9). IEEE.
[4]. B. Chen, J. Wan, L. Shu, P. Li, M. Mukherjee, and B. Yin, "Smart factory of industry 4.0: Key technologies, application case, and challenges," IEEE Access, vol. 6, pp. 6505-6519, 2017.
[5]. Marcus Soll and Malte Vosgerau, “ClassifyHub: An Algorithm to Classify GitHub Repositories,” KI 2017: Advances in Artificial Intelligence - 40th Annual German Conference on AI, 2017.

延伸閱讀