Buy your K40 accessories at https://SuperGerbil.com
You need to log in to create posts and topics.

Test the laser and align mirrors mode

You can set the $31 laser mode to cnc mode which allows the laser to fire when the gantry is not moving. Great to align the laser mirrors. Issue a M3 or M4 S100 to fire the laser.

After alignment you revert back to laser mode $31=1 (laser mode). You can do this via any gcode sender. See here a few examples:



Tip for cncjs: click in the black command box to issue $31 command. Use $$ to read out the set config. Use ? to see the gerbil status (limit switches, position etc).

Difference between M3 and M4 is CW and CCW (counterwise and counter clock wise movement of the spindle). In laser land there is no difference between M3 or M4 while executing it by Gerbil. It's just on M3/4 and off M5. The difference is done in the cutting and engraving gcode generation where the program inserts an M3 or M4 or M5. That's all.

Cheers, Paul awesome.tech

I'm having a tough time getting this to work. I can't get the laser to fire a test shot so I can align mirrors using cncjs.

I must be missing something silly. I've done laser alignment before I put the new controller in using the test switch before without a problem. Just can't get it to flash a short burst using cncjs. Maybe a short video?

You need to put the controller into CNC mode becasue the laser mode prevent firing when the head is not moving as a safety feature.

$32=0 sets it into cnc mode and you can do so via any G-code sender.

M3 or 4 fires the laser then continuously

M5 turns it off.

Cheers, Paul awesome.tech
Buy your K40 accessories at https://SuperGerbil.com

Forum Registration