YRCHighEthernetReadRealVariable 方法 (UInt16, Int32) |
读取多个的实数型变量数据,地址范围:0 ~ 99( 标准设定时)
命名空间:
HslCommunication.Robot.YASKAWA
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult<float[]> ReadRealVariable(
ushort address,
int length
)
Public Function ReadRealVariable (
address As UShort,
length As Integer
) As OperateResult(Of Single())
public:
OperateResult<array<float>^>^ ReadRealVariable(
unsigned short address,
int length
)
member ReadRealVariable :
address : uint16 *
length : int -> OperateResult<float32[]>
参数
- address
- 类型:SystemUInt16
地址范围:0 ~ 99( 标准设定时) - length
- 类型:SystemInt32
读取的个数,最大118个
返回值
类型:
OperateResultSingle读取的结果对象
参见