![libplctag CI](https://github.com/libplctag/libplctag/workflows/libplctag%20CI/badge.svg?branch=release) **libplctag** is an open source C library for Linux, Windows and macOS using **EtherNet/IP** or **Modbus TCP** to read and write tags in PLCs. The library has been in production since early 2012 and is used by multiple organizations for many tasks including controlling radio telescopes, large and precision manufacturing, controlling fitness equipment, food handling and many, many more. Current Stable Version: 2.5 Old Stable Version: 2.4 ## WARNING - DISCLAIMER Note: **PLCs control many kinds of equipment and loss of property, production or even life can happen if mistakes in programming or access are made. Always use caution when accessing or programming PLCs!** We make no claims or warrants about the suitability of this code for any purpose. Be careful! ## Get It Do you know what you want already? Download it from the [releases page](https://github.com/libplctag/libplctag/releases)! ## Features ### High Level Features - EtherNet/IP and Modbus TCP support. - Open source licensing under the MPL 2.0 or LGPL 2+. - Pure C library for portability across Linux, Windows and macOS as well as 32-bit and 64-bit. - Support for x86, ARM and MIPS, and probably others. - Very stable API with almost no changes other than feature additions since 2012. - Low memory use and very high performance and capacity. Uses protocol-specific features to increase performance. - Simple API with minimal use of language-specific data to enable easy wrapping in other languages. - Extensive example programs showing use of all library features. - Wrappers for higher level languages like C#/.Net, Julia etc. - Free! ### Detailed Features
时间: 2024-04-22 21:26:58 浏览: 209
linux下PLC软件
5星 · 资源好评率100%
libplctag是一个开源的C库,用于在Linux、Windows和macOS上使用EtherNet/IP或Modbus TCP读写PLC中的标签。该库自2012年初以来一直在生产中,并被多个组织用于控制射电望远镜、大型精密制造、健身设备控制、食品处理等众多任务。
当前稳定版本:2.5
旧稳定版本:2.4
## 警告 - 免责声明
注意:PLC控制着许多类型的设备,如果在编程或访问中出现错误,可能会导致财产损失、生产损失甚至生命危险。在访问或编程PLC时务必小心谨慎!
我们对这段代码的适用性不作任何声明或保证。
请谨慎操作!
## 获取
您已经知道您需要什么吗?从[发布页面](https://github.com/libplctag/libplctag/releases)下载吧!
## 特点
### 高级特点
- 支持EtherNet/IP和Modbus TCP。
- 使用MPL 2.0或LGPL 2+开源许可证。
- 纯C库,可在Linux、Windows和macOS以及32位和64位上进行移植。
- 支持x86、ARM和MIPS,可能还支持其他架构。
- 非常稳定的API,自2012年以来几乎没有进行除了功能添加之外的更改。
- 低内存使用,非常高的性能和容量。使用协议特定的功能来提高性能。
- 简单的API,最小化使用特定语言的数据,以便轻松包装到其他语言中。
- 大量示例程序展示所有库功能的使用。
- 针对C#/.Net、Julia等高级语言的包装器。
- 免费!
阅读全文