ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

modbus error code 6101 and framing error

Using the Vi's MB INIT and MB WR to monitor the registers of a Micro-Motion sensor but keep getting either Framing error 1073807253 or timeout 6101. The communication is RS232, 1 stop bit, RTU (8 data bits), 9600 Baud and the program reads 50 consecutive registers (Floating), timeout is set to 2000 ms. Usually the errors occur after about 5 minutes or so.
Labview Version 8.5
Labview Version 8.6
Labview Version 2014
0 Kudos
Message 1 of 5
(6,897 Views)
Search the forums for 'modbus 6101'. Should find lots of info.
0 Kudos
Message 2 of 5
(6,878 Views)
Hello Jack.


Could you attach your VI please?
It should be helpful.

Regards.

Romain D.
National Instruments France

0 Kudos
Message 3 of 5
(6,852 Views)
Hello Romain
 
Please find attached my Vi. I have reduced the amount of registers taht were originally read from 50 down to 20 and increased time delays which seems to have removed the error code problem.
 
However I still miss data, for example the temperature reading will be fine for a few minutes but then go to zero or a large number. The same thing occurs with other registers that are being read.
 
Thanks
 
Jack
Labview Version 8.5
Labview Version 8.6
Labview Version 2014
0 Kudos
Message 4 of 5
(6,839 Views)
Hello Jack.

I find this thread on the forum.
You should have a look on this link too.

There are some forums with the same error. I hope you will find what you want.

Best Regards.



Romain D.
National Instruments France

0 Kudos
Message 5 of 5
(6,806 Views)