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.
[Request] sample Modicon M340 Modbus TCP/IP communication
-
- Posts: 5
- Joined: Mon Oct 19, 2009 5:18 am
-
- Posts: 31
- Joined: Tue May 12, 2009 8:32 am
Re: [Request] sample Modicon M340 Modbus TCP/IP communicatio
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.
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.
-
- Site Admin
- Posts: 1122
- Joined: Wed Sep 06, 2006 12:03 pm
- Location: CIS
[SAMPLE:] Modicon M340 Modbus TCP/IP communication
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:
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:
-
- Posts: 797
- Joined: Tue Aug 21, 2007 7:05 am