iconDreamine
← 목록

Dreamine.IO.Fastech.Ethernet

stablev1.0.1

Fastech EtherNet/IP 모션 컨트롤러 드라이버.

#analog-io#digital-io#dreamine#ethernet#fastech#industrial-automation#io
TFM net8.0Package Dreamine.IO.Fastech.Ethernet참조 Dreamine.IO.Abstractions

Dreamine.IO.Fastech.Ethernet

English documentation

Dreamine IO 스택용 Fastech Ethernet I/O 어댑터 패키지입니다.

이 패키지는 Dreamine.IO.Abstractions와 .NET 네트워킹 API만 참조합니다. Fastech SDK DLL, 벤더 런타임 DLL, 벤더 소스 코드는 재배포하지 않습니다.

현재 범위

  • Fastech Ethernet 연결 옵션
  • Fastech Ezi-IO Plus-E 통신용 UDP transport
  • 향후 프로토콜 변형을 위한 TCP transport scaffold
  • IIoController 구현
  • Digital Input / Output 채널 래퍼
  • 16점 DIO 프로토콜에서 not-supported를 반환하는 Analog Input / Output 채널 래퍼
  • IFastechEthernetIoProtocol 기반 프로토콜 주입 지점
  • Ezi-IO Plus-E 16 DI / 16 DO용 내장 FastechPlusE16PointProtocol

구현된 하드웨어 프로토콜

현재 실물 검증이 끝난 구현 대상은 UDP 기반 Fastech Ezi-IO Plus-E 16점 Digital I/O입니다.

  • Transport: UDP
  • 기본 포트: 3001
  • Header: 0xAA
  • 구현 명령:
    • 0x01 GetSlaveInfo probe
    • 0xC0 Digital Input 읽기
    • 0xC5 Digital Output 읽기
    • 0xC6 Digital Output 쓰기
  • 채널 번호는 0-base입니다. DI00/DO00은 channel 0입니다.

이 구현은 SampleSmart에서 실물 장비를 연결해 검증했습니다. 장비 프레임의 바이트 매핑은 FastechPlusE16PointProtocol 안에서 처리하므로, 애플리케이션 코드는 IoPoint.Channel0부터 15를 사용하면 됩니다.

SampleSmart 검증

SampleSmart에는 Fastech 16 DI / 16 DO 장비 테스트용 Dreamine I/O 샘플 페이지가 포함되어 있습니다.

권장 테스트 흐름:

  1. PC 유선 NIC와 Fastech 장비를 같은 subnet에 둡니다.
  2. 장비 IP와 port 3001을 입력합니다.
  3. Use Real UDP를 선택합니다.
  4. Connect를 누릅니다.
  5. Probe로 raw UDP 응답을 확인합니다.
  6. Read DI, Write DO, Read DO로 채널 매핑을 검증합니다.

샘플 상태줄에는 raw TX/RX 프레임이 표시됩니다. 다른 Fastech 모델을 추가할 때는 모델별 바이트 매핑을 실물 장비로 확인해야 하므로 이 로그를 유지하는 것이 좋습니다.

현재 제한 사항

  • 내장 프로토콜은 현재 실물 검증된 Ezi-IO Plus-E 16 DI / 16 DO 모델만 대상으로 합니다.
  • 이 프로토콜에서는 Analog I/O를 구현하지 않았습니다.
  • A접/B접 반전, debounce, ON delay, OFF delay, pulse output, interlock 로직은 아직 구현하지 않았습니다.
  • 신호 보정 기능은 Fastech 프로토콜 클래스 안이 아니라 raw I/O 채널 위에 얹는 벤더 중립 레이어로 추가하는 방향이 적합합니다.
  • 다른 Fastech 모델은 별도 프로토콜 구현으로 추가하고 실물 장비로 검증해야 합니다.

사용 예

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);

벤더 런타임 정책

이 패키지는 Fastech 런타임 DLL을 포함하지 않습니다. 현재 Ezi-IO Plus-E 구현은 벤더 DLL 없이 UDP 프레임만 직접 사용합니다. 향후 벤더 제공 런타임 파일이 필요한 어댑터는 별도 패키지로 분리하고, 사용자가 벤더 소프트웨어를 직접 설치하고 정식 라이선스를 보유하도록 해야 합니다.

라이선스

MIT License.

구조 다이어그램

classDiagram
    class FastechEthernetChannel {
        -TcpClient _tcp
        +string Host
        +int Port
        +int StationId
        +IsOpen bool
        +OpenAsync() Task
        +CloseAsync() Task
        +ReadAsync(int) Task~byte[]~
        +WriteAsync(byte[]) Task
    }
    class FastechProtocol {
        +BuildReadRequest(int, int) byte[]
        +BuildWriteRequest(int, byte[]) byte[]
        +ParseReadResponse(byte[]) byte[]
        +Validate(byte[]) bool
        +CalculateChecksum(byte[]) byte
    }
    class FastechEzioClient {
        -FastechEthernetChannel _channel
        -FastechProtocol _protocol
        +ReadDi(int, int) Task~bool[]~
        +ReadDo(int, int) Task~bool[]~
        +WriteDo(int, bool[]) Task
        +ReadAi(int) Task~double~
        +WriteAo(int, double) Task
    }
    class IDeviceChannel {
        <<interface>>
    }
    IDeviceChannel <|.. FastechEthernetChannel
    FastechEzioClient --> FastechEthernetChannel
    FastechEzioClient --> FastechProtocol

API 문서

타입

FastechAnalogInputChannel

\if KO Fastech Ethernet 컨트롤러의 아날로그 입력 채널 작업을 제공합니다. \endif \if EN Provides analog-input channel operations for a Fastech Ethernet controller. \endif

FastechAnalogOutputChannel

\if KO Fastech Ethernet 컨트롤러의 아날로그 출력 채널 작업을 제공합니다. \endif \if EN Provides analog-output channel operations for a Fastech Ethernet controller. \endif

FastechDigitalInputChannel

\if KO Fastech Ethernet 컨트롤러의 디지털 입력 채널 작업을 제공합니다. \endif \if EN Provides digital-input channel operations for a Fastech Ethernet controller. \endif

FastechDigitalOutputChannel

\if KO Fastech Ethernet 컨트롤러의 디지털 출력 채널 작업을 제공합니다. \endif \if EN Provides digital-output channel operations for a Fastech Ethernet controller. \endif

FastechEthernetIoController

\if KO 전송과 장치 프로토콜을 조합하여 Fastech Ethernet I/O 채널을 제공하는 컨트롤러입니다. \endif \if EN Provides a Fastech Ethernet I/O controller that composes a transport and device protocol into channel operations. \endif

FastechEthernetIoOptions

\if KO Fastech Ethernet I/O 연결, 시간 제한 및 프로토콜 확장 옵션을 나타냅니다. \endif \if EN Represents Fastech Ethernet I/O connection, timeout, and protocol-extension options. \endif

FastechEthernetIoTransportType

\if KO Fastech Ethernet I/O 통신에 사용할 전송 형식을 나타냅니다. \endif \if EN Represents the transport type used for Fastech Ethernet I/O communication. \endif

FastechPlusE16PointProtocol

\if KO Fastech Ezi-IO Plus-E 16점 디지털 I/O UDP 프레임을 생성하고 파싱합니다. \endif \if EN Builds and parses Fastech Ezi-IO Plus-E 16-point digital-I/O UDP frames. \endif

IFastechEthernetIoProtocol

\if KO Fastech Ethernet I/O 요청 프레임 생성과 응답 파싱 계약을 정의합니다. \endif \if EN Defines request-frame building and response parsing for Fastech Ethernet I/O. \endif

IFastechEthernetIoTransport

\if KO Fastech Ethernet I/O 통신의 연결 및 요청/응답 전송 계약을 정의합니다. \endif \if EN Defines connection and request-response transport operations for Fastech Ethernet I/O communication. \endif

