Laser Not Turning Off When Print is Running
Hi,
I'm currently working on an SLS printer w/ a RAMBo 1.4 motherboard running Repetier firmware. We have the 3.5 W laser working correctly, and it's controlled by the "M42 P5" gcode command (pin 5 is enabling pin). We are using Slic3r and have the gcode set up to turn the laser off after every layer in order to move the sweeper mechanism needed to apply a new coat of powder. It works well in Repetier host when manually inputting gcode, but when a full print is run through Repetier host the laser remains on constantly, even when it's not supposed to. At first, we thought it was due to the laser being enabled on every G1 command, and we changed the necessary commands to G0 but still got the same results. We exported our gcode and ran it manually line by line, and it worked flawlessly. It seems that the problem only occurs when running the complete gcode file in Repetier host. If you have any suggestions for this problem, that would be great!
I'm currently working on an SLS printer w/ a RAMBo 1.4 motherboard running Repetier firmware. We have the 3.5 W laser working correctly, and it's controlled by the "M42 P5" gcode command (pin 5 is enabling pin). We are using Slic3r and have the gcode set up to turn the laser off after every layer in order to move the sweeper mechanism needed to apply a new coat of powder. It works well in Repetier host when manually inputting gcode, but when a full print is run through Repetier host the laser remains on constantly, even when it's not supposed to. At first, we thought it was due to the laser being enabled on every G1 command, and we changed the necessary commands to G0 but still got the same results. We exported our gcode and ran it manually line by line, and it worked flawlessly. It seems that the problem only occurs when running the complete gcode file in Repetier host. If you have any suggestions for this problem, that would be great!
Comments
None the less sending it with M42 should still disable it at the end if you disable the pin unless some other function uses the same pin as well. Then timing is important. So log print and see if the last disable command got send.
/*