点击或拖拽改变大小

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.0.0.0 (12.0.0.0)
语法
public Task<OperateResult<int>> ReadProgramStatusAsync()

返回值

类型:TaskOperateResultInt32
当前PLC的程序状态,返回1:RUN;2:Stop;3:Debug;255:ROM writer
参见