读取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 OperateResult<string> ReadPlcType(
IReadWriteMc mc
)
Public Shared Function ReadPlcType (
mc As IReadWriteMc
) As OperateResult(Of String)
public:
static OperateResult<String^>^ ReadPlcType(
IReadWriteMc^ mc
)
static member ReadPlcType :
mc : IReadWriteMc -> OperateResult<string>
参数
- mc
- 类型:HslCommunication.Profinet.Melsec.HelperIReadWriteMc
MC协议通信对象
返回值
类型:
OperateResultString返回型号的结果对象
参见