LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone tried to use LabVIEW as a modbus slave with a PLC master?

Hello.  I use modbus extensively with PLCs as slaves.  I am finding that it might be benificial to make the PLCs be the master in my next application.  I have tried this with the MB Ethernet Example Slave.vi without any luck.  Can anyone help?

 

I am running LabVIEW 8.6 on Windows XP with AutomationDirect PLCs using ethernet communication.

 

Thank you in advance for your help.

Ron Deavers, CLD
0 Kudos
Message 1 of 4
(2,861 Views)

Hi,

I think the following document will get you up and running. Ignore the RT target portion and replace it with the target as your computer:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YFeECAW&l=en-US

 

FLash

National Instruments
Applications Engineer
0 Kudos
Message 2 of 4
(2,837 Views)

I forgot to mention that I do not have the IO Server addon module.  I know that this can be done with the modbus download from NI.  I have been unsuccessful as of yet so I thought someone has accomplished this already.

Ron Deavers, CLD
0 Kudos
Message 3 of 4
(2,821 Views)

Hi

 

There are two options to connect to a Modbus device. Either the Modbus IO Servers (found in the NI LabVIEW Datalogging and Supervisory Control Module) or the free Modbus Library.

 

FLAsh

National Instruments
Applications Engineer
0 Kudos
Message 4 of 4
(2,802 Views)