07-14-2020 06:00 AM
Hello
Am working on a project that uses a temperature regulator i want to communicate with it via RS485 that uses modbus protocol and LabVIEW2016 software, i have the modbus library but i did not find all what i need, my question is how can i find a complete modbus library so i can know all what my regulator registers contains?
07-14-2020 07:05 AM
So what do you need?
What did you not find?
How did you test the Modbus Library?
What Modbus Library is it?
From the User manual of your Temperature Regulator, do you know the Registers that is has ?
07-14-2020 07:05 AM
Hi ahlem,
@Ahlem16 wrote:
i have the modbus library but i did not find all what i need, my question is how can i find a complete modbus library
Which Modbus library did you choose?
What do you miss? Why is that library "not complete"?
@Ahlem16 wrote:
so i can know all what my regulator registers contains?
Read the manual of that "regulator" to learn about all its registers…
07-14-2020 03:06 PM - edited 07-14-2020 04:02 PM
The NI Modbus library is supported in the NI LabVIEW Modbus API Discussion
But judging by your question I think you need to start with this: The Modbus Protocol In-Depth
Then once you understand the Modbus protocol, sit down with the device's manual and create a set of custom VIs for your device.
BTW: Every device is going to use different register addresses, different scaling, ect. so there is no way to make a "universal Modbus library" that just works with every single device. But the NI Modbus library supplies the foundation for you to build your own
Here is one example I made for a watt meter that uses Modbus using the NI Modbus library.
05-25-2022 03:48 AM
需要modbus库文件