MelsecFxLinksHelperStartPLC 方法 |
[商业授权] 启动PLC的操作,可以携带额外的参数信息,指定站号。举例:s=2; 注意:分号是必须的。
[Authorization] Start the PLC operation, 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 StartPLC(
IReadWriteFxLinks plc,
string parameter = ""
)
Public Shared Function StartPLC (
plc As IReadWriteFxLinks,
Optional parameter As String = ""
) As OperateResult
public:
static OperateResult^ StartPLC(
IReadWriteFxLinks^ plc,
String^ parameter = L""
)
static member StartPLC :
plc : IReadWriteFxLinks *
?parameter : string
(* Defaults:
let _parameter = defaultArg parameter ""
*)
-> OperateResult
参数
- plc
- 类型:HslCommunication.Profinet.Melsec.HelperIReadWriteFxLinks
PLC通信对象 - parameter (Optional)
- 类型:SystemString
允许携带的参数信息,例如s=2; 也可以为空
返回值
类型:
OperateResult是否启动成功
参见