FanucSeries0iSetCurrentProgram 方法 |
设置指定的程序号为当前的主程序,如果程序号不存在,返回错误信息
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 OperateResult SetCurrentProgram(
ushort programNum
)
Public Function SetCurrentProgram (
programNum As UShort
) As OperateResult
public:
OperateResult^ SetCurrentProgram(
unsigned short programNum
)
member SetCurrentProgram :
programNum : uint16 -> OperateResult
参数
- programNum
- 类型:SystemUInt16
程序号信息
返回值
类型:
OperateResult是否设置成功
参见