MelsecFxLinksHelperReadPlcType 方法 |
[商业授权] 读取PLC的型号信息,可以携带额外的参数信息,指定站号。举例:s=2; 注意:分号是必须的。
[Authorization] Read the PLC model information, you can carry additional parameter information, and specify the station number. Example: s=2; Note: The semicolon is required.
命名空间:
HslCommunication.Profinet.Melsec.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<string> ReadPlcType(
IReadWriteFxLinks plc,
string parameter = ""
)
Public Shared Function ReadPlcType (
plc As IReadWriteFxLinks,
Optional parameter As String = ""
) As OperateResult(Of String)
public:
static OperateResult<String^>^ ReadPlcType(
IReadWriteFxLinks^ plc,
String^ parameter = L""
)
static member ReadPlcType :
plc : IReadWriteFxLinks *
?parameter : string
(* Defaults:
let _parameter = defaultArg parameter ""
*)
-> OperateResult<string>
参数
- plc
- 类型:HslCommunication.Profinet.Melsec.HelperIReadWriteFxLinks
PLC通信对象 - parameter (Optional)
- 类型:SystemString
允许携带的参数信息,例如s=2; 也可以为空
返回值
类型:
OperateResultString带PLC型号的结果信息
参见