LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interface of Allen Bradley PLC with LabVIEW using TCP\IP modbus protocol

Hello.....

I want to connect a Allen Bradley PLC with LabVIEW using TCP\IP modbus protocol.

The PLC which I am using is a series of 1766BWA (Allen Bradley) please can you help me for the same or please give me suggestion.

Also I want to know the resistance values of this PLC.

Thank you.

0 Kudos
Message 1 of 5
(4,250 Views)

Here is a starting point:

 

https://forums.ni.com/t5/Reference-Design-Content/LabVIEW-Modbus-API/ta-p/3524019 (Modbus for Labview)

 

 

Regards,

Marco

0 Kudos
Message 2 of 5
(4,237 Views)

Hello

I was trying for connection of a Allen Bradley PLC with LabVIEW using TCP\IP modbus protocol.

Here i am attaching the snapshot of PLC interfacing and communication vi using modbus but it is not working

For reading we use setting shown in CHANNEL 1-modbus but it gives error regarding modbus addressing

and for writing it shows error illeagal address plaese help me for the same

Thank you.

0 Kudos
Message 3 of 5
(4,211 Views)

Hello

I was trying for connection of a Allen Bradley PLC with LabVIEW using TCP\IP modbus protocol.

Here I am attaching the snapshot of PLC interfacing and communication vi using modbus but it is not working

For reading we use setting shown in CHANNEL 1-modbus but it gives error regarding modbus addressing

and for writing it shows error illegal address please help me for the same.

Thank you.

Download All
0 Kudos
Message 4 of 5
(4,202 Views)

Did you know that you can talk directly to the PLC via either net using this toolkit?

 

https://www.ni.com/en-us/shop/product/ni-industrial-communications-for-ethernet-ip.html

 

Or if you think the $500 price tag is ridiculous you can make your own like I did. You do not need modbus.

Tim
GHSP
0 Kudos
Message 5 of 5
(4,195 Views)