TcpFastechEthernetIoTransport

\if KO Fastech Ethernet I/O 통신을 위한 TCP 전송을 제공합니다. \endif \if EN Provides TCP transport for Fastech Ethernet I/O communication. \endif

UdpFastechEthernetIoTransport

\if KO Fastech Ezi-IO Plus-E 통신을 위한 UDP 전송을 제공합니다. \endif \if EN Provides UDP transport for Fastech Ezi-IO Plus-E communication. \endif

UnsupportedFastechEthernetIoProtocol

\if KO 지원되지 않거나 검증되지 않은 Fastech Ethernet I/O 모델에 대해 명시적으로 실패하는 프로토콜입니다. \endif \if EN Provides an explicit fail-fast protocol for unsupported or not-yet-verified Fastech Ethernet I/O models. \endif

FastechAnalogInputChannel

#ctor Method

\if KO 소유 컨트롤러로 아날로그 입력 채널을 초기화합니다. \endif \if EN Initializes the analog-input channel with its owning controller. \endif

controller— \if KO 요청을 실행할 컨트롤러입니다. \endif \if EN The controller that executes requests. \endif
ReadAsync Method

\if KO 단일 아날로그 입력을 읽고 응답 값 수를 검증합니다. \endif \if EN Reads one analog input and validates the response value count. \endif

point— \if KO 읽을 지점입니다. \endif \if EN The point to read. \endif
cancellationToken— \if KO 읽기 취소 토큰입니다. \endif \if EN A token used to cancel the read. \endif

반환: \if KO 단일 입력 값을 포함하는 결과입니다. \endif \if EN A result containing the single input value. \endif

ReadAsync Method

\if KO 컨트롤러를 통해 여러 아날로그 입력을 읽습니다. \endif \if EN Reads multiple analog inputs through the controller. \endif

points— \if KO 읽을 지점 목록입니다. \endif \if EN The points to read. \endif
cancellationToken— \if KO 읽기 취소 토큰입니다. \endif \if EN A token used to cancel the read. \endif

반환: \if KO 입력 값 배열을 포함하는 결과입니다. \endif \if EN A result containing the input-value array. \endif

_controller Field

\if KO controller 값을 보관합니다. \endif \if EN Stores the controller value. \endif

FastechAnalogOutputChannel

#ctor Method

\if KO 소유 컨트롤러로 아날로그 출력 채널을 초기화합니다. \endif \if EN Initializes the analog-output channel with its owning controller. \endif

controller— \if KO 요청을 실행할 컨트롤러입니다. \endif \if EN The controller that executes requests. \endif
ReadAsync Method

\if KO 단일 아날로그 출력의 현재 값을 읽고 응답 값 수를 검증합니다. \endif \if EN Reads one analog output's current value and validates the response count. \endif

point— \if KO 읽을 출력 지점입니다. \endif \if EN The output point to read. \endif
cancellationToken— \if KO 읽기 취소 토큰입니다. \endif \if EN A token used to cancel the read. \endif

반환: \if KO 현재 출력 값을 포함하는 결과입니다. \endif \if EN A result containing the current output value. \endif

WriteAsync Method

\if KO 단일 아날로그 출력 값을 씁니다. \endif \if EN Writes one analog-output value. \endif

point— \if KO 쓸 지점입니다. \endif \if EN The point to write. \endif
value— \if KO 출력 값입니다. \endif \if EN The output value. \endif
cancellationToken— \if KO 쓰기 취소 토큰입니다. \endif \if EN A token used to cancel the write. \endif

반환: \if KO 쓰기 결과입니다. \endif \if EN The write result. \endif

WriteAsync Method

\if KO 컨트롤러를 통해 여러 아날로그 출력 값을 씁니다. \endif \if EN Writes multiple analog-output values through the controller. \endif

values— \if KO 지점별 출력 값입니다. \endif \if EN The output values keyed by point. \endif
cancellationToken— \if KO 쓰기 취소 토큰입니다. \endif \if EN A token used to cancel the write. \endif

반환: \if KO 일괄 쓰기 결과입니다. \endif \if EN The batch-write result. \endif

_controller Field

\if KO controller 값을 보관합니다. \endif \if EN Stores the controller value. \endif

FastechDigitalInputChannel

#ctor Method

\if KO 소유 컨트롤러로 디지털 입력 채널을 초기화합니다. \endif \if EN Initializes the digital-input channel with its owning controller. \endif

controller— \if KO 요청을 실행할 컨트롤러입니다. \endif \if EN The controller that executes requests. \endif
ReadAsync Method

\if KO 단일 디지털 입력을 읽고 응답 값 수를 검증합니다. \endif \if EN Reads one digital input and validates the response value count. \endif

point— \if KO 읽을 지점입니다. \endif \if EN The point to read. \endif
cancellationToken— \if KO 읽기 취소 토큰입니다. \endif \if EN A token used to cancel the read. \endif

반환: \if KO 단일 입력 상태를 포함하는 결과입니다. \endif \if EN A result containing the single input state. \endif

ReadAsync Method

\if KO 컨트롤러를 통해 여러 디지털 입력을 읽습니다. \endif \if EN Reads multiple digital inputs through the controller. \endif

points— \if KO 읽을 지점 목록입니다. \endif \if EN The points to read. \endif
cancellationToken— \if KO 읽기 취소 토큰입니다. \endif \if EN A token used to cancel the read. \endif

반환: \if KO 입력 상태 배열을 포함하는 결과입니다. \endif \if EN A result containing the input-state array. \endif

_controller Field

\if KO controller 값을 보관합니다. \endif \if EN Stores the controller value. \endif

FastechDigitalOutputChannel

#ctor Method

\if KO 소유 컨트롤러로 디지털 출력 채널을 초기화합니다. \endif \if EN Initializes the digital-output channel with its owning controller. \endif

controller— \if KO 요청을 실행할 컨트롤러입니다. \endif \if EN The controller that executes requests. \endif
ReadAsync Method

\if KO 장치의 16점 출력 상태를 읽어 요청 채널의 상태를 반환합니다. \endif \if EN Reads the device's 16-point output state and returns the requested channel state. \endif

point— \if KO 읽을 출력 지점입니다. \endif \if EN The output point to read. \endif
cancellationToken— \if KO 읽기 취소 토큰입니다. \endif \if EN A token used to cancel the read. \endif

반환: \if KO 요청 출력 상태를 포함하는 결과입니다. \endif \if EN A result containing the requested output state. \endif

ReadAsync Method

\if KO 여러 디지털 출력의 현재 상태를 읽습니다. \endif \if EN Reads the current states of multiple digital outputs. \endif

points— \if KO 읽을 지점 목록입니다. \endif \if EN The points to read. \endif
cancellationToken— \if KO 읽기 취소 토큰입니다. \endif \if EN A token used to cancel the read. \endif

반환: \if KO 출력 상태 배열을 포함하는 결과입니다. \endif \if EN A result containing the output-state array. \endif

WriteAsync Method

\if KO 단일 디지털 출력 상태를 씁니다. \endif \if EN Writes one digital-output state. \endif

point— \if KO 쓸 지점입니다. \endif \if EN The point to write. \endif
value— \if KO 출력 상태입니다. \endif \if EN The output state. \endif
cancellationToken— \if KO 쓰기 취소 토큰입니다. \endif \if EN A token used to cancel the write. \endif

반환: \if KO 쓰기 결과입니다. \endif \if EN The write result. \endif

WriteAsync Method

\if KO 여러 디지털 출력 상태를 씁니다. \endif \if EN Writes multiple digital-output states. \endif

values— \if KO 지점별 출력 상태입니다. \endif \if EN The output states keyed by point. \endif
cancellationToken— \if KO 쓰기 취소 토큰입니다. \endif \if EN A token used to cancel the write. \endif

