FanucSeries0iSetCurrentProgramAsync 方法 |
设置指定的程序号为当前的主程序,如果程序号不存在,返回错误信息
Set the specified program number as the current main program, if the program number does not exist, an error message will be returned
命名空间:
HslCommunication.CNC.Fanuc
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public Task<OperateResult> SetCurrentProgramAsync(
ushort programNum
)
Public Function SetCurrentProgramAsync (
programNum As UShort
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ SetCurrentProgramAsync(
unsigned short programNum
)
member SetCurrentProgramAsync :
programNum : uint16 -> Task<OperateResult>
参数
- programNum
- 类型:SystemUInt16
程序号信息
返回值
类型:
TaskOperateResult是否设置成功
参见