LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LABVIEW SERIAL MODBUS

I am attempting to read Modbus holding registers (10000 to 10150). While I can view the data successfully in a Modbus application, I keep encountering error 56 in LabVIEW.

0 Kudos
Message 1 of 15
(506 Views)

@asadmehmood wrote:

I am attempting to read Modbus holding registers (10000 to 10150). While I can view the data successfully in a Modbus application, I keep encountering error 56 in LabVIEW.


Are you using both applications at the same time? 

______________________________________________________________
Have a pleasant day and be sure to learn Python for success and prosperity.
0 Kudos
Message 2 of 15
(467 Views)

Error 56 is a timeout error, so check your serial settings and your physical connections to the device.

 

Also make sure the Modbus application is not still open and has released the Com port.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 3 of 15
(465 Views)

Double check the address numbers wouldn't you use address number 10000 ? 

0 Kudos
Message 4 of 15
(454 Views)

I have closed all the applications, but I am unsure if I am writing the address correctly. I'm not sure if the error is due to the address or something else.

0 Kudos
Message 5 of 15
(452 Views)

I tried 10000 but still i got the same error

0 Kudos
Message 6 of 15
(451 Views)

Have you tried serial type RTU? 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 7 of 15
(444 Views)

have you tried without loop ? 

0 Kudos
Message 8 of 15
(410 Views)

@asadmehmood wrote:

I am attempting to read Modbus holding registers (10000 to 10150).


Are these values in decimal or hexadecimal?

0 Kudos
Message 9 of 15
(385 Views)

In decimal

0 Kudos
Message 10 of 15
(354 Views)