Recent

Author Topic: Does there have some stable modbus communcation lib  (Read 360 times)

@Func

  • New Member
  • *
  • Posts: 33
Does there have some stable modbus communcation lib
« on: January 14, 2020, 06:00:07 pm »
dear buddy

Does there have some stable modbus communcation lib  Or python plugin for lazarus?

lucamar

  • Hero Member
  • *****
  • Posts: 2272
Re: Does there have some stable modbus communcation lib
« Reply #1 on: January 14, 2020, 07:16:06 pm »
For ModBus see here: PacalSCADA
and for embedding/interfacing Python, see: 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.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.4/2.0.6  - FPC 3.0.4 on:
(K|L)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

af0815

  • Sr. Member
  • ****
  • Posts: 437
Re: Does there have some stable modbus communcation lib
« Reply #2 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.
regards
Andreas

@Func

  • New Member
  • *
  • Posts: 33
Re: Does there have some stable modbus communcation lib
« Reply #3 on: January 15, 2020, 01:10:01 am »
Thank for your help ,I'll try it .