LaserGRBL icon indicating copy to clipboard operation
LaserGRBL copied to clipboard

Share your custom buttons Here!

Open arkypita opened this issue 6 years ago • 84 comments

The last v2.8.39 allow to export custom buttons. If you want to share yours with LaserGRBL community feel free to reply to this post. Don't forget to attach your CustomButtons.gz file!

arkypita avatar Mar 20 '18 22:03 arkypita

thanks for your share!

arkypita avatar Apr 13 '18 07:04 arkypita

another button option bypass (diameter = diagonal) around the picture

circumradius_regular_square_0 ..... G0 X[left] Y[bottom] F3000 M3 S1 F1000 G2 X[left] Y[bottom-0.002] I[right/2-left/2] J[top/2-bottom/2] M5 G0 X0 Y0 F3000 .....

this works :)

Arhimed-Ru avatar Apr 13 '18 13:04 Arhimed-Ru

if you have a Z-axis motor step up: $J= G91 Z[jogstep] F[jogspeed] step down: $J= G91 Z[0-jogstep] F[jogspeed]

Arhimed-Ru avatar Apr 13 '18 13:04 Arhimed-Ru

za zd

Arhimed-Ru avatar Apr 13 '18 13:04 Arhimed-Ru

how to change the scale of the preview??... move the preview??...

Arhimed-Ru avatar Apr 13 '18 13:04 Arhimed-Ru

FAN O/OFF Buttons: Code for FAN ON M08

Code for FAN OFF M09

laser grbl fan buttons on

laser grbl fan buttons off

Custom Buttons: Fan Control.gz

Xillius178 avatar Apr 14 '18 16:04 Xillius178

@Arhimed-Ru

Can you translate the description of the buttons into English?

Thank you

Xillius178 avatar Apr 14 '18 16:04 Xillius178

@Xillius178

Move to center of image function: see the place for a rectangular picture (If necessary, you can change S - laser power F - travel speed)

Bypassing perimeter function: see the place for a rectangular picture

Zero position

Bypassing circle X function: see the place for a circle picture with a small diameter [right-left]

Move to the bottom left corner of the image

Disable laser mode $32=0 function: to have a possibility scorch points with stops, see the laser point and adjust focus.

Enable laser mode $32=1

Turn off the laser

Turn on the laser (If necessary, you can change S - laser power) ..... Bypassing circle XY (diagonal)

Arhimed-Ru avatar Apr 14 '18 19:04 Arhimed-Ru

le3 rondom

This button draws a rectangular shape around the image area. Alter S100 on the thirth line to make the laser spot visible but not burning! A greater value means more laser power and vice versa.


G0 X[left] Y[bottom] F3000 F2000 M4 S100 G1 X[left] Y[top] G1 X[right] Y[top] G1 X[right] Y[bottom]
G1 X[left] y[bottom] M5 G0 X0 Y0 F3000

Venkes avatar Apr 15 '18 09:04 Venkes

Thanks for sharing your config @Arhimed-Ru! It's basically everything I was using, plus some!

@arkypita Maybe we could see about adding a method for changing custom button order in a future release to make things more easily customizable? Drag and drop maybe?

bearded1der avatar Apr 17 '18 01:04 bearded1der

Прекрасно. Спасибо большое. Вот только лазер не квключается отдельно кнопкой.

Koctetcav avatar Apr 23 '18 04:04 Koctetcav

С меня включается лазер. Может быть, M3 вместо M4 с вами?

I turn on the laser with M4. Maybe M3 instead of M4 for you?

Venkes avatar Apr 23 '18 09:04 Venkes

Лазер включается только при перемещении. А мне нужно чтоб при простои моторов включать лазер!?

Koctetcav avatar Apr 23 '18 10:04 Koctetcav

Я и M3 и M4 пробовал.

Koctetcav avatar Apr 23 '18 10:04 Koctetcav

