读取寄存器的数据信息,需要传入寄存器的代码,起始地址,结束地址信息
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 OperateResult<byte[]> ReadData(
int code,
int start,
int end
)
Public Function ReadData (
code As Integer,
start As Integer,
end As Integer
) As OperateResult(Of Byte())
public:
OperateResult<array<unsigned char>^>^ ReadData(
int code,
int start,
int end
)
member ReadData :
code : int *
start : int *
end : int -> OperateResult<byte[]>
参数
- code
- 类型:SystemInt32
寄存器代码 - start
- 类型:SystemInt32
起始的地址 - end
- 类型:SystemInt32
结束的地址
返回值
类型:
OperateResultByte包含原始字节信息的结果对象
参见