OmronFinsNetHelperReadCpuTime 方法 |
[商业授权] 读取CPU的时间信息
[Authorization] Read the time information of the CPU
命名空间:
HslCommunication.Profinet.Omron
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.2.0.0 (12.2.0.0)
语法 public static OperateResult<DateTime> ReadCpuTime(
IReadWriteDevice omron
)
Public Shared Function ReadCpuTime (
omron As IReadWriteDevice
) As OperateResult(Of DateTime)
public:
static OperateResult<DateTime>^ ReadCpuTime(
IReadWriteDevice^ omron
)
static member ReadCpuTime :
omron : IReadWriteDevice -> OperateResult<DateTime>
参数
- omron
- 类型:HslCommunication.CoreIReadWriteDevice
PLC设备的连接对象
返回值
类型:
OperateResultDateTime是否读取成功
参见