Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

troubles with rs 485 on Labview.

Solved!
Go to solution

Hi guys, so I trying to read some data of a meter ( Mult-K kron ), from the rs 485. I haven used the software of kron, and its works. But now I want read the same data on LabView and I cant read nothing. Sorry, I new on this. If somebody can help. 

Best regards ! 

0 Kudos
Message 1 of 6
(5,453 Views)

Hi,

 

If the SW of Kron works OK you know that the hardware link.

 

Tell us what you used in LabVIEW. What is the protocol of the meter ?

 

Kees

0 Kudos
Message 2 of 6
(5,420 Views)

Hi, tks by the answer. The protocol is modbus RTU (rs-485). 

I trying use this: 

Labview.PNG

 

And I used a converter rs485 to USB.

 

0 Kudos
Message 3 of 6
(5,418 Views)

 

You don't write anything. If you want data from a ModBus slave you first have to write data.

 

Why don't you use the ModBus Library from NI ?

 

 

0 Kudos
Message 4 of 6
(5,413 Views)

Hi, sorry about that. So I change to MB lib.

e use this : 

labview 2.PNG

About write, how I know what I need write to receive the correct data ? I trying to search this in the manual, but I dont find nothing. Sorry, is the first time I'm doing this.

0 Kudos
Message 5 of 6
(5,408 Views)
Solution
Accepted by topic author betows

Hi,

 

Try to use the examples available in Modbus Library, and read a tutorial about Modbus in LabVIEW.

 

ModBus Protocol Reference Guide

http://www.ni.com/white-paper/52204/en/

 

Modbus Library

http://www.ni.com/example/29756/en/

 

I hope it can help you.

 

Lincoln

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