Zeus.Protocols.Modbus 0.5.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Zeus.Protocols.Modbus --version 0.5.0
                    
NuGet\Install-Package Zeus.Protocols.Modbus -Version 0.5.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="Zeus.Protocols.Modbus" Version="0.5.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Zeus.Protocols.Modbus" Version="0.5.0" />
                    
Directory.Packages.props
<PackageReference Include="Zeus.Protocols.Modbus" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Zeus.Protocols.Modbus --version 0.5.0
                    
#r "nuget: Zeus.Protocols.Modbus, 0.5.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.
#:package Zeus.Protocols.Modbus@0.5.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Zeus.Protocols.Modbus&version=0.5.0
                    
Install as a Cake Addin
#tool nuget:?package=Zeus.Protocols.Modbus&version=0.5.0
                    
Install as a Cake Tool

Zeus

居于奥林匹斯,统御每一台设备。

面向 .NET 的上位机开发框架。通信、协议、点表和生命周期由框架处理;WinForms、WPF 和控制台都可以作为界面。

把复杂留给 Zeus,把简单留给用户。

await using var app = ZeusHost.Create(builder =>
{
    builder.AddVirtualChannel("meter");
    // 有硬件时:builder.AddSerialPort("meter", "COM3", 115200);
});
await app.StartAsync();

按功能选择程序集:

包 版本 用途
Zeus.Abstractions nuget 通道、设备、点表与宿主契约
Zeus.Runtime nuget 运行时内核:通道状态机、设备基类与点表
Zeus.Hosting nuget 宿主与采集循环
Zeus.Communications nuget 串口 / TCP / UDP 客户端与服务端 / 虚拟通道
Zeus.Protocols.Framing nuget 自定义帧
Zeus.Protocols.Modbus nuget Modbus RTU/TCP
Zeus.Protocols.Mc nuget Mitsubishi MC 1E/3E/4E Binary/ASCII,3E/4E 随机读写
Zeus.Configuration nuget JSON 工程配置
Zeus.Presentation.Abstractions nuget UI 无关绑定抽象
Zeus.Presentation.WinForms nuget WinForms 绑定
Zeus.Presentation.Wpf nuget WPF 绑定

点表支持最近成功采样历史、报警限,以及按点名写回可写点,适合在界面上直接显示当前值、采集错误和高低报,并下发设定值。

0.5 起支持 TCP 服务端、Mitsubishi MC 与 3E/4E 随机读写;0.4 起支持 Modbus 功能码 17、UDP 服务端、ChannelTraceLogger 与 BindEnabled;0.3 起可写点走 Points.WriteAsync;0.2 起宿主停止后可再次启动,通道故障默认自动重连,运行中可增删通道与设备,JSON 监视会同步拓扑。

0.2 起宿主停止后可再次启动;通道故障默认自动重连;运行中可增删通道与设备;JSON 监视会同步拓扑。

通道支持 PacketTraced 报文追踪事件与 ChannelTraceBuffer 滚动内存记录器,可直接接入通信诊断窗口或现场故障快照。

手册:docs.greekmythology.cn · QQ 群:771421105

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.20.1 179 8/28/2026
0.20.0 137 8/25/2026
0.19.0 131 8/24/2026
0.18.0 127 8/21/2026
0.17.0 149 8/21/2026
0.16.0 151 8/20/2026
0.15.0 152 8/19/2026
0.14.0 151 8/19/2026
0.13.0 140 8/18/2026
0.12.0 137 8/18/2026
0.11.0 146 8/18/2026
0.10.0 139 8/18/2026
0.9.0 140 8/18/2026
0.8.0 144 8/18/2026
0.7.0 136 8/17/2026
0.6.0 142 8/17/2026
0.5.0 149 8/17/2026
0.4.0 137 8/14/2026
0.3.0 146 8/14/2026
0.2.0 141 8/14/2026
Loading failed

0.5.0:新增 TCP 服务端通道与 JSON type tcp-server;新增 Mitsubishi MC 1E/3E/4E Binary/ASCII 协议、3E/4E 随机读写与虚拟 PLC;新增 Modbus 功能码 07、08、11。