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