FanucSeries0iReadPMCDataAsync 方法 |
读取PMC数据,需要传入起始地址和结束地址,返回byte[]数据信息
To read PMC data, you need to pass in the start address and length, and return byte[] data information
命名空间:
HslCommunication.CNC.Fanuc
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<byte[]>> ReadPMCDataAsync(
string address,
ushort length
)
Public Function ReadPMCDataAsync (
address As String,
length As UShort
) As Task(Of OperateResult(Of Byte()))
public:
Task<OperateResult<array<unsigned char>^>^>^ ReadPMCDataAsync(
String^ address,
unsigned short length
)
member ReadPMCDataAsync :
address : string *
length : uint16 -> Task<OperateResult<byte[]>>
参数
- address
- 类型:SystemString
起始地址,地址支持,G,F,Y,X,A,R,T,K,C,D,E 地址,例如 G5 - length
- 类型:SystemUInt16
长度信息
返回值
类型:
TaskOperateResultByte读取结果
备注
地址支持,G,F,Y,X,A,R,T,K,C,D,E 地址,例如 G5
参见