Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

MVI56E-MNET Modbus card

Status
Not open for further replies.

vrbasgrad

Electrical
Jun 8, 2015
2
I am having difficulties setting up MVI56E-MNET card to send and receive data from/to my touch screen via Controllogix 1756-L73S processor.
Info that I received from costumer is as following:
From PLC to AGV:
Address ID 32769 16bit R/W
Address ID 32770 16bit R/W
From AGV to PLC
Address ID 33280 16bit R only
Address ID 33281 16bit R only
Address ID 33282 16bit R only
Address ID 33283 16bit R only
Address ID 33284 16bit R only
Address ID 33285 16bit R only

My module is setup as follows:
Error/Status Pointer 4500
Read Register Start 3000
Read Register Count 600
Write Register Start 2000
Write Register Count 800
Failure Flag Count 0
Initialize Output Data No
Pass-Through Mode 0
Duplex/Speed Code Auto

MNet Client 0 Commands 1
Enable Yes, Internal Address 3000,Poll Interval 1,Reg Count 10,Swap Code No, Node IP 192.168.0.200,Serv Port 502,Slave Address 1, Modbus Function FC 3- Read Holding Registers(4X),MB Address in Device 1

MNet Client 0 Commands 2
Enable Yes, Internal Address 2000, Poll Interval 1, Reg Count 10, Swap Code No, Node IP 192.168.0.200,Serv Port 502,Slave Address 1, Modbus Function FC 16 Pre-set (write) multiple registers (4X),MB Address in Device 1

Not sure if this is correct and wondering if somebody did work with this type of card, additional information is available.
Thanks
 
Replies continue below

Recommended for you

From PLC to AGV:
Address ID 32769 16bit R/W
Address ID 32770 16bit R/W
From AGV to PLC
Address ID 33280 16bit R only
Address ID 33281 16bit R only


Modbus Function FC 3- Read Holding Registers(4X)

If those 32xxx addresses are address registers in the slave/server, then the master/client function code (FC) requesting those values is incorrect.
FC 3 addresses the 4xxxx Holding register address registers, not the 3xxxxx Input Register address registers (as indicated by the 4X following the FC)

Likewise, 3xxxx input registers are read only, values written to a slave/server are written to holding registers (normally).

FC 16 will write to 4xxxx holding registers but it isn't clear whether that's where the data belongs or not.
 
This is my setup but still unable to read or write

# Enable Internal Address Poll Interval Reg Count Swap Code Node IP Address Serv Port Slave Address ModBus Function MB Address in Device Comment
1 Yes 3000 5 2 No Change 192.168.0.200 502 1 FC 4 - Read Input Registers(3X) 2768 #
2 Yes 3002 5 6 No Change 192.168.0.200 502 1 FC 4 - Read Input Registers(3X) 3279 #
3 Yes 2000 5 2 No Change 192.168.0.200 502 1 FC 3 - Read Holding Registers(4X) 2768 #

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor