[Request] sample Modicon M340 Modbus TCP/IP communication

примеры программ
Post Reply
RND2LL
Posts: 5
Joined: Mon Oct 19, 2009 5:18 am

[Request] sample Modicon M340 Modbus TCP/IP communication

Post by RND2LL » Tue Oct 27, 2009 11:36 pm

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.

Kuzyma
Posts: 31
Joined: Tue May 12, 2009 8:32 am

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

Post by Kuzyma » Thu Jan 28, 2010 9:21 am

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.
:)

Schtiel
Site Admin
Posts: 1121
Joined: Wed Sep 06, 2006 12:03 pm
Location: CIS

[SAMPLE:] Modicon M340 Modbus TCP/IP communication

Post by Schtiel » Thu Sep 29, 2011 2:32 pm

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


Post Reply