Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

PLC

Hello to all the forum would like to see if I can help with my problem what happens is that when I want to connect my PLC via OPC server (Modbus), the following procedure https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0QgCAI&l=en-US me some labels appear, my specific question is how is that such labels are Plc and not my computer?. apparently is that the document explains how to identify them, just as if have more tutorials that I can spend would be very grateful, Cheers

0 Kudos
Message 1 of 3
(3,550 Views)

Hey there;

 

In the link's example the Modbus slave (or PLC) is on the same computer as the master;

 

This is a set up example for learning purposses, so that if you don't have an ehternet PLC connected to your network you can still follow the example code. That is why you can find the shared variables on "My Computer" , because the computer and the PLC have the same ip adress

 

When you have an actual PLC connected to the network then the variables will show up under the project and under the PLC.

 

You can check out this tutorial to connecto to a PLC using labview via OPC Server instead of Modbus

 

Good luck with your application

 

Cheers

0 Kudos
Message 2 of 3
(3,534 Views)

Hi there,

 

Additionally remember that you are using either Modbus or OPC communication but you are creating a server.

This server (your computer) is the one that stores the variables values.. the communication occurs in the OPC Server or the Modbus Server.

What LV does is to bind or link the variables in your computer to  the variables in the PLC

 

If you want to see them directly in the PLC you can use NI OPC Server or your Modbus Server

 

Cheers

0 Kudos
Message 3 of 3
(3,532 Views)