08-01-2019 10:50 AM
Hi friends,
I have a temperature display which is ORDEL PC771. You can click for datasheet. Datasheet is not English. Communication protocol is MODBUS RTU over RS435.
There is a device between computer and ORDEL which is ATEN UC2324 4-Port USB to RS-232 Hub.
I want to communicate with ORDEL to read and display temperature data on Labview. You can examine a file attached. However, connection is not provided. There is no data from ORDEL.
Thanks for your comments.
08-01-2019 10:57 AM
Your VI doesn't really do anything really to Modbus RTU. Just grabs bytes received on the serial port.
If you search NI.com for modbus, you'll see several libraries that include examples.
08-01-2019 11:07 AM
@RavensFan wrote:
Your VI doesn't really do anything really to Modbus RTU. Just grabs bytes received on the serial port.
Yes, it's to read serial port. Temperature data is sending over RS435 to "4-Port USB to RS-232 Hub", then connecting with USB to computer. So, I did this .vi
08-01-2019 11:40 AM
But your VI doesn't do modbus.
If you want Modbus, then download a modbus library. Look in JKI VI Package Manager. Look at the example.
I think newer LabVIEW versions have a modbus library built in under the Data Communication palette.
08-02-2019 02:16 AM
08-02-2019 05:06 AM
@RavensFan wrote:
But your VI doesn't do modbus.
If you want Modbus, then download a modbus library. Look in JKI VI Package Manager. Look at the example.
I think newer LabVIEW versions have a modbus library built in under the Data Communication palette.
RavensFan thank you. I'm going to examine file I have attached. I guess that i should focus title of "MB Serial"
08-02-2019 05:08 AM
@GerdW wrote:
Hi bestecf,
why do you ask by PM when you already got valuable help by RavensFan?
Just do as suggested: use one of those available MODBus libraries to communicate with your device…
Sorry GerdW, thanks..
08-02-2019 06:53 AM
@bestecf wrote:
@RavensFan wrote:
But your VI doesn't do modbus.
If you want Modbus, then download a modbus library. Look in JKI VI Package Manager. Look at the example.
I think newer LabVIEW versions have a modbus library built in under the Data Communication palette.
RavensFan thank you. I'm going to examine file I have attached. I guess that i should focus title of "MB Serial"
That is a pretty good library. I've used it for years without any problems. Yes. Look at MB Serial Example Master.vi.
08-06-2019 10:13 AM
@RavensFan wrote:Look at MB Serial Example Master.vi.
I run MB Serial Example Slave.vi before Master.vi. But there is no change front panel in Master vi.
08-07-2019 08:14 AM
I want to share a connection that I previously forgot to add.