KeyenceNanoSerialReadPlcMode 方法 |
[商业授权] 读取当前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 OperateResult<int> ReadPlcMode()
Public Function ReadPlcMode As OperateResult(Of Integer)
public:
OperateResult<int>^ ReadPlcMode()
member ReadPlcMode : unit -> OperateResult<int>
返回值
类型:
OperateResultInt32包含模式的结果对象
参见