LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SIEMENS PLC S7 1200 to LabVIEW communication

Dear All,

I should to establish communication between PLC S7 1200 CPU 1215 and LabVIEW.

The PLC supports both TCP and Modbus TCP protocols through its profinet.

I used both TCP and Modbus TCP protocols in the PLC and in LabVIEW I used the TCP functions and Modbus library.

In both methods the PLC establish the connection and waits for the response from LabVIEW, but the LabVIEW doesn't respond!

I dont' know the problem but I think the LabVIEW caused it.

 

I appreciate for any help.

Regards,

Ras

0 Kudos
Message 1 of 2
(8,345 Views)

Hello Ras,

 

For profinet related communications, National Instruments offers Profinet hardware interface with PLCs which uses such protocols. It comes in a modular form, known as c-series. You can view the link below for more information about this product. The module connects to NI programmable automation controllers, known as cRIO.

 

https://www.ni.com/en-us/support/model.crio-pn-s.html

 

 

For a PC-based interface (PCI), you may need to check with comsoft. In the area of profinet/profibus, National Instruments cooperates with Comsoft and they may have a solution in a PCI form-factor.

 

Another option is to use OPC server. You can download the NI OPC server (which has drivers for many PLC's) and communicate with LabVIEW using either datasockets or the DSC module (add-on module for LabVIEW, higher level connection compared to datasockets, easire to program). You can view the links below for more information of using OPC server to communicate with LabVIEW. I have also attach a list of PLCs supported via OPC server.

 

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

https://www.ni.com/en/support/documentation/supplemental/07/supported-device---driver-plug-in-list-f...

 

Regards,

Alan

Applications Engineer | National Instruments
Singapore (65) 6226 5886 | Malaysia (60) 3 7948 2000 | Thailand (66) 2 298 4800
Philippines (63) 2 659 1722 | Vietnam (84) 28 3911 3150 | Indonesia (62) 21 2783 2355
0 Kudos
Message 2 of 2
(8,288 Views)