LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Software to develop a Modbus serial interface on a PC to comm with an HMI

The system consists of a text terminal (HMI) as a master, communicating with a Motion Controller, Modbus RTU (fast peripheral) protocol. I have to have a PC connected sometimes to the second serial port of the HMI, in order to download/upload variables/programs. I need to develop a software interface for the PC, that could be run by the customer, only when needed. Can I use Labview (which version?) or is there some other software for this purpose?
 
Regards,
 
Alex S.
0 Kudos
Message 1 of 4
(3,025 Views)
It is certainly possible to write a Modbus driver in LV--I have done it at least a couple times... The problem is that I don't know where any of that old code is, and it's probibly in V4 anyway... In any case, the Modbus protocol is an open specification so you should be able to find it online. As I recall, the only tricky part in hte implementation was the CRC, but there's lots of places to find that now.
 
Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(3,007 Views)
You can try these... 
 
 
If the above link doesn't work, search NI Developer Zone for "Modbus Library for LabVIEW "
 
-Khalid
Message 3 of 4
(3,002 Views)

After leaving my initial message last night I did a bit of poking around and found on the NI website a set of drivers for a Eurotherm temperature controller that has inside it a set of generic Modbus drivers. This is available in versions for LV6 and LV7.

http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E971F659CE034080020E74861

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 4 of 4
(2,992 Views)