|
On Jul 12, 2019, at 11:56 AM, John Yeung <gallium.arsenide@xxxxxxxxx> wrote:
On Fri, Jul 12, 2019 at 11:27 AM Jon Paris <jon.paris@xxxxxxxxxxxxxx> wrote:
Undoubtedly it can be programmed in RPG but given that there are freely available Java, Python, and PHP libraries out there it might make more sense to stick one of those on the end of a data queue and communicate that way.
In case it wasn't clear, it should be noted that the Java, Python, and
PHP libraries are not merely "easier socket programming than doing it
in RPG" (which those languages *also* have). Rather, what I think Jon
is talking about are libraries *specifically for Modbus*, meaning the
tedium and scaffolding required to implement the Modbus protocol
itself are reduced to near zero, and you just have to worry about
getting the *usable data* (a.k.a. "payload"). So, these libraries
allow you to program at the highest possible level, with the least
amount of muss and fuss.
John Y.
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.