Page 1 of 1

[Request] sample Modicon M340 Modbus TCP/IP communication

Posted: Tue Oct 27, 2009 11:36 pm
by RND2LL
Hi, friends. I need sample programm for M340 communication with any ethernet device(freqdrive for example) over Modbus TCP.
Please, i need it very much.
Schneider says come to Moscow for training. o_O.

Re: [Request] sample Modicon M340 Modbus TCP/IP communicatio

Posted: Thu Jan 28, 2010 9:21 am
by Kuzyma
If you mentioned Moscow I guess you are Russian speaker. Try to read this articles:
http://se-automation.in.ua/2011/06/tran ... s-tcp.html
http://se-automation.in.ua/2011/06/tran ... nning.html
and watch video from them. I think it would be useful for you.
:)

[SAMPLE:] Modicon M340 Modbus TCP/IP communication

Posted: Thu Sep 29, 2011 2:32 pm
by Schtiel
Use ADDM and READ_VAR / WRITE_VAR functions.

For example, to read first 8 holding registers from device with IP 192.168.1.5 with Modbus TCP it should be done like this:

Image

Re: [Request] sample Modicon M340 Modbus TCP/IP communicatio

Posted: Fri Dec 09, 2011 6:52 am
by Oldman