YokogawaLinkTcpReadProgramStatusAsync 方法 |
[商业授权] 读取当前PLC的程序状态,返回1:RUN;2:Stop;3:Debug;255:ROM writer
[Authorization] Read the program status. return code 1:RUN; 2:Stop; 3:Debug; 255:ROM writer
命名空间:
HslCommunication.Profinet.Yokogawa
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<int>> ReadProgramStatusAsync()
Public Function ReadProgramStatusAsync As Task(Of OperateResult(Of Integer))
public:
Task<OperateResult<int>^>^ ReadProgramStatusAsync()
member ReadProgramStatusAsync : unit -> Task<OperateResult<int>>
返回值
类型:
TaskOperateResultInt32当前PLC的程序状态,返回1:RUN;2:Stop;3:Debug;255:ROM writer
参见