fg71
Some people could read API once and never forget, I'm not that person. And sometimes its quicker to ask AI-Assistant for a starting point in the code or ask for simple function or idea. This forum is all about Industrial Automation or for people who are interesting to learn more about it. Python maybe are the first programming language for people who have never program before. And pymodbus that is part of OpenPLC_v3 (this is version 2). Many things have changed in API in 3.x branch of pymodbus. My point is AI-Assistant collect data and many times the data could be old as 3 years. It means AI-Assistant could struggle with correct code for API that is changing.
 
I was tired of AI-Assistant to give me the wrong code if I like it to include pymodbus.
 
So I have start a little project to code every function in 3.x branch in pymodbus.
 
So here is the first draft that include modbus_tcp_client and read/write, the code have been tested on @davenardella SnapMB
 
More to come...
Reply 1 0
Reply