반환: \if KO 일괄 쓰기 결과입니다. \endif \if EN The batch-write result. \endif

_controller Field

\if KO controller 값을 보관합니다. \endif \if EN Stores the controller value. \endif

FastechEthernetIoController

#ctor Method

\if KO 옵션에 맞는 기본 전송과 검증된 16점 DIO 프로토콜로 컨트롤러를 초기화합니다. \endif \if EN Initializes the controller with the default transport and verified 16-point DIO protocol for the options. \endif

options— \if KO Fastech 연결 옵션입니다. \endif \if EN The Fastech connection options. \endif
#ctor Method

\if KO 옵션에 맞는 기본 전송과 지정한 프로토콜로 컨트롤러를 초기화합니다. \endif \if EN Initializes the controller with the default transport and specified protocol. \endif

options— \if KO Fastech 연결 옵션입니다. \endif \if EN The Fastech connection options. \endif
protocol— \if KO 장치 프로토콜 구현입니다. \endif \if EN The device-protocol implementation. \endif
#ctor Method

\if KO 지정한 옵션, 전송 및 프로토콜로 컨트롤러와 네 채널을 초기화합니다. \endif \if EN Initializes the controller and its four channels with the specified options, transport, and protocol. \endif

options— \if KO Fastech 연결 옵션입니다. \endif \if EN The Fastech connection options. \endif
transport— \if KO 요청/응답 전송입니다. \endif \if EN The request-response transport. \endif
protocol— \if KO 장치 프로토콜 구현입니다. \endif \if EN The device-protocol implementation. \endif
ConnectAsync Method

\if KO 전송을 연결하고 상태를 Connecting에서 Connected 또는 Faulted로 전환합니다. \endif \if EN Connects the transport and transitions state from Connecting to Connected or Faulted. \endif

cancellationToken— \if KO 연결 취소 토큰입니다. \endif \if EN A token used to cancel connection. \endif

반환: \if KO 전송 연결 결과입니다. \endif \if EN The transport-connection result. \endif

CreateTransport Method

\if KO 옵션의 전송 형식에 맞는 UDP 또는 TCP 전송을 만듭니다. \endif \if EN Creates a UDP or TCP transport matching the configured transport type. \endif

options— \if KO 전송 구성 옵션입니다. \endif \if EN The transport configuration options. \endif

반환: \if KO 새 전송 구현입니다. \endif \if EN The new transport implementation. \endif

DisconnectAsync Method

\if KO 전송 연결을 해제하고 상태를 Disconnecting에서 Disconnected 또는 Faulted로 전환합니다. \endif \if EN Disconnects the transport and transitions state from Disconnecting to Disconnected or Faulted. \endif

cancellationToken— \if KO 연결 해제 취소 토큰입니다. \endif \if EN A token used to cancel disconnection. \endif

반환: \if KO 전송 연결 해제 결과입니다. \endif \if EN The transport-disconnection result. \endif

DisposeAsync Method

\if KO 전송을 비동기 해제하고 컨트롤러를 Disconnected 상태로 전환합니다. \endif \if EN Asynchronously disposes the transport and transitions the controller to Disconnected. \endif

반환: \if KO 비동기 해제 작업입니다. \endif \if EN The asynchronous disposal operation. \endif

ReadAnalogInputsAsync Method

\if KO 아날로그 입력 읽기 요청을 생성·전송·파싱합니다. \endif \if EN Builds, sends, and parses an analog-input read. \endif

points— \if KO 읽을 입력 지점입니다. \endif \if EN The input points to read. \endif
cancellationToken— \if KO 요청 취소 토큰입니다. \endif \if EN A token used to cancel the request. \endif

반환: \if KO 아날로그 입력 배열 결과입니다. \endif \if EN The analog-input array result. \endif

ReadAnalogOutputsAsync Method

\if KO 아날로그 출력 상태 읽기 요청을 생성·전송·파싱합니다. \endif \if EN Builds, sends, and parses an analog-output state read. \endif

points— \if KO 읽을 출력 지점입니다. \endif \if EN The output points to read. \endif
cancellationToken— \if KO 요청 취소 토큰입니다. \endif \if EN A token used to cancel the request. \endif

반환: \if KO 아날로그 출력 배열 결과입니다. \endif \if EN The analog-output array result. \endif

ReadDigitalInputsAsync Method

\if KO 프로토콜을 사용하여 디지털 입력 읽기 요청을 생성·전송·파싱합니다. \endif \if EN Builds, sends, and parses a digital-input read through the protocol. \endif

points— \if KO 읽을 입력 지점입니다. \endif \if EN The input points to read. \endif
cancellationToken— \if KO 요청 취소 토큰입니다. \endif \if EN A token used to cancel the request. \endif

반환: \if KO 입력 상태 배열 결과입니다. \endif \if EN The input-state array result. \endif

ReadDigitalOutputsAsync Method

\if KO 디지털 출력 상태 읽기 요청을 생성·전송·파싱합니다. \endif \if EN Builds, sends, and parses a digital-output state read. \endif

points— \if KO 읽을 출력 지점입니다. \endif \if EN The output points to read. \endif
cancellationToken— \if KO 요청 취소 토큰입니다. \endif \if EN A token used to cancel the request. \endif

반환: \if KO 출력 상태 배열 결과입니다. \endif \if EN The output-state array result. \endif

SendAsync Method

\if KO 연결 상태를 확인하고 구성된 횟수만큼 요청/응답 교환을 재시도합니다. \endif \if EN Verifies connection state and retries the request-response exchange as configured. \endif

request— \if KO 전송할 요청 프레임입니다. \endif \if EN The request frame to send. \endif
cancellationToken— \if KO 교환 취소 토큰입니다. \endif \if EN A token used to cancel the exchange. \endif

반환: \if KO 첫 성공 응답 또는 마지막 실패 결과입니다. \endif \if EN The first successful response or final failure result. \endif

SendReadAsync``2 Method

\if KO 읽기 요청 생성·전송·파싱 단계의 예외를 I/O 실패 결과로 변환합니다. \endif \if EN Converts exceptions from read request building, transport, and parsing into I/O failure results. \endif

points— \if KO 요청할 지점입니다. \endif \if EN The points to request. \endif
buildRequest— \if KO 요청 프레임 생성기입니다. \endif \if EN The request-frame builder. \endif
parseResponse— \if KO 응답 파서입니다. \endif \if EN The response parser. \endif
cancellationToken— \if KO 요청 취소 토큰입니다. \endif \if EN A token used to cancel the request. \endif

반환: \if KO 파싱된 값 배열 또는 실패 결과입니다. \endif \if EN The parsed value array or a failure result. \endif

SendWriteAsync``2 Method

\if KO 쓰기 요청 생성·전송·파싱 단계의 예외를 I/O 실패 결과로 변환합니다. \endif \if EN Converts exceptions from write request building, transport, and parsing into I/O failure results. \endif

values— \if KO 쓸 키별 값입니다. \endif \if EN The values keyed by output. \endif
buildRequest— \if KO 요청 프레임 생성기입니다. \endif \if EN The request-frame builder. \endif
parseResponse— \if KO 쓰기 응답 파서입니다. \endif \if EN The write-response parser. \endif
cancellationToken— \if KO 요청 취소 토큰입니다. \endif \if EN A token used to cancel the request. \endif

반환: \if KO 쓰기 성공 또는 실패 결과입니다. \endif \if EN The write success or failure result. \endif

SetState Method

\if KO 연결 상태가 달라진 경우 갱신하고 상태 변경 이벤트를 발생시킵니다. \endif \if EN Updates the connection state and raises its event when the value changes. \endif

state— \if KO 새 연결 상태입니다. \endif \if EN The new connection state. \endif
ThrowIfDisposed Method

\if KO 컨트롤러가 이미 해제되었으면 예외를 발생시킵니다. \endif \if EN Throws when the controller has already been disposed. \endif

