LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timeout errors with Modbus serial master query.

I know that I'm a bit late, but you do realize, that by opening the init.vi on your pc you do not open his version but yours, where you changed the stop bits from 1.0 to 2.0 earlier. But nevermind. You should perhaps think about a workaround for your own code, so you do not get any problems when working on other applications.

Pattos

LabVIEW Gretchin
0 Kudos
Message 21 of 25
(1,168 Views)

Hello.I have problem with Modbus serial master query.(LabView 7.1)Every time which I try to make the communication I obtain the modbus error 6101. Can you prompt a solution of a problem?

Thanks for your help,Alessor

0 Kudos
Message 22 of 25
(1,135 Views)

Are you sure the number of stop bits that is set in the MB Init VI is correct?  That's the problem the original poster had.

 

What kind of data are you sending?  You have Write Multiple Registers set on your front panel, but do not have any data in the controls to write to the registers.

0 Kudos
Message 23 of 25
(1,128 Views)

Number of stop bits must be 2 ().I'm using and need only for read data registers (Reads output registers (or holding)) of detector (by modbus protocol).By scheme,affter starting project. Init MB - OK, then Master Modbus - error 6106(

 

 

0 Kudos
Message 24 of 25
(1,123 Views)

Then please reread messages 16 and 17.  Don't use the MB Init VI as it hardwires 1 stop bit.

 

Use the VISA Configure Serial Port VI.

0 Kudos
Message 25 of 25
(1,117 Views)