Communication.Helpler 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Communication.Helpler --version 1.0.2
                    
NuGet\Install-Package Communication.Helpler -Version 1.0.2
                    
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="Communication.Helpler" Version="1.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Communication.Helpler" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Communication.Helpler" />
                    
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 Communication.Helpler --version 1.0.2
                    
#r "nuget: Communication.Helpler, 1.0.2"
                    
#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 Communication.Helpler@1.0.2
                    
#: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=Communication.Helpler&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Communication.Helpler&version=1.0.2
                    
Install as a Cake Tool

自用plc通讯类,后续用到相关pcl 持续更新。 1、三菱PLC通讯类,MCHelper 采用Qna兼容3E帧协议实现,需要在PLC侧先的以太网模块先进行配置,必须为二进制通讯 实现读取、写入,随机读取取,随机写入 D类地址 2、信捷 tcp专用通讯类 XJHelper 写入和读取M,D,HD类地址。

三菱读写例子: var mch = new MCHelper("192.168.100.100", 8109); //三菱读取 var rUShort = _mch.ReadUInt16("D100"); //三菱写入 var rwUShort = _mch.ReadUInt16("d1050"); //三菱随机读取 List<MCComData> list = new List<MCComData>(); list.Add(new MCComData { Address = "D100", Type = typeof(ushort) }); list.Add(new MCComData { Address = "D102", Value = typeof(int)}); list.Add(new MCComData { Address = "D100", Value = typeof(string), Length = 10 }); var rSet = mch.ReadSet(list); //三菱随机写入 List<MCComData> listw = new List<MCComData>(); listw.Add(new MCComData { Address = "D105", Value = (short)-100 }); listw.Add(new MCComData { Address = "D108", Value = 100 }); listw.Add(new MCComData { Address = "D110", Value = "1.005" }); var rwSet = mch.Write(list);

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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.  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
1.0.3 243 4/12/2024
1.0.2 180 3/21/2024
1.0.1 204 3/20/2024
1.0.0 178 3/20/2024