Need help with s7connector?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

157 Stars 85 Forks Other 125 Commits 26 Opened issues


S7 PLC Connector for java

Services available


Need anything else?

Contributors list

S7 PLC Connector for Java
Build Status

S7 PLC Connector for Java

Screenshot of Example Documentation created with Slate


  • Connect to Siemens S7 PLCs using TCP Connection

  • Reading and Writing data from/to S7 PLCs

  • OSGi Support

  • PROFINET Support

  • Use directly from Maven Central

  • Apache License

Getting Started

Simple read/write example

    //Create connection
    S7Connector connector = 
            .withType(1) //optional
            .withRack(0) //optional
            .withSlot(2) //optional

//Read from DB100 10 bytes
byte[] bs =, 100, 10, 0);

//Set some bytes
bs[0] = 0x00;

//Write to DB100 10 bytes
connector.write(DaveArea.DB, 101, 0, bs);

//Close connection

More in the Documentation

Maven directions


Need Help? Found a bug?

Feel free to submit an issue. And, of course, feel free to submit pull requests with bug fixes or changes.


Pull requests are always welcome. See for details.


See LICENSE.txt file.

Special Thanks

This project is based on libnodave

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.