12-20-2024 05:59 AM
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.
12-20-2024 09:23 AM
@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?
12-20-2024 09:25 AM
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.
12-20-2024 09:46 AM
Double check the address numbers wouldn't you use address number 10000 ?
12-20-2024 09:56 AM
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.
12-20-2024 09:58 AM
I tried 10000 but still i got the same error
12-20-2024 10:08 AM
Have you tried serial type RTU?
12-20-2024 12:37 PM
have you tried without loop ?
12-20-2024 03:03 PM
@asadmehmood wrote:
I am attempting to read Modbus holding registers (10000 to 10150).
Are these values in decimal or hexadecimal?
12-20-2024 11:14 PM
In decimal