лазер переходит в нижний левый угол области гравировки, затем лазер создает прямоугольник вокруг области, подлежащей гравировке, а затем выключает лазер и затем переходит в исходное положение. В моем случае лазер включается с M4 (третья строка) и выключается M5 (восьмая линия). Ps. Надеюсь, Google переведет все хорошо переведенное!

the laser moves to the lower left corner of the engraving area, then turns on, then the laser creates a rectangle around the area to be engraved, and then turns off the laser and then goes back to its original position. In my case, the laser turns on with M4 (third line) and M5 turns off (eighth line).

Venkes avatar Apr 24 '18 09:04 Venkes

@Koctetcav @Venkes please keep writing english inside english topic!

arkypita avatar Apr 26 '18 10:04 arkypita

@arkypita yes you are right! I'm sorry. I've editted my comments.

Venkes avatar Apr 29 '18 09:04 Venkes

the cheap laser module from China, can operate only half hour, after what its necessary a time for cold. Is it possible a custom button to make a pause after this operation time ? Anybody can help ? Thank you

marceneirojovem avatar May 16 '18 22:05 marceneirojovem

There already is a pause button. Press the hand to pause and the man to continue. untitled5

StuartB4 avatar May 17 '18 02:05 StuartB4

I think I did the wrong question. I want a automatic pause after 45 minutes and a automatic return after a 30 minutes of cooling time. Something like a macro in Gcode to automates the process. Excuse me for the bad english Thank You

marceneirojovem avatar May 17 '18 17:05 marceneirojovem

G4 command is for "Dwell" function which could be added to the middle of a GCode file and theoretically do what you want it to. The operator is in milliseconds for GRBL though. Not sure what the max wait time would be. You could export to a file from LaserGRBL and then modify it manually and then stream it. The streamlined nature of the GCode LaserGRBL generates might make it difficult to decide where to put the pauses though, unless you only did one halfway through a raster engraving.

Would probably be a fairly simple addition if you wanted to submit a feature request to code it in to add those automatically at different intervals. Not sure how useful it would be for most people, but who knows.

bearded1der avatar May 17 '18 19:05 bearded1der

Thank you Bearded1der . I think it would be useful for everyone who has a cheap chinese laser module.

marceneirojovem avatar May 17 '18 23:05 marceneirojovem

For who like custom buttons try the latest version Hope you love it!

arkypita avatar Jun 14 '18 11:06 arkypita

Thanks. Nice idea, now I can remove 1 custom button and do Laser On and Off with just 1.

StuartB4 avatar Jun 14 '18 12:06 StuartB4

For Z-axis on my laser i had to make a code for up:

G91 g0Z[jogstep]F[jogspeed] G90

and down:

G91 G0Z[0-jogstep]F[jogspeed] G90

Can you make a button that makes a laser go in the middle of the project for positioning?

1estrider avatar Jul 31 '18 02:07 1estrider

How do you apply .gz file?

1estrider avatar Aug 27 '18 01:08 1estrider

right click on custom button area and select "import" from menu

untitled5

arkypita avatar Aug 27 '18 07:08 arkypita

My standard button to always start with is my "general reset"

It does a reset of my machine, does homing and then goes to the center of my table with focusing point on my tabletop.

$X (Reset Machine ) $H (Unlock ) M5 ( M05:Spindle Stop ) G91 ( G91:Incremental programming ) G0 X-510 y-460 Z-53.6 ( go to center of table ) G92 X0 Y0 Z0 ( Make this my work zero point G28.1 ( to ensure the machine goes back here) M3 S200 ( M03:Spindle On at 200mW for zeroing my workpiece )

fantilator avatar Sep 09 '18 12:09 fantilator

@fantilator. Interesting, do you have your Home set to the back right hand corner? Just wondered because these are negative numbers and would move the laser to the left and down the screen away from the usual Home position of bottom left corner.

G0 X-510 y-460 Z-53.6 ( go to center of table )

One more thing, isn't S200 a bit high, it will burn anything under it at that setting. It's not 200 mw, it's nearly full laser power when the maximum is 255.

StuartB4 avatar Sep 09 '18 18:09 StuartB4