McHelperReadPlcTypeAsync 方法 |
读取PLC的型号信息,例如 Q02HCPU
Read PLC model information, such as Q02HCPU
命名空间:
HslCommunication.Profinet.Melsec.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static Task<OperateResult<string>> ReadPlcTypeAsync(
IReadWriteMc mc
)
Public Shared Function ReadPlcTypeAsync (
mc As IReadWriteMc
) As Task(Of OperateResult(Of String))
public:
static Task<OperateResult<String^>^>^ ReadPlcTypeAsync(
IReadWriteMc^ mc
)
static member ReadPlcTypeAsync :
mc : IReadWriteMc -> Task<OperateResult<string>>
参数
- mc
- 类型:HslCommunication.Profinet.Melsec.HelperIReadWriteMc
MC协议通信对象
返回值
类型:
TaskOperateResultString返回型号的结果对象
参见