OmronFinsNetHelperReadCpuUnitStatusAsync 方法 |
[商业授权] 读取CPU单元的一些操作状态数据,主要包含运行状态,工作模式,错误信息等。
[Authorization] Read some operating status data of the CPU unit, mainly including operating status, working mode, error information, etc.
命名空间:
HslCommunication.Profinet.Omron
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static Task<OperateResult<OmronCpuUnitStatus>> ReadCpuUnitStatusAsync(
IReadWriteDevice omron
)
Public Shared Function ReadCpuUnitStatusAsync (
omron As IReadWriteDevice
) As Task(Of OperateResult(Of OmronCpuUnitStatus))
public:
static Task<OperateResult<OmronCpuUnitStatus^>^>^ ReadCpuUnitStatusAsync(
IReadWriteDevice^ omron
)
static member ReadCpuUnitStatusAsync :
omron : IReadWriteDevice -> Task<OperateResult<OmronCpuUnitStatus>>
参数
- omron
- 类型:HslCommunication.CoreIReadWriteDevice
PLC设备的连接对象
返回值
类型:
TaskOperateResultOmronCpuUnitStatus是否读取成功
参见