[fpc-pascal] Sending Hex codes over TCP/IP
James Richters
james at productionautomation.net
Sun Sep 13 15:53:05 CEST 2020
Thanks! That is exactly what I’ve been trying to figure out. Just one simple unit, not a whole huge package that is so complicated I can’t follow it. Your MODBUS TCP implementation is very easy for me to follow and to see what’s going on. I wrote my own MODBUS RTU unit, so I’m familiar with the process. I don’t need a whole lot of functionality or any of the really advanced things that could be done with MODBUS, I just want to turn some relays on and off and check their status. This will work perfectly for that.
Thank you very much, this will help greatly!
James
From: fpc-pascal <fpc-pascal-bounces at lists.freepascal.org> On Behalf Of LacaK via fpc-pascal
Sent: Sunday, September 13, 2020 5:56 AM
To: james at productionautomation.net; FPC-Pascal users discussions <fpc-pascal at lists.freepascal.org>
Cc: LacaK <lacak at zoznam.sk>
Subject: Re: [fpc-pascal] Sending Hex codes over TCP/IP
Dňa Fri, 11 Sep 2020 19:13:38 -0400
James Richters via fpc-pascal napísal:
> What I'm trying to do is control some different ethernet relays.
> They use
> MODBUS TCP. I'm trying to keep it as simple as possible. I found
>a modbus
> library for Pascal but it was way over complicated for that I need
>to do,
> and while it looks like it would do some cool stuff, the one
>function I
> need wasn't implemented yet.
>
You can look at my simple MODBUS TCP implementation ... http://lacak.users.sourceforge.net/freepascal.html
I think that it is simple/straightforward to understand.
If there is something not implemented yet I can add it ... (I just implemented what I needed for my work project)
-Laco.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200913/2e47b315/attachment-0001.htm>
More information about the fpc-pascal
mailing list