05-29-2013
06:16 PM
- last edited on
11-14-2024
11:59 AM
by
Content Cleaner
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
05-30-2013
11:30 AM
- last edited on
11-14-2024
12:00 PM
by
Content Cleaner
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
05-30-2013 11:44 AM
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