|
Dreamine.PLC.Mitsubishi.MC 1.0.1
Dreamine.PLC.Mitsubishi.MC 산업 자동화 및 I/O 기능을 제공합니다.
|


Public 멤버 함수 | |
| Task< PlcResult > | ConnectAsync (string host, int port, int timeoutMs, CancellationToken cancellationToken=default) |
| Task< PlcResult > | DisconnectAsync (CancellationToken cancellationToken=default) |
| Task< PlcResult< byte[]> > | SendAndReceiveAsync (IReadOnlyList< byte > requestFrame, int receiveTimeoutMs, int retryCount, CancellationToken cancellationToken=default) |
속성 | |
| bool | IsConnected [get] |
Mitsubishi MC 프로토콜 통신 전송 경계를 정의합니다.
IMitsubishiMcTransport.cs 파일의 13 번째 라인에서 정의되었습니다.
| Task< PlcResult > Dreamine.PLC.Mitsubishi.MC.Transport.IMitsubishiMcTransport.ConnectAsync | ( | string | host, |
| int | port, | ||
| int | timeoutMs, | ||
| CancellationToken | cancellationToken = default ) |
전송을 연결하거나 준비합니다.
| host | 대상 호스트입니다. |
| port | 대상 포트입니다. |
| timeoutMs | 연결 제한 시간입니다. |
| cancellationToken | 취소 토큰입니다. |
Dreamine.PLC.Mitsubishi.MC.Transport.FakeMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.TcpMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.UdpMitsubishiMcTransport에서 구현되었습니다.
| Task< PlcResult > Dreamine.PLC.Mitsubishi.MC.Transport.IMitsubishiMcTransport.DisconnectAsync | ( | CancellationToken | cancellationToken = default | ) |
전송 연결을 해제합니다.
| cancellationToken | 취소 토큰입니다. |
Dreamine.PLC.Mitsubishi.MC.Transport.FakeMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.TcpMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.UdpMitsubishiMcTransport에서 구현되었습니다.
| Task< PlcResult< byte[]> > Dreamine.PLC.Mitsubishi.MC.Transport.IMitsubishiMcTransport.SendAndReceiveAsync | ( | IReadOnlyList< byte > | requestFrame, |
| int | receiveTimeoutMs, | ||
| int | retryCount, | ||
| CancellationToken | cancellationToken = default ) |
요청 프레임을 보내고 응답 프레임을 받습니다.
| requestFrame | 요청 프레임입니다. |
| receiveTimeoutMs | 수신 제한 시간입니다. |
| retryCount | 재시도 횟수입니다. |
| cancellationToken | 취소 토큰입니다. |
Dreamine.PLC.Mitsubishi.MC.Transport.FakeMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.TcpMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.UdpMitsubishiMcTransport에서 구현되었습니다.
|
get |
전송이 연결 또는 준비되었는지 여부를 가져옵니다.
Dreamine.PLC.Mitsubishi.MC.Transport.FakeMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.TcpMitsubishiMcTransport, Dreamine.PLC.Mitsubishi.MC.Transport.UdpMitsubishiMcTransport에서 구현되었습니다.
IMitsubishiMcTransport.cs 파일의 23 번째 라인에서 정의되었습니다.