点击或拖拽改变大小

OmronFinsNetHelperStopAsync 方法

将CPU单元的操作模式更改为PROGRAM,停止程序执行。
Changes the CPU Unit’s operating mode to PROGRAM, stopping program execution.

命名空间:  HslCommunication.Profinet.Omron
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public static Task<OperateResult> StopAsync(
	IReadWriteDevice omron
)

参数

omron
类型:HslCommunication.CoreIReadWriteDevice
PLC设备的连接对象

返回值

类型:TaskOperateResult
是否停止成功
备注
当执行STOP时,CPU单元将停止操作。 在执行STOP之前,您必须确认系统的安全性。
The CPU Unit will stop operation when STOP is executed. You must confirm the safety of the system before executing STOP.
参见