LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read more than 125 Modbus Holding Registers?

@RavenFan

 

🙏🙏🙏🙏🙏

PBP
Labview 6.1 - 2019
0 Kudos
Message 11 of 13
(933 Views)

@RavensFan wrote:

Yes.  That is what I was thinking.

 

Are you getting the same errors or different errors?

 

Have you figured out what your original error means?

 

 


I am still getting the same error. Even with just one read block I get the same error sometimes. I think it has to do something with the connection but I am not sure.

0 Kudos
Message 12 of 13
(923 Views)

@RavensFan wrote:

Yes.  That is what I was thinking.

 

Are you getting the same errors or different errors?

 

Have you figured out what your original error means?

 

 


Hey RavensFan,

 

Can you take a look at the modified VI?

 

I am able to save the data to a text file but the connection on the server side is lost after some time and it just writes '0' after that. I tried to capture that error and reinitialize the connection to the device (as you suggested) but that is isn't working. 

 

I get these errors:

 

Untitled.png

 

Untitled1.png

 

I don't know why but it stops writing data at 58th minute of every hours. After connecting that case structure handling the error it re-established the connection but after few minutes it again lost the connection and no data was being written to the file.

 

Download All
0 Kudos
Message 13 of 13
(892 Views)