I know this is an old post, but this is helping me with a project for university... I'm working with the mach4 industrial and building a post processor for SolidCAM fully compatible with mach4.
The quesiton here is:
If I put a file like O9810.txt where the file, In example, has the subroutine of a Renishaw probe operation, when I call the macro in my program like
G65 P9810 X34.54 Y54.98
G65 P9810 Z1
Then mach4 will understand that my call is for the subroutine I save in the Subroutines folder? Or how it works?
In other case, if I make a macro with Lua Script like the example provided in the manual called M1005, then when I program the post processor to execute M1005 with the necesary parameter Mach4 will understand that it have to make the macro Gcode?
Any help will be useful, thanks in advance.
Sorry for my english.
Franco.