LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Connect to plc on LabVIEW 2019 Linux version

I installed LabVIEW 2019 on Linux CentOS 7. I am new on using labview on this project. How solution suggest from you to connect with any type of PLCs?

 

 

0 Kudos
Message 1 of 7
(1,383 Views)

That depends very much on the PLC. OPC likely will not be a solution under Linux so you'll have to specify very clearly what sort of PLC it is. And it may be a real challenge to get your specific PLC to connect to under Linux.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 7
(1,357 Views)
We using Siemens plc like plc siemens s7-300 in lab
0 Kudos
Message 3 of 7
(1,324 Views)

@Ehsan69h wrote:
We using Siemens plc like plc siemens s7-300 in lab

Then you probably want to look at the Open Source project Snap7. It supposedly compiles on Linux too, and it provides a LabVIEW specific shared library wrapper and according VIs to make it more LabVIEW friendly. You should however be able to type ./configure and make on a command line and know what that is doing, but if you wanted a point and click experience you would not have chosen Linux, would you?

Rolf Kalbermatter
My Blog
0 Kudos
Message 4 of 7
(1,312 Views)

@Ehsan69h wrote:
We using Siemens plc like plc siemens s7-300 in lab

Then you probably want to look at the Open Source project Snap7. It supposedly compiles on Linux too, and it provides a LabVIEW specific shared library wrapper and according VIs to make it more LabVIEW friendly. You should however be able to type ./configure and make on a command line and know what that is doing, but if you wanted a point and click experience you would not have chosen Linux, would you?

Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 7
(1,307 Views)

i read snap7 documents but still i can't find any link to show any example or descrip this solution steps. i need more data to start that.

0 Kudos
Message 6 of 7
(1,256 Views)

There are LabVIEW examples that show you how to use the Snap7 library. They are fairly basic and simplistic but give you an idea how to use the library in LabVIEW. If you want to know in more detail about the actual functions, you will need to read the generic documentation about the C API. That goes into more depth about the actual functions and how they relate to the Siemens hardware.

The LabVIEW library is for the most part simply a convenient wrapper around that API but uses principally the same functions underneath, so that documentation applies for the LabVIEW library too.

Rolf Kalbermatter
My Blog
0 Kudos
Message 7 of 7
(1,241 Views)