From PROBOTIX :: wiki
Our Spindle Mounted Laser Module was developed in partnership with JTech photonics. You will find the official documentation on the laser itself here: https://jtechphotonics.com/?page_id=602
Starting with Software Configurator version 4.0, any file that ends in .ngcl extension will have all Z moves and spindles controls removed when loading the file. These are then automatically replaced with the M-codes needed to control the laser.
|Always wear laser safety glasses whenever in the same room with the laser and while drivers safety lockout key is inserted into the laser driver. Always remove the safety lockout key whenever the laser module is not in use.|
Before using the laser, you need to adjust the focusing lens.
- Install the laser module module
- Lay a piece of scrap wood on the table
- Jog the machine to place the laser down to where it is approximately 1/8" above the surface of the scrap wood
- Put on your safety glasses
- Insert and turn on the safety lockout key
- Turn on the laser power switch
- Press the laser reset button
- Turn the mode switch into the ALWAYS ON position momentarily and observe the beam width, then turn it back to the left.
- Turn off the laser power switch and remove the safety lockout key
- Reach into the laser module and turn the focusing lens. You can slide the scra out of the way temporarily or you can remove the front shield from the module if you need.
- Repeat steps 5-10 until you have the smallest beam possible.
- Remove knockut from left side of outlet box, feed the wire through and glue the carriage connector plate to the side of the box with PVC cement.
- Mount the laser driver to the from of the machine on the left hand side.
- Feed the cable from the outlet box through the cable chain
- Connect the fan power to the JST connector and connect it to the fan connector on the laser driver.
- Connect the PWM control signals
- Install the laser e-stop contact into the e-stop enclosure and connect it to the laser driver. The e-stop switch has mounting points for two contacts.
- Connect the 12V power brick.
- Install the laser module into the spindle and connect it to the carriage connector plate.
- Run the appropriate software configurator to install the laser functionality.
- Perform the laser focusing lens adjustment procedure.
Old info follows
For safety reasons the laser will only turn on when running G-code. If for whatever reason the program is stopped (ie E-STOP is pressed) you must ensure to manually reset the laser driver board (red button) and turn off the power command via the sidebar LASER OFF button before running again.
|Synchronized||M67 E0 Q#|
|Immediate||M68 E0 Q#|
- E0 is the laser and is required to receive commands
- Q# is the power percentage to set (Q0 = OFF, Q100 = MAX power).
The Synchronized command will happen at the beginning of the next motion command. If there is no subsequent motion command, the command won’t happen.
- It’s best to always program a motion G code (G0, G1, etc) right after the M67.
- The “M67 E0 Q#” command is suggested as it prevents the laser from sitting in one spot longer than needed.
M67 E0 Q100(turn on laser at 100% with next movement) G01 X2 Y2 F40(laser turns on while moving into position) ... do some other moves ... M68 E0 Q0(turn off laser immediately) G01 X3 Y3 F40
The Immediate command will perform the action immediately when the command is processed.
- The “M68 E0 Q0” command is recommended between tool paths to prevent drag lines.
M68 E0 Q75(turn on laser at 75% now) G01 X2 Y2 F30(move into position) M68 E0 Q0(turn off laser now) G00 X3 Y3(move to next position)
Suggested combined usage:
M67 E0 Q50(turn on laser at 50% with next movement) G01 X2 Y2 F15(laser turns on while moving into position) M68 E0 Q0(turn off laser now) G00 X3 Y3(move to next position)