点击或拖拽改变大小

InovanceH5UTcpReadAsync 方法 (String, UInt16)

按字读取汇川PLC的数据信息,可以输入D0,R0 类型地址
Read Huichuan PLC's data information by word, you can enter D0, R0 type address

命名空间:  HslCommunication.Profinet.Inovance
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:10.0.0.0 (10.0.0.0)
语法
public override Task<OperateResult<byte[]>> ReadAsync(
	string address,
	ushort length
)

参数

address
类型:SystemString
PLC的真实的地址信息,可以输入D0,R0 类型地址
length
类型:SystemUInt16
读取的数据的长度,按照字为单位

返回值

类型:TaskOperateResultByte
包含是否成功的结果对象信息

实现

IReadWriteNetReadAsync(String, UInt16)
IReadWriteNetReadAsync(String, UInt16)
参见