# Program laser to fire with NO axis moves?

I have a simple test I’d like to run but not sure if I can do it.

I have an Ikier K1 with the laser power indicator bar on the head. I’m curious what power percentages correlate to display changes. The “Fire” button will only let me go to 20%.

I’d like to have the laser step from 0-100% power in 5% increments and hold each step for maybe 1 sec.

I’d park the head over a metal block so no fire risk.

Any thoughts on how to accomplish this?

I haven’t tested this but should work in principle, assuming no bugs. This assumes \$30=1000 in your controller.

Run in Console:

``````M3
G1 S0 G4 P1
G1 S50 G4 P1
G1 S100 G4 P1
G1 S150 G4 P1
G1 S200 G4 P1
G1 S250 G4 P1
G1 S300 G4 P1
G1 S350 G4 P1
G1 S400 G4 P1
G1 S450 G4 P1
G1 S500 G4 P1
G1 S550 G4 P1
G1 S600 G4 P1
G1 S650 G4 P1
G1 S700 G4 P1
G1 S750 G4 P1
G1 S800 G4 P1
G1 S850 G4 P1
G1 S900 G4 P1
G1 S950 G4 P1
G1 S1000 G4 P1
M5
``````

Why? What are you trying to accomplish?
Put some money aside for a new laser. You might get a reflection back into the laser.

Why? What are you trying to accomplish?

Just curious what laser power levels equate to a change in the display. The display has 12 LEDs, each with at least three colors: blue, violet, & red. At 1-5%, one LED is red. At 5-10%, 2 LEDs are red. It can’t be linear since there aren’t 20 LEDs.

Put some money aside for a new laser. You might get a reflection back into the laser.

Interesting thought. The physics are beyond me. I could defocus and use an angled block to send the energy away.

@berainlb

I figured there was a simple Gcode that would do it, but wasn’t sure how to write it. Thank you.

You have me at a disadvantage. I have no idea what display you are talking about.

That worked a treat. Thanks!

I defocused and aimed the laser at the angled side of a piece of hex barstock just to be safe. I dumped the code into my last open macro button (love those!) and ran the test maybe 10 times. 1 sec didn’t give me time to write down the results. The barstock just got a little warm. No marks. No drama.

Nice. Glad that worked. The value after P in the code indicates dwell time in seconds. You can increase that value if you need to dwell longer.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.