From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-13-2016 02:55 PM
Hi people
Sorry for almost duplicate, but here I use a visa com port to comunicate with drive
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
06-14-2016 01:46 AM - edited 06-14-2016 01:48 AM
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
06-15-2016 08:17 AM
Hello,
The interaction between LabVIEW and modbus is well documented on NI community, find those two samples :
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
06-15-2016 04:15 PM
Many Thanks Dasso
Seems that is what I mean.
Tomorrow I will give news.
Best
cpalka