Benbox Laser Machines/CO2 Lasers/3D Printers

Software => LaserGrbl => Topic started by: raysundar on January 29, 2019, 11:27:46 AM

Title: LaserGRBL Buttons
Post by: raysundar on January 29, 2019, 11:27:46 AM
Hi Ralph,
I followed the example given in the LaserGRBL software manual on creating new buttons in lasergrbl software.
I used the toggle option and set up GCODE1 and GCODE 2 as follows:
Gcode1:
M3 S30
Gcode2:
M5
Basically just starting and stopping the laser low power mode on and off so I can position the start point of the laser.
However it doesn't work.
Bu another button that checks the frame around the drawing by dragign the weak laser thrugh the
four extremities of the rectangular frame around the drawing seem to work with the low power laser turning on and off.
Any suggestion why the toggle button does not work.
Title: Re: LaserGRBL Buttons
Post by: Administrator on January 29, 2019, 03:25:41 PM
Hi Ray,

I don't have anything to do with LaserGRBL.

Paul and I are are co-developers of BenCutLaser (BCL).
Title: Re: LaserGRBL Buttons
Post by: Hokuro on February 12, 2019, 12:49:37 AM
Hi , write g1 or g0 under m3 and try
Title: Re: LaserGRBL Buttons
Post by: Rebelturtle on February 13, 2019, 10:26:45 AM
I built one to do the same. Turn it on more so I could position. Here are my settings
Two state button
G code.                Gcode2
$32=0                    $32=1
M4 s5                    M5

Enabled: idle

That works for me.

The one I'm having issue with is building one so the laser comes in low, then moves to the center of the project. I want this to center what I want to burn on.

Sent from my SM-T707V using Tapatalk

Title: Re: LaserGRBL Buttons
Post by: Hokuro on February 13, 2019, 10:43:50 AM
I have seen that in my system the laser with m4 command turns on only if there is some movement; so i added g1and it works, it turns on without moving.
I have gbrl 1.1f
Title: Re: LaserGRBL Buttons
Post by: Zax on February 13, 2019, 11:42:17 AM
M4 enables dynamic laser power mode with Grbl 1.1 so you get 0 power at 0 feed rate (i.e. not moving). M3 would just turn on at the set power level.
Title: Re: LaserGRBL Buttons
Post by: Rebelturtle on February 13, 2019, 03:00:48 PM
I know I'm still learning, but I don't think I've seen the option for M3 when opening an image since the first time or two. I think I changed a $ value or option in LaserGRBL to enable laser mode and no M3 since. Maybe my button will not work if I changed it back?

Sent from my XT1650 using Tapatalk

Title: Re: LaserGRBL Buttons
Post by: Zax on February 13, 2019, 04:45:00 PM
M3 and M4 are both valid in laser mode.
Title: Re: LaserGRBL Buttons
Post by: Hokuro on February 14, 2019, 03:14:31 PM
If you I don"t see m4 maybe you haven't enable boolean mode in  gbrl setting