LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MODBUS library error 6011

Hi There,

 

I am trying to talk to a MODBUS device via ethernet using a GE Multinet - ethernet to serial converter. I can establish the TCP connection but when I try to "read holding registers" using "MB ethernet Master query read holding registers (poly).vi" I get an error code of 6011, exception code 11.

 

I can read and write to and from the MODBUS device using other software so I know the hardware is configured and connected correctly.

 

Does anyone have any suggestions as to what may be going wrong here?


Regards,
Sean.

0 Kudos
Message 1 of 5
(3,047 Views)

I'd suggest to use wireshark to monitor what's being sent and received to/from the MODBUS device.

I think the problem is due to the fact the you are using the Ethernet vi but the interface on the device is serial.

In the past I had to slightly modify the vi in order to use it with a converter.

 

Regards,

Marco

0 Kudos
Message 2 of 5
(2,992 Views)

Thanks Marco, I appreciate your advice.

 

Any chance of seeing the code changes you made?

 

Regards,
Sean.

0 Kudos
Message 3 of 5
(2,977 Views)

Sorry Sean but at the moment I don't have access to that code. 😕

 

Marco

 

0 Kudos
Message 4 of 5
(2,963 Views)

Did you solve this problem?

0 Kudos
Message 5 of 5
(2,880 Views)