Quantcast
Channel: Reprap Forum - Repetier
Viewing all articles
Browse latest Browse all 1321

Repetier Firmware, M106 Fan command, and Laser Diode Question (1 reply)

$
0
0
Hello,

I am using the 0.92 version of the Firmware on a Prusa I3 DIY Kit.

I have connected a laser diode (from J Tech Photonics) to D8 on the Ramps 1.4 board. To control the laser I am using M106 Sxxx for 8 bit control of the laser diode.

My problem is that I can see that there are several fan control g code commands M106 sent by the Repetier host software and processed by the firmware even while the first G1 move command is still be running. How can I keep the G1 move commands in sync with the M106 commands from a physical process perspective?

short example
; turn on laser
M106 S255.0000
;start moving
G1 Y89.9000
G1 X119.9000
G1 Y0.0000
G1 X0.0000
M107
G1 X0 Y0.1
; this M106 command is already processed while the laser is still moving from above commands
M106 S14
G1 X0 Y0.2
M106 S15

Thanks
Lindsey

Viewing all articles
Browse latest Browse all 1321

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>