How can i read from Modbus/TCP

Dec 06, 2007 5 Replies

Greetings all,



Can some one point me of in the right direction, i need to read a value to from a modbus device, which is connected on the LAN.



Is there any ready-made software which can read a value, and store it either in a text file or in a XML-file.



Thanks Captdrum


I haven't tested them, but you should be able to adapt one of the programs here without much difficulty:

formatting link
(don't worry about the Chinese, the important part is in English). See
formatting link
for general info.

Chris

Hi,

This can easily be accomplished with an ActiveX Control from Automated Solutions.

formatting link
Contact Technical Support to request a datalogging example.

formatting link

Rogue Engineering makes an easy to use piece of shareware called Modbus Test Pro. It is available as a free fully featured download from

formatting link
and supports Modbus TCP as well as the serial versions of Modbus. You can set it up to save communication logs to a text file.

Tim Kirk snipped-for-privacy@rogue-engr.com

Look for the Omni Modbus Tester from Omni Flow Computers Inc. (omniflow.com)

formatting link
is done in java and then there is libmodbus at
formatting link
but I have no idea if it is limited to serial communications only ; should be fairly easy to adapt it to do tcp also as the protocol inside is the same.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required