YRCHighEthernetReadByteVariable 方法 (UInt16, Int32) |
读取多个的字节型变量的数据,读取的最大个数为 474 个。
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<byte[]> ReadByteVariable(
ushort address,
int length
)
Public Function ReadByteVariable (
address As UShort,
length As Integer
) As OperateResult(Of Byte())
public:
OperateResult<array<unsigned char>^>^ ReadByteVariable(
unsigned short address,
int length
)
member ReadByteVariable :
address : uint16 *
length : int -> OperateResult<byte[]>
参数
- address
- 类型:SystemUInt16
标准地址范围为 0 ~ 99 - length
- 类型:SystemInt32
读取的数据个数,读取的最大个数为 474 个
返回值
类型:
OperateResultByte结果数据内容
参见