× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Using NodeJs and https://www.npmjs.com/package/st-ethernet-ip?

HTH
--
Marco Facchinetti

Mr S.r.l.

Tel. 035 962885
Cel. 393 9620498

Skype: facchinettimarco


Il giorno gio 7 mar 2024 alle ore 13:36 Rich Dotson <Rich.Dotson@xxxxxxxxxxx>
ha scritto:

I have a request to read data from a Simatic.S7-1500 PLC directly from an
RPGLE program and return data back. Has anyone done this before? I
haven't had any luck searching for solutions via Google.

The application flow is as follows:


1.
Camera scans barcode on product and writes serial number to PLC.
2. RPGLE reads serial number on PLC.
3. RPGLE retrieves serial number data from iSeries tables and writes
data back to PLC.
4.
PLC sends iSeries table data to printer.
5.
Printer prints iSeries table data on box.

I currently use an application called UaExpert to see the data being
captured on the PLC. Not sure if the screen shot will come through but
if it does, I need to read the data in the string_Seriennummer field in the
stOut Address Space. I need to update the fields defined in the stIn
section of the Address Space.

Any direction would be appreciated.

[cid:4482399e-7582-45c4-85d5-4e51865dcbaf]



Reply

Reply all

Forward

--
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@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.