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-boun...@lists.freepascal.org> On Behalf Of LacaK via fpc-pascal Sent: Sunday, September 13, 2020 5:56 AM To: ja...@productionautomation.net; FPC-Pascal users discussions <fpc-pascal@lists.freepascal.org> Cc: LacaK <la...@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.
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal