FatekProgramHelperRunAsync 方法 |
使PLC处于RUN的状态
命名空间:
HslCommunication.Profinet.FATEK.Helper
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static Task<OperateResult> RunAsync(
IReadWriteDevice device,
byte station
)
Public Shared Function RunAsync (
device As IReadWriteDevice,
station As Byte
) As Task(Of OperateResult)
public:
static Task<OperateResult^>^ RunAsync(
IReadWriteDevice^ device,
unsigned char station
)
static member RunAsync :
device : IReadWriteDevice *
station : byte -> Task<OperateResult>
参数
- device
- 类型:HslCommunication.CoreIReadWriteDevice
PLC通信对象 - station
- 类型:SystemByte
站号信息
返回值
类型:
TaskOperateResult是否操作成功
参见