MemobusTcpNetReadRandom 方法 (UInt16) |
随机读取扩展的保持寄存器的内容,也即读取不连续地址的字数据,可以指定多个地址,然后一次性读取所有的数据,然后解析出实际的数据
Randomly read the contents of the extended hold register, that is, read word data of discontinuous addresses,
you can specify multiple addresses, then read all the data at once, and then parse out the actual data
命名空间:
HslCommunication.Profinet.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<byte[]> ReadRandom(
ushort[] address
)
Public Function ReadRandom (
address As UShort()
) As OperateResult(Of Byte())
public:
OperateResult<array<unsigned char>^>^ ReadRandom(
array<unsigned short>^ address
)
member ReadRandom :
address : uint16[] -> OperateResult<byte[]>
参数
- address
- 类型:SystemUInt16
地址信息
返回值
类型:
OperateResultByte读取的原始字节结果信息
备注
注意,本方法只能针对扩展的保持寄存器进行读取
参见