The file 'macro.cnc' contains information about behaviour of the machine. For example, how to home the machine:


But, it also contains custom functions like custom M-functions or user macro's that indicate what needs to be done in case a user button is pressed:


But more complex behavior is the tool change, in this file the function containing the behavior during a tool change is programmed.


The use of the macro language offers you the possibility to fully customize the behavior of your CNC machine.