KeyenceNanoHelperSetPlcDateTime 方法 |
[商业授权] 设置PLC的时间
[Authorization] Set PLC time
命名空间:
HslCommunication.Profinet.Keyence
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult SetPlcDateTime(
IReadWriteDevice keyence,
DateTime dateTime
)
Public Shared Function SetPlcDateTime (
keyence As IReadWriteDevice,
dateTime As DateTime
) As OperateResult
public:
static OperateResult^ SetPlcDateTime(
IReadWriteDevice^ keyence,
DateTime dateTime
)
static member SetPlcDateTime :
keyence : IReadWriteDevice *
dateTime : DateTime -> OperateResult
参数
- keyence
- 类型:HslCommunication.CoreIReadWriteDevice
PLC通信对象 - dateTime
- 类型:SystemDateTime
时间数据
返回值
类型:
OperateResult是否设置成功
参见