MelsecFxLinksHelperStartPLCAsync 方法 |
[商业授权] 启动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 Task<OperateResult> StartPLCAsync(
IReadWriteFxLinks plc,
string parameter = ""
)
Public Shared Function StartPLCAsync (
plc As IReadWriteFxLinks,
Optional parameter As String = ""
) As Task(Of OperateResult)
public:
static Task<OperateResult^>^ StartPLCAsync(
IReadWriteFxLinks^ plc,
String^ parameter = L""
)
static member StartPLCAsync :
plc : IReadWriteFxLinks *
?parameter : string
(* Defaults:
let _parameter = defaultArg parameter ""
*)
-> Task<OperateResult>
参数
- plc
- 类型:HslCommunication.Profinet.Melsec.HelperIReadWriteFxLinks
PLC通信对象 - parameter (Optional)
- 类型:SystemString
允许携带的参数信息,例如s=2; 也可以为空
返回值
类型:
TaskOperateResult是否启动成功
参见