Macros
All macros for Centroid are generated as M-Code macro files. Each file contains the functionality for the associated M-Code that the file is named after. All generated files should be placed in the root folder of your Centroid CNC12 installation.
Profile Section
There are two generation options available, All Macros and Find Z Position. The packages may be downloaded as a zipped folder or exported to a local directory if your browser supports it.
Errors
When an error is detected in your profile, macro generation is disabled for All Macros. The Find Z Position macro remains enabled since it is needed for configuring your profile.
Hover over the tag to view information about the offending error.
Download
Clicking DOWNLOAD generates the programs and subroutines and then downloads a zipped folder containing the selected generation package. The folder must be unzipped before uploading to your MassoG3 controller.
Export
Clicking EXPORT generates the programs and subroutines and places them unzipped into a local directory.
If your browser does not support the export operation, the option will not appear on your screen.
All Macros
With this selection, the following macros will be generated as they are required according to your ATC profile.
Change Tool (mfunc6.mac) - Loads the selected tool, unloading the current tool as required.
Usage:T1 M6
loads Tool 1.Set Current Tool (mfunc51.mac) - Sets the current tool to persistent storage. Normally only used during initial installation and setup.
UsageM51
Measure Tool (mfunc52.mac) - Execute tool measurement for the currently loaded tool.
UsageM52
Find Z Position (mfunc53.mac) - If the IR beam is broken, moves up until the IR beam is clear, recording the Z machine coordinate of the position at which it clears.
UsageM53
with a tool loaded, in it's pocket deep enough to break the IR beam.Toggle Cover (mfunc54.mac) - Opens the dust cover.
UsageM54
Find Z Position
With this selection only the Find Z Position macro will be generated.