WriteAnalogOutputsAsync Method

\if KO 아날로그 출력 쓰기 요청을 생성·전송·파싱합니다. \endif \if EN Builds, sends, and parses an analog-output write. \endif

values— \if KO 지점별 출력 값입니다. \endif \if EN The output values keyed by point. \endif
cancellationToken— \if KO 요청 취소 토큰입니다. \endif \if EN A token used to cancel the request. \endif

반환: \if KO 쓰기 결과입니다. \endif \if EN The write result. \endif

WriteDigitalOutputsAsync Method

\if KO 디지털 출력 쓰기 요청을 생성·전송·파싱합니다. \endif \if EN Builds, sends, and parses a digital-output write. \endif

values— \if KO 지점별 출력 상태입니다. \endif \if EN The output states keyed by point. \endif
cancellationToken— \if KO 요청 취소 토큰입니다. \endif \if EN A token used to cancel the request. \endif

반환: \if KO 쓰기 결과입니다. \endif \if EN The write result. \endif

AnalogInputs Property

\if KO 아날로그 입력 채널을 가져옵니다. \endif \if EN Gets the analog-input channel. \endif

AnalogOutputs Property

\if KO 아날로그 출력 채널을 가져옵니다. \endif \if EN Gets the analog-output channel. \endif

DigitalInputs Property

\if KO 디지털 입력 채널을 가져옵니다. \endif \if EN Gets the digital-input channel. \endif

DigitalOutputs Property

\if KO 디지털 출력 채널을 가져옵니다. \endif \if EN Gets the digital-output channel. \endif

Options Property

\if KO 현재 Fastech Ethernet I/O 옵션을 가져옵니다. \endif \if EN Gets the current Fastech Ethernet I/O options. \endif

State Property

\if KO 현재 연결 상태를 가져옵니다. \endif \if EN Gets the current connection state. \endif

_disposed Field

\if KO disposed 값을 보관합니다. \endif \if EN Stores the disposed value. \endif

_options Field

\if KO options 값을 보관합니다. \endif \if EN Stores the options value. \endif

_protocol Field

\if KO protocol 값을 보관합니다. \endif \if EN Stores the protocol value. \endif

_transport Field

\if KO transport 값을 보관합니다. \endif \if EN Stores the transport value. \endif

StateChanged Event

\if KO 연결 상태가 변경될 때 발생합니다. \endif \if EN Occurs when the connection state changes. \endif

FastechEthernetIoOptions

ToIoConnectionOptions Method

\if KO 현재 설정을 공급자 독립 I/O 연결 옵션으로 변환합니다. \endif \if EN Converts the current settings to provider-neutral I/O connection options. \endif

반환: \if KO Fastech 공급자와 연결 속성을 포함하는 새 옵션입니다. \endif \if EN New options containing the Fastech provider and connection properties. \endif

ConnectTimeoutMs Property

\if KO 연결 시간 제한을 밀리초 단위로 가져오거나 설정합니다. \endif \if EN Gets or sets the connection timeout in milliseconds. \endif

DeviceIndex Property

\if KO 보드, 장치 또는 컨트롤러 인덱스를 가져오거나 설정합니다. \endif \if EN Gets or sets the board, device, or controller index. \endif

ExpectedResponseLength Property

\if KO 예상 응답 길이를 가져오거나 설정합니다. 0이면 첫 수신 패킷이 끝날 때까지 읽습니다. \endif \if EN Gets or sets the expected response length. Zero reads until the first available packet ends. \endif

Host Property

\if KO 대상 호스트 이름 또는 IP 주소를 가져오거나 설정합니다. \endif \if EN Gets or sets the target host name or IP address. \endif

LocalPort Property

\if KO 로컬 UDP 포트를 가져오거나 설정합니다. 0이면 Windows가 임시 원본 포트를 선택합니다. \endif \if EN Gets or sets the local UDP port. Zero lets Windows choose an ephemeral source port. \endif

Port Property

\if KO 대상 포트를 가져오거나 설정합니다. \endif \if EN Gets or sets the target port. \endif

Properties Property

\if KO 구체 프로토콜 구현만 해석해야 하는 공급자별 속성 사전을 가져옵니다. \endif \if EN Gets provider-specific properties interpreted only by the concrete protocol implementation. \endif

ReceiveTimeoutMs Property

\if KO 수신 시간 제한을 밀리초 단위로 가져오거나 설정합니다. \endif \if EN Gets or sets the receive timeout in milliseconds. \endif

RetryCount Property

\if KO 실패 후 재시도 횟수를 가져오거나 설정합니다. \endif \if EN Gets or sets the retry count after a failure. \endif

TransportType Property

\if KO Ethernet 전송 형식을 가져오거나 설정합니다. \endif \if EN Gets or sets the Ethernet transport type. \endif

FastechEthernetIoTransportType

Tcp Field

\if KO 사용자 지정 또는 향후 Fastech Ethernet I/O 통신용 TCP 전송입니다. \endif \if EN TCP transport for custom or future Fastech Ethernet I/O communication. \endif

Udp Field

\if KO Ezi-IO Plus-E 프로토콜 통신용 UDP 전송입니다. \endif \if EN UDP transport for Ezi-IO Plus-E protocol communication. \endif

FastechPlusE16PointProtocol

BuildFrame Method

\if KO 헤더, 길이, 동기 번호, 예약 바이트, 프레임 형식 및 데이터로 요청 프레임을 조립합니다. \endif \if EN Assembles a request frame from header, length, synchronization number, reserved byte, frame type, and data. \endif

frameType— \if KO Fastech 프레임 형식 바이트입니다. \endif \if EN The Fastech frame-type byte. \endif
data— \if KO 최대 252바이트의 프레임 데이터입니다. \endif \if EN The frame data, limited to 252 bytes. \endif

반환: \if KO 조립된 프레임입니다. \endif \if EN The assembled frame. \endif

BuildGetSlaveInfo Method

\if KO 슬레이브 정보 조회 요청 프레임을 만듭니다. \endif \if EN Builds a slave-information request frame. \endif

반환: \if KO 슬레이브 정보 요청 프레임입니다. \endif \if EN The slave-information request frame. \endif

BuildReadAnalogInputs Method

\if KO 이 16점 DIO 프로토콜에서 지원하지 않는 아날로그 입력 요청을 거부합니다. \endif \if EN Rejects an analog-input request unsupported by this 16-point DIO protocol. \endif

points— \if KO 요청된 아날로그 입력 지점입니다. \endif \if EN The requested analog-input points. \endif

반환: \if KO 이 메서드는 반환하지 않습니다. \endif \if EN This method does not return. \endif

BuildReadAnalogOutputs Method

\if KO 이 프로토콜에서 지원하지 않는 아날로그 출력 읽기 요청을 거부합니다. \endif \if EN Rejects an analog-output read request unsupported by this protocol. \endif

points— \if KO 요청된 출력 지점입니다. \endif \if EN The requested output points. \endif

반환: \if KO 이 메서드는 반환하지 않습니다. \endif \if EN This method does not return. \endif

BuildReadDigitalInputs Method

\if KO 16점 디지털 입력 전체 조회 프레임을 만듭니다. \endif \if EN Builds a full 16-point digital-input query frame. \endif

points— \if KO 결과 매핑에 사용되는 요청 지점입니다. \endif \if EN The requested points used for result mapping. \endif

반환: \if KO 입력 조회 프레임입니다. \endif \if EN The input-query frame. \endif

BuildReadDigitalOutputs Method

\if KO 16점 디지털 출력 전체 조회 프레임을 만듭니다. \endif \if EN Builds a full 16-point digital-output query frame. \endif

points— \if KO 결과 매핑에 사용되는 요청 지점입니다. \endif \if EN The requested points used for result mapping. \endif

