GRBL generic post not posting M5 (spindle off)

GRBL generic post not posting M5 (spindle off)

Anonymous
Not applicable
918 Views
3 Replies
Message 1 of 4

GRBL generic post not posting M5 (spindle off)

Anonymous
Not applicable
Is this a command we can add to the post. I just put a new spindle on my machine that can be controlled via the program and the post for GRBL doesn't output an M5 Spindle off command.

If I knew where to add this to the post I would do it myself. I have been manually adding the code. ;D

Thank you
Tim
0 Likes
919 Views
3 Replies
Replies (3)
Message 2 of 4

Laurens-3DTechDraw
Mentor
Mentor
timmyklus wrote:

Is this a command we can add to the post. I just put a new spindle on my machine that can be controlled via the program and the post for GRBL doesn't output an M5 Spindle off command.

If I knew where to add this to the post I would do it myself. I have been manually adding the code. ;D

Thank you
Tim


Where and when does it not do this?
I mean we need more info on what it is like now and how you need it to be.

Laurens Wijnschenk
3DTechDraw

AutoDesk CAM user & Post editor.
René for Legend.


0 Likes
Message 3 of 4

Anonymous
Not applicable
Sure, below is what fusion is currently posting. after doing some reading I think the M30 should turn off the spindle and reset the program. I belive there is a bug in the GRBL firmware that is not letting the M30 process correctly. I understand there should be an update to the firmware in the next few weeks. maybe a post change is not needed.

top of program
%
(T2  D=0.05 CR=0 - ZMIN=-0.02 - flat end mill)
G90 G94
G17
G20
G28 G91 Z0
G90

(2D Contour1)
M9
T2 M6
S1000 M3 (spindle on and sepeed)
G54
M9
G0 X2.0292 Y0.5376
Z0.6375


end of program

X1.4655 Z-0.0165
X1.4652 Z-0.015
G0 Z0.6375
M9
G28 G91 Z0
G28 X0 Y0
M30
%

0 Likes
Message 4 of 4

AchimN
Community Manager
Community Manager
As long it is not fixed in your firmware, use this post instead, it will output M5 at the end of the program.


Achim.N
Principal Technology Consultant