OmronFinsNetHelperReadCpuUnitDataAsync 方法 |
[商业授权] 读取CPU的一些数据信息,主要包含型号,版本,一些数据块的大小
[Authorization] Read some data information of the CPU, mainly including the model, version, and the size of some data blocks
命名空间:
HslCommunication.Profinet.Omron
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static Task<OperateResult<OmronCpuUnitData>> ReadCpuUnitDataAsync(
IReadWriteDevice omron
)
Public Shared Function ReadCpuUnitDataAsync (
omron As IReadWriteDevice
) As Task(Of OperateResult(Of OmronCpuUnitData))
public:
static Task<OperateResult<OmronCpuUnitData^>^>^ ReadCpuUnitDataAsync(
IReadWriteDevice^ omron
)
static member ReadCpuUnitDataAsync :
omron : IReadWriteDevice -> Task<OperateResult<OmronCpuUnitData>>
参数
- omron
- 类型:HslCommunication.CoreIReadWriteDevice
PLC设备的连接对象
返回值
类型:
TaskOperateResultOmronCpuUnitData是否读取成功
参见