The CNC system is equipped with a powerful macro program function similar to high-level language. Users can use variables to perform arithmetic operations, logical operations and mixed operations of functions. In addition, the macro program also provides loop statements, branch statements and subroutine call statements, which are conducive to compiling various complex parts processing programs, reducing or even eliminating tedious numerical calculations during manual programming, and streamlining the program volume.
Macro program instructions are suitable for programming curves such as parabolas, ellipses, and hyperbolas without interpolation instructions; suitable for programming a series of parts with the same graphics but different sizes; suitable for programming a series of parts with the same process path but different position parameters. Greatly simplify programming; expand the scope of application. |