Dreamine.IO.Fastech.Ethernet
1.0.1
dotnet add package Dreamine.IO.Fastech.Ethernet --version 1.0.1
NuGet\Install-Package Dreamine.IO.Fastech.Ethernet -Version 1.0.1
<PackageReference Include="Dreamine.IO.Fastech.Ethernet" Version="1.0.1" />
<PackageVersion Include="Dreamine.IO.Fastech.Ethernet" Version="1.0.1" />
<PackageReference Include="Dreamine.IO.Fastech.Ethernet" />
paket add Dreamine.IO.Fastech.Ethernet --version 1.0.1
#r "nuget: Dreamine.IO.Fastech.Ethernet, 1.0.1"
#:package Dreamine.IO.Fastech.Ethernet@1.0.1
#addin nuget:?package=Dreamine.IO.Fastech.Ethernet&version=1.0.1
#tool nuget:?package=Dreamine.IO.Fastech.Ethernet&version=1.0.1
Dreamine.IO.Fastech.Ethernet
Fastech Ethernet I/O adapter package for the Dreamine IO stack.
This package references only Dreamine.IO.Abstractions and .NET networking APIs. It does not redistribute Fastech SDK DLLs, vendor runtime DLLs, or vendor source code.
Current Scope
- Fastech Ethernet connection options
- UDP transport for Fastech Ezi-IO Plus-E communication
- TCP transport scaffold for future protocol variants
IIoControllerimplementation- Digital input/output channel wrappers
- Analog input/output channel wrappers that currently report not-supported for the 16-point DIO protocol
IFastechEthernetIoProtocolinjection point- Built-in
FastechPlusE16PointProtocolfor Ezi-IO Plus-E 16 DI / 16 DO
Implemented Hardware Protocol
The current real-hardware implementation targets Fastech Ezi-IO Plus-E 16-point digital I/O over UDP.
- Transport: UDP
- Default port:
3001 - Header:
0xAA - Implemented commands:
0x01GetSlaveInfo probe0xC0Read digital inputs0xC5Read digital outputs0xC6Write digital outputs
- Channel numbering is zero-based:
DI00/DO00is channel0.
The implementation was verified against physical hardware through SampleSmart. The device frame layout is handled inside FastechPlusE16PointProtocol; application code should use IoPoint.Channel values 0 through 15.
SampleSmart Verification
SampleSmart includes a Dreamine I/O sample page for a 16 DI / 16 DO Fastech device.
Recommended test flow:
- Set the PC wired NIC and the Fastech device to the same subnet.
- Enter the device IP and port
3001. - Select
Use Real UDP. - Click
Connect. - Use
Probeto confirm a raw UDP response. - Use
Read DI,Write DO, andRead DOto verify channel mapping.
The sample status line prints raw TX/RX frames. Keep this visible when adding a new Fastech model because model-specific byte mapping should be confirmed with real hardware.
Current Limitations
- The built-in protocol currently covers the verified Ezi-IO Plus-E 16 DI / 16 DO model only.
- Analog I/O is not implemented in this protocol.
- A-contact/B-contact inversion, debounce, on-delay, off-delay, pulse output, and interlock logic are not implemented yet.
- Signal conditioning should be added as a vendor-neutral layer above raw I/O channels, not inside this Fastech protocol class.
- Additional Fastech models should be added as separate protocol implementations and verified with physical hardware.
Example
var options = new FastechEthernetIoOptions
{
Host = "192.168.0.2",
Port = 3001,
TransportType = FastechEthernetIoTransportType.Udp,
ReceiveTimeoutMs = 1000
};
await using var controller = new FastechEthernetIoController(options);
await controller.ConnectAsync();
var inputs = Enumerable
.Range(0, 16)
.Select(channel => new IoPoint(0, channel, $"DI{channel:00}"))
.ToArray();
var readResult = await controller.DigitalInputs.ReadAsync(inputs);
Vendor Runtime Policy
This package does not include Fastech runtime DLLs. The current Ezi-IO Plus-E implementation uses direct UDP frames only. If a future adapter needs vendor-provided runtime files, keep that adapter in a separate package and require users to install the vendor software with the proper license.
License
MIT License.
| Product | Versions 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. |
-
net8.0
- Dreamine.IO.Abstractions (>= 1.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Dreamine.IO.Fastech.Ethernet:
| Package | Downloads |
|---|---|
|
Dreamine.IO.FullKit
All-in-one meta package for Dreamine IO libraries. Includes Abstractions and Fastech Ethernet adapter. |
GitHub repositories
This package is not used by any popular GitHub repositories.