McProtocol 1.0.0
See the version list below for details.
dotnet add package McProtocol --version 1.0.0
NuGet\Install-Package McProtocol -Version 1.0.0
<PackageReference Include="McProtocol" Version="1.0.0" />
paket add McProtocol --version 1.0.0
#r "nuget: McProtocol, 1.0.0"
// Install McProtocol as a Cake Addin #addin nuget:?package=McProtocol&version=1.0.0 // Install McProtocol as a Cake Tool #tool nuget:?package=McProtocol&version=1.0.0
This package can be used to communicate with Mitsubishi PLCs. Currently there are 3 frames that are supported, MC1E, MC3E, and MC4E frames. To communicate with your Mitsubishi PLC refer to the owners manual to better understand if the McProtocol is supported by your PLC and what message frame your PLC calls for. In some cases the PLC may require a separate network card to support PC communication. Newer controllers are more likely to carry this protocol on the ethernet port on board. The benefit to this protocol is that you can use it in place of Modbus to eliminate the need for an expensive modus card.
In addition to the McProtocol this library is designed to convert data from byte arrays to match the data types expected by the computer. My goal is to handle data conversion on in the library so that the user is not responsible for aligning bytes. Ultimately this will make the library easier to use.
After you add the Nuget package to your project go ahead and add a using statement to begin using the library. using MCProtocol;
There are three steps to using this library. The first step is to set up the connection to the PLC using the IP address. The easiest way to do this is to store the connection in static field PLCData.PLC .
Once the PLC connection is set up
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. 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. |
.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 was computed. |
.NET Framework | 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. |
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on McProtocol:
Package | Downloads |
---|---|
PlcCommunicate
PLC通讯,封装ModBus、S7、MC、Fins |
GitHub repositories
This package is not used by any popular GitHub repositories.