반환: \if KO 출력 조회 프레임입니다. \endif \if EN The output-query frame. \endif

BuildWriteAnalogOutputs Method

\if KO 이 프로토콜에서 지원하지 않는 아날로그 출력 쓰기 요청을 거부합니다. \endif \if EN Rejects an analog-output write request unsupported by this protocol. \endif

values— \if KO 요청된 출력 값입니다. \endif \if EN The requested output values. \endif

반환: \if KO 이 메서드는 반환하지 않습니다. \endif \if EN This method does not return. \endif

BuildWriteDigitalOutputs Method

\if KO 0~15 채널 변경 값을 설정/해제 마스크로 인코딩한 출력 쓰기 프레임을 만듭니다. \endif \if EN Builds an output-write frame encoding channel 0-15 changes as set and clear masks. \endif

values— \if KO 지점별 출력 상태입니다. \endif \if EN The output states keyed by point. \endif

반환: \if KO 출력 쓰기 프레임입니다. \endif \if EN The output-write frame. \endif

CreateNotSupportedException Method

\if KO 지정한 설명의 미지원 예외를 만듭니다. \endif \if EN Creates an unsupported-operation exception with the specified message. \endif

message— \if KO 예외 설명입니다. \endif \if EN The exception message. \endif

반환: \if KO 새 예외입니다. \endif \if EN The new exception. \endif

CreateUnsupportedAnalogResult Method

\if KO 아날로그 작업 미지원 실패 결과를 만듭니다. \endif \if EN Creates an unsupported analog-operation failure result. \endif

message— \if KO 실패 설명입니다. \endif \if EN The failure message. \endif

반환: \if KO 아날로그 배열 실패 결과입니다. \endif \if EN The analog-array failure result. \endif

GetDigital16PointOutputWriteBit Method

\if KO 논리 채널을 Plus-E 16점 출력 쓰기 마스크 비트 위치로 변환합니다. \endif \if EN Converts a logical channel to its Plus-E 16-point output-write mask bit. \endif

channel— \if KO 0~15 논리 채널입니다. \endif \if EN The logical channel from 0 through 15. \endif

반환: \if KO 해당 단일 비트 마스크입니다. \endif \if EN The corresponding single-bit mask. \endif

NextSyncNo Method

\if KO 잠금으로 보호된 다음 8비트 동기 번호를 반환합니다. \endif \if EN Returns the next lock-protected 8-bit synchronization number. \endif

반환: \if KO 증가된 동기 번호입니다. \endif \if EN The incremented synchronization number. \endif

ParseAnalogInputs Method

\if KO 미지원 아날로그 입력 응답에 실패 결과를 반환합니다. \endif \if EN Returns a failure result for an unsupported analog-input response. \endif

responseFrame— \if KO 무시되는 응답입니다. \endif \if EN The ignored response. \endif
count— \if KO 무시되는 지점 수입니다. \endif \if EN The ignored point count. \endif

반환: \if KO 미지원 실패 결과입니다. \endif \if EN The unsupported-operation failure result. \endif

ParseAnalogOutputs Method

\if KO 미지원 아날로그 출력 응답에 실패 결과를 반환합니다. \endif \if EN Returns a failure result for an unsupported analog-output response. \endif

responseFrame— \if KO 무시되는 응답입니다. \endif \if EN The ignored response. \endif
count— \if KO 무시되는 지점 수입니다. \endif \if EN The ignored point count. \endif

반환: \if KO 미지원 실패 결과입니다. \endif \if EN The unsupported-operation failure result. \endif

ParseDigitalInputs Method

\if KO 입력 응답을 검증하고 요청 개수만큼 부울 상태로 변환합니다. \endif \if EN Validates an input response and converts it to the requested number of Boolean states. \endif

responseFrame— \if KO 입력 응답 프레임입니다. \endif \if EN The input-response frame. \endif
count— \if KO 반환할 지점 수입니다. \endif \if EN The number of points to return. \endif

반환: \if KO 입력 상태 배열 결과입니다. \endif \if EN The input-state array result. \endif

ParseDigitalOutputs Method

\if KO 출력 응답을 검증하고 요청 개수만큼 부울 상태로 변환합니다. \endif \if EN Validates an output response and converts it to the requested number of Boolean states. \endif

responseFrame— \if KO 출력 응답 프레임입니다. \endif \if EN The output-response frame. \endif
count— \if KO 반환할 지점 수입니다. \endif \if EN The number of points to return. \endif

반환: \if KO 출력 상태 배열 결과입니다. \endif \if EN The output-state array result. \endif

ParseReply Method

\if KO 응답 헤더, 길이, 예약 바이트, 프레임 형식, 상태 및 최소 페이로드 길이를 검증합니다. \endif \if EN Validates response header, length, reserved byte, frame type, status, and minimum payload length. \endif

responseFrame— \if KO 검증할 응답 프레임입니다. \endif \if EN The response frame to validate. \endif
expectedFrameType— \if KO 예상 프레임 형식입니다. \endif \if EN The expected frame type. \endif
minimumPayloadLength— \if KO 필요한 최소 페이로드 바이트 수입니다. \endif \if EN The required minimum payload byte count. \endif

반환: \if KO 검증된 페이로드 또는 설명이 있는 실패 결과입니다. \endif \if EN The validated payload or a descriptive failure result. \endif

ParseSlaveInfo Method

\if KO 슬레이브 정보 응답에서 장치 형식과 ASCII 이름을 파싱합니다. \endif \if EN Parses the device type and ASCII name from a slave-information response. \endif

responseFrame— \if KO 수신 프레임입니다. \endif \if EN The received frame. \endif

반환: \if KO 슬레이브 형식과 이름 텍스트를 포함하는 결과입니다. \endif \if EN A result containing slave-type and name text. \endif

ParseWriteResponse Method

\if KO 디지털 출력 쓰기 응답을 검증하여 성공 또는 실패 결과로 변환합니다. \endif \if EN Validates a digital-output write response and converts it to success or failure. \endif

responseFrame— \if KO 쓰기 응답 프레임입니다. \endif \if EN The write-response frame. \endif

반환: \if KO 쓰기 결과입니다. \endif \if EN The write result. \endif

ReadUInt32BigEndian Method

\if KO 지정 오프셋에서 big-endian 32비트 부호 없는 정수를 읽습니다. \endif \if EN Reads a big-endian 32-bit unsigned integer at the specified offset. \endif

bytes— \if KO 원본 바이트 목록입니다. \endif \if EN The source byte list. \endif
offset— \if KO 첫 바이트 오프셋입니다. \endif \if EN The first-byte offset. \endif

반환: \if KO 디코딩된 값입니다. \endif \if EN The decoded value. \endif

ToInputBits Method

\if KO 입력 페이로드의 첫 두 바이트를 최대 16개 부울 상태로 변환합니다. \endif \if EN Converts the first two input-payload bytes into at most 16 Boolean states. \endif

payload— \if KO 입력 상태 페이로드입니다. \endif \if EN The input-state payload. \endif
count— \if KO 반환할 상태 수입니다. \endif \if EN The number of states to return. \endif

반환: \if KO 입력 상태 배열입니다. \endif \if EN The input-state array. \endif

ToOutputBits Method

\if KO 출력 페이로드의 상태 바이트를 최대 16개 부울 상태로 변환합니다. \endif \if EN Converts output-payload state bytes into at most 16 Boolean states. \endif

payload— \if KO 출력 상태 페이로드입니다. \endif \if EN The output-state payload. \endif
count— \if KO 반환할 상태 수입니다. \endif \if EN The number of states to return. \endif

반환: \if KO 출력 상태 배열입니다. \endif \if EN The output-state array. \endif

WriteUInt32BigEndian Method

\if KO 32비트 부호 없는 정수를 지정 오프셋에 big-endian으로 씁니다. \endif \if EN Writes a 32-bit unsigned integer at the specified offset in big-endian order. \endif

