FanucSeries0iSetCurrentProgram 方法 (String) |
设置指定的程序号为当前的主程序,如果程序号不存在,返回错误信息,例如: //CNC_MEM/USER/PATH1/O0001
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.9.1.0 (12.9.1.0)
语法public OperateResult SetCurrentProgram(
string programName
)
Public Function SetCurrentProgram (
programName As String
) As OperateResult
public:
OperateResult^ SetCurrentProgram(
String^ programName
)
member SetCurrentProgram :
programName : string -> OperateResult
参数
- programName
- 类型:SystemString
程序号信息,例如: //CNC_MEM/USER/PATH1/O0001
返回值
类型:
OperateResult是否设置成功
参见