Any ideas how to use mod bus device from the AS/400

K

Thread Starter

Kip Petzold

I need to utilize a tcp/ip addressable scale that uses Modbus from a bar code application written in RPG on the AS400.

These are the possibilities I'm exploring (though there may be an approach I don't know of):

1. Write Modbus data from an RPG program using some kind of object on the AS400 that can be tied to the IP address of the scale.

2. Communicate utilizing "sockets". I've not worked with "sockets" before.

3. Connect to the scales from a PC application using Visual Basic and DLLs I can get from the manufacturer. Control the PC using AS400 client access.
 
C

Curt Wuollet

Sockets sound like your best bet with the information given as it is likely the scales have some proto of their own anyway. Do you have something that speaks modbus in the loop?

Regards
cww
 
Why not use Java? It's well supported on the AS400 and Java/Modbus components are readily available.
 
Top