User Tools

Site Tools



An open-source communication driver for talking to Siemens S7 PLCs via TCP/IP; implemented in plain LabVIEW TCP/IP primitives.

Disclaimer: This is a reference implementation that has NOT been vetted for a production setting. It might or might not meet traditional requirements in terms of uptime, security, absence of bugs, etc. Use at your own risk!

VI Package

A ready-made VI Package can be found at


How to use the S7NetCom API
05 Usage

Source Code

The source code can be found at


The original code was published by Marc Christenson, Sisu Devices,
on the NI Forums Example Program Code Exchange.


You can find detailed information about the protocol in our public
knowledge base entry on the "S7 Communication" protocol.


Need help? We have compiled a list of support options for you.

code/open-source/s7netcom.txt · Last modified: 2022/08/16 13:10 by joerg.hampel