YRCHighEthernetReadRegisterVariable 方法 (UInt16, Int32) |
批量读取多个寄存器的数据,地址范围 0 ~ 999,指定读取的数据长度,最大不超过237 个
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<ushort[]> ReadRegisterVariable(
ushort address,
int length
)
Public Function ReadRegisterVariable (
address As UShort,
length As Integer
) As OperateResult(Of UShort())
public:
OperateResult<array<unsigned short>^>^ ReadRegisterVariable(
unsigned short address,
int length
)
member ReadRegisterVariable :
address : uint16 *
length : int -> OperateResult<uint16[]>
参数
- address
- 类型:SystemUInt16
地址索引 - length
- 类型:SystemInt32
读取的数据长度,最大不超过237 个
返回值
类型:
OperateResultUInt16读取结果内容
参见