s7connector / S7connector
Licence: other
S7 PLC Connector for java
Stars: ✭ 139
Programming Languages
java
68154 projects - #9 most used programming language
Projects that are alternatives of or similar to S7connector
Awesome Edge Machine Learning
A curated list of awesome edge machine learning resources, including research papers, inference engines, challenges, books, meetups and others.
Stars: ✭ 139 (+0%)
Mutual labels: iot
Rio
An open source library allowing you to create an internet connected LED wall
Stars: ✭ 135 (-2.88%)
Mutual labels: iot
Apexcharts Card
📈 A Lovelace card to display advanced graphs and charts based on ApexChartsJS for Home Assistant
Stars: ✭ 138 (-0.72%)
Mutual labels: iot
Flogo
Project Flogo is an open source ecosystem of opinionated event-driven capabilities to simplify building efficient & modern serverless functions, microservices & edge apps.
Stars: ✭ 1,891 (+1260.43%)
Mutual labels: iot
Web Bluetooth Terminal
Progressive Web Application for serial communication with your own Bluetooth Low Energy (Smart) devices
Stars: ✭ 130 (-6.47%)
Mutual labels: iot
Keylime
A CNCF Project to Bootstrap & Maintain Trust on the Edge / Cloud and IoT
Stars: ✭ 128 (-7.91%)
Mutual labels: iot
At device
AT component porting or samples for different devices
Stars: ✭ 136 (-2.16%)
Mutual labels: iot
Openfpgaduino
All open source file and project for OpenFPGAduino project
Stars: ✭ 137 (-1.44%)
Mutual labels: iot
S7 PLC Connector for Java
Features
-
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 =
S7ConnectorFactory
.buildTCPConnector()
.withHost("10.0.0.220")
.withType(1) //optional
.withRack(0) //optional
.withSlot(2) //optional
.build();
//Read from DB100 10 bytes
byte[] bs = connector.read(DaveArea.DB, 100, 10, 0);
//Set some bytes
bs[0] = 0x00;
//Write to DB100 10 bytes
connector.write(DaveArea.DB, 101, 0, bs);
//Close connection
connector.close();
More in the Documentation
Maven directions
<dependency>
<groupId>com.github.s7connector</groupId>
<artifactId>s7connector</artifactId>
<version>2.1</version>
</dependency>
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.
Contributors
Pull requests are always welcome. See CONTRIBUTING.md for details.
License
See LICENSE.txt file.
Special Thanks
This project is based on libnodave
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].