Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

invertek and modbus

Hi people 

 

Sorry for almost duplicate, but here I use a visa com port to comunicate with drive

 

http://forums.ni.com/t5/Industrial-Communications/invertek-drive-modbus-communication/m-p/3308419/hi...

 

But starts to come complicate to translate the string to decimal numbers.

 

 

So there must be a Modbus example that we can input register numbers to get data from driver.

 

In attach there is a png that tell me the data format to send, a vi that works (with precious hel of Kees) with visa and the modbus drive manual.

 

So could you please tell me if a modbus (i ha installed the add in)  works easier than my example. The problem is there some register numbers could be for read or write deppends if we use a 03 or 06 before.

 

I am sorry if I duplicate post but I need to get data from drive to start a research and of course my academic knowledge is not enought to understand bytes and bits as the manual explain.

 

Best

cpalka

 

0 Kudos
Message 1 of 4
(4,003 Views)

Have a look at the display option of the data in my VI. The data is presented in HEX

 

You must understand that you are sending a string. The way how this data of that string is presented does not change the data.

 

Kees

0 Kudos
Message 2 of 4
(3,999 Views)

Hello,

 

The interaction between LabVIEW and modbus is well documented on NI community, find those two samples :

 

1) http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/MODBUS-RTU-multiple-write-amp-read-NI-VISA/td...

2) https://decibel.ni.com/content/thread/21786

 

And NI provide also some good tips : https://decibel.ni.com/content/docs/DOC-30140

 

Best regards,

 

Dasso

 

0 Kudos
Message 3 of 4
(3,981 Views)

Many Thanks Dasso

 

Seems that is what I mean.

 

Tomorrow I will give news.

 

Best

cpalka

0 Kudos
Message 4 of 4
(3,973 Views)