SiemensWebApiWrite 方法 (String, DateTime) |
向PLC中写入时间格式的数据
Writes data in time format to the PLC
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult Write(
string address,
DateTime dateTime
)
Public Function Write (
address As String,
dateTime As DateTime
) As OperateResult
public:
OperateResult^ Write(
String^ address,
DateTime dateTime
)
member Write :
address : string *
dateTime : DateTime -> OperateResult
参数
- address
- 类型:SystemString
地址 - dateTime
- 类型:SystemDateTime
时间
返回值
类型:
OperateResult是否写入成功
参见