GRBL doesn't support O-codes (subprograms) so it's not a surprise that M98 is unsupported. You'll need to make your G-Code to do the operations inline.
Thanks a lot. Could you please tell me how to repeat the whole program up to a certain time (Example: 40 times) with GRBL command?GRBL doesn't support O-codes (subprograms) so it's not a surprise that M98 is unsupported. You'll need to make your G-Code to do the operations inline.
Well, if you are writing G-Code by hand you just write the operations 40 times. If you are using CAM then it depends on what you are using. Also, you will need to select a GRBL post processor.Thanks a lot. Could you please tell me how to repeat the whole program up to a certain time (Example: 40 tGRBL doesn't support O-codes (subprograms) so it's not a surprise that M98 is unsupported. You'll need to make your G-Code to do the operations inline.
imes) with GRBL command?
You mean to say, repeat the whole program by 40 times?Well, if you are writing G-Code by hand you just write the operations 40 times. If you are using CAM then it depends on what you are using. Also, you will need to select a GRBL post processor.
Thanks for your reply. This is a mini CNC router. I am using my Z-axis as a gripper with a servo motor. M3S0 is Opening the gripper and M3S45 closing the gripper.Yes.
But, are you actually coding by hand? You should really be using CAD and CAM. Coding by hand for anything but ultra simple things is going to get old very very fast.
And, just looking briefly at your G-Code, I suspect you are missing some key points like for the Z axis, down/lower is usually negative. And M5 is a better way to turn off your spindle than M3S0. Have you watched any tutorials?