Dreamine.PLC.Wpf
1.0.1
dotnet add package Dreamine.PLC.Wpf --version 1.0.1
NuGet\Install-Package Dreamine.PLC.Wpf -Version 1.0.1
<PackageReference Include="Dreamine.PLC.Wpf" Version="1.0.1" />
<PackageVersion Include="Dreamine.PLC.Wpf" Version="1.0.1" />
<PackageReference Include="Dreamine.PLC.Wpf" />
paket add Dreamine.PLC.Wpf --version 1.0.1
#r "nuget: Dreamine.PLC.Wpf, 1.0.1"
#:package Dreamine.PLC.Wpf@1.0.1
#addin nuget:?package=Dreamine.PLC.Wpf&version=1.0.1
#tool nuget:?package=Dreamine.PLC.Wpf&version=1.0.1
Dreamine.PLC.Wpf
WPF monitoring and diagnostic UI components for Dreamine PLC communication.
This package provides a reusable PLC monitor view that can bind to any IPlcClient implementation from the Dreamine PLC package family.
Features
- PLC connection state display
- Selectable client binding flow
- Bit read/write diagnostics
- Word read/write diagnostics
- Operation log display
- Faulted/disconnected state handling
- Reusable WPF monitor control
Supported client types through the sample
The monitor can be used with any IPlcClient. The current SampleSmart integration validates:
- InMemory PLC Client
- Dreamine Simulator TCP Client
- Mitsubishi MC TCP Client
- Mitsubishi MC UDP Client
- Omron FINS TCP Client
- Omron FINS UDP Client
Sample mode matching rule
The sample contains one unified PLC Protocol page. For simulator-based testing, server and client modes must match.
SimulatorTcp ↔ SimulatorTcp
McTcp ↔ McTcp
McUdp ↔ McUdp
FinsTcp ↔ FinsTcp
FinsUdp ↔ FinsUdp
If the mode does not match, communication failure is expected.
PC-to-PC test requirement
When testing between two PCs, open the selected protocol port on the server PC.
Example for port 55000:
New-NetFirewallRule -DisplayName "Dreamine PLC TCP 55000" -Direction Inbound -Protocol TCP -LocalPort 55000 -Action Allow
New-NetFirewallRule -DisplayName "Dreamine PLC UDP 55000" -Direction Inbound -Protocol UDP -LocalPort 55000 -Action Allow
Use an Administrator PowerShell session. The client PC usually does not need inbound rules unless it also runs a server.
Physical PLC test notice
The WPF monitor can connect to real PLC clients, but physical PLC validation must be performed separately.
Before connecting to a physical PLC, verify:
- PLC IP address and port
- Protocol mode
- TCP/UDP firewall path
- PLC Ethernet module settings
- PLC memory area mapping
- Safe polling interval
- Write operation safety
Do not use 1ms polling against physical PLCs. Use 100ms to 500ms for monitoring and event-driven writes for control signals.
Package scope
This package does not implement vendor protocols directly. It only provides UI components and view models.
Vendor protocol implementations belong to:
Dreamine.PLC.Mitsubishi.MCDreamine.PLC.Omron.Fins- Future vendor packages
License
MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0-windows7.0 is compatible. net9.0-windows was computed. net10.0-windows was computed. |
-
net8.0-windows7.0
- Dreamine.MVVM.ViewModels (>= 1.0.5)
- Dreamine.PLC.Abstractions (>= 1.0.1)
- Dreamine.PLC.Core (>= 1.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Dreamine.PLC.Wpf:
| Package | Downloads |
|---|---|
|
Dreamine.PLC.FullKit
All-in-one meta package for Dreamine PLC libraries. Includes Abstractions, Core, Mitsubishi (MC/MxComponent), Omron (CxComponent/Fins), and WPF integration. |
GitHub repositories
This package is not used by any popular GitHub repositories.