HslCommunication 11.5.3
See the version list below for details.
dotnet add package HslCommunication --version 11.5.3
NuGet\Install-Package HslCommunication -Version 11.5.3
<PackageReference Include="HslCommunication" Version="11.5.3" />
paket add HslCommunication --version 11.5.3
#r "nuget: HslCommunication, 11.5.3"
// Install HslCommunication as a Cake Addin #addin nuget:?package=HslCommunication&version=11.5.3 // Install HslCommunication as a Cake Tool #tool nuget:?package=HslCommunication&version=11.5.3
什么是HSL?
这是一个基于工业物联网,计算机通讯的架构实现,集成了工业软件开发的大部分的基础功能实现,比如三菱PLC通讯,西门子PLC通讯,欧姆龙PLC通讯,modbus通讯,AB PLC,基恩士PLC,台达PLC,松下PLC,GE PLC通讯等等,这些通讯全部进行了多语言的实现,当然,主打的 .net 库的功能集成还更加的强大,除此之外,还实现了跨程序,跨语言,跨平台的通讯,让你不再纠结于使用windows还是 linux系统,实现了日志功能,流水号生成功能,邮件发送功能,傅立叶变换功能,等等,将来会集成更多的工业环境常见功能的实现。 为了不让工业4.0只停留在口号上,万丈高楼平地起,而基石就是HSL。
HSL能干什么?
HSL能将工业生产现场的设备进行万物互联,将数据在底层自由的传输,无论是主动的还是被动的,无论你的采集系统是什么(通常采集系统为windows电脑,或是嵌入式系统,或是基于linux的盒子), 都可以实现数据的随意传输,方便快速实现强大,实时,高响应的健壮系统,无论您是构建C/S系统,还是B/S系统,还是C-B-S-A(集成桌面客户端,浏览器,安卓)混合系统,都是快速而且低成本的实现, 只要拥有了工业现场的一手数据,即可以搭建强大的实时监视功能的软件,生产报表及自动化排产的软件,各种工艺参数历史追踪的软件,基于数据经验的机器学习软件,以及全功能等等。 顺便聊聊 ,传统的工业模式都是采购现成的工业软件,包括上位机软件及MES系统,而忽视了自身的研发能力。对于一些行业标准的功能软件来说,比如ERP系统,财务软件,这些可以直接采购即可, 但是对于上位机及MES系统而言,各个企业的实际需求千差万别,难以有通用的场景,而目前的现状都是花大钱办小事,所以在此处,给出一条面向未来的模式实现:对于生产企业而言, 基于HSL开发企业级MES系统实现,作为数据的核心仓库中心,及业务逻辑处理中心;对于设备供应商而言,基于HSL开发上位机软件系统,快速且方便的将数据分发至客户的MES系统,进行协同工作。
企业合作: 欢迎企业客户联系合作,包括开发新的协议支持,培训及指导上位机软件及MES系统的开发,指导工厂智能化升级改造及信息化团队建设。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net20 is compatible. net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 is compatible. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 2.0
- Newtonsoft.Json (>= 13.0.1)
- System.Core (>= 3.5.21022.801)
- System.Xml.Linq (>= 3.5.21022.801)
-
.NETFramework 3.5
- Newtonsoft.Json (>= 13.0.1)
-
.NETFramework 4.5.1
- Newtonsoft.Json (>= 13.0.1)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.1)
- System.IO.Ports (>= 6.0.0)
-
.NETStandard 2.1
- Newtonsoft.Json (>= 13.0.1)
- System.IO.Ports (>= 6.0.0)
NuGet packages (42)
Showing the top 5 NuGet packages that depend on HslCommunication:
Package | Downloads |
---|---|
Facade.Modbus
Facade.Modbus |
|
ZL.EdgeService
Description |
|
Infrastructure.Plc.Omron
Description |
|
PLC通讯基础控件项目
该包主要用于工业自动化中 采用内置封装控件方便用户进行设计软件不需要过多的理会PLC等设备的需要 让开发人员注重于图形界面以及过程逻辑控制。 支持宏脚本以及宏任务运行 目前支持西门子的S7协议 三菱的3E帧 MOdbus TCP 发那科协议 教学视频请移步Github |
|
Infrastructure.Plc.Melsec
Description |
GitHub repositories (9)
Showing the top 5 popular GitHub repositories that depend on HslCommunication:
Repository | Stars |
---|---|
dathlin/HslCommunication
A very popular industrial Internet of Things communication plug-in. Using this dll can be very convenient, stable, and fast to obtain data from PLC equipment of multiple brands, and also supports redis, mqtt, websocket, etc., which can let your data on the network Free transmission, reducing enterprise development costs.
|
|
dathlin/ClientServerProject
一个C-S模版,该模版由三部分的程序组成,一个服务端运行的程序,一个客户端运行的程序,还有一个公共的组件,实现了基础的账户管理功能,版本控制,软件升级,公告管理,消息群发,共享文件上传下载,批量文件传送功能。具体的操作方法见演示就行。本项目的一个目标是:提供一个基础的中小型系统的C-S框架,客户端有三种模式,无缝集成访问,winform版本,wpf版本,asp.net mvc版本,方便企业进行中小型系统的二次开发和个人学习。同时网络组件方便的支持读写三菱和西门子PLC的数据,详细见Readme
|
|
iioter/iotgateway
A cross-platform IoT gateway based on .net6. Through visual configuration, you can easily connect to any of your devices and systems (such as PLC, barcode scanner, CNC, database, serial device, host computer, OPC Server, OPC UA Server, Mqtt Server, etc.), so as to interact with Thingsboard, IoTSharp or Your own IoT platform for two-way data communication. Provide a simple driver development interface; of course, edge computing can also be performed.
|
|
dathlin/HslControlsDemo
HslControls控件库的使用demo,HslControls是一个工业物联网的控件库,基于C#开发,配套HslCommunication组件可以实现工业上位机软件的快速开发,支持常用的工业图形化控件,快速的集成界面开发。 主要包含了按钮,开关,进度条,信号灯,数码管,时钟,曲线显示控件,仪表盘控件,管道控件,瓶子控件,饼图控件,传送带控件,温度计控件,鼓风机控件,阀门控件,电池控件等等。
|
|
dathlin/SharpNodeSettings
一个设备及节点配置类库,基于HslCommunication.dll创建,方便的实现PLC根据配置文件动态创建,并支持自动写入相应的服务器对象。
|
Version | Downloads | Last updated |
---|---|---|
12.1.3 | 457 | 11/19/2024 |
12.1.2 | 1,760 | 10/29/2024 |
12.1.1 | 2,924 | 9/24/2024 |
12.1.0 | 2,064 | 9/3/2024 |
12.0.3 | 6,146 | 7/10/2024 |
12.0.2 | 7,075 | 6/3/2024 |
12.0.1 | 1,108 | 5/24/2024 |
12.0.0 | 2,756 | 4/28/2024 |
11.8.2 | 4,727 | 2/11/2024 |
11.7.0 | 9,760 | 11/11/2023 |
11.6.3 | 3,731 | 9/25/2023 |
11.6.2 | 5,492 | 8/13/2023 |
11.6.1 | 4,194 | 7/17/2023 |
11.6.0 | 4,115 | 6/25/2023 |
11.5.3 | 5,291 | 5/15/2023 |
11.5.2 | 5,027 | 4/19/2023 |
11.1.1 | 4,314 | 10/12/2022 |
11.0.6 | 6,869 | 8/17/2022 |
10.6.1 | 7,817 | 4/11/2022 |
10.2.2 | 4,884 | 9/30/2021 |
10.1.2 | 9,978 | 8/3/2021 |
9.7.0 | 7,543 | 4/15/2021 |
7.0.1 | 61,253 | 6/25/2019 |
1. NetworkBase: 在ReceiveByMessage方法里,新增判断消息报文剩余长度小于0时,直接返回头报文信息,防止在万一接收到错乱数据导致小于0引发bug的异常。
2. FFTFilter: 傅立叶变化的Filter滤波方法,修复当数据有负数的时候,只能得到正数结果的bug,现在可以还原出带有负数情况的波形图。
3. SiemensS7Server: SiemensS7Server增加在握手报文处理时,对握手报文合法性的检查操作,防止收到一些奇怪数据时导致奔溃。
4. DLT698: 修复在UseSecurityResquest为默认True情况下,APDU指令创建不正确的bug,涵盖DLT698, DLT698TcpNet, DLT698OverTcp类。
5. FanucSeries0i: 新增根据字符串程序名读取程序的方法接口ReadProgram( string program, string path = "" ),用来支持读取非数字名称的程序号。
6. Toyota: 新增丰田工机的计算机链接协议实现,ToyoPuc 类,通过2PORT-EFR模块实现对PLC的读写数据操作,同时增加ToyoPucServer虚拟PLC进行测试。
7. DLT698: 修复698的协议中的CheckResponse,当请求类型不支持时,引发空对象的异常。
8. SerialBase: 间歇时间SleepTime允许设置0及小于0,小于0就是不进行任何休眠,三菱编程口MelsecFxSerial增加对消息完整长度的校验机制。
9. OmronCipServer: 新增欧姆龙自身的CIP服务器,支持客户端使用OmronCipNet类和OmronConnectedCipNet进行通信,支持普通点位,数组,字符串的读写操作。
10. CipServer: AllenBradleyServer和OmronCipServer支持所有的标签数据存储到文件和从文件加载的操作,demo里服务器的存储加载支持路径选择。
11. MelsecA1EServer: 新增模拟PLC的实际情况,针对bool读取长度超过256返回错误码,针对字单位读取长度超过64即返回错误。
12. MelsecA1E: MelsecA1ENet及MelsecA1EAsciiNet类修复读取bool数组时长度超过256报错的bug,MelsecA1EServer完善读取bool超过256返回错误。
13. Mewtocol: 松下的Mewtocol的串口及网口类对象新增支持读取PLC型号的方法ReadPlcType,虚拟服务器也支持了该功能码。
14. SerialBase, NetworkDoubleBase: 优化通信代码,针对Thread.Sleep方法也进行错误捕获,防止可能的异常。
15. 新官网:http://www.hsltechnology.cn/,还有全新的使用文档的地址:http://www.hsltechnology.cn/Doc/HslCommunication
16. 本软件已经申请软件著作权,软著登记号:2020SR0340826,任何盗用软件,破解软件,未经正式合同授权而商业使用均视为侵权。