FanucSeries0iReadSystemMacroValueAsync 方法 (Int32, Int32) |
读取宏变量,可以用来读取刀具号
Read macro variable, can be used to read tool number
命名空间:
HslCommunication.CNC.Fanuc
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult<double[]>> ReadSystemMacroValueAsync(
int number,
int length
)
Public Function ReadSystemMacroValueAsync (
number As Integer,
length As Integer
) As Task(Of OperateResult(Of Double()))
public:
Task<OperateResult<array<double>^>^>^ ReadSystemMacroValueAsync(
int number,
int length
)
member ReadSystemMacroValueAsync :
number : int *
length : int -> Task<OperateResult<float[]>>
参数
- number
- 类型:SystemInt32
宏变量地址 - length
- 类型:SystemInt32
读取的长度信息
返回值
类型:
TaskOperateResultDouble是否成功
参见