将CPU单元的操作模式更改为RUN,从而使PLC能够执行其程序。
Changes the CPU Unit’s operating mode to RUN, enabling the PLC to execute its program.
命名空间:
HslCommunication.Profinet.Omron
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult Run()
Public Function Run As OperateResult
public:
virtual OperateResult^ Run() sealed
abstract Run : unit -> OperateResult
override Run : unit -> OperateResult
返回值
类型:
OperateResult是否启动成功
实现
IOmronFinsRun备注
当执行RUN时,CPU单元将开始运行。 在执行RUN之前,您必须确认系统的安全性。 启用“禁止覆盖受保护程序”设置时,无法执行此命令。
The CPU Unit will start operation when RUN is executed. You must confirm the safety of the system before executing RUN.
When the “prohibit overwriting of protected program” setting is enabled, this command cannot be executed.
参见