value— \if KO 쓸 값입니다. \endif \if EN The value to write. \endif
bytes— \if KO 대상 바이트 배열입니다. \endif \if EN The destination byte array. \endif
offset— \if KO 첫 바이트 오프셋입니다. \endif \if EN The first-byte offset. \endif
_syncLock Field

\if KO sync Lock 값을 보관합니다. \endif \if EN Stores the sync lock value. \endif

_syncNo Field

\if KO sync No 값을 보관합니다. \endif \if EN Stores the sync no value. \endif

AnalogInputNotSupportedMessage Field

\if KO Analog Input Not Supported Message 값을 보관합니다. \endif \if EN Stores the analog input not supported message value. \endif

AnalogOutputNotSupportedMessage Field

\if KO Analog Output Not Supported Message 값을 보관합니다. \endif \if EN Stores the analog output not supported message value. \endif

Digital16PointResetMask Field

\if KO Digital16 Point Reset Mask 값을 보관합니다. \endif \if EN Stores the digital16 point reset mask value. \endif

GetInputFrameType Field

\if KO Get Input Frame Type 값을 보관합니다. \endif \if EN Stores the get input frame type value. \endif

GetOutputFrameType Field

\if KO Get Output Frame Type 값을 보관합니다. \endif \if EN Stores the get output frame type value. \endif

GetSlaveInfoFrameType Field

\if KO Get Slave Info Frame Type 값을 보관합니다. \endif \if EN Stores the get slave info frame type value. \endif

Header Field

\if KO Header 값을 보관합니다. \endif \if EN Stores the header value. \endif

Reserved Field

\if KO Reserved 값을 보관합니다. \endif \if EN Stores the reserved value. \endif

SetOutputFrameType Field

\if KO Set Output Frame Type 값을 보관합니다. \endif \if EN Stores the set output frame type value. \endif

StatusOk Field

\if KO Status Ok 값을 보관합니다. \endif \if EN Stores the status ok value. \endif

IFastechEthernetIoProtocol

BuildReadAnalogInputs Method

\if KO 아날로그 입력 읽기 요청을 만듭니다. \endif \if EN Builds an analog-input read request. \endif

points— \if KO 읽을 아날로그 입력 지점입니다. \endif \if EN The analog-input points to read. \endif

반환: \if KO 전송할 요청 프레임입니다. \endif \if EN The request frame to transmit. \endif

BuildReadAnalogOutputs Method

\if KO 아날로그 출력 읽기 요청을 만듭니다. \endif \if EN Builds an analog-output read request. \endif

points— \if KO 읽을 아날로그 출력 지점입니다. \endif \if EN The analog-output points to read. \endif

반환: \if KO 전송할 요청 프레임입니다. \endif \if EN The request frame to transmit. \endif

BuildReadDigitalInputs Method

\if KO 디지털 입력 읽기 요청을 만듭니다. \endif \if EN Builds a digital-input read request. \endif

points— \if KO 읽을 디지털 입력 지점입니다. \endif \if EN The digital-input points to read. \endif

반환: \if KO 전송할 요청 프레임입니다. \endif \if EN The request frame to transmit. \endif

BuildReadDigitalOutputs Method

\if KO 디지털 출력 읽기 요청을 만듭니다. \endif \if EN Builds a digital-output read request. \endif

points— \if KO 읽을 디지털 출력 지점입니다. \endif \if EN The digital-output points to read. \endif

반환: \if KO 전송할 요청 프레임입니다. \endif \if EN The request frame to transmit. \endif

BuildWriteAnalogOutputs Method

\if KO 아날로그 출력 쓰기 요청을 만듭니다. \endif \if EN Builds an analog-output write request. \endif

values— \if KO 지점별 아날로그 출력 값입니다. \endif \if EN The analog-output values keyed by point. \endif

반환: \if KO 전송할 요청 프레임입니다. \endif \if EN The request frame to transmit. \endif

BuildWriteDigitalOutputs Method

\if KO 디지털 출력 쓰기 요청을 만듭니다. \endif \if EN Builds a digital-output write request. \endif

values— \if KO 지점별 출력 상태입니다. \endif \if EN The output states keyed by point. \endif

반환: \if KO 전송할 요청 프레임입니다. \endif \if EN The request frame to transmit. \endif

ParseAnalogInputs Method

\if KO 아날로그 입력 읽기 응답을 파싱합니다. \endif \if EN Parses an analog-input read response. \endif

responseFrame— \if KO 수신 응답 프레임입니다. \endif \if EN The received response frame. \endif
count— \if KO 예상 지점 수입니다. \endif \if EN The expected point count. \endif

반환: \if KO 아날로그 입력 값을 포함하는 결과입니다. \endif \if EN A result containing analog-input values. \endif

ParseAnalogOutputs Method

\if KO 아날로그 출력 읽기 응답을 파싱합니다. \endif \if EN Parses an analog-output read response. \endif

responseFrame— \if KO 수신 응답 프레임입니다. \endif \if EN The received response frame. \endif
count— \if KO 예상 지점 수입니다. \endif \if EN The expected point count. \endif

반환: \if KO 아날로그 출력 값을 포함하는 결과입니다. \endif \if EN A result containing analog-output values. \endif

ParseDigitalInputs Method

\if KO 디지털 입력 읽기 응답을 파싱합니다. \endif \if EN Parses a digital-input read response. \endif

responseFrame— \if KO 수신 응답 프레임입니다. \endif \if EN The received response frame. \endif
count— \if KO 예상 지점 수입니다. \endif \if EN The expected point count. \endif

반환: \if KO 디지털 입력 상태를 포함하는 결과입니다. \endif \if EN A result containing digital-input states. \endif

ParseDigitalOutputs Method

\if KO 디지털 출력 읽기 응답을 파싱합니다. \endif \if EN Parses a digital-output read response. \endif

responseFrame— \if KO 수신 응답 프레임입니다. \endif \if EN The received response frame. \endif
count— \if KO 예상 지점 수입니다. \endif \if EN The expected point count. \endif

반환: \if KO 디지털 출력 상태를 포함하는 결과입니다. \endif \if EN A result containing digital-output states. \endif

ParseWriteResponse Method

\if KO 출력 쓰기 응답을 파싱합니다. \endif \if EN Parses an output-write response. \endif

responseFrame— \if KO 수신 응답 프레임입니다. \endif \if EN The received response frame. \endif

반환: \if KO 장치 쓰기 결과입니다. \endif \if EN The device-write result. \endif

IFastechEthernetIoTransport

ConnectAsync Method

\if KO 전송을 비동기적으로 연결합니다. \endif \if EN Asynchronously connects the transport. \endif

cancellationToken— \if KO 연결 취소 토큰입니다. \endif \if EN A token used to cancel connection. \endif

반환: \if KO 연결 결과입니다. \endif \if EN The connection result. \endif

DisconnectAsync Method

\if KO 전송 연결을 비동기적으로 해제합니다. \endif \if EN Asynchronously disconnects the transport. \endif

cancellationToken— \if KO 연결 해제 취소 토큰입니다. \endif \if EN A token used to cancel disconnection. \endif

반환: \if KO 연결 해제 결과입니다. \endif \if EN The disconnection result. \endif

SendAndReceiveAsync Method

\if KO 요청 프레임을 전송하고 대응하는 응답 프레임을 수신합니다. \endif \if EN Sends a request frame and receives its corresponding response frame. \endif

requestFrame— \if KO 전송할 요청 바이트입니다. \endif \if EN The request bytes to send. \endif
receiveTimeoutMs— \if KO 수신 시간 제한(밀리초)입니다. \endif \if EN The receive timeout in milliseconds. \endif
expectedResponseLength— \if KO 예상 응답 길이이며 0이면 첫 패킷을 읽습니다. \endif \if EN The expected response length; zero reads the first packet. \endif
cancellationToken— \if KO 교환 취소 토큰입니다. \endif \if EN A token used to cancel the exchange. \endif

