OUTPUT for Saftey Door while Printing
Hello,
i need some tips how to configurate Repetier so that a Door closes while Printing
I use this RADDS Board
Am i able to configurate the Start G-Code, Pause G-Code and End G-Code so that if the print starts there is a Command in the
Start G-Code which says Servo PWM1 = 1
And when the End G-Code is started it should do Servo PWM 1 = 0
Is there an option to do something like that?
Or should i use another Pin on the Board?
Best regards
i need some tips how to configurate Repetier so that a Door closes while Printing
I use this RADDS Board
Am i able to configurate the Start G-Code, Pause G-Code and End G-Code so that if the print starts there is a Command in the
Start G-Code which says Servo PWM1 = 1
And when the End G-Code is started it should do Servo PWM 1 = 0
Is there an option to do something like that?
Or should i use another Pin on the Board?
Best regards
Comments
Use
- M340 P<servoId> S<pulseInUS> R<autoOffIn ms>: servoID = 0..3, Servos are controlled by a pulse with normally between 500 and 2500 with 1500ms in center position. 0 turns servo off. R allows automatic disabling after a while.
to control if assuming servo is configured correctly. Firmware has no function to automaticaly open/close doors, but you could add it with our event system.
so can i configurate the M340 Pin so that if the Start G-Code is executed the first Servo Pin gives a 1 Signal?
why don´t you use the already implemened safety door Switch?
it´s a Input stopping the Printer when door is not closed
use Repetier-Firmware configuration tool for version 1.0.0dev / section Endstops
Compile Error:
void Commands::checkForPeriodicalActions(bool allowNewMoves) {
Somehow getting past if(Printer::mode == PRINTER_MODE_LASER) even though I don't have SUPPORT_LASER in Configuration Tool checked.
#if defined(DOOR_PIN) && DOOR_PIN > -1
if(Printer::updateDoorOpen()) {
#if defined(SUPPORT_LASER) && SUPPORT_LASER
if(Printer::mode == PRINTER_MODE_LASER) {
LaserDriver::changeIntensity(0);
}
#endif
}
#endif
so it does not call the laser off function.