Lazarus
Programming => General => Topic started by: @Func on January 14, 2020, 06:00:07 pm
-
dear buddy
Does there have some stable modbus communcation lib Or python plugin for lazarus?
-
For ModBus see here: PacalSCADA (https://wiki.freepascal.org/PascalSCADA)
and for embedding/interfacing Python, see: Category: Python (https://wiki.freepascal.org/Category:Python), both in the wiki; there may be other libraries out there but I'm no expert and I don't have a comprehensive list, sorry.
-
https://github.com/coassoftwaresystems/delphi-modbus for master and slave (Use Indy as basis)
PascalSCADA from OPM for master only
i have booth running in production enviroment. PascalSCADA is more easier than dephi modbus.
Both versions are stable for me (i have frozen a version on my github https://github.com/afriess/delphi-modbus ) but you have to understand the basics of modbus and the used packages and commands.
see http://www.modbus.org/tech.php and the modbus specification. The document MODBUS Protocol spezifcation is a 'must have' with the information about the function codes you can work with the libs above. Without a base knowledge of this paper you cannot configure the componnets.
-
Thank for your help ,I'll try it .