HslCommunication 11.0.0

There is a newer version of this package available.
See the version list below for details.
The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package HslCommunication --version 11.0.0
NuGet\Install-Package HslCommunication -Version 11.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HslCommunication" Version="11.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HslCommunication --version 11.0.0
#r "nuget: HslCommunication, 11.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install HslCommunication as a Cake Addin
#addin nuget:?package=HslCommunication&version=11.0.0

// Install HslCommunication as a Cake Tool
#tool nuget:?package=HslCommunication&version=11.0.0

什么是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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (27)

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 (7)

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
11.8.2 1,150 2/11/2024
11.8.1 615 1/28/2024
11.7.0 6,083 11/11/2023
11.6.4 2,045 10/26/2023
11.6.3 3,254 9/25/2023
11.6.2 4,582 8/13/2023
11.6.1 3,269 7/17/2023
11.6.0 3,436 6/25/2023
11.5.3 4,602 5/15/2023
11.5.2 4,358 4/19/2023
11.1.1 3,796 10/12/2022
11.0.6 6,013 8/17/2022
10.6.1 6,999 4/11/2022
10.2.2 4,546 9/30/2021
10.1.2 9,166 8/3/2021
9.7.0 6,821 4/15/2021
7.0.1 55,047 6/25/2019

1. TcpForward: 新增TCP转TCP的类,设置本地端口及远程端口,客户端连接之后立即连接远程服务器,进行数据转发,支持多个连接,每个客户端都创建一个远程连接对象,DEMO的转发测试使用这个类。
2. BeckhoffAdsServer: 倍福的虚拟PLC修复M100.1位地址读写数据不正确的bug,支持了符号地址,支持创建符号数据,自动生成唯一的句柄地址。支持客户端批量的地址读取,也即功能码为 0xF080。
3. AllenBradleyPcccServer: 修复PCCC虚拟PLC读写地址数据解析异常的bug,导致和客户端的地址数据不一致。提炼优化地址信息。
4. NetworkDataServerBase: 优化串口接收时候的数据检测的代码,修复modbus虚拟服务器接收串口数据时,功能码为0x10时,SerialReceiveAtleastTime属性设置无效的bug。
5. XinJE: 基于modbus协议的信捷类对象,当地址是位地址时(X,Y,M等),支持了当使用Read(字单位)读取原始字节的方法,返回原始的字节信息。
6. FanucSeries0i: Fanuc数控机床通信类,新增读取机床型号信息的api,ReadSysInfo,信息在连接初始时获取生成,后续直接读取内存。
7. FanucSeries0i: 读取程序文件及下载程序到机床支持路径参数,例如操作PATH2时只需要输入 //CNC_MEM/USER/PATH2/ 即可,新增DeleteFile的API用于删除任意路径的程序文件。
8. FanucSeries0i: 新增ReadAllDirectoryAndFile方法,用来遍历指定路径下的所有的子路径和文件的信息,文件大小使用字节为单位。
9. ISessionContext: 在MRPC的接口及HttpWebapi注册接口的方法里,参数ISessionContext新增Tag对象,方便自定义捆绑一些数据信息。
10. MqttServer: 文件服务器相关的功能增加GetGroupFromFilePath方法,从路径信息里获取到文件列表管理容器,进而可以获取单个文件的对象,在权限控制时可以更加的细致。
11. Modbus: ModbusHelper针对modbus-rtu的返回接收报文检测,增加对站号一致性的检测,如果发现站号不一样,返回错误信息。
12. ICryptography: 添加直接对字符串进行加密解密的方法,并在AesCryptography类和DesCryptography实现方法,方便直接操作。
13. OmronConnectedCipNet: 优化批量读取数组的方法,自动根据类型来切割不同的读取长度,分批次读取所有的数据信息。修复握手报文丢失Timeout时间报文的bug,导致v10.5.0以来不能读取的问题
14. OmronConnectedCipNet: 优化和PLC持续几秒钟不读写就被PLC强制断线的问题,现在支持很长的时间,修复关闭立即重连(包括意外断线重连)连接不成功,一直报错重复打开会话的异常。
15. NetworkConnectedCip: 基于连接的CIP协议里,在OpenForward初始化里,自动获取连接ID,如果失败,并尝试五次自增连接ID重新Open。
16. AllenBradleyConnectedCipNet: 新增ab的connected cip协议的实现,继承自欧姆龙的connected cip协议,重写了部分的逻辑实现,缩小了单次读取的字节上限,初步测试通过。
17. NetworkServerBase,NetworkDoubleBase: 新增属性SocketKeepAliveTime,用来设置底层的socket的KeepAlive信号,单位毫秒,默认不开启,开启后将会自动间隔的发送KeepAlive信号。
18. AllenBradleyServer: cip的虚拟服务器同时支持了基于连接的CIP的访问。标签定义类AllenBradleyItemValue新增TypeCode属性,在返回客户端数据的时候,带类型数据返回。支持bool[]节点创建。
19. SoftBasic: GetAsciiStringRender 不可见字符判断除了0x20以下,追加0x7e以上的字符。新增GetFromAsciiStringRender方法,把GetAsciiStringRender 结果反向转换回来。
20. AllenBradleyNet: 支持写入bool[]功能,支持写入byte[]数组功能(类型代号默认为0xD1),WriteTag方法支持地址携带类型信息,例如地址 type=0xD1;A[0]
21. MelsecFxSerial: 三菱的编程口协议在新版协议配置为True时,修复D8000地址以上读写不正确的bug,修复X,Y,M,S部分地址读写不正确的bug,都调整为新版的报文,支持的范围更大更准确。
22. MelsecFxSerialOverTcp: 支持通过GOT连接的方式。PanasonicMewtocol: 松下的Mewtocol协议支持了经过值及目标值。ILogNet: 日志的接口新增属性LogThreadID,用来配置是否记录线程ID的数据信息。
23. SecsHsmsServer: 新增Secs协议的虚拟服务器,支持事件自定义处理所有的消息。并添加示例的代码。Demo程序界面
24. Mqtt: MqttClient及MqttServer支持了遗言消息,客户端A在连接参数里设置了遗言主题及数据,当客户端A非正常掉线的时候,服务器即发布该遗言主题信息。
25. MqttSyncClient: 新增HslCancelToken对象,在文件上传和下载的过程中支持取消操作,MqttServer适配相应的功能实现,取消示例代码增加。
26. HttpServer: 新增Action对象DealWithHttpListenerRequest,用来处理定义的Header数据到Session会话中,实现更加复杂自定义的操作。
27. Demo: DEMO写入各种PLC的数据功能里,写入的数据支持byte数组,例如数据输入[1,2,3], 点击写入byte,就自动写入new byte[]{ 0x01, 0x02, 0x03}
28. Demo: TCP调试界面优化,新增握手报文设置。新增一个测试正则表达式的界面,增加一些常用的正则表达式的内容。CIP浏览节点界面支持正则表达式筛选节点。
29. 官网地址: http://www.hslcommunication.cn/ 官网的界面全新设计过,感谢浏览关注。
30. 本软件已经申请软件著作权,软著登记号:2020SR0340826,任何盗用软件,破解软件,未经正式合同授权而商业使用均视为侵权。