FanucSeries0iReadDiagnossAsync 方法 |
读取调试信息,需要指定调式编号,轴编号
命名空间:
HslCommunication.CNC.Fanuc
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<double[]>> ReadDiagnossAsync(
int number,
int length,
int axis
)
Public Function ReadDiagnossAsync (
number As Integer,
length As Integer,
axis As Integer
) As Task(Of OperateResult(Of Double()))
public:
Task<OperateResult<array<double>^>^>^ ReadDiagnossAsync(
int number,
int length,
int axis
)
member ReadDiagnossAsync :
number : int *
length : int *
axis : int -> Task<OperateResult<float[]>>
参数
- number
- 类型:SystemInt32
Specify the diagnosis number. See the "MAINTENANCE MANUAL" of CNC about available diagnosis data number - length
- 类型:SystemInt32
Specify the data block length - axis
- 类型:SystemInt32
Specify the axis number. -1 means all axes
返回值
类型:
TaskOperateResultDoubleReads the diagnosis specified by "number","axis" (only for the diagnosis with axis). The data format depends on each diagnosis. The
参见