-
Notifications
You must be signed in to change notification settings - Fork 111
Description
My setup is the latest grblHAL and iosender on a minimal Black Pill 411 driver board.
I am trying to understand how, or if, it is possible to call repetitive code either via subroutines (M98) or macros (G65).
If I have carried out my search properly, it would appear that M98 is not supported but G65 should be. M99, which is necessary to exit either is documented so it probably is. Yet I understand that M99 is only needed with M98 or G65 calls.
I have experimented with simple code which I have cut and pasted from the internet ( and therefore error free) and neither method seems to work.
In the first place, any subroutines( macros) which I put after the M30 command are not even loaded in iosender.
If I try to run the section of the code loaded, the program stops with an error when it reaches either command:
With M98, it reports that the Gcode is not recognised.
With G65, it reports that the label is not found because of course all code after M30 are not loaded.
I understand if one generates Gcode via a CAD-CAM program this issue may not arise because that software generates as many sections of repetitive code as are needed.
Am I missing anything here? Or is there an alternative for hand coding?
Thanks