KeyenceNanoSerialOverTcpReadPlcModeAsync 方法 |
[商业授权] 读取当前PLC的模式,如果是0,代表 PROG模式或者梯形图未登录,如果为1,代表RUN模式
[Authorization] Read the current PLC mode, if it is 0, it means PROG mode or the ladder diagram is not registered, if it is 1, it means RUN mode
命名空间:
HslCommunication.Profinet.Keyence
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<int>> ReadPlcModeAsync()
Public Function ReadPlcModeAsync As Task(Of OperateResult(Of Integer))
public:
Task<OperateResult<int>^>^ ReadPlcModeAsync()
member ReadPlcModeAsync : unit -> Task<OperateResult<int>>
返回值
类型:
TaskOperateResultInt32包含模式的结果对象
参见