SiemensS7NetReadDateTime 方法 |
从PLC中读取时间格式的数据
Read time format data from PLC
命名空间:
HslCommunication.Profinet.Siemens
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<DateTime> ReadDateTime(
string address
)
Public Function ReadDateTime (
address As String
) As OperateResult(Of DateTime)
public:
OperateResult<DateTime>^ ReadDateTime(
String^ address
)
member ReadDateTime :
address : string -> OperateResult<DateTime>
参数
- address
- 类型:SystemString
地址
返回值
类型:
OperateResultDateTime时间对象
参见