Re: TTL/PWM Output for Laser
Okay so I have an update. I have continued to work through my Mach3 settings and after adjusting my Spindle relay to Output 4 CW and Output 4 CCW from Output 1CW and 1CCW (Output 4 is not enabled and has no pin assignments) my spindle no longer comes on when I run my test program intended for my laser. I disconnected my laser TTL input line and manually issued an M3 command the led lit at pin 16 and I measured 3.94v at the pin. I am getting a spindle signal, problem solved right....
Wrong....when I issued an M5 command to shut off the power at pin 16 there was no response. I had to use the E-Stop to shut down the signal. When I went to try turning it back on with another M3 command, nothing this time, it would not turn back on. So I went back into my ports and pins settings looked everything over clicked my Spindle enable button off and back on again and tried the M3 command and I had power at pin 16 again, issued an M5 and the exact same thing happens. I tried setting my Spindle step pin to pin 17 and 14 and had the same result play out on those pins as well.
I decided to reset everything and hook back up my laser to pin 16 to run a test program. The pin 16 voltage indicator led lit up and the laser was cutting, and like the test commands I put into MDI, the M5 commands in the G-code scrolled by without shutting off the laser, and at the end of the run I had to use the E-stop to power down the laser. When I checked my test engraving, I found that the laser had cut all the way through my 5mm birch sample board. I was running at 10" per min. and 80% power. I feel like to get a cut of that depth the laser had to be running at full power which means I am probably not getting a PMW signal on that pin as well even though I feel I have all of the settings adjusted accordingly. Any ideas on what could be causing these issues?