Lazarus

Programming => General => Topic started by: @Func on January 14, 2020, 06:00:07 pm

Title: Does there have some stable modbus communcation lib
Post 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?
Title: Re: Does there have some stable modbus communcation lib
Post by: lucamar on January 14, 2020, 07:16:06 pm
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.
Title: Re: Does there have some stable modbus communcation lib
Post by: af0815 on January 14, 2020, 08:47:52 pm
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.
Title: Re: Does there have some stable modbus communcation lib
Post by: @Func on January 15, 2020, 01:10:01 am
Thank for your help ,I'll try it .
TinyPortal © 2005-2018