1
General Mach Discussion / Re: Laser Diode Issue. I can control it but gcode can't
« on: August 08, 2017, 09:24:44 PM »I am not saying do it but just consider the following circuit…
The variable, inverted, PWM from Mach3 (controlled by the M3 S####) is fed into Opto1 and the output PWM is taken to ModIN on the BB8M.
This PWM signal will be…
ON when Output# is TTL Low
OFF when Output# is TTL High
(Opto2 will short the isolated ‘PWM out’ to GND).
So, in your Gcode PWM is turned on and the power level set with M3 S###
Output# (and thus the laser beam) is turned ON/OFF using the M11/M10 commands.
Just a thought.
Tweakie.
Just a quick update. This does not work as intended. I am not able to control the power. I think I was able to use M3/M5 anyways so that was what made me think that I fixed it. I didn't have time to test it earlier, it looks liked different laser powers but I am fairly certain it is not. Maybe I am not understanding your diagram fully. Any clarification would be greatly appreciated.