LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connect IDEC PLC with LabVIEW using Modbus

I am using IDEC PLC and need to connect to LabVIEW. It has Modbus TCP/IP to connect.

 

Used the following article to create I/O server but in bind shared vaiable it takes a range and that did not work.

 

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

 

PLC is the server and LabVIEW is the client.

My question is how to create an object(or shared variable) to access one register from LabVIEW, example to access 1st holding register D0 that has Modbus address of 400001.

 

Thanks.

*************************************************
CLD
*************************************************
0 Kudos
Message 1 of 2
(2,637 Views)

Hi lvrat, 

 

When you add a range in the "Create Bound Variables" dialog, the data item should only contain one number, and then you can specify how many subsequent numbers to add.  See the attached images:

 

Could you add a screenshot of the way you are adding those variables?

0 Kudos
Message 2 of 2
(2,612 Views)