11.07.2015 Views

Programming Manual

Programming Manual

Programming Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LNC MILLMACRO Program5 MACRO Program5.1 Introduction of Macro ProgramTraditional NC programs have limited functions, such as being unable to operate and have no if functions.Macro commands provide a higher level method of syntax utilization. Functions such as IF, GOTO, functions,variables, etc. are available and bring users more flexibility.When adopted in systems, in order to let users to call and execute a series of often-used operations with asimple command, users can develop Macro programs to fulfill the need.Macro Program O1000IF(#1==1) GOTO 100;G65P1000X2.Z1.G01 X#23 Z#25;#2=#2+1;::M99;LNC Technology Co., Ltd. 221

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!