FanucSeries0iReadDataAsync 方法 |
读取寄存器的数据信息,需要传入寄存器的代码,起始地址,结束地址信息
To read the data information of the register, you need to pass in the code of the register, the start address, and the end address information
命名空间:
HslCommunication.CNC.Fanuc
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<byte[]>> ReadDataAsync(
int code,
int start,
int end
)
Public Function ReadDataAsync (
code As Integer,
start As Integer,
end As Integer
) As Task(Of OperateResult(Of Byte()))
public:
Task<OperateResult<array<unsigned char>^>^>^ ReadDataAsync(
int code,
int start,
int end
)
member ReadDataAsync :
code : int *
start : int *
end : int -> Task<OperateResult<byte[]>>
参数
- code
- 类型:SystemInt32
寄存器代码 - start
- 类型:SystemInt32
起始的地址 - end
- 类型:SystemInt32
结束的地址
返回值
类型:
TaskOperateResultByte包含原始字节信息的结果对象
参见