OmronFinsNetHelperReadCpuUnitData 方法 |
[商业授权] 读取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 OperateResult<OmronCpuUnitData> ReadCpuUnitData(
IReadWriteDevice omron
)
Public Shared Function ReadCpuUnitData (
omron As IReadWriteDevice
) As OperateResult(Of OmronCpuUnitData)
public:
static OperateResult<OmronCpuUnitData^>^ ReadCpuUnitData(
IReadWriteDevice^ omron
)
static member ReadCpuUnitData :
omron : IReadWriteDevice -> OperateResult<OmronCpuUnitData>
参数
- omron
- 类型:HslCommunication.CoreIReadWriteDevice
PLC设备的连接对象
返回值
类型:
OperateResultOmronCpuUnitData是否读取成功
参见