M340 Read_Var Help.

tcskier66

Member
Join Date
Apr 2019
Location
West Virginia
Posts
1
Hello PLCTALK community, first post so take it easy on me. Also my first data move/retrieve project on Schneider platform. I am attempting to communicate between two M340's over TCP/IP. The data I am trying to move is five, 4-20 analog inputs. From the research I have done, I understand I must use read_var instructions due to the fact I have no NOC modules.
I need help setting up the read var, I have attempted numerous times but have failed. I believe my best best is to move the analog data values into %MW address, and then source these values on my master PLC using a read_var command. Any help would be appreciated. Thanks in advance!
 
Hi tcskier,


You can search this forum using google by entering the query as 'site:plctalk.net read_var' and you will get lots of hits as it has been discussed a lot since it is a pain in the arse since they want you to buy the NOE0100 module that does IO scanning even though it costs as much as the CPU.


Here is one thread that has some examples

http://www.plctalk.net/qanda/showthread.php?t=81026



Your application will be simpler since you will only need one read.


You are correct the modbus slave (the server with the data to be read) will have to copy the values to be read in to %MW addresses, and the client with the read_Var block will read those addresses.
 

Similar Topics

Hi All, I need to read some data from a Rockwell 5380 PLC to a schnieder m340 PLC. What hardware will i require for both systems? on the M340...
Replies
12
Views
5,275
hi there! i am trying to read modbus registers in M340 PLC from a Turck BL20 Gateway. I have done this with a Emerson Gateway and everything...
Replies
1
Views
1,945
Hi all, Is it possible to read the amps of a motor from a connected TesysU over Modbus 485 using Unity Pro software?
Replies
2
Views
1,398
Hi everyone, i have a situation with a Modicon M340 PLC. I need to measure an external magnitude with a digital input. I'll be receiving pulses in...
Replies
4
Views
1,820
Hello all, I am wanting to update the system clock via NTP in the M580/M340. I'm aware that we are able to connect to a NTP in the controller...
Replies
1
Views
38
Back
Top Bottom