FanucSeries0iWriteDataAsync 方法 |
将原始字节的数据写入到指定的寄存器里,需要传入寄存器的代码,起始地址,原始的字节数据信息
To write the original byte data into the specified register, you need to pass in the code of the register, the starting address, and the original byte data information
命名空间:
HslCommunication.CNC.Fanuc
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> WriteDataAsync(
int code,
int start,
byte[] data
)
Public Function WriteDataAsync (
code As Integer,
start As Integer,
data As Byte()
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ WriteDataAsync(
int code,
int start,
array<unsigned char>^ data
)
member WriteDataAsync :
code : int *
start : int *
data : byte[] -> Task<OperateResult>
参数
- code
- 类型:SystemInt32
寄存器代码 - start
- 类型:SystemInt32
起始的地址 - data
- 类型:SystemByte
等待写入的原始字节数据
返回值
类型:
TaskOperateResult是否写入成功
参见