반환: \if KO 수신 응답 프레임을 포함하는 결과입니다. \endif \if EN A result containing the received response frame. \endif

IsConnected Property

\if KO 전송이 연결되어 있는지 여부를 가져옵니다. \endif \if EN Gets whether the transport is connected. \endif

TcpFastechEthernetIoTransport

#ctor Method

\if KO 클래스의 새 인스턴스를 초기화합니다. \endif \if EN Initializes a new instance of the class. \endif

options— \if KO Fastech Ethernet I/O 연결 옵션입니다. \endif \if EN The Fastech Ethernet I/O connection options. \endif
CloseCoreAsync Method

\if KO 내부 TCP 스트림과 클라이언트를 닫고 참조를 초기화합니다. \endif \if EN Closes the internal TCP stream and client and clears their references. \endif

반환: \if KO 완료된 비동기 작업입니다. \endif \if EN A completed asynchronous operation. \endif

ConnectAsync Method

\if KO 구성된 호스트와 포트에 TCP 연결을 설정합니다. \endif \if EN Establishes a TCP connection to the configured host and port. \endif

cancellationToken— \if KO 연결 작업 취소를 관찰하는 토큰입니다. \endif \if EN A token that observes cancellation of the connection operation. \endif

반환: \if KO 연결 성공 여부와 실패 메시지를 포함한 결과입니다. \endif \if EN A result containing connection success or a failure message. \endif

DisconnectAsync Method

\if KO 현재 TCP 연결과 스트림을 닫습니다. \endif \if EN Closes the current TCP connection and stream. \endif

cancellationToken— \if KO 연결 해제 작업 취소를 관찰하는 토큰입니다. \endif \if EN A token that observes cancellation of the disconnection operation. \endif

반환: \if KO 연결 해제 성공 여부와 실패 메시지를 포함한 결과입니다. \endif \if EN A result containing disconnection success or a failure message. \endif

DisposeAsync Method

\if KO 연결과 동기화 리소스를 비동기적으로 해제합니다. \endif \if EN Asynchronously releases the connection and synchronization resources. \endif

반환: \if KO 비동기 해제 작업입니다. \endif \if EN The asynchronous disposal operation. \endif

ReadAvailableAsync Method

\if KO 스트림에서 현재 수신 가능한 데이터를 한 번 읽습니다. \endif \if EN Reads the currently available data from the stream in one operation. \endif

stream— \if KO 읽을 네트워크 스트림입니다. \endif \if EN The network stream to read. \endif
cancellationToken— \if KO 읽기 취소를 관찰하는 토큰입니다. \endif \if EN A token that observes cancellation of the read. \endif

반환: \if KO 수신한 바이트 배열입니다. \endif \if EN The received byte array. \endif

ReadExactlyAsync Method

\if KO 스트림에서 지정된 바이트 수를 모두 읽습니다. \endif \if EN Reads exactly the specified number of bytes from the stream. \endif

stream— \if KO 읽을 네트워크 스트림입니다. \endif \if EN The network stream to read. \endif
length— \if KO 읽어야 할 바이트 수입니다. \endif \if EN The number of bytes to read. \endif
cancellationToken— \if KO 읽기 취소를 관찰하는 토큰입니다. \endif \if EN A token that observes cancellation of the read. \endif

반환: \if KO 정확히 요청된 길이의 바이트 배열입니다. \endif \if EN A byte array with exactly the requested length. \endif

SendAndReceiveAsync Method

\if KO 요청 프레임을 전송하고 TCP 응답 프레임을 수신합니다. \endif \if EN Sends a request frame and receives the TCP response frame. \endif

requestFrame— \if KO 전송할 요청 바이트입니다. \endif \if EN The request bytes to send. \endif
receiveTimeoutMs— \if KO 밀리초 단위의 수신 제한 시간입니다. \endif \if EN The receive timeout in milliseconds. \endif
expectedResponseLength— \if KO 기대하는 응답 길이이며, 0이면 한 번에 사용 가능한 데이터를 읽습니다. \endif \if EN The expected response length; zero reads the data available in one operation. \endif
cancellationToken— \if KO 송수신 작업 취소를 관찰하는 토큰입니다. \endif \if EN A token that observes cancellation of the send/receive operation. \endif

반환: \if KO 수신한 바이트 또는 실패 메시지를 포함한 결과입니다. \endif \if EN A result containing the received bytes or a failure message. \endif

ThrowIfDisposed Method

\if KO 이 전송 객체가 이미 해제되었으면 예외를 발생시킵니다. \endif \if EN Throws when this transport has already been disposed. \endif

IsConnected Property

\if KO TCP 클라이언트와 네트워크 스트림이 연결되어 있는지 여부를 가져옵니다. \endif \if EN Gets whether the TCP client and network stream are connected. \endif

_disposed Field

\if KO disposed 값을 보관합니다. \endif \if EN Stores the disposed value. \endif

_options Field

\if KO options 값을 보관합니다. \endif \if EN Stores the options value. \endif

_stream Field

\if KO stream 값을 보관합니다. \endif \if EN Stores the stream value. \endif

_syncLock Field

\if KO sync Lock 값을 보관합니다. \endif \if EN Stores the sync lock value. \endif

_tcpClient Field

\if KO tcp Client 값을 보관합니다. \endif \if EN Stores the tcp client value. \endif

DefaultReceiveBufferSize Field

\if KO Default Receive Buffer Size 값을 보관합니다. \endif \if EN Stores the default receive buffer size value. \endif

UdpFastechEthernetIoTransport

#ctor Method

\if KO 클래스의 새 인스턴스를 초기화합니다. \endif \if EN Initializes a new instance of the class. \endif

options— \if KO Fastech Ethernet I/O 연결 옵션입니다. \endif \if EN The Fastech Ethernet I/O connection options. \endif
CloseCoreAsync Method

\if KO 내부 UDP 클라이언트를 닫고 끝점 참조를 초기화합니다. \endif \if EN Closes the internal UDP client and clears the endpoint reference. \endif

반환: \if KO 완료된 비동기 작업입니다. \endif \if EN A completed asynchronous operation. \endif

ConnectAsync Method

\if KO 구성된 원격 끝점을 확인하고 UDP 클라이언트를 준비합니다. \endif \if EN Resolves the configured remote endpoint and prepares the UDP client. \endif

cancellationToken— \if KO 연결 준비 취소를 관찰하는 토큰입니다. \endif \if EN A token that observes cancellation of connection preparation. \endif

반환: \if KO 준비 성공 여부와 실패 메시지를 포함한 결과입니다. \endif \if EN A result containing preparation success or a failure message. \endif

DisableUdpConnectionReset Method

\if KO Windows에서 ICMP 포트 연결 불가 응답에 따른 UDP 연결 재설정 동작을 비활성화합니다. \endif \if EN Disables UDP connection-reset behavior caused by ICMP port-unreachable replies on Windows. \endif

client— \if KO 설정할 UDP 클라이언트입니다. \endif \if EN The UDP client to configure. \endif
DisconnectAsync Method

\if KO 현재 UDP 클라이언트와 원격 끝점 정보를 해제합니다. \endif \if EN Releases the current UDP client and remote endpoint information. \endif

cancellationToken— \if KO 연결 해제 취소를 관찰하는 토큰입니다. \endif \if EN A token that observes cancellation of disconnection. \endif

반환: \if KO 연결 해제 성공 여부와 실패 메시지를 포함한 결과입니다. \endif \if EN A result containing disconnection success or a failure message. \endif

DisposeAsync Method

\if KO UDP 클라이언트와 동기화 리소스를 비동기적으로 해제합니다. \endif \if EN Asynchronously releases the UDP client and synchronization resources. \endif

반환: \if KO 비동기 해제 작업입니다. \endif \if EN The asynchronous disposal operation. \endif

ResolveRemoteAddressAsync Method

\if KO 구성된 호스트 이름 또는 IP 문자열을 원격 IP 주소로 확인합니다. \endif \if EN Resolves the configured host name or IP literal to a remote IP address. \endif

cancellationToken— \if KO DNS 조회 취소를 관찰하는 토큰입니다. \endif \if EN A token that observes cancellation of DNS resolution. \endif

반환: \if KO 확인된 IPv4 우선 IP 주소입니다. \endif \if EN The resolved IP address, preferring IPv4. \endif

SendAndReceiveAsync Method

\if KO 요청 데이터그램을 보내고 하나의 UDP 응답 데이터그램을 받습니다. \endif \if EN Sends a request datagram and receives one UDP response datagram. \endif

requestFrame— \if KO 전송할 요청 바이트입니다. \endif \if EN The request bytes to send. \endif
receiveTimeoutMs— \if KO 밀리초 단위의 수신 제한 시간입니다. \endif \if EN The receive timeout in milliseconds. \endif
expectedResponseLength— \if KO 인터페이스 호환성을 위한 기대 응답 길이이며 UDP에서는 사용하지 않습니다. \endif \if EN The expected response length retained for interface compatibility; UDP does not use it. \endif
cancellationToken— \if KO 송수신 취소를 관찰하는 토큰입니다. \endif \if EN A token that observes cancellation of send/receive. \endif

반환: \if KO 수신 데이터그램 또는 실패 메시지를 포함한 결과입니다. \endif \if EN A result containing the received datagram or a failure message. \endif

ThrowIfDisposed Method

\if KO 이 전송 객체가 이미 해제되었으면 예외를 발생시킵니다. \endif \if EN Throws when this transport has already been disposed. \endif

IsConnected Property

\if KO UDP 클라이언트가 생성되어 있는지 여부를 가져옵니다. \endif \if EN Gets whether the UDP client has been created. \endif

LastRequestFrame Property

\if KO 이 전송에서 마지막으로 보낸 요청 프레임을 가져옵니다. \endif \if EN Gets the last request frame sent by this transport. \endif

LastResponseFrame Property

\if KO 이 전송에서 마지막으로 받은 응답 프레임을 가져옵니다. \endif \if EN Gets the last response frame received by this transport. \endif

_disposed Field

\if KO disposed 값을 보관합니다. \endif \if EN Stores the disposed value. \endif

_options Field

\if KO options 값을 보관합니다. \endif \if EN Stores the options value. \endif

_remoteEndPoint Field

\if KO remote End Point 값을 보관합니다. \endif \if EN Stores the remote end point value. \endif

_syncLock Field

\if KO sync Lock 값을 보관합니다. \endif \if EN Stores the sync lock value. \endif

_udpClient Field

\if KO udp Client 값을 보관합니다. \endif \if EN Stores the udp client value. \endif

UnsupportedFastechEthernetIoProtocol

BuildReadAnalogInputs Method

\if KO 미지원 아날로그 입력 읽기 요청 생성을 거부합니다. \endif \if EN Rejects building an unsupported analog-input read request. \endif

points— \if KO 요청된 입력 지점입니다. \endif \if EN The requested input points. \endif

반환: \if KO 이 메서드는 반환하지 않습니다. \endif \if EN This method does not return. \endif

BuildReadAnalogOutputs Method

\if KO 미지원 아날로그 출력 읽기 요청 생성을 거부합니다. \endif \if EN Rejects building an unsupported analog-output read request. \endif

points— \if KO 요청된 출력 지점입니다. \endif \if EN The requested output points. \endif

반환: \if KO 이 메서드는 반환하지 않습니다. \endif \if EN This method does not return. \endif

BuildReadDigitalInputs Method

\if KO 미지원 디지털 입력 읽기 요청 생성을 거부합니다. \endif \if EN Rejects building an unsupported digital-input read request. \endif

points— \if KO 요청된 입력 지점입니다. \endif \if EN The requested input points. \endif

반환: \if KO 이 메서드는 반환하지 않습니다. \endif \if EN This method does not return. \endif

BuildReadDigitalOutputs Method

\if KO 미지원 디지털 출력 읽기 요청 생성을 거부합니다. \endif \if EN Rejects building an unsupported digital-output read request. \endif

points— \if KO 요청된 출력 지점입니다. \endif \if EN The requested output points. \endif

반환: \if KO 이 메서드는 반환하지 않습니다. \endif \if EN This method does not return. \endif

BuildWriteAnalogOutputs Method

\if KO 미지원 아날로그 출력 쓰기 요청 생성을 거부합니다. \endif \if EN Rejects building an unsupported analog-output write request. \endif

values— \if KO 요청된 출력 값입니다. \endif \if EN The requested output values. \endif

반환: \if KO 이 메서드는 반환하지 않습니다. \endif \if EN This method does not return. \endif

BuildWriteDigitalOutputs Method

\if KO 미지원 디지털 출력 쓰기 요청 생성을 거부합니다. \endif \if EN Rejects building an unsupported digital-output write request. \endif

values— \if KO 요청된 출력 상태입니다. \endif \if EN The requested output states. \endif

반환: \if KO 이 메서드는 반환하지 않습니다. \endif \if EN This method does not return. \endif

ParseAnalogInputs Method

\if KO 미지원 아날로그 입력 응답에 실패 결과를 반환합니다. \endif \if EN Returns a failure result for an unsupported analog-input response. \endif

responseFrame— \if KO 무시되는 응답 프레임입니다. \endif \if EN The ignored response frame. \endif
count— \if KO 무시되는 예상 수입니다. \endif \if EN The ignored expected count. \endif

반환: \if KO 미지원 실패 결과입니다. \endif \if EN The unsupported-operation failure result. \endif

ParseAnalogOutputs Method

\if KO 미지원 아날로그 출력 응답에 실패 결과를 반환합니다. \endif \if EN Returns a failure result for an unsupported analog-output response. \endif

responseFrame— \if KO 무시되는 응답 프레임입니다. \endif \if EN The ignored response frame. \endif
count— \if KO 무시되는 예상 수입니다. \endif \if EN The ignored expected count. \endif

반환: \if KO 미지원 실패 결과입니다. \endif \if EN The unsupported-operation failure result. \endif

ParseDigitalInputs Method

\if KO 미지원 디지털 입력 응답에 실패 결과를 반환합니다. \endif \if EN Returns a failure result for an unsupported digital-input response. \endif

responseFrame— \if KO 무시되는 응답 프레임입니다. \endif \if EN The ignored response frame. \endif
count— \if KO 무시되는 예상 수입니다. \endif \if EN The ignored expected count. \endif

반환: \if KO 미지원 실패 결과입니다. \endif \if EN The unsupported-operation failure result. \endif

ParseDigitalOutputs Method

\if KO 미지원 디지털 출력 응답에 실패 결과를 반환합니다. \endif \if EN Returns a failure result for an unsupported digital-output response. \endif

responseFrame— \if KO 무시되는 응답 프레임입니다. \endif \if EN The ignored response frame. \endif
count— \if KO 무시되는 예상 수입니다. \endif \if EN The ignored expected count. \endif

반환: \if KO 미지원 실패 결과입니다. \endif \if EN The unsupported-operation failure result. \endif

ParseWriteResponse Method

\if KO 미지원 쓰기 응답에 실패 결과를 반환합니다. \endif \if EN Returns a failure result for an unsupported write response. \endif

responseFrame— \if KO 무시되는 응답 프레임입니다. \endif \if EN The ignored response frame. \endif

반환: \if KO 미지원 실패 결과입니다. \endif \if EN The unsupported-operation failure result. \endif

Message Field

\if KO Message 값을 보관합니다. \endif \if EN Stores the message value. \endif