Connect PLC to Python via Fanuc/Focas

心不动则不痛 提交于 2021-02-10 12:55:10

问题


Sorry for my bad english. I try to connect, read and write register PLC via Fanuc/Focas protocol in a python script. I didn't find anything that can help me. Someone know libs or code that can help me?


回答1:


step 1) Please find the copy of fwlib32.dll (FANUC FOCAS CD A02B-0207-K737) from inventcom or Check licenses and download from online repositories like

ex: https://github.com/strangesast/fwlib

step 2) Use very good repository provided at

For Python: https://github.com/c-logic/pyfanuc ( have not tried this )

For C#: https://github.com/aa1608450902/AcqCnc { worked for me )

step 3) Use Ethernet to connect to Fanuc controller.

**Disclaimer: This is only a generic idea to get started, please verify license related things, I am not responsible for any issues **



来源:https://stackoverflow.com/questions/65489837/connect-plc-to-python-via-fanuc-focas

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!