應該是使用OPC,網路上很多
http://bbs.elecfans.com/forum.php?mod=viewthread&tid=535542
https://wenku.baidu.com/view/9f1ec990804d2b160a4ec003.html
http://www.ni.com/tutorial/7450/en/
https://wenku.baidu.com/view/0f1849c089eb172ded63b73f.html
http://www.diangon.com/wenku/PLC/201307/00001522.html
以上供您參考