问题
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