点击或拖拽改变大小

VigorSerialRead 方法 (String, UInt16)

批量读取字节数组信息,需要指定地址和长度,返回原始的字节数组
Batch read byte array information, need to specify the address and length, return the original byte array

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

参数

address
类型:SystemString
数据地址
length
类型:SystemUInt16
数据长度

返回值

类型:OperateResultByte
带有成功标识的byte[]数组

实现

IReadWriteNetRead(String, UInt16)
备注
支持字地址,单次最多读取64字节,支持D,SD,R,T,C的数据读取,同时地址支持携带站号信息,s=